[lively-kernel] Lively Audio

Jay Hardesty jay.hardesty at gmail.com
Wed Apr 21 23:22:21 CEST 2010


>> > >> Rendering MIDI data into audio (via Quicktime is the only current
>> > >> solution there I suppose?)
>>
>> Can you say what you mean here?  Is there a simple way to call Quicktime
>> from JavaScript to, eg, play F sharp in an oboe timbre for 0.8 seconds?
>>
>
> Not sure what Chris meant, but you could generate the contents of a midi
> file in memory, then feed those bytes (after uuencoding<http://en.wikipedia.org/wiki/Uuencoding>)
> to your platform's midi player (w/ the embed tag). Here's an example:
> http://tinlizzie.org/ometa-js/#Etude

What I meant in the remark regarding Quicktime (to which Chris replied) was just that Quicktime provides a library of samples already installed (such as oboe: program 69).  I wasn't addressing how to actually trigger playback in Javascript (hadn't got that far yet...)    

I'm guessing that in Javascript you'd typically have to generate and then play back a MIDI file if you wanted (er, somewhat) dynamic content that rendered via Quicktime.  But the link above seems to offer hope of an alternative.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20100421/d4281233/attachment.htm 


More information about the lively-kernel mailing list