Skip to content
All work

Interactive music·Side project

Wild Frequencies

A 7-piece animal band with lights, fog, an LED wall and a crowd you can join, all in the browser.

Role
Designed and built it solo.
Stack
React, TypeScript, Tone.js, Canvas 2D, WebRTC
Links
Live Code
Wild Frequencies concert stage with an animal crowd and a Doors open button

01The problem

A playful brief: make a concert that feels live, sounds generated rather than sampled, and that friends can share in real time.

02The solution

Every song, every meow and every crowd roar is generated live in the browser with Tone.js: no samples, no API keys. Upload your own track and the band learns its beats and choruses.

Party mode lets friends join from their phones by link, QR code or a 4-letter code, peer-to-peer over WebRTC.

03Architecture

  1. Audio

    Tone.js synthesises the music and effects in real time.

  2. Stage

    Canvas 2D renders the band, lights, fog and crowd.

  3. Party

    The host's browser is the room's server; friends connect over WebRTC, with PeerJS only for the handshake.

  4. Sync

    Clients measure their clock offset by ping, and the host announces each song's start time ahead of playback.

04Engineering challenges

Staying in sync

Everyone hears the same song at the same moment because the host schedules starts on a shared clock.

Flaky connections

Dropped friends reconnect automatically while the music keeps playing; a host refresh gets the same room code back with the setlist restored.

Safe by default

Strobe is off by default, with a reduced-motion option, and friends' messages are type-checked and rate-limited.

05My responsibilities

  • Concept and design
  • Audio engine
  • Rendering
  • Real-time networking

06Outcome

Live at wild-frequencies.vercel.app and open source on GitHub.

Next case study

Legal Transcription AI