How MIDI Thru Boxes Split Signals Without Latency
A MIDI Thru box duplicates a single incoming MIDI data stream across multiple outputs simultaneously without introducing perceptible delay by operating entirely at the hardware level. Instead of decoding, storing, and resending data using a microprocessor, the device utilizes dedicated analog and digital electronic components—specifically optocouplers and logic gate buffers—to mirror the raw electrical pulses directly. This approach ensures that the propagation delay is measured in mere nanoseconds, effectively delivering zero digital processing latency.
The Problem with Software-Based Routing
In digital processing devices, such as computers, USB MIDI interfaces, or microcontroller-driven routers, incoming serial data must be received by a Universal Asynchronous Receiver-Transmitter (UART). The system reads each byte into a memory buffer, triggers an interrupt, processes the data through firmware or an operating system, and queues it for retransmission.
Because standard MIDI operates at a modest transmission rate of 31.25 kilobits per second, transmitting a single 3-byte MIDI message takes nearly a millisecond. When software queuing, buffer cycles, and operating system scheduling are added to the chain, latency accumulates rapidly, resulting in audible timing jitter and sluggish performance across chained instruments.
The Physical Signal Path of an Active MIDI Thru Box
An active hardware MIDI Thru box bypasses the digital processing layer altogether. Its internal architecture relies on a purely discrete signal path:
- Optical Isolation (Input Stage): Standard MIDI specifications require inputs to be optically isolated to prevent ground loops between audio gear. The incoming 5-volt current loop signal powers an internal LED inside a high-speed optocoupler (such as a 6N138 or PC900). A phototransistor on the other side of the barrier detects the light pulses and converts them into a standard TTL/CMOS digital voltage signal. High-speed optocouplers complete this state change in less than a microsecond.
- Logic-Gate Splitting (The Distribution Stage): Once the optocoupler converts the current loop into a digital voltage waveform, the signal does not route to a central processing unit (CPU). Instead, it feeds directly into the inputs of hardware logic chips, commonly Schmitt-trigger hex inverters or non-inverting buffers (such as the 74HC14 or 74HC04 integrated circuits).
- Parallel Signal Replication: By tying multiple logic gates to the single output of the optocoupler, the high and low voltage states are instantly mirrored across multiple independent output lines. The Schmitt triggers also serve to "square off" and clean up any signal degradation or edge rounding caused by long input cables.
- Current-Loop Output Drivers: Each buffered output path runs through a pair of current-limiting resistors directly to pins 4 and 5 of the individual MIDI Thru output jacks, transforming the voltage states back into compliant 5-volt current loops ready to drive downstream synthesizers and drum machines.
Propagation Delay vs. Processing Latency
Because the entire process is handled by physical silicon switches rather than algorithmic execution, the time required for an electrical pulse to travel from the input pin to all output pins is determined strictly by the component propagation delays:
- Optocoupler switching time: Approximately 100 to 500 nanoseconds.
- Logic gate propagation time: Approximately 8 to 15 nanoseconds per gate.
In total, the end-to-end transit time through an active MIDI Thru box is well under one microsecond (0.001 milliseconds). In comparison, a single bit of MIDI data at 31.25 kbaud lasts 32 microseconds. Because the signal replicates in a tiny fraction of the time it takes for even a single data bit to finish transmitting, the device introduces zero measurable or perceptible latency to the digital musical performance.