>> > >> 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.
_______________________________________________
lively-kernel mailing list
[email protected]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel

Reply via email to