Stoatworks Labs

User guide

Dante-BabelBox user guide

v0.5.0Updated 9 November 2026

Dante-BabelBox is a cross-vendor Dante control bridge: it translates between manufacturers’ control protocols, so you can set preamp gain and phantom power and read wireless-mic status across consoles, stageboxes and receivers that don’t otherwise talk to each other.

Dante carries your audio and basic device discovery, and there it stops. Preamp gain, phantom power and wireless-mic status are left to each vendor, and each one runs its own proprietary control protocol over the same network, none of which understands the others. Hence the name: this does the translating, so the state of one vendor’s device can be used from outside that vendor’s own kit.

It does two separate jobs:

  • Preamp control: gain and phantom power bridged across consoles and stageboxes from different vendors, with a patch-bay web UI.
  • Radio-mic telemetry: battery, RF and audio level from wireless receivers, across vendors, whether or not the hardware has a Dante audio option installed, because the adapters only ever talk to a device’s IP control channel and never touch Dante audio at all.

Before you rely on this: most adapters are built against official or community-authoritative vendor protocol specs. The rest are reverse-engineered, from captures of real gear or from the vendor’s own software, and their status says so. Almost all of them have only been tested against mock devices. The Lectrosonics mic adapter’s wire format is an unverified placeholder, so it’s a scaffold rather than a working adapter.

What has run on real hardware, and it’s worth knowing which:

  • Yamaha DM3 over SCP (yamaha-dm3-scp), on a real DM3 (firmware V3.00) on 2026-09-15: identify, gain and phantom read and write, and a live change feed from the desk’s own NOTIFY push, all through the full plugin stack. The router and the web UI drove the same desk that day. The older OSC adapter (yamaha-dm3) ran on it too, but is weaker. See yamaha-dm3-bench-2026-09-15.md.
  • Sennheiser EM 500 G3 (sennheiser-ewg3), the same day: a DM3’s remote head-amp gain drove the receiver’s AF-out level through the bridge. See sennheiser-ewg3-bench-2026-09-15.md.
  • The Yamaha R-series HA protocol, captured from a real QL1 + Rio3224-D2, decoded, documented, rebuilt from that documentation and sent back, and the stagebox accepted it and changed its gain. That proves the protocol, not the code: the write came from a standalone script. The Rio adapter now exists and rebuilds that frame byte for byte, but it has never been run against a device, and no plugin loads it yet. See yamaha-ha-remote-over-dante.md.

This codebase was created with AI assistance, directed and reviewed by a human author.


Which devices are supported

Preamp control

Vendor Device Protocol Status
Behringer / Midas X32, M32, HD96 OSC Done
Behringer Wing OSC Done — 8 built-in preamps only
Allen & Heath AHM-series NRPN over TCP Done
Allen & Heath dLive NRPN over TCP (Socket addressing) Done
Yamaha DM3 / DM3S SCP (TCP 49280) Validated on a real DM3 (2026-09-15). Kind yamaha-dm3-scp, and the one to use for a DM3
Yamaha DM3 / DM3S OSC (UDP 49900) Works, and also ran on the real DM3, but an OSC set gets no reply and the desk pushes no OSC changes, so read-after-write and the change feed are weaker than SCP. Kind yamaha-dm3
Sennheiser evolution wireless G3 (EM 300/500 G3) Binary WSM protocol (UDP 8133) Validated on a real EM 500 G3 (2026-09-15). One channel, whose gain is the receiver’s AF-out level (−24 to +18 dB in 3 dB steps). Reverse-engineered from Wireless Systems Manager. Kind sennheiser-ewg3
RME Any interface TotalMix FX 2.1+ drives, e.g. Digiface Dante TotalMix Global OSC (UDP 7001, replies on 9001) Implemented, tested against a stand-in only. Channel N is TotalMix hardware output N and its gain is the output fader, from −65 dB (off) to +6 dB. Kind rme-totalmix
Any AES70 vendor Focusrite RedNet (MP8R and any unit with AES70 enabled) AES70/OCA (OCP.1 over TCP) Implemented from the published standard, with the device’s objects discovered when the bridge connects. Never run against any AES70 device. Kind aes70
Allen & Heath DT168, DT164-W AllenHth messages over Audinate ConMon Codec only, no transport. Reverse-engineered from A&H’s DT Preamp Control app and the SQ’s Dante-card firmware, with no capture and no hardware. See allenheath-dt-preamp-over-dante.md
Allen & Heath Qu, SQ — Not implemented. The SQ’s Dante card registers the same AllenHth namespace as the DT expanders, so the DT codec is the likeliest route, pending a capture
Aphex 1788A MIDI SysEx Codec only, no transport. Built from Aphex’s published command table; how the SysEx reaches the unit’s Ethernet port isn’t documented
Yamaha Rio, Tio MBC over Audinate ConMon Adapter written, not usable yet. Gain, +48 V and metering, from a wire format proven on a real Rio3224-D2. Never run against a device, and no plugin loads it, so the bridge can’t drive a Rio yet
Yamaha Rio3224-D2, emulated (the bridge is the stagebox) A Dante device (mDNS, ARC, ConMon), then MBC from the stagebox’s side Built from a capture, never run against a console. Kind yamaha-rio-emulated: a virtual Rio for a CL or QL to mount and control, 32 channels of gain and +48 V. No audio. See dante-emulation.md
Yamaha CL, QL MBC over Audinate ConMon Partial, and not usable yet. A QL/CL is the controlling side of the captured protocol, and the Rio adapter addresses it too, so it’s waiting on the same plugin. Driving a console’s own local head amps was never seen on the wire
Yamaha DM7 — Not implemented — no public spec

