박진형

python file

......@@ -4,5 +4,5 @@ import time
pygame.mixer.init()
test = pygame.mixer.Sound("test1.wav")
while True:
bang.play()
test.play()
time.sleep(2.0)
......
import soundfile as sf
import sounddevice as sd
weight = 1.7
data, fs = sf.read('test1.wav')
sd.play(data * weight, fs, blocking=True)