Hi Francisco, this doesn't seem to have much (or anything) to do with Perl, but read my comments below.
Francisco Zarabozo schrieb am 22.09.2010 um 18:24 (-0500): > 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. I'd look into: * find a more efficient preview format (WAV is not compacted IIRC) * tuning the conversion to create smaller files, lowering quality * creating files on demand and then store (many files will probably never see a preview request) * buy more 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. I might be wrong, but I think you need something called a "streaming server" in order to do streaming. Best, -- Michael Ludwig _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs