Show HN: A collaborative music making game that teaches music as you play

  • Posted 40 minutes ago by garrinm
  • 1 points
https://jam.resonantdsp.com
Jam is a music making game that runs in the browser. You start with one instrument, and you write parts on a piano roll. Create your own music or play gigs (levels) to ear coin and buy more gear. Each gig is built around one musical idea, so you pick up some music knowledge as you go. Friends can join your studio with a link and write parts alongside you.

In my other Show HNs I've always come with my own code. In this case I didn't write the code, but I'm still proud of the outcome and I hope some of you will enjoy it too.

The audio code is Rust/WASM running in a worklet. This is the part I had prior experience in, and it's been fun getting that into a browser. The instruments are decent and the signal chains hold their own. The front end is the agent's own design in three.js. The optimization work there was interesting because of how busy the UI gets and how many elements come into view. I focused on measuring React renders per interaction, instruction counts for the audio engine, load times and frame times. The result is something that runs decently even on a phone.

This is a beta: feedback, comments and criticisms are all welcome. You can get into the game with no signup, and if you want to save your progress you'll be prompted to enter an email address.

0 comments