First post, by truth_deleted
Inside dosbox, pressing the key combination CTRL-ALT-F8 will Start/Stop the recording of a raw MIDI file. This file is sent to a /capture directory by default (for example, c:\dosbox\capture). One method to convert the raw MIDI file to the wav format is by fluidsynth and sox, like so in the case of Windows:
fluidsynth.exe -F output.mid Scc1t2.sf2 setup_000.mid
sox.exe -t raw -r 44100 -e signed -b 16 -c 1 output.mid output.wav
The file named setup_000.mid is the raw MIDI file; Scc1t2.sf2 is a soundfont file (substitute with your .sf2 soundfont); and output.mid if the audio file which is generated by the fluidsynth program.
Sox uses the output.mid audio file as input and outputs a "wav" file, given the above command. Then, a third program is optional for compressing the wav file into the "ogg" or "mp3" format.
The fluidsynth program was built in mingw32 and attached. The sox program is obtained from here: http://sourceforge.net/projects/sox/files/sox … 32.zip/download ; only sox.exe and zlib1.dll are required from that zipped archive.