diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-16 18:00:53 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-16 18:00:53 +0200 |
commit | 052071a37a17ebcedc3e58cd4c353688727116f8 (patch) | |
tree | 241808003ed889e00f2378e5703637e48f1083cf | |
parent | 29ce1fde0f09285279996a1d7e94c9bea137e0fd (diff) | |
download | MusicSampler-052071a37a17ebcedc3e58cd4c353688727116f8.tar.gz MusicSampler-052071a37a17ebcedc3e58cd4c353688727116f8.tar.zst MusicSampler-052071a37a17ebcedc3e58cd4c353688727116f8.zip |
Remove pyaudio
-rw-r--r-- | helpers/music_file.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/helpers/music_file.py b/helpers/music_file.py index 8b1c480..ebe458b 100644 --- a/helpers/music_file.py +++ b/helpers/music_file.py | |||
@@ -3,7 +3,6 @@ import pydub | |||
3 | import time | 3 | import time |
4 | from transitions.extensions import HierarchicalMachine as Machine | 4 | from transitions.extensions import HierarchicalMachine as Machine |
5 | 5 | ||
6 | import pyaudio as pa | ||
7 | import sounddevice as sd | 6 | import sounddevice as sd |
8 | import os.path | 7 | import os.path |
9 | 8 | ||
@@ -12,8 +11,6 @@ from . import gain | |||
12 | 11 | ||
13 | file_lock = Lock("file") | 12 | file_lock = Lock("file") |
14 | 13 | ||
15 | pyaudio = pa.PyAudio() | ||
16 | |||
17 | class MusicFile(Machine): | 14 | class MusicFile(Machine): |
18 | def __init__(self, filename, mapping, name = None, gain = 1): | 15 | def __init__(self, filename, mapping, name = None, gain = 1): |
19 | states = [ | 16 | states = [ |