0110.be logo

~ A GUI for OSC and MIDI diagnostics and message passing - mot 1.1.0

I, 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.

mot-gui running two flows: MIDI In to a Lua arpeggiator to MIDI Out, and MIDI In to a MIDI to OSC bridge to OSC Send with a Monitor
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:

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.