diff options
Diffstat (limited to 'music_sampler.py')
-rw-r--r-- | music_sampler.py | 3 |
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)) | |||
13 | draw_lock = helpers.Lock("draw") | 13 | draw_lock = helpers.Lock("draw") |
14 | 14 | ||
15 | mapping = helpers.Mapping(screen, draw_lock) | 15 | mapping = helpers.Mapping(screen, draw_lock) |
16 | helpers.parse_config(mapping) | 16 | channel_number = helpers.parse_config(mapping) |
17 | pygame.mixer.set_num_channels(channel_number) | ||
17 | 18 | ||
18 | mapping.draw() | 19 | mapping.draw() |
19 | 20 | ||