aboutsummaryrefslogtreecommitdiff
path: root/music_sampler.py
diff options
context:
space:
mode:
Diffstat (limited to 'music_sampler.py')
-rw-r--r--music_sampler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/music_sampler.py b/music_sampler.py
index d4fc2a7..8dbbc28 100644
--- a/music_sampler.py
+++ b/music_sampler.py
@@ -13,7 +13,8 @@ screen.fill((250, 250, 250))
13draw_lock = helpers.Lock("draw") 13draw_lock = helpers.Lock("draw")
14 14
15mapping = helpers.Mapping(screen, draw_lock) 15mapping = helpers.Mapping(screen, draw_lock)
16helpers.parse_config(mapping) 16channel_number = helpers.parse_config(mapping)
17pygame.mixer.set_num_channels(channel_number)
17 18
18mapping.draw() 19mapping.draw()
19 20