I can’t seem to figure it out. When it plays a MIDI file, it references Timidity++ in the output:
Metadata:
name : Piano
instrument : Timidity GM patches
sample : Piano
: 0:
: 1:
: 2:
: 3:
: 4:
: 5:
: 6:
: 7:
: 8:
: 9:
: 10:
extra info : 51 patterns, 26 channels, 1/11 instrument, 12/12 samples
Duration: 00:03:06.00, bitrate: 1 kb/s
Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Playing the file with Timidity++ results in nothing, as Timidity++ apparently isn’t a soundfont, and searching “Timidity GM patches” brings up nothing.


https://timbrechbill.com/saxguru/Timidity.php Looks like the default soundfont is TimGM6mb.sf2 . But maybe it does not come with a default, and the default is only used with the official installer. I installed Timidity++ on my Archlinux based system and I do not get an audio from it too. Archlinux recommends to configure the setting to point it to the soundfont: https://wiki.archlinux.org/title/Timidity%2B%2B
ffplay maybe uses its own configuration to load a specific soundfont. That’s why you get it there. Maybe. I don’t know how ffplay functions.
Tried TimGM6mb, but unfortunately that’s not it. How would I find what soundfont ffplay is loading? I tried looking in the source code but found nothing of use.
I don’t know. Looking up
man ffplayand the webpage https://ffmpeg.org/ffplay.html and searching for the term “midi” didn’t bring up anything.