voltergeist

Why voltergeist, and not an existing standard

This page is WHY.md from the repository.

voltergeist carries control signals between machines: continuous values (CV, knobs, envelopes) sampled at a steady rate, events at exact times (gates, triggers, notes), and a map saying what each channel means, over UDP, WebSocket or a byte stream, on a clock both ends share. Before writing it we read the standards that come close, and looked at who else plays instruments over the network. None of them carries all four things together. This page says what each one gets right, why it is not enough on its own, and how voltergeist uses it anyway.

Read on 2026-12-06 unless marked: RFC 3550, RFC 2198 and OSC 1.0 in full; the Network MIDI 2.0 (UDP) specification's overview and release date. Everything about the projects in the second half is from their own pages on the date given.

What it has to do

  1. Continuous values at a declared rate, 500 Hz to 2 kHz per channel, not only when something changes.
  2. Events at exact times, a gate edge to the microsecond, not quantised to a sample grid.
  3. A shared clock, so the receiver plays every value a fixed delay after it was made, and network jitter disappears into that delay.
  4. Loss you can count and survive: a sequence per sample, optional repeats of the previous samples.
  5. Meaning on its own channel: which node and port a channel is, its unit, range and volts per octave, sent once.
  6. Small enough for a microcontroller and a browser: a C header with no allocation, and a JavaScript module.

The standards

RTP (RFC 3550) and its companions

What it gets right: almost exactly our head. A version, a payload type, a sequence number, a timestamp in the payload's own sample units, a source id per stream (SSRC), and an extension mechanism. RTCP, its companion, maps the timestamp to wall clock and sends back loss and jitter reports. RFC 2198 adds redundancy, RFC 6295 (RTP-MIDI, Apple's network MIDI) adds a recovery journal for MIDI.

Why not as it is: it wants one session per medium ("Separate audio and video streams SHOULD NOT be carried in a single RTP session"), so a studio's CV and its gates would be two sessions on two ports; RTCP is a second protocol to run; it is big endian where every machine in play is little endian; and no RTP payload format describes many channels of sampled control values with their meaning.

What we took: the head's shape, the source id per stream, the extension flag with a length in 32-bit words, the receiver report (fraction lost, cumulative lost, highest sequence, jitter), and redundancy as repeating earlier samples (simpler than RFC 2198, because our samples are numbered one by one).

OSC 1.0

What it gets right: every music tool speaks it (Max, Pure Data, TouchDesigner, vvvv, VCV through plugins), it has typed values, bundles and NTP timetags, and a blob can carry any bytes.

Why not as it is: the spec says it outright, "OSC does not provide any mechanism for clock synchronization"; there is no sequence number, no versioning, no discovery in 1.0 (OSCQuery is a separate document), and its transport section is two sentences. Every message repeats its address as a padded text string, which is heavy at 1 kHz on many channels.

What we took: OSC is the bridge, not the wire. A voltergeist receiver plays values out on the shared clock and sends plain OSC to tools on the same machine, at a capped rate per channel (receive --osc, --osc-steady).

A note from experience: our first OSC test into VCV Rack crashed Rack four times. The protocol was not at fault; the receiving plugin (trowaSoft cvOSCcv) reads its message queue from the audio thread without a lock and walks its module list from the network thread without one (read from its source, positron research/trowasoft-cvoscv-crash-2026-12-06.md). That is why a voltergeist receiver caps its OSC rate and why VCV gets MIDI instead.

MIDI 1.0, 14-bit MIDI, MIDI 2.0 and Network MIDI 2.0

What it gets right: everything has MIDI in. 14-bit controllers (a coarse CC and a fine CC 32 higher), NRPN and pitch bend give 16,384 steps, about 0.6 mV over 10 V. MIDI 2.0's Universal MIDI Packet has 32-bit controllers, per-note controllers and jitter reduction timestamps, and Network MIDI 2.0 (UDP), released 2024-11-06, adds sessions and discovery.

