theallelectricsmartgrid

MIDI I/O Scheduling

This page documents input/output MIDI transport and scheduling used by the UI/controller stack.

Input handling (MidiInputHandler)

Defined in JUCE/SmartGridOne/Source/MidiHandlers.hpp.

Integrations subclass SendMessage(BasicMidi) to forward into their MessageInBus.

Output handling (MidiOutputHandler)

Also in MidiHandlers.hpp.

MidiSender realtime dispatcher

Defined in JUCE/SmartGridOne/Source/MidiSender.hpp.

Key structure:

Core behaviors:

Transport clock forwarding

ProcessMessagesOut(MessageOutBuffer&, timestamp) converts sequencer transport events to MIDI real-time messages on m_clockRouteId:

This decouples transport timing from controller rendering traffic.

Why this architecture