On Sun, Jun 15, 2014 at 11:00 AM, Robert O'Callahan
<rob...@ocallahan.org> wrote:
> On Sun, Jun 15, 2014 at 11:24 AM, Leman Bennett (Omega X) <
> Redacted.For.Spam@request.contact> wrote:
>
>> Is that really necessary? It seems superfluous.
>>
>
> It's necessary in that there's no other way to use this hardware from a Web
> app.
>
> The only question is whether it's high-enough priority to work on instead
> of something else.

The other question is if there is a better way than adding explicit
APIs for every conceivable type of hardware that you can plug in to a
USB port (I'm assuming that midi ports are usually connected to
computers through USB these days).

It doesn't really seem like a scalable solution.

A long time ago we talked about just writing a very low-level USB API,
then enabling signed snippets of javascript to create page-exposed
APIs on top of that. This way we wouldn't have to go through the long
and expensive process of standardizing and implementing APIs for
everything that can be plugged into a USB port.

These signed snippets of javascripts wouldn't need to be installed by
the user, but could be linked to by the page that wants to use the
API. It would however need to be signed by all browser vendors that
are interested in making the library work.

However it's probably going to take a very long time for something
like this to actually get standardized and implemented. If it'll
happen at all. So if we think that WebMIDI is something that we want
soon, then we definitely couldn't wait.

/ Jonas
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to