Module midi

Source

Modules§

buffer
Lock-free MIDI buffer for thread-safe communication.
message
MIDI message types and parsing.
stream
Real-time MIDI input streaming via midir.

Structs§

MidiBufferConsumer
Consumer side of the MIDI buffer (used in audio thread).
MidiBufferProducer
Producer side of the MIDI buffer (used in MIDI input thread).
MidiEvent
A MIDI event with sample-accurate timing for audio buffer processing.
MidiMessage
A parsed MIDI message with channel, status, and data bytes.

Enums§

MidiMessageStatus
MIDI message status byte types.

Functions§

midi_buffer
Create a MIDI buffer pair for thread-safe MIDI message transfer.