Web MIDI API not implemented in Chrome Canary?

Web MIDI API support has been added to Chrome Canary since early 2013 .

Why then, when I type requestMIDIAccessin the JavaScript console and press Enter, can I get "ReferenceError: requestMIDIAccess not defined"?

According to official documentation, it should be a specific function.

What gives?

+4
source share
2 answers

The web interface API is available by default only in versions 43 and later versions of Chrome.

, . Chrome URL chrome://flags " API -".

, . , , , API , Chrome 43.

, requestMIDIAccess window.navigator, window. navigator.requestMIDIAccess.

+8

, MIDI- Chrome. .

0

Source: https://habr.com/ru/post/1527263/


All Articles