Radio-mic telemetry

Vendor Device Protocol Status
Shure ULX-D ASCII over TCP 2202 Done
Shure Axient Digital ASCII over TCP 2202 Wire framing done; field behaviour only spot-checked
Sennheiser EW-DX EM 2 / EM 2 Dante / EM 4 Dante SSC (JSON over UDP) Done
Lectrosonics DSQD / Duet Ethernet control port Placeholder wire format — correct the bytes and the port before use
Shure QLX-D mounted on a console ANSI E1.17 ACN (SLPv2 + SDT/DMP over UDP) Discovery and passive telemetry, reverse-engineered from captures of a real QLXD4 on a QL1. Read-only, needs a mirrored port, and has no mic-monitor kind yet

The ULX-D, Axient Digital and EW-DX adapters are built from the vendors’ published command documents. The QLX-D one isn’t, because nothing published covers a receiver mounted on a console, so its decoder is tested against frames from those captures instead (the write-up lives in RFutils). It needs a mirrored port because the receiver unicasts its telemetry to the console. None of these telemetry adapters has been run against a live receiver yet.

The Lectrosonics adapter still won’t make anything up in what it reports (audio dBFS and RF dBm stay unset rather than being invented), but treat it as a scaffold until the wire format is confirmed.


Getting a bridge running

1. See what’s on the network.

cargo run --bin preamp-bridge -- discover

This browses Dante’s own mDNS advertisements. It tells you what’s there. Whether this bridge can drive it is another matter.

2. Generate a config.

cargo run --bin preamp-bridge -- init --output bridge.toml

init discovers devices and probes each one against the identify() of five kinds (X32, Wing, AHM, dLive and the OSC DM3) until one claims it. How sure it is depends on the protocol, and it’s worth knowing which you’re getting:

  • X32-family and Wing confirm vendor and model, from documented replies.
  • AHM and dLive confirm the protocol family only, because their specs have no model-string query.
  • DM3 is the weakest signal: its spec documents no identify query at all, so a scene-status request is reused as a presence probe.

init doesn’t probe for yamaha-dm3-scp, sennheiser-ewg3 or aes70. Add those devices to bridge.toml by hand.

[[mapping]] entries aren’t generated by default. Add them by hand, or see below.

3. Run it.

cargo run --bin preamp-bridge -- run --config bridge.toml

Editing bridge.toml while the bridge runs hot-reloads the mapping table.


Inferring mappings from live Dante patching

cargo run --bin preamp-bridge -- init --output bridge.toml --infer-mappings

With this flag, init also asks each identified device for its current Dante RX subscriptions, and writes a [[mapping]] for every subscription that points at another device in the file. It’s a proper signal, read from live patching rather than guessed.

One catch, and it’s why this is opt-in. The channel numbers it writes are Dante audio channel numbers. On most gear those match the preamp/headamp channel a vendor adapter addresses, because out of the box Dante channel order mirrors physical I/O order 1:1. That’s a default-configuration convention, not a protocol guarantee, and a console with customised Dante patching breaks the assumption without telling you.

Treat inferred mappings as a first draft to check against each adapter’s channel numbering.


The patch-bay web UI

run also serves a web UI, bound by default to 0.0.0.0:8080, so any browser on the LAN can reach it at http://<this-machine's-IP>:8080.

The Patch tab: source devices on the left and destination devices on the right, each drawn as a rack strip of numbered channel jacks, with green patch cables joining mapped channels.

