First the monitor turns into a waterfall. Then the application stops responding — or, in the classic description, the whole system does. A MIDI feedback loop is what happens when data sent out of a port arrives back at that same port’s input and is sent out again, instantly and forever, each trip around the loop multiplying the traffic. It is the one MIDI fault that escalates by itself, and with virtual ports such as MIDI Yoke and loopMIDI it is also the easiest to create by accident: one wrong dropdown selection is all it takes. This guide explains how loops form, how each tool fights them, and how to wire your routing so they cannot start. Background reading lives in the tutorials hub; ports themselves come from the MIDI Yoke download page or its modern counterparts.
How a loop forms
Picture an application with a virtual port selected as both its input and its output, with input monitoring or thru turned on. A single note arrives: the app receives it, echoes it to its output — which is the same port — receives it again, echoes it again. There is no pause and no natural end; the only limits are the speed of the driver and the patience of the CPU. The same geometry happens across two applications: App A sends to Yoke port 1, App B receives port 1 and sends onward to the port A is listening to, and A re-sends what it hears. Any cycle in your routing graph is a loop waiting for its first note.
The MIDI Yoke documentation carries the original warning in strong terms: selecting the same port as input and output within one application creates a feedback loop that occurs at interrupt time and can hang or crash the system. That warning was written for the driver’s own era and remains the definitive statement of the risk: this is not a theoretical misconfiguration, it is the known way to bring a machine down with a dropdown.
Symptoms that say “loop”, not “bug”
- The input monitor floods with messages too fast to read, often copies of the same few events.
- CPU use spikes and the application becomes sluggish, then unresponsive.
- A synth or virtual instrument sounds like a machine-gun retrigger or a rising scream of notes.
- Everything returns to normal the instant you close the sending application or pull the routing.
If you see this pattern, do not troubleshoot the instrument, the cable or the file. Break the cycle first: quit the application at the centre of the routing, or deselect the port, and let the flood stop.
MIDI Yoke’s built-in detection
MIDI Yoke was designed knowing this danger. It watches the data rate through its ports, and its feedback detection includes a message-rate threshold — default 2048 messages per second — beyond which it treats the traffic as a feedback loop and disables the driver rather than letting the system hang. If your Yoke ports ever vanish mid-session after a flood of data, that is likely the detection having done its job: restart, then fix the routing that triggered it before reconnecting. A protection trip is evidence, not a new fault.
The fix: decouple the ports
Rule 1 — Never select the same virtual port as input and output in one application. Give each direction its own port. If App A sends to App B, A’s output is Yoke 1 and B’s input is Yoke 1 — and B’s output, if it needs one, is Yoke 2, which A may listen to only if B is not echoing what it receives.
Rule 2 — Draw the graph before you click. List every application, its input port and its output port on paper. If following the arrows can return you to your starting point, redesign before connecting anything. Thirty seconds of drawing prevents the only MIDI fault that punishes you at interrupt time.
Rule 3 — Connect one leg at a time. Set up outputs only, test. Then add inputs one at a time, playing a single note after each change and watching the monitor count. A loop announces itself immediately at small scale if you give it the chance.
Rule 4 — Turn off thru you do not need. Most loops need an echo to survive. If an application offers input monitoring, soft thru or “echo input”, leave it off unless your routing genuinely requires it.
loopMIDI and LoopBe1
Modern virtual ports reduce, but do not repeal, the geometry above. A worked example of sane wiring is in connecting MIDI-OX and loopMIDI, where each direction gets a named, distinct port. LoopBe1 takes a more active stance worth knowing about: it watches for loop-like traffic and mutes the port when it detects a shortcut — a feedback event — which makes it a reasonable alternative for users who have been bitten once and want the guardrail built in. Whichever tool you choose, the discipline is the same, and MIDI Yoke on Windows 10 and 11 covers the platform context for the older driver.
MIDI-OX is freeware for non-commercial use (commercial use requires a paid licence after a 30-day trial). A feedback loop is not a defect in it or in any virtual driver — it is a routing shape, and shapes are under your control. Decouple the ports, respect the 2048-messages-per-second tripwire for what it is telling you, and the waterfall never starts.
