MIDI Sink

Library: Audio
Introduced: 5.0.3-HC
Appearance:

Behavior

MIDI Sink accepts MIDI audio data provided by a simulated circuit and plays it back through the native audio system. The MIDI Sink component has data inputs on the west edge to specify the MIDI note number, velocity, duration, and other parameters. A write-enable input and a clock input on the south edge control the timing of playback. When the write-enable input is 1 and the clock is triggered, the MIDI parameters are captured and sent to the native audio system for playback, without buffering.

A blue speaker icon indicates that the native audio system is working properly and accepting data. A red speaker icon indicates playback errors.

A choice of interfaces is provided for how MIDI data is specified, either serially as a byte stream, in parallel with all MIDI parameters packed into a single 24-bit or 32-bit value, or as separate values on different pins.