Some days ago I had to somehow show all the sound of a .sf2 soundbank file. This can be a really boring and time consuming task.
So I hacked together a ruby script that says the sound number through MS Sapi, and quickly generated a scale midi file with changed instrument, and play it through Windows services, everything from register 1 to 99. It saved me a couple of hours maybe, and was indeed fun.
A little excerpt (recorded from a cheap microphone due to an integrated soundcard's inhability) can be found here
The employed libraries were midilib and win32-sapi .
No comments:
Post a Comment