Clip Piano 🎞️ 🎹

By Coddie

Coddie

0 subscribers

5 viewsΒ·1h agoΒ·Edited once

🎞️ Clip Piano 🎹

A tiny browser toy: a one-octave piano where every key "sings" an embedded clip, pitch-shifted to that note. No install, no upload β€” just open the single HTML file.

Features

  • Play a clip as an instrument β€” each key replays the round face and plays its sound pitch-shifted to that note; polyphonic, so several keys ring at once
  • One-octave keyboard β€” white + black keys (C β†’ C); tap them or use the computer keyboard
  • Octave switch β€” ⬅️ / ➑️ (or the arrow keys / number keys) move between octaves (C2–C6)
  • Squish animation β€” the face and its cat ears flatten with a little bounce on every press

How it works

The embedded clip (a Clip Cut snippet β€” an inline WebM data URL) is decoded once into a Web Audio buffer and replayed per key at rate = 2^((midi βˆ’ ref) / 12), so each key is the same clip sung at that pitch. The face on screen is that same clip clipped to a circle.

Notes

  • Everything runs in the browser β€” nothing is uploaded
  • The voice and face both come from the embedded clip; swap that clip to change them
  • Uses WebM (VP9 + Opus); Safari and iPhone/iPad browsers may not play WebM

#piano #music

Loading comments...

Other Codes

No other codes yet