Make MIDIAccess transferable and exposed to workers
- Category
- Miscellaneous
- Type
- Chromium catches up
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
Summary
WebMIDI MIDIAccess objects are now transferable and exposed to workers. This allows developers to synchronize and schedule MIDI events with better accuracy and performance.
Motivation
Scheduling and handling MIDI events on the main thread can result in poor performance and scheduling accuracy. Allowing MIDIAccess objects to run on Worker threads can solve real-world performance and jitter issues in Web MIDI applications. Please see discussion here for more details: https://github.com/WebAudio/web-midi-api/issues/99
Standards & signals
- Specification: https://webaudio.github.io/web-midi-api/#dom-midiaccess
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://crbug.com/379805727
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=make-midiaccess-transferable-and-exposed-to-workers
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Make%20MIDIAccess%20transferable%20and%20exposed%20to%20workers
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Make%20MIDIAccess%20transferable%20and%20exposed%20to%20workers
- Baseline status: https://webstatus.dev/?q=Make%20MIDIAccess%20transferable%20and%20exposed%20to%20workers