Using fluidsynth, can you open a midi file with a soundfont (sf2) and export the file into a .wav or a mp3 or some sort of flattened audio file?
I know you can use the -T flag which seems to export into a specified type of file but when I run fluidsynth -T wav GeneralUser.sf2 composition.midi it does not export anything when I quit the program.
Given a midi file, you can create a wav file from it with a given sound font. In my Ubuntu bash shell I do it by typing below:
The recorded output is
/tmp/test.wav. I have my personal MIDI recording using a Korg microKEY 49 and converted it into arecord.wavI uploaded here