You are not logged in.

#1 2021-11-22 19:44:09

decadentgray
Member
Registered: 2014-10-16
Posts: 8

Fluidsynth leaves stuck notes - Notes Off Midi file needed

I have fluidsynth running to play my dosbox music, works fine, but sometimes the last played note gets stuck (no terminating midi event sent), so I'd need a way to do just that.
Would someone happen to have a midi file just containing Notes Off events for all channels, so I could use aplaymidi to silence fluidsynth after gaming?

Offline

#2 2021-11-22 20:33:24

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Fluidsynth leaves stuck notes - Notes Off Midi file needed

You could use https://aur.archlinux.org/packages/midicsv/ to create a MIDI file. E.g. if you put something like

1, 0, Control_c, 1, 123, 0
1, 0, Control_c, 2, 123, 0

in a CSV file and convert it with csvmidi, you should get a MIDI file that turns off all notes on channels 1 and 2. (I don't know which MIDI channels Fluidsynth uses in your setup.)

Or you could use a CLI command like https://aur.archlinux.org/packages/sendmidi instead to send a CC 123 event (All notes off)...

Offline

Board footer

Powered by FluxBB