~ A GUI for OSC and MIDI diagnostics and message passing - mot 1.1.0
» By Joren on Saturday 05 December 2026I, more like we - me and my coding agent, have released version 1.1.0 of mot, our MIDI and OSC tools. Until now mot was a set of command line tools: midi_echo, osc_echo, osc_send, midi_to_osc, osc_to_midi, midi_processor for Lua scripts and midi_roundtrip_latency. Each subcommand was one fixed pipeline. Combining them meant running several mot processes and wiring virtual MIDI ports by hand in multiple terminals. The new version adds mot-gui, a node editor in which these building blocks become nodes that you wire into flows.
Fig: mot-gui running two flows at once: a Lua arpeggiator and a MIDI to OSC bridge with a monitor.
mot-gui: a node editor for MIDI and OSC
mot-gui is a desktop application built with egui / eframe and egui-snarl. Right-click the canvas to add a node, drag from an output to an input to connect two nodes. The new features:
- Nodes for MIDI In and Out, OSC Receive and Send, a Lua Processor, MIDI→OSC and OSC→MIDI bridges, a Monitor, and manual MIDI and OSC senders.
- Typed pins: orange pins carry MIDI, blue pins carry OSC. Connections between the two are refused, only a Monitor accepts both.
- Several flows at once: fan-out from one input to several nodes, chained Lua processors, or a few unrelated flows on the same canvas. This is something the command line tools could not express.
- Settings per node: a MIDI port by name, by index or as a new virtual port (macOS and Linux), a host and UDP port for OSC, an mDNS picker that lists OSC services currently active on the network, and a Lua script picker with a reload button.
- Live feedback: Monitor nodes show incoming messages and node headers flash when a message passes. A node that fails, because a MIDI port is missing, a Lua script is invalid or a UDP port is already in use, turns red and shows the error. The rest of the flow keeps running.
- Presets: each existing
motsubcommand is available as a flow, which is a good place to start.
Running a flow without a window
Flows are saved as JSON and run without the GUI with mot run flow.json, for example on a Raspberry Pi without a display. The example below runs two flows at the same time: MIDI In → Lua arpeggiator → MIDI Out and MIDI In → MIDI→OSC → OSC Send. It uses virtual MIDI ports, so it runs on macOS and Linux:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"version": 1,
"nodes": [
{ "id": 1, "kind": { "type": "MidiIn", "port": { "virtual": "mot arp in" } } },
{ "id": 2, "kind": { "type": "LuaProcessor", "script": "scripts/arpeggiator.lua" } },
{ "id": 3, "kind": { "type": "MidiOut", "port": { "virtual": "mot arp out" } } },
{ "id": 4, "kind": { "type": "MidiIn", "port": { "virtual": "mot osc in" } } },
{ "id": 5, "kind": { "type": "MidiToOsc", "address": "/midi" } },
{ "id": 6, "kind": { "type": "OscSend", "target": "127.0.0.1:1234" } }
],
"edges": [
{ "from": { "node": 1, "port": 0 }, "to": { "node": 2, "port": 0 } },
{ "from": { "node": 2, "port": 0 }, "to": { "node": 3, "port": 0 } },
{ "from": { "node": 4, "port": 0 }, "to": { "node": 5, "port": 0 } },
{ "from": { "node": 5, "port": 0 }, "to": { "node": 6, "port": 0 } }
]
}
mot run checks the flow first and lists any problems. Monitor output goes to standard output, node errors to standard error. To open a flow in the editor and start it right away, use mot-gui --run flow.json.
Under the hood
Internally the code became a Cargo workspace with four crates: mot-core for MIDI and OSC I/O, Lua and mDNS, mot-flow for the flow model and the runtime, mot-cli for the mot command and mot-gui for the editor. The flow runtime does not depend on the GUI, which is what makes headless runs possible. The existing subcommands keep their syntax, so scripts that call mot midi_to_osc keep working. As with the recent Olaf updates, most of the code was written by Claude Opus 5.5, guided by a detailed GitHub issue with acceptance criteria.
There are now two archives per platform on the releases page: mot-<platform> with the command line tool and mot-gui-<platform> with the node editor. Both are built for Linux x64 and ARM64, macOS Intel and Apple Silicon, and Windows x64 and ARM64. The command line tool is also available for the 32-bit Raspberry Pi (ARMv7), the GUI is not.
Anyway, check out mot on GitHub, build a flow and run it. Debug your OSC and MIDI. Feedback, bug reports, and pull requests are very welcome.