Skip to content

Commit

Permalink
join bytes with bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
mscuthbert committed Nov 25, 2015
1 parent 842c9b5 commit e41f4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music21/audioSearch/recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def samplesFromRecording(seconds=10.0, storeFile=True,
else:
waveFilename = environLocal.getRootTempDir() + os.path.sep + 'recordingTemp.wav'
### write recording to disk
data = ''.join(storedWaveSampleList)
data = b''.join(storedWaveSampleList)
try:
wf = wave.open(waveFilename, 'wb')
wf.setnchannels(recordChannels)
Expand Down

0 comments on commit e41f4ce

Please sign in to comment.