outstretchedarm a crit :
How exactly does HTML/Javascript handle playing midi files?
Browsers can't play midi files, they need a plug-in.
Only NetsCape (in old versions) came with an AudioLife plug-in
you could address to it via JS.
(only to start, stop, pause sound and/or play a file or an other one,
all files embedded in the page)
Today you have to do with a lot of plug-ins able to play midi.
One of them is QuickTime (with it's own js functions working sometimes).
Does it have a player imbedded in it?
No player in javascript.
(nothing at all in javascript to act on physical element (HD, system,
cook, car, boat, children, dog ...))
Or does it borrow from the computer's midi player?
Which computeur's midi player ? what does that mean ?
(hope you don't mean sound card ?)
How could you make a webpage play certain chosen notes via midi?
muy mucho difficult
I suppose you can create a special midi-file for this note
(which instrument ?)
then to play it in loop
(don't forget the console for pause start stop buttons)
Something not too much update :
<embed src="la.mid" height=60 width=154 autoplay=false
autostart=false control=true controller=true loop=true>
Is there an existing library for such a thing?
You have to know with what application (or plug-in) you want to work.
--
Stephane Moriaux et son [moins] vieux Mac