aboutsummaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-16 18:00:53 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-16 18:00:53 +0200
commit052071a37a17ebcedc3e58cd4c353688727116f8 (patch)
tree241808003ed889e00f2378e5703637e48f1083cf /helpers
parent29ce1fde0f09285279996a1d7e94c9bea137e0fd (diff)
downloadMusicSampler-052071a37a17ebcedc3e58cd4c353688727116f8.tar.gz
MusicSampler-052071a37a17ebcedc3e58cd4c353688727116f8.tar.zst
MusicSampler-052071a37a17ebcedc3e58cd4c353688727116f8.zip
Remove pyaudio
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 = [