Show HN: 16-Pad Sampler from Your Videos

sampler.rlafuente.com

1 points by andes314 2 days ago

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.