MIDI-OX Data Mapping: Transform Any Message in Real Time

Data mapping is MIDI-OX’s most powerful idea: take a MIDI message that arrives one way, and change it — its channel, its type, its values — before it leaves. A controller that sends the wrong CC number can be corrected. Notes from one keyboard can be forced onto a single channel. A value range can be scaled or inverted. This guide explains how mapping works, how to build your first map, and how the file formats, delays and patch mapping fit together. MIDI-OX itself is available from the download page, and the other guides in this series are on the tutorials hub.

How a data map works

A map is a list of steps. Each step says, in effect: when a message matches this description, transform it into that. Matching can use the message type (note, controller, program change and so on), the channel, and the data values. The transformation can change the channel, convert one message type into another where that makes sense, remap a data value from an input range to an output range, or clone and redirect data as part of a routing setup.

MIDI-OX applies maps in real time as data passes through. That latency-friendly, rule-by-rule behaviour is why mapping pairs naturally with the Port Routing view: a route decides where data goes, and a map attached to that route decides what the data becomes on the way. Keep that separation in mind and both tools become much easier to reason about.

Step 1: Open the mapping window

Choose Options > Data Mapping. The window shows the current map as a list of steps. From here you can insert a new step, edit an existing one, delete steps, and load or save whole maps. For a first experiment, start from an empty map: one step, tested alone, teaches you the entire mechanism without ambiguity about which rule produced an effect.

Step 2: Build a first map — move a controller

A classic first map: a keyboard’s modulation control sends CC 1, but a target instrument expects the same gesture on CC 11 (expression). Build it like this:

  1. Insert a new mapping step.
  2. Set the input side to match controller messages on the channel your keyboard uses, with controller number 1. You can narrow or widen the value range; matching the full 0–127 range is right for this job.
  3. Set the output side to controller messages on the channel the target expects, with controller number 11, carrying the incoming value through.
  4. Confirm the step, make sure the map is active, and test: move the control and watch the Output Monitor. You should see CC 11 leaving, driven by the CC 1 you sent.

That pattern — match precisely, transform once, verify in the monitors — scales to every other map in this guide. If nothing changes, check in order: is the map turned on, is the input message actually what you think it is (confirm in the Input Monitor), and is any route actually carrying data through the point where the map applies?

Step 3: Save maps as .oxm and .txm files

Maps can be saved and reloaded, which is how a useful correction becomes a permanent part of your setup instead of something you rebuild each session. MIDI-OX uses two forms:

  • .oxm — the native mapping file format, saved and loaded directly by MIDI-OX.
  • .txm — the same map expressed as a text (ASCII) file. Because it is plain text, you can read it, edit it carefully in a text editor, duplicate a step and change one number, and keep maps in version control or share them with an explanation alongside.

Name map files by job, not by date: keyboard-cc1-to-cc11.oxm tells you what you are loading; map3.oxm does not. If you keep both forms, save the .txm export at the same time as the .oxm so the readable version never drifts from the one you actually use.

RPN and NRPN mapping

Registered and Non-Registered Parameter Numbers — RPN and NRPN — are how MIDI devices expose controls beyond the standard controller list, such as fine tuning or per-note settings on some instruments. On the wire they are not single messages: a parameter is selected using a sequence of controller messages, and then a data entry controller carries the value. That composite structure is exactly why they confuse people in the raw monitor view: one gesture arrives as several CC messages in a row.

MIDI-OX’s mapping understands RPN and NRPN as mappable items, so a map step can work with the parameter as a unit rather than forcing you to pattern-match each controller in the sequence by hand. When you build such a step, verify with both monitors: confirm the incoming sequence is recognised as the parameter you intended, and confirm the output sequence is complete and in the right order for the receiving device.

Per-step delays (0–1023 ms)

Each mapping step can carry a delay, from 0 to 1023 milliseconds. A delay holds that step’s output back by the specified time. Legitimate uses are practical rather than exotic: giving a slow device time to finish one operation before a mapped message arrives, staggering messages that a target handles badly when they land simultaneously, or aligning a transformed message with related data on another path.

Use delays surgically. A delay on a step that matches continuous controller traffic will queue up a stream of late messages and feel like lag, because it is lag. Test delay changes with the monitors open and timestamps visible, and write the reason for any non-zero delay into the map’s file name or a note kept with it — unexplained delays are the first thing a future troubleshooting session will trip over.

Patch mapping: remap by Program Change

Patch mapping solves a different problem: the program numbers on your controller do not line up with the sounds you want on the target. With patch mapping, an incoming Program Change triggers the mapped result, so selecting program 10 on the sending device can call up a different, chosen program on the receiver. This is how players reconcile a favourite controller layout with a sound module organised in its own order, without reprogramming either device’s memory.

Build patch maps methodically: work through the sending device’s programs in order, decide the target for each, and test each mapping as you enter it rather than entering fifty and debugging them as a set. Save the finished map in both formats as above; a patch map embodies real decisions about your repertoire and is worth the same backup care as a SysEx dump.

Mapping, honestly scoped

Mapping in MIDI-OX covers channel and message transformation, value remapping, RPN/NRPN handling, delays and patch mapping, and it can be combined with COM scripting for jobs the built-in steps cannot express. It is not an audio feature, it does not add MIDI 2.0 support to a MIDI 1.0 chain, and a map can only transform data that actually passes through MIDI-OX — the route has to exist first. Within those bounds, it remains a remarkably complete tool. For a maintained, modern alternative built specifically around translation, see our comparison MIDI-OX vs Bome MIDI Translator Pro, which is frank about where each tool is stronger.

Next steps

Attach your working map to a route so transformed data reaches a real destination — that workflow is the Port Routing guide. And keep experimenting against the monitors: the Input and Output panes are the ground truth for every map you will ever write. The rest of the series is indexed on the tutorials hub.

Similar Posts