One live source, heard in sync on a fleet of phones, ESP32 boards and Raspberry Pis, over WiFi and 4G. What an FM transmitter and a handful of receivers give you, rebuilt on the networks and devices people already carry.
Syntoniser: to tune in to a station. A research project by Hemisphere, started November 2026.
Status: research, week one. The clock and the measuring tools exist and are tested. No audio is streamed yet. See the plan.
Every piece of audio carries the time it was captured, on a clock all devices share. Every receiver hands it to its audio system at capture time + D − its own output latency, so that it is heard at capture time + D, where D is one delay for the whole group. Devices should then agree with each other within a few milliseconds (the target, tested in the first milestones), and the delay is a number you choose rather than whatever each device ends up with.
What the desk research expects. None of it is measured yet; the plan lists the experiment and pass mark for each line:
| Situation | Delay | Devices agree within |
|---|---|---|
| Buffered playback | 0.5–10 s, chosen | 1–10 ms |
| Live on venue WiFi, native receivers | 30–80 ms | 1–2 ms |
| Live on venue WiFi, phones in a browser | about 70–200 ms | 1–10 ms |
| Live, phone to phones over LTE | about 200–400 ms | 5–15 ms |
| Live over LTE to Bluetooth speakers | about 450–600 ms | 10–20 ms after calibration |
The first use is the hardest on privacy and simplicity: people's own phones at public gatherings, joining in one tap, with nothing that locates or identifies them. Those rules are the defaults. Controlled settings (a dedicated network, operated players) are other profiles on the same core.
| Path | What |
|---|---|
docs/plan.md |
The research plan: priorities, architecture, milestones, open decisions |
docs/architecture.md |
One core, interchangeable parts: the seams, the per-room policy, and the profiles from street to installation |
docs/research/ |
Eight research reports the plan is built on |
docs/lab.md |
How to measure sync between real devices with the click test |
shared/clock.js |
Clock sync estimator: runs in the browser and in Node, small enough to port to an ESP32 |
shared/beats.js |
Decides which clicks to queue on each pass, whatever the device's output delay |
shared/frame.js |
The audio frame: sequence number, capture time, codec, one packet (Opus, or PCM) |
server/ |
The relay: reference clock, rooms (what they use, their policy, their delay group), audio fan-out, static pages; a room's sender may switch it from Opus to PCM |
deploy/ |
Running the relay on a host, behind a reverse proxy |
web/lab/ |
Click test page: every device clicks on the same beat |
shared/stamps.js |
Sender: capture stamps fitted on (sample count, relay time), so they follow the sender's real rate and never jump |
shared/ring.js |
Receiver: frames placed by sequence number, a missing one a hole of silence, capture time → stream sample |
shared/player.js |
Receiver: holds capture + D − L on the device's own clock, follows drift gently, plays through gaps and rejoins on time |
web/js/player-worklet.js |
The player in an AudioWorklet: frames, time base, L and D in through its port; playout error and dropouts out |
shared/framer.js |
Sender: captured blocks of any size cut into 20 ms frames, each named by its first sample |
shared/pcm.js |
The fallback codec: 16-bit PCM, little-endian, interleaved |
shared/streamclicks.js |
Stream click test: the click pattern written into the stream by capture stamp, and the receiver's gate to its own slot |
shared/sender.js |
Sender core: capture blocks → stamped 20 ms frames → codec → transport; the test pattern in test mode |
web/send/ |
Sender page: test pattern, microphone or a file → Opus (WebCodecs) or PCM → the relay; sets the room's delay and its codec (PCM, the fallback, mid-stream) |
web/js/capture-worklet.js |
Capture in an AudioWorklet: blocks of samples, counted from the start, out to the page |
web/js/codecs.js |
Opus through WebCodecs behind the sender core's encoder method and the receiver core's decoder method; PCM as the fallback |
shared/receiver.js |
Receiver core: frames from the relay → decoder → (test mode: this phone's slot only) → the player; the time base as a line; counts lost frames |
web/listen/ |
Receiver page: one tap, nothing to set, no name; Opus decoded by the browser, else in WebAssembly, PCM in a PCM room, following the room when it switches; reports counts only |
web/vendor/ |
Third-party files served as they are: the WebAssembly Opus decoder (MIT), with where each came from |
lab/analyse-clicks.mjs |
Measures a one-microphone recording of the click test |
npm install
npm start # http://localhost:3700/lab/
npm testOpen /lab/ in two browser tabs or on two devices and tap to join. docs/lab.md explains how to read and measure the result. Needs Node 20 or later; the analyser needs ffmpeg.
Syntone stands on ideas from Snapcast, Sendspin, IRCAM's @ircam/sync and the studio's own FlanerieMozaic. The landscape report says what each covers and where the gap is.
GPL-3.0. See LICENSE.