Skip to content

Show HN: 16-Pad Sampler from Your Videos

sampler.rlafuente.com
1 pointandes314discuss
On HN

Upload a video, click “Analyze & Slice,” and it builds a 4×4 pad grid from the video’s own audio. Pads are labeled to nudge musical roles (Downbeat/Backbeat/Offbeat/Fill; rows = 1/3/5/8). Tap to play slices or hit “Start Loop” for a simple, repeating groove that sounds decent right away.

Under the hood it finds onsets via spectral flux, pre-renders slices to AudioBuffers with tiny fades, and schedules on the WebAudio clock so UI jank doesn’t mess up timing. If your codec won’t decode to buffers (Safari quirks), it falls back to a pre-warmed media pool so you still get sound. Everything runs locally in the browser; nothing is uploaded.

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.