Check out http://timidity.sourceforge.net/#download (convert midi to wav) and http://lame.sourceforge.net/ (convert wav to mp3).
Thanks, Brett Carroll IT Specialist Bureau of the Public Debt (304)480-7731 [email protected] "By asking for the impossible we achieve the best possible" - Italian Proverb "Francisco Zarabozo" <[email protected]> Sent by: [email protected] 09/22/2010 07:24 PM Please respond to Francisco Zarabozo <[email protected]> To "Active State Perl Mailing List" <[email protected]> cc Subject Please, I need help/suggestions/ideas with audio streaming for MIDI preview Hello All, I will really appreciate any ideas or suggestions with this problem, if anyone can help, please help. :-) I'm working on a website (everything is working with mod_perl 2 and Perl 5.10 on Windows Server 2003 with Apache 2.2) that hosts thousands of midi files and I need to create a way for the visitors to be able to hear such midi files. However, the midi files are for sale by their creators, so the website cannot use the midi file itself for a "preview" since that would mean anyone can just save the midi file to their computers. So, I need to create a mp3 with the recorded midi file on it. Right now, I'm using a command line utility that can convert midi files to wav and another command line utility that converts the wav file to mp3. Then I can place that mp3 file in the HTML as a demo. Although this may seem a good solution, it's not for this website: the server has only about 300 GB of space for this and creating an audio preview of about 700,000 midi files would represent about 3 TB in mp3 storage. So, I'm trying to get some ideas for this. Right now, I can only think of finding some way to stream the midi file as audio, though I really don't know how to do that. I want to keep this in Perl as much as possible, but if it has to be done other way, I'll try it too. Thank you all in advance for your time! Francisco _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
