W3C home > Mailing lists > Public > public-media-capture@w3.org > December 2011

Exploring MIDI support

From: Charles Pritchard <chuck@jumis.com>
Date: Mon, 26 Dec 2011 16:38:26 -0800
Message-ID: <4EF91382.3040200@jumis.com>
To: public-media-capture@w3.org
There are no restrictions or requirements for codec support in media.

Is the following as valid for midi devices as it is for microphones?:

<audio src="file.mid">
navigator.getUserMedia({audio: true}, gotAudio)

In this case, the media stream of gotAudio would be midi opcodes and 
<audio> would pass opcodes to the OS.
Is this a reasonable interpretation of how to implement in/out MIDI support?

audio.play() would send midi out (to the OS),
and getUserMedia would capture from devices sending MIDI into the OS.

Received on Tuesday, 27 December 2011 00:38:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:08 UTC