Skip to content

Commit e75e434

Browse files
committed
Fix binary data generation in FluidSynth module
1 parent 774fcbb commit e75e434

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mingus/midi/fluidsynth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def instr_event(self, channel, instr, bank):
9494
def sleep(self, seconds):
9595
if hasattr(self, "wav"):
9696
samples = fs.raw_audio_string(self.fs.get_samples(int(seconds * 44100)))
97-
self.wav.writeframes("".join(samples))
97+
self.wav.writeframes(bytes(samples))
9898
else:
9999
time.sleep(seconds)
100100

0 commit comments

Comments
 (0)