Re: Please, I need help/suggestions/ideas with audio streaming for MIDI preview

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <20100923060831.GH3976@wladimir>
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
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.