A tiny synth studio for tiny hands. OY-1 recreates the magic of a certain beloved pocket synthesizer for kids aged 4+: real synth engines, a drum machine, a magic tape looper, and a little screen full of characters who sing along with every note. No reading required, no wrong notes possible.
- 🎹 Eight big rainbow keys, tuned to a pentatonic scale so everything a kid mashes sounds like music. Multi-touch chords and finger-slides work.
- 🫧 Six sound characters, each with its own animated face on the dark
screen and four safe-to-twist knobs (the classic blue / green / white /
orange set):
- Jelly — wobbly FM bell (wobble · sweetness · echo · jiggle)
- Robo — chunky chip square (buzz · zap · echo · glide)
- Kitty — purring saw pad (purr · softness · echo · whiskers)
- Ducky — an honest-to-goodness quack synthesizer
- Star — sparkly pluck that echoes itself into arpeggios
- Parrot — records a kid's voice through the mic (up to 3s) and sings it back across the whole keyboard, chipmunk to giant — with draggable trim flags on a live waveform and a loop switch that turns any sound into a sustained singing pad
- 🥁 Beat page — a 4×8 glowing step grid with animal players (elephant boom, clap, birdie tss, frog boing), a turtle→rabbit tempo slider, and every edit heard instantly. Every row is sampleable: tap the little red mic on an animal, make any sound — a clap, a "boom", a raspberry — and the beat plays the kid's own sounds. Tap the animal's face to flip between its built-in sound and the recorded one.
- 📼 Tape page — a real looper: press the red dot, play something, press it again — the phrase loops forever and new takes layer on top. Reels spin, notes show up as colored blocks on the tape, undo peels the last layer, and the turtle→rabbit speed slider pitch-warps the whole world like real tape.
- 🧪 The bottle — the OP-1 resampling trick, kid-ified: while the song plays, tap the bottle and it captures one seamless, beat-aligned cycle of everything you hear (loop + drums + live playing) straight off the master bus, then hands it to the Parrot as a looping pad. The keyboard now plays your whole song — chipmunk it, bass it, layer it back onto the tape and bottle it again.
- 🎱 Marble box — the OP-1 tombola, kid-ified: a slowly spinning hexagon; every key drops a marble in its color, and every bounce plays that note through the current sound engine. Spin it faster with the turtle→rabbit slider, let the physics write melodies, record them to tape, bottle them.
- 🐄 Moo mode — the legendary cow, cloned with love: a night pasture where you drag a UFO over the cow. The higher the beam lifts her, the wobblier the entire mix gets (a real modulated-delay warble on the master bus, CWO-style). She spins, her legs dangle, sparkles rise in the beam — and a tiny cow badge floats over every other screen while the world is still warped. Pat her for a synthesized moo; the calm button floats her gently home and straightens the sound out.
- 📻 Radio — a fake FM band, fully synthesized. Drag the dial through real static (band-swept noise with crackle pops) and six generative stations fade up out of the fuzz: chiptune, a lullaby, a funk kitchen, duck talk radio (two hosts, endless debate), a space station, and moo country. Slightly off-center tuning plays the station detuned and muffled, like actual FM. SCAN seeks the next station with the proper sweep sound, everything plays through a small-speaker voicing chain (bandpass + soft clip + hiss), the radio keeps playing while you jam on other pages (a little badge shows it's on), and — the OP-1 move — the grab button samples 2s of radio straight onto the keyboard.
- 🎲 Dice — surprise sounds, surprise beats, surprise tape speeds, surprise marbles, surprise abductions, surprise stations.
- ✨ The OP-1-style details: dark OLED screen with strictly disciplined accent colors, a boot mascot, confetti when a loop is captured, characters that blink, look at the notes you play, and get up to mischief when idle.
Every scene is drawn live on canvas at 60fps: gradient-shaded characters with reflections and spring physics, parallax skies, an equalizer mouth and level gauge fed by the real audio analyser, spinning tape pancakes that wind from reel to reel as the loop plays, and a hardware body with machined knobs, shape-printed keys, a speaker grille and a live LED meter.
- Everything is one tap or one drag. No menus, no text, no long-presses (the tape eraser needs a deliberate double-tap and pulses red first).
- A compressor/limiter sits on the master bus — no volume cliff can hurt little ears or speakers.
- Everything autosaves locally (settings in localStorage, recordings in IndexedDB). No accounts, no network calls, no ads, nothing to buy, nowhere to navigate away to.
- The mic is used only if a grown-up approves the browser prompt, only to record the Parrot's voice and the drum-row sounds, and recordings never leave the device.
It's a dependency-free static web app (vanilla JS + Web Audio):
node tools/serve.mjs # → http://127.0.0.1:8137or any static server (python3 -m http.server), or open dist/oy1.html
(single-file build) directly.
- Merge to
main— the included GitHub Actions workflow (.github/workflows/pages.yml) deploys the site to GitHub Pages automatically. It goes live athttps://<user>.github.io/oy-1/. (If your org blocks auto-enablement, flip it once: repo Settings → Pages → Source: GitHub Actions.) - On the iPad, open that URL in Safari: Share → Add to Home Screen.
- Launch from the home screen icon: it runs fullscreen, offline (service-worker cached), in landscape, like a real instrument. The URL is public — send it to anyone.
Alternatively, dist/oy1.html (from npm run build) is the entire app in
a single file you can send directly; note that mic sampling needs an
https-hosted copy, since browsers block microphone access for local files.
Tip: enable Guided Access (Settings → Accessibility) to keep small explorers inside the app.
npm install # dev-only: playwright-core for the e2e check
node tools/serve.mjs # dev server
node tools/verify.mjs # boots real Chromium, plays the app like a kid,
# asserts audio RMS, loops, knobs; screenshots
node tools/build.mjs # single-file builds in dist/
node tools/genicons.mjs # regenerates PNG icons (zero-dep PNG encoder)Plain scripts, one global OY namespace, no frameworks, no build step needed:
| file | job |
|---|---|
js/audio.js |
AudioContext, master limiter, echo bus, synth + sampled drum kit, mic capture, IndexedDB sample store |
js/engines.js |
the six voices (FM, square+sub, detuned saws, formant quack, pluck, trim/loop sampler with zero-crossing loop points) |
js/sequencer.js |
one beat-based lookahead clock driving drums and tape |
js/tape.js |
event-based looper — layers replay through live engines, so knobs warp old takes |
js/screen.js |
canvas characters, particles, reels, OP-1-style knob overlay |
js/ui.js |
every control; multi-touch keyboard with glissando; drag knobs; paintable grid |
js/main.js |
boot overlay (doubles as iOS audio unlock), persistence, rAF loop |
Timing is beats, not seconds: tempo and tape-speed changes re-anchor a single musical clock, so recorded layers, the drum grid and the chipmunk slider can never drift apart.