---
title: 'Between: 2026/12/01 en 2026/12/31 - 0110.be'
canonical: https://0110.be/date/2026/12
markdown_url: https://0110.be/date/2026/12.md
page: 0
posts_per_page: 30
total_posts: 1
filters:
  year: 2026
  month: 12
previous:
next:
---

# Between: 2026/12/01 en 2026/12/31 - 0110.be

## [A GUI for OSC and MIDI diagnostics and message passing - mot 1.1.0](https://0110.be/posts/A_GUI_for_OSC_and_MIDI_diagnostics_and_message_passing_-_mot_1.1.0.md)

- Published: 2026-12-05T00:00:00Z
- Updated: 2026-12-05T14:46:39Z
- Author: Joren
- ID: 592
- Canonical: https://0110.be/posts/A_GUI_for_OSC_and_MIDI_diagnostics_and_message_passing_-_mot_1.1.0

- Tags: [Code](https://0110.be/tags/Code.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [UGent](https://0110.be/tags/UGent.md)

I, more like we - me and my coding agent, have released version 1.1.0 of [mot](https://github.com/JorenSix/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](https://0110.be/posts/MIDI_and_OSC_tools_improvements__-_MIDI_processing_and_mDNS_support) 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.

<center>
<img src="https://0110.be/files/attachments/592/mot-gui.png" alt="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" style="width:80%;max-width:800px">
<br><small>Fig: mot-gui running two flows at once: a Lua arpeggiator and a MIDI to OSC bridge with a monitor.</small>
</center>
<br>

### mot-gui: a node editor for MIDI and OSC

`mot-gui` is a desktop application built with [egui / eframe](https://github.com/emilk/egui) and [egui-snarl](https://github.com/zakarumych/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 `mot` subcommand 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:

```json
{
  "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](https://0110.be/posts/Updates_to_the_Olaf_audio_fingerprinting_system), most of the code was written by Claude Opus 5.5, guided by a [detailed GitHub issue](https://github.com/JorenSix/mot/issues/17) with acceptance criteria. 

There are now two archives per platform on the [releases page](https://github.com/JorenSix/mot/releases): `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](https://github.com/JorenSix/mot), build a flow and run it. Debug your OSC and MIDI. Feedback, bug reports, and pull requests are very welcome.


---
