Skip to content

Commit

Permalink
updated for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
adangert committed Jun 9, 2020
1 parent cf0105b commit 05606fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piaudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def win_audio_loop(fname,ratio,stop_proc):
if(stop_proc.value):
pass
elif(fname['song'] != ''):
print(fname['song'])
f = wave.open(fname['song'])
# print(fname['song'])
f = wave.open(random.choice(glob.glob(fname['song'])))
#instantiate PyAudio

#open stream
Expand Down

0 comments on commit 05606fa

Please sign in to comment.