Rainbow Roll
Turn any song into a color-coded piano roll for beginners, right in your browser.
Draft: the text of this post is AI-generated.

Rainbow Roll turns a recording into piano notation for beginners. Each note becomes a colored block on a timeline — C is red, D orange, E yellow, and so on up the rainbow — and its length is how long to hold it, so you can play along without reading sheet music.
Paste a YouTube link, pick an audio file, or record from your microphone, and it finds the main melody, snaps it to a beat grid, and moves it to a key that uses only the white keys, so the tune is almost entirely the seven colors. You can hear it back on a piano or as the original recording, mute it to play along, slow it down to practice, and print it.
Everything runs in your browser. Transcription uses Spotify’s basic-pitch model on TensorFlow.js, so your audio never leaves your device, and neither do the notes it finds. YouTube videos play in a small embedded player and are recorded from the page itself, which works in Chrome and Edge on a computer. The demo does log some metadata so I can see what people try: the file’s name or the video’s title, its size and length, and whether transcription worked.
It works best on clear recordings with one main melody, like a solo instrument or a singer. Busy full-band mixes are hit-or-miss: the goal is a recognizable tune, not a perfect score.
The open-source version also runs locally with a Python backend that adds song-title and YouTube search, recording whatever your Mac is playing, and picking out a single instrument (vocals, bass, guitar, piano) with Demucs.