MELODY · BOTTLE · pentatonic · sibling of /drum-bottle
Record a tune. Send the link.
A 1-bar melody encoded in 12 characters of URL. Click cells on the piano roll to set pitches — every cell is in C-major pentatonic across 3 octaves, so anything you choose sounds intentional. Copy the link, paste in iMessage. Recipients hear your tune on any device.
Every cell on the piano roll is a 4-bit value: 0 means rest, 1..15 are the fifteen pentatonic notes from C4 to A6. The roll is 4 bits × 16 steps = 64 bits = 8 bytes, plus 1 byte for tempo. Total 9 bytes — exactly 12 base64url characters. Same URL length as /drum-bottle.
Why pentatonic: with only 4 bits per step, you can encode at most 16 distinct pitches. Pentatonic gives you 3 full octaves of intentionally-consonant notes (C-D-E-G-A repeated), versus chromatic which would give just over 1 octave with all the "wrong notes" available. Every cell on this roll sounds good with every other cell. There are no mistakes in pentatonic.