← Back to release summary

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

Ecosystem

View on chromestatus.com