diff options
Diffstat (limited to 'helpers')
-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 = [ |