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

Reply via email to