Banjos & Such · @mayor
157 followers · 2117 posts · Server banjo.town

Because I keep forgetting how to do this, and the obscure forum URL I have bookmarked for this is bound to go away sooner or later, here is how to convert a to data (which can then be encoded to anything you like using ; in this example) with :

timidity -T 100 inputfile.mid -Ow -o - | ffmpeg -y -i - -ab 128k "outputfile.mp3"

Where the '-T' value is tempo percentage; 100 does nothing in this case, but 200 would double the tempo, 50 would halve it, etc.

The other part of the timidity toolchain is having the installed, and configuring timidity to use it. (wiki.archlinux.org/index.php/T)

I think most distros have timidity/freepats packages.

#audio #linux #soundfont #freepats #timidity #mp3 #ffmpeg #wav #midi

Last updated 5 years ago