An actual screenshot of the running web UI. The devices are virtual placeholders, so the UI can be shown with no hardware on the network.

  • Patch tab: click a source channel, then a destination channel, to connect them. Click a patch cable to disconnect.
  • Crosspoint tab: the same mappings as a matrix, showing only channels that are actually mapped. A full grid of every channel across even two devices would run to tens of thousands of cells, so pin a device to bring all its channels into the grid when you need them.
  • Gain lock tab: when bridge.toml has a [gain_lock] table, this is where you elect the leader desk, lock and unlock, set the leader’s preamp gains, and see what the lock has done to each follower’s trim. See Gain compensation below.
  • Device management: add real devices (they connect straight away) or virtual ones.
  • Export as TOML: devices and mappings added through the UI are in memory only and don’t survive a restart. This button exports the current state so you can paste it into bridge.toml and keep it.

Change the bind with --web-bind 127.0.0.1:8080 to restrict it to this machine, or turn it off with --no-web.

There’s no authentication and no TLS. It’s the same trust model as a hardware router’s control port, so it belongs on a trusted operations network, not the open internet.

What “virtual” means

A virtual device is a placeholder: a name and a channel count with nothing behind them and nothing on the network. It lets you design the topology you want before the device is there.

It isn’t the same thing as an emulated device. Emulation is where the bridge answers as if it is a native device of a foreign brand, so a console’s own preamp UI drives it directly. The first one exists: yamaha-rio-emulated, a virtual Rio3224-D2 for a Yamaha CL or QL. It’s built from a packet capture of real gear and has never been in front of a console, and it carries no audio. dante-emulation.md has the settings, the limits and a checklist for a first bench session.

Emulating any other device needs packet captures of that device paired with its own console, because none of that handshake is in any public spec. If you can help with those captures, docs/ has a non-technical field guide, one edition per OS: Windows · macOS · Linux.


The config file

[[device]]
id = "ahm-rack"
kind = "ah-tcp"        # osc-x32 | osc-wing | ah-tcp | dlive-tcp | yamaha-dm3 | yamaha-dm3-scp | yamaha-rio-emulated | sennheiser-ewg3 | rme-totalmix | aes70
address = "10.0.0.10"
port = 51325           # optional — defaults to the protocol's standard port

[[device]]
id = "future-x32"
kind = "osc-x32"       # what this placeholder stands in for
virtual = true         # placeholder — no address needed
channels = 8

[[mapping]]
from = { device = "ahm-rack", channel = 3 }
to   = { device = "x32-monitors", channel = 7 }
bidirectional = true
# gain_offset_db = -60.0  # optional: added to the gain going from -> to, taken off coming back

Gain is copied in dB. gain_offset_db shifts it for two controls whose ranges don’t line up: with −60, a preamp’s −6 to +66 dB lands on an output fader’s −66 to +6 dB, so +30 dB on the desk is −30 dB on the output. On a bidirectional mapping the offset comes off again going the other way. Phantom is never offset, and each device still clamps to its own range.

channel means whatever the underlying protocol’s own addressing unit is: an X32 headamp number (1–128: local 1–32, AES50-A 33–80, AES50-B 81–128), a dLive physical preamp Socket number (which is not the processing channel number), or a DM3 Local Input number. It’s the thing you’re most likely to get wrong. Check the relevant adapter’s module doc comment for the exact ranges.

kind is an open string rather than a fixed list, so a loaded plugin can register more kinds. There’s a fully worked example in bridge.example.toml.

A few kinds want more than an address:

  • yamaha-dm3-scp uses the same channel and gain model as yamaha-dm3 (Local Input 1–16, whole dB from 0 to 64). Leave out port and it uses 49280.
  • sennheiser-ewg3: address is the receiver’s IP (front panel, Advanced > IP-Address). port is ignored, because the protocol is fixed on 8133. Close Wireless Systems Manager first. It holds the receiver’s single write-master slot, and the receiver quietly drops writes from anyone else.
  • yamaha-rio-emulated: the bridge is the device. address is this machine’s own address on the Dante network, where the virtual Rio appears, and unit_id (required) is the stagebox unit id the console mounts. port is ignored. When a console finds it, the console writes its own gain and +48 V to all 32 channels, and the bridge relays them to whatever is mapped. Never run against a real console; see dante-emulation.md.
  • rme-totalmix: address is the computer running TotalMix FX (usually 127.0.0.1), not the interface. port is TotalMix’s incoming OSC port (7001 if left out), and channels, the number of hardware outputs to expose, is required. In TotalMix’s OSC settings, turn OSC on in Global mode, set Remote IP to the machine running the bridge and leave the outgoing port at 9001: the bridge reads TotalMix’s replies there, so nothing else (such as Companion’s TotalMix module) can be listening on 9001. Give a preamp-to-output mapping a gain_offset_db (about −60): without one, a preamp at +30 dB puts the output at +6 dB, TotalMix’s top.
  • aes70: on RedNet, enable AES70 in RedNet Control’s per-device Tools menu first (RedNet Control needn’t stay running afterwards). channels is ignored, since the device reports its own. AES70 assigns no port: 65000 is the usual convention, but check the device’s _oca._tcp mDNS record. Older configs that say rednet-aes70 still work.

