<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><span class="Apple-style-span" style="font-family: Times; "><pre>>><i> > >> Rendering MIDI data into audio (via Quicktime is the only current
</i>>><i> > >> solution there I suppose?)
</i>>><i>
</i>>><i> Can you say what you mean here? Is there a simple way to call Quicktime
</i>>><i> from JavaScript to, eg, play F sharp in an oboe timbre for 0.8 seconds?
</i>>><i>
</i>><i>
</i>><i> Not sure what Chris meant, but you could generate the contents of a midi
</i>><i> file in memory, then feed those bytes (after uuencoding<<a href="http://en.wikipedia.org/wiki/Uuencoding">http://en.wikipedia.org/wiki/Uuencoding</a>>)
</i>><i> to your platform's midi player (w/ the embed tag). Here's an example:
</i>><i> <a href="http://tinlizzie.org/ometa-js/#Etude">http://tinlizzie.org/ometa-js/#Etude</a>
</i></pre><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><i><br></i></span></font></div></span></div><div>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...) </div><div><br></div><div>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.</div></div></body></html>