aboutsummaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/music_file.py3
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
3import time 3import time
4from transitions.extensions import HierarchicalMachine as Machine 4from transitions.extensions import HierarchicalMachine as Machine
5 5
6import pyaudio as pa
7import sounddevice as sd 6import sounddevice as sd
8import os.path 7import os.path
9 8
@@ -12,8 +11,6 @@ from . import gain
12 11
13file_lock = Lock("file") 12file_lock = Lock("file")
14 13
15pyaudio = pa.PyAudio()
16
17class MusicFile(Machine): 14class 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 = [