I would like to use VLC (or another software, if its easier) to convert midis with their sound banks into an mp3 or wav, or something of the sort. All the sound banks have the same name (with different file extension) as its respective .mid. I have .sf2 and .dls sound banks available. I don't have a great understanding of how VLC's command system works, and I am not at all sure how I would tell VLC to use a different bank for every file. I have 1308 midis to convert, so I don't really want to do it manually... I have read over the VLC wiki and understand how to convert a file, or multiple files normally. But I can't figure out how to use a different sound bank for every one without doing it manually.
If there is a better place to post this please let me know.
I don't know about VLC, but you can use timidity for converting midis to wav:
for midi in *.mid; do
name="$(basename "$midi" .mid)"
timidity -x "soundfont $name.sf2" -Ow -o - "$midi" | lame -V 0 -q 0 - "$name.mp3"
done
The example code above converts all .mid
files in the current directory to .mp3
s using the corresponding .sf2
soundfont.