We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 774fcbb commit e75e434Copy full SHA for e75e434
1 file changed
mingus/midi/fluidsynth.py
@@ -94,7 +94,7 @@ def instr_event(self, channel, instr, bank):
94
def sleep(self, seconds):
95
if hasattr(self, "wav"):
96
samples = fs.raw_audio_string(self.fs.get_samples(int(seconds * 44100)))
97
- self.wav.writeframes("".join(samples))
+ self.wav.writeframes(bytes(samples))
98
else:
99
time.sleep(seconds)
100
0 commit comments