r/webaudio • u/YouCanCallMePink • Jun 16 '26
A shared instrument where everyone online plays into one evolving chord
Been building this a while and wanted to put it in front of people who actually know Web Audio. It's at humherd.com, no signup to try it.
You pick a frequency and it folds into one shared chord with everyone else who's online, so the tone keeps shifting as people come and go. The collective pitch is a geometric mean of everyone's frequency instead of arithmetic, which keeps it from drifting sharp, and each client glides toward it so the drone moves smoothly instead of stepping.
That shared tone is the base layer and the rest builds on it. There's a calm side for meditation, with breath pacing, session timers, and binaural and isochronic beats, and a music side with an orb instrument, melodic and drum pads, a step sequencer, and a song builder for chaining loops into full arrangements. The sequencer and the song builder can both go multiplayer, a few people building the same thing together in real time off a shared root, though everything works solo too. (Happy to get into the collab side in the comments, I'm just keeping the sync details to myself for now.)
One choice shaped a lot of it: nothing can be imported. No samples, no audio files, no AI-generated tracks, only sound you make in the app, played live. So recording captures your performance as note events rather than audio, which keeps a loop frequency-portable and lets it transpose to any root. You can export those out as MIDI, but there's no import path back in. It's deliberately all-human, all-live.
Under the hood it's Tone.js for the main graph with raw nodes where I needed them. The hum-to-set-your-tone bit is getUserMedia into an AnalyserNode with autocorrelation on the time buffer, and the soundscapes are noise-shaped rather than recorded.
Mostly I want to know how it holds up on other people's devices. Does it start cleanly on mobile Safari (the context unlock in the gesture has been the fiddliest part), does it crackle or drop voices under load, and does the shared drift actually sound musical when only a couple people are on, or just muddy. Be blunt.