Why not as it is: MIDI is events, not a sampled signal. A CV is sent only when it changes, with no rate, so a receiver cannot tell a held value from a lost one. MIDI 1.0 has no timestamps, so network jitter lands on the voltage. MIDI 2.0 over the network is new, little supported, and still event shaped; no vintage synth speaks it.

What we took: MIDI is an output (receive --midi): each channel as a 14-bit CC pair, pitch bend or NRPN, events as notes, so VCV Rack, a DAW or an Expert Sleepers FH-2 gets it. And the idea of exact event timestamps. voltergeist can now carry any MIDI message timed on the shared clock (a MIDI frame, SPEC.md 4.4); MIDI stays at the edges.

sACN (E1.31) and Art-Net

Lighting control: universes of 512 channels at 8 bits, about 44 updates a second. Wrong resolution and wrong rate for CV.

AES67, Dante, JackTrip: CV as audio

What it gets right: a DC-coupled audio interface (an Expert Sleepers ES-8, ES-9 or NTX-8CV) turns audio channels into voltages, 24 bit at 48 kHz, so audio-rate modulation works, and JackTrip or SonoBus carries it.

Why not as it is: 1.15 Mbit/s per channel uncompressed, two audio interfaces' buffers in the path, and a dropout is a step in a pitch CV. Opus or WebRTC's voice processing would mangle DC. It is the right tool for the few channels that must be audio rate, and the wrong one for twenty knobs.

What we took: nothing in the wire. voltergeist can drive an NTX-8CV as an output, and the two can run side by side on one clock.

Tempo, beat and phase between apps on a network. It keeps a band in time; it carries no control values. A voltergeist stream can sit beside it.

Prior art: playing instruments over the network

The full survey, 28 verified items with links, is research/prior-art-2026-12-06.md. The ones that matter most:

Patchwerk (MIT Media Lab and the MIT Museum, NIME 2012)

The closest precedent. Brian Mayton, Gershon Dublon, Nicholas Joliat and Joseph Paradiso put Paradiso's large modular synthesizer in the MIT Museum online: web users turned real, motorised knobs (so people in the room saw them move), four analog outputs set anywhere in ±10 V and eight trigger ports reached the patch, a configuration file per patch said what each output was and its voltage range, the server gave one knob to one user at a time, control went over WebSocket and an MP3 or Ogg stream came back. In the paper's words it "brings a broad audience closer to a rare and historically important instrument" (NIME 2012). It had no clock, no sequence numbers and no playout buffer: a value landed when it arrived. https://synth.media.mit.edu still serves the stream page; the Patchwerk link on it is commented out. voltergeist keeps its idea of a map with ranges and adds the clock, the sequence and the delay that make it playable from another country.

Play-a-Synth (playasynth.com)

Remote access to real hardware synthesizers from a browser: you send MIDI, the synth plays in a studio, and its sound comes back over "WebRTC and other peer-to-peer techniques". Founded by Jonna Laaksonen (developing it since 2017) and Asep Bagja Priandana. On 2026-12-06 its catalogue lists five units, all in Finland (an SE-02, a Pulse 2, a Reface DX, a DeepMind 12 and a Minilogue); every paid session starts with a two-minute refundable trial "to evaluate the audio quality and latency", and no latency figure is published. Its forum (2022) documents Opus or raw audio over WebRTC or UDP at 48 kHz. A commit in its makers' fork of a Raspberry Pi 5 Nerves system, "Add libopus, ALSA rawmidi, USB audio support for Play-a-Synth" (2026-04-12), suggests each synth hangs off a Pi 5 running Elixir (INFERRED from that one commit). No modular, no CV.

What it shows: people want to play a real instrument they do not own, from anywhere, and the sound coming back over WebRTC works. What it leaves to us: MIDI only, so 7-bit controls and no CV into modulars; no shared clock or jitter buffer on the control side; nothing a second studio can stand up itself.

midiMESH (Asep Bagja Priandana, nanassound)

