Circuits.UART.Framing.MIDI (circuits_uart_midi_framing v1.0.0)

Implements framing for the MIDI protocol.

It doesn't decode any messages, it simply splits incoming serial frames apart into individual MIDI messages as per the specification.

Link to this section Summary

Functions

Basically a no-op from a framing point of view. There's no intra-message delimeter required, so we simply return the data unchanged.

Process incoming data and break it apart into separate MIDI packets.

Link to this section Functions

Link to this function

add_framing(data, state)

Basically a no-op from a framing point of view. There's no intra-message delimeter required, so we simply return the data unchanged.

Link to this function

remove_framing(data, buffer)

Process incoming data and break it apart into separate MIDI packets.