refactor hollywoo audio python scripts so looping through tagged audio is reusable

This commit is contained in:
2022-09-27 04:42:28 +00:00
parent 67a640d204
commit 10492767cd
4 changed files with 119 additions and 78 deletions

View File

@@ -0,0 +1,11 @@
import sys
import json
import wave
from scipy.io import wavfile
from simpleaudio import play_buffer
from numpy import vstack
try:
from getch import getch
except:
from msvcrt import getwch as getch
__all__ = ['sys', 'json', 'wave', 'wavfile', 'play_buffer', 'vstack', 'getch']