ESP32-C3 controllers with five knobs, each change sent as one UDP broadcast datagram to 255.255.255.255 port 4000 holding exactly three bytes, a MIDI CC (B0 4B..4F vv), with no header, device id, sequence or timestamp. The 12-bit ADC (0 to

  1. is cut to 7 bits, and each knob is polled then sleeps 150 ms, so at most about 6.7 updates a second. No discovery; a desktop receiver forwards any datagram's bytes to the IAC bus unparsed. Firmware Apache-2.0, hardware CERN-OHL-W. The "Control Voltage (coming soon)" module is a MIDI to CV receiver and is unpublished; the firmware's last commit is 2025-12-23. The active hardware is EuroPlatvorm, an ESP32-C6 Eurorack carrier documented 2026-11-25, with a footprint for I/O daughter boards and no DAC. It is the honest version of "crude", and a good neighbour: a voltergeist receiver can send its three-byte datagrams to midiMESH's receiver as they are, a small bridge can stamp midiMESH's controls into voltergeist frames, and a DAC daughter board on EuroPlatvorm (an MCP4728 with an op-amp stage) running the C core would be the CV module it announced.

Stompenberg FX (Thomann, with Feinarbyte)

More than 200 real guitar and bass pedals in racks, played from a browser: you send audio (a supplied riff, your own recording, or your instrument live), it runs through the physical pedal, and the result streams back. Each pedal is modified so that "potentiometers and switches are measured before being connected to digitally controllable components", the more invasive way to connect a device. Thomann notes that "live internet audio also introduces latency and compression that would not be present with a pedal connected directly." (thomannmusic.com blog, read 2026-12-06.)

What it shows: remote physical hardware at scale is real and people use it; the controls are replaced, not driven from outside. voltergeist goes the other way: the instrument is left as it is, and control arrives at its existing CV inputs (or by MIDI), so a historic synth needs no modification.

Network CV modules

They exist, and all of them are OSC or MIDI over Wi-Fi at about 12 bits: the Rebel Technology Open Sound Module, the Instruō Aithēr, Instruments of Things 2.4SINK, and MIT's 20N02 (NIME 2019, an ESP8266 with an I2C 12-bit DAC over WebSocket). None stamps its values with a clock or numbers them, so network jitter lands on the voltage.

Museums and collections

TONTO at the National Music Centre in Calgary, SMEM in Fribourg (about 5,000 instruments and a Playroom), MESS in Melbourne ("preservation through use"), the restored Synthi 100s, and Kurenniemi's instruments at the University of Helsinki keep historic instruments playable, but only in the room. The one remote offer from a collection we found, Google's AR Synth for SMEM, is an emulation. Remote playing of the real instrument, without modifying it, is the gap voltergeist is for.

Telematic music

JackTrip and SoundWIRE (CCRMA), LoLa, NINJAM, Jamulus, SonoBus and Pauline Oliveros's telematic work solved clocks and buffers for audio between musicians. voltergeist does the same for the control side, and leaves the audio to them.

Play My Synth (v2in, ECCM)

The project voltergeist grew out of: three musicians in Ukraine playing synths at the Estonian Centre for Contemporary Music in Tallinn, their CVs over the network into DC-coupled outputs (an NTX-8CV first, an LTC2668 build second), the sound back over WebRTC (v2in plans/plan-play-my-synth.md, 2026-11-16). Its relay test measured the transports on emulated bad lines: at 25 ms and 2 % loss, p99 per sample 42.8 ms over UDP, 43.0 ms over an unordered WebRTC data channel, 121.1 ms over WebSocket; with 5 % loss and 2 s cuts, UDP 61.5 ms against WebSocket 322.3 ms. voltergeist's frame is that test's frame, grown into a specification.

So

voltergeist is small on purpose: a 16-byte head shaped like RTP's, samples and events on one clock, a map sent once, loss counted and optionally repaired, and bridges out to the standards people already run: OSC for Max and Pure Data, 14-bit MIDI for VCV and DAWs, DC-coupled audio interfaces and DAC chips for real voltages. A studio that speaks OSC or MIDI joins without writing a line of voltergeist; a studio that wants the whole chain gets a C header and a JavaScript module that agree byte for byte.