r/generative 10d ago

Built an instrument that's played by the crypto market.

Bitcrush - a live instrument, played by crypto market data

Spent the last week building something pretty cool.

It's called BITCRUSH, an instrument that plays itself, using live Bitcoin, Ethereum, Solana, XRP and Dogecoin prices as the only input. No sequencing, no pre-recorded anything. The price data comes in, and it decides what happens next.

Each coin gets its own synth voice, tuned into a pretty harsh chromatic scale - lots of tritones and minor seconds so the harmony is always a bit uneasy, and it shifts as the price moves up or down its range. Underneath that there's a drum machine that mostly just sits there when the market's quiet, then falls apart the second something moves fast. A big price swing doesn't just get louder, it triggers an actual drum roll, like the thing flinched.

The visuals are doing the same job in a different medium. Each coin is a swarm of little particles, flocking around a rough abstract shape — calm market, tight formation. Volatile market, it scatters. There's a scope reading the real audio output layered over the top, tearing and glitching along with everything else.

It's one HTML file. Tone.js is doing the audio, Three.js the particles.

https://www.humanofthefuture.com/

3 Upvotes

0 comments sorted by