summaryrefslogtreecommitdiffstats
path: root/chromium/docs/website/site/developers/design-documents/web-midi/index.md
blob: 8b9f391217025c506947451f095ad373d9063086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
breadcrumbs:
- - /developers
  - For Developers
- - /developers/design-documents
  - Design Documents
page_name: web-midi
title: Web MIDI
---

## Status

*   Enabled by default at m43
    *   The base spec is [Working Draft 17 March
                2015](http://www.w3.org/TR/2015/WD-webmidi-20150317/), but
                MIDIOut::clear() is missed.
*   [MIDIMessageEvent::receivedTime
            deprecation](https://www.chromestatus.com/features/5665772797952000)
    *   deprecated at m54, and will be removed at m56.

## W3C spec

*   Latest editor's draft: <http://webaudio.github.io/web-midi-api>
*   Issue tracker: <https://github.com/WebAudio/web-midi-api/issues>

## Implementation notes

*   OS native software synths are partially disabled on Windows for
            security reasons
*   sysex permission can be allowed only for secure source like https://
            or http://localhost
    *   See [Prefer Secure Origins For Powerful New
                Features](/Home/chromium-security/prefer-secure-origins-for-powerful-new-features)
*   sysex is not available from Chrome Apps
            ([crbug.com/266338](http://crbug.com/266338))

## Web MIDI content layer - Design overview

[<img alt="image"
src="/developers/design-documents/web-midi/Web%20MIDI%20design%20overview%20%281%29.png"
height=256
width=400>](/developers/design-documents/web-midi/Web%20MIDI%20design%20overview%20%281%29.png)

## Chromium open issues

*   [Cr=Blink-WebMIDI @
            crbug.com](https://code.google.com/p/chromium/issues/list?q=Cr%3DBlink-WebMIDI)

## Trouble shooting

*   Crashes for OOM on Windows: VirtualMIDISynth may be the root. See
            <https://crbug.com/493663>.