See it in action
A two-minute walkthrough of placing notes, editing channels, and playing a song back, all inside a graphing calculator.
Try it yourself
This is the real program, running live. Start with a blank song, or load the MEGALOVANIA recreation and press play.
Works best on a computer with a mouse. Open full screen on Desmos ↗
Set tempo & length
Set a starting tempo and the song length (in quarter notes) in the top left.
Set note length
Choose a default note duration. You can still change any note later by clicking it.
Place notes
Click anywhere on the note grid to place a note.
Click play
Press play on the playback panel in the top left to hear your composition.
A song made in BRNRD
A recreation of MEGALOVANIA (composed by Toby Fox for Undertale), synthesized entirely in BRNRD.
How do you build a DAW in a graphing calculator?
Desmos can only play sine waves, can't take normal keyboard input, and caps every list at 10,000 items. Here's how BRNRD gets around that.
Channels, four waveforms
Sine, square, sawtooth and triangle, three channels each. A fixed number of channels fixed the static that ruined the first player.
Overtones per note
Desmos only plays sine waves, so the other waveforms are built by stacking 20 overtones on top of each note (additive synthesis).
Percussion from noise
Like the NES noise channel: random frequencies, re-rolled every frame and shaped per instrument with a decay half-life.
Notes as 3D points
Each note stores start, duration and pitch as a 3D point. Desmos can't plot those in 2D, but it can store them.
The keyframe system
Smooth tempo and per-channel volume changes, interpolated between keyframes while the song plays.
Keys pressed
Everything runs on clicks: piano roll, scrollbars, options menus and a pop-up numpad for typing numbers.
Read more
The full story of how BRNRD was designed and built.
Design and Development
The full technical write-up: the music player, sound synthesis, the keyframe system, UI design, and Desmos's limits.
Read the paper → Devlog · PDFDevelopment Log
How the project grew from an Undertale fight recreation into a full DAW, and the decisions along the way.
Read the devlog → Guide · PDF · 1 pageQuick Start Guide
Four steps from a blank grid to hearing your first song.
Open the guide →