commit 35951ab768e2c0e16e6959b95755bf0de8e8a59a
parent 1a5e9dad0edabb7a8d77dd1847cb0b9e76c881db
Author: rbckman <robinbackman@gmail.com>
Date: Mon, 7 Nov 2016 15:31:01 +0000
audiosync
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -839,9 +839,9 @@ def audiodelay(foldername, filename):
#make the delay file
os.system('sox -n -r 44100 -c 1 /dev/shm/silence.wav trim 0.0 ' + str(audiosyncs) + '.' + str(audiosyncms).zfill(3))
os.system('sox /dev/shm/' + filename + '.wav /dev/shm/silence.wav ' + foldername + filename + '.wav')
- #os.system('rm /dev/shm/' + filename + '.wav')
- #os.system('mv audiosynced.wav ' + filename + '.wav')
- #os.system('rm silence.wav')
+ os.system('rm /dev/shm/' + filename + '.wav')
+ #os.system('mv audiosynced.wav ' + filename + '.wav')
+ #os.system('rm silence.wav')
#--------------Copy to USB-------------------