Gain compensation (the gain lock)

When several desks share one stage box, one desk owns the preamps, and every gain change it makes turns up on every other desk too, usually without warning. Declare that desk the leader, name the signals the desks share, and lock. From then on each follower desk’s digital trim takes the opposite of every leader gain change, so the followers’ levels stay put.

[gain_lock]
leader = "foh"

[[gain_lock.signal]]
name = "Kick In"
members = [
  { device = "foh", preamp = 1 },   # the leader's preamp
  { device = "mon", input = 1 },    # the follower's input channel, whose trim moves
]

What to know before you use it at a show:

  • Moves are relative. The bridge reads each follower’s live trim and moves it from there, so a trim change the monitor engineer makes mid-show is kept.
  • Nothing is lost at a limit. A trim that runs out of range keeps the difference and takes it back when the leader comes down. A desk that drops off the network gets the missed amount when it comes back.
  • Followers today are X32/M32 and Wing. They’re the only protocols here that document a writable channel trim. Any device with a preamp can lead. On an X32 the documented trim covers digital sources only, so check it on a headamp-fed channel first.
  • Tested against mock desks only. No real desk has followed a leader yet.

The full guide, with the rules, the desk survey and a first-rig checklist, is GAIN-LOCK.md.


Radio-mic telemetry

This is a separate binary, because the domain is a different shape. Telemetry is mostly reading (battery, RF and audio level are monitoring only, and mute is the only realistic write), so it has its own adapter trait rather than extending the preamp router.

cargo run --bin mic-monitor -- discover
cargo run --bin mic-monitor -- watch

mic-telemetry-architecture.md diagrams both vendors’ wire protocols sequence by sequence, and shows what ends up in the reported state for each vendor.


Adding a device the bridge doesn’t support

Device support loads two ways, and the router and the web UI can’t tell them apart. The one that matters to you is dynamic loading: a plugin is a separate .so/.dylib/.dll, picked up from --plugins-dir (default plugins) at startup.

Adding a vendor needs no recompile of this project at all. Build your plugin, drop the file in and restart the bridge. All ten device kinds this repo ships already work this way.

plugin-development-guide.md has the full contract, two worked examples, and the pitfalls that turned up while building it.


Troubleshooting

Symptom Cause
discover lists devices, init doesn’t claim them Discovery is Dante’s mDNS; identification is per-adapter. A device can be visible and unsupported.
init identified a DM3 that isn’t one DM3 has no identify query; a scene-status request stands in as a presence probe. It is the weakest signal of the five.
init wrote a DM3 as yamaha-dm3, or missed a G3 or an AES70 device init only probes five kinds, and its DM3 probe is the OSC one. For SCP, change the kind to yamaha-dm3-scp and the port to 49280 (or delete the port line). Add the others by hand.
A G3 receiver ignores gain changes Wireless Systems Manager is running against it and holds the receiver’s single write-master slot. Close it.
Gain moves the wrong channel Channel numbering is per-protocol. On dLive especially, the Socket number is not the processing channel.
Inferred mappings are off by a channel or scrambled The console has customised Dante patching, so Dante channel order no longer mirrors physical I/O.
Devices added in the web UI vanished after a restart They are in-memory only. Use Export as TOML and keep it in bridge.toml.
A command bounces back and forth between two devices Shouldn’t happen — the router has echo suppression on bidirectional mappings. Worth reporting.
Web UI unreachable from another machine --web-bind is set to loopback, or --no-web is on.
Wing preamps above 8 don’t respond Only the 8 built-in preamps are covered.
Lectrosonics receiver reports nothing Expected — the wire format is an unverified placeholder.

See also

This guide lives in the project's own repository and is rebuilt from it, so corrections are welcome as a pull request against docs/USER-GUIDE.md. Last updated 9 November 2026.