Connect MIDI-OX to Other Apps with loopMIDI

MIDI-OX watches and routes hardware MIDI brilliantly, but other software on the same PC cannot see a hardware port that MIDI-OX is already holding, and cannot hand data to MIDI-OX without somewhere to plug in. A virtual MIDI cable solves that: it creates software ports that applications connect to each other. loopMIDI, by Tobias Erichsen, is the standard modern tool for the job. This guide explains why a virtual cable is needed, how to create a port, how to select it in MIDI-OX and in a target application, and the one wiring mistake that must never happen. MIDI-OX is on the download page; the wider series is on the tutorials hub.

Why a virtual cable at all?

On the classic Windows MIDI system, a hardware port is generally single-client: the first application to open it holds it, and others are refused. That made sense for one program at a time, but modern setups are chains: a keyboard into MIDI-OX for monitoring and mapping, then onward into a DAW; or a DAW sending data out through MIDI-OX to hardware. Historically, MIDI Yoke filled this gap alongside MIDI-OX, but MIDI Yoke was never released as a 64-bit driver, so it does not appear inside modern 64-bit applications. loopMIDI is the maintained pattern for the same job. Its author’s page describes it as a virtual loopback MIDI cable for Windows 7 to Windows 10, in 32- and 64-bit form — see the editorial reference at the official loopMIDI page. No licence claim is made for loopMIDI here, as its licence terms were not verified for this guide.

How loopMIDI ports behave

Two behaviours shape everything below. First, you create each port yourself and give it a name; the port then appears as a MIDI input and a MIDI output in applications. Data sent to the port’s output emerges from the corresponding input — that loopback is the cable. Second, loopMIDI ports exist while the loopMIDI application is running. Close it fully and the ports go away; applications that were using them lose their connection. The practical habit follows: start loopMIDI first, create your ports, then start the applications that will use them, and leave loopMIDI running in the tray for the whole session.

Our companion guide, loopMIDI install and setup guide, covers installation and port management in full. The essentials for this connection task follow.

Step 1: Create a clearly named port

Open loopMIDI and create a port with a name that states its direction and purpose, for example OX-to-DAW or App-to-OX. You will create one port per connection direction you need. Clear names are not decoration: every application will show you this same list, and at midnight ‘port 1’ means nothing while ‘OX-to-DAW’ tells you exactly what you are about to select. Avoid renaming ports mid-project, because applications remember ports by name and a rename looks like a disappearance.

Step 2: Select the port in MIDI-OX

In MIDI-OX, open Options > MIDI Devices. For data flowing from MIDI-OX to another app, select the loopMIDI port as a MIDI output in MIDI-OX, and use the Port Routing view to route your hardware input (or generated data) to that output. For data flowing from another app into MIDI-OX, select the loopMIDI port as a MIDI input in MIDI-OX, so the arriving data appears in the Input Monitor and can be routed onward to hardware. Many setups use two ports, one per direction, and that separation is deliberate — it keeps each path obvious and keeps you far away from the feedback trap described below.

Step 3: Select the port in the target application

In the other application, open its MIDI settings and select the matching side of the same virtual cable. If MIDI-OX sends to its loopMIDI output, the target app should enable that port as a MIDI input. If the target app is the sender, enable the port as an output there and receive on it as an input in MIDI-OX. Think of the virtual cable as a real cable with two ends: one end is an output in the sending program, the other end is an input in the receiving program, and both ends carry the port name you chose.

Then test in the direction of flow, with monitors open. In MIDI-OX, generated notes are an ideal test signal: send a few from the computer keyboard and confirm they arrive in the target app. For the reverse direction, play something in the target app and watch MIDI-OX’s Input Monitor respond. Prove one direction fully before wiring the other.

The feedback warning: never the same port in and out

This deserves its own section because it is the classic virtual-cable accident, and the official MIDI Yoke documentation warned about the equivalent mistake in the strongest terms. If the same virtual port is used as both the input and the output of the same closed path — data leaving MIDI-OX into a port and immediately re-entering as its input, then being routed out again — messages loop endlessly and amplify at full speed. Symptoms are a sudden flood of traffic, stuck notes everywhere, an unresponsive application, or a port choked with its own output.

Prevention is simple and absolute:

  • Use a separate, direction-named port for each direction of travel.
  • Never route a loopMIDI input straight back to the same-named loopMIDI output in the Port Routing view.
  • If a flood starts, break the connection: remove the newest route or close the loop, then untangle calmly.

Choosing between loopMIDI and the alternatives

loopMIDI is the default recommendation in this series for a Windows virtual cable. The background comparison — including how it differs from the older driver approach — is in MIDI Yoke vs loopMIDI. Whichever you choose, the wiring discipline in this guide is identical: named ports, one direction per port, test as you build.

A complete example, end to end

  1. Start loopMIDI; create a port named OX-to-DAW.
  2. Start MIDI-OX. In MIDI Devices, select your keyboard interface as an input and OX-to-DAW as an output.
  3. In Port Routing, connect the keyboard input to the OX-to-DAW output. Attach a data map to that line only if a transformation is needed.
  4. Start the DAW. Enable OX-to-DAW as a MIDI input there, arm a track, and play: notes appear in MIDI-OX’s monitors and sound in the DAW, with MIDI-OX able to watch, map and log everything in between.

That chain — hardware, MIDI-OX, virtual cable, application — is the modern form of the setup MIDI-OX was designed for. Build it once with clear names, leave loopMIDI running while you work, and it will behave like the piece of cable it pretends to be. The rest of the routing and mapping skills behind it are indexed on the tutorials hub.

Similar Posts