✕
Reality-based sequencer by david frisch
This page turns your webcam into a live trigger matrix. It analyses the video, detects bright motion, and maps it to a 16×6 sequencer grid.
Quick overview:
- Playback: switch between Samples (default) and MIDI. In Samples mode, each row is assigned a sample file from the
samples/ folder; MIDI mode sends note-on messages to the chosen MIDI output.
- Sample discovery: the app attempts to auto-discover files in
samples/ named starting with 1..6 (for example 1_kick.wav). If discovery fails, it falls back to default names. For reliable discovery run the page from a web server (not file://).
- Replace samples: drag & drop an audio file onto a row's sample slot to replace that row's sample. Replacements are saved to localStorage so they persist on reload.
- Rescan Samples: use the "Rescan Samples" button to clear saved mappings and re-run discovery/loading.
- Persistent notes: double-click any grid cell to toggle a persistent (red) note; these will trigger on every step until toggled off.
- BPM & Threshold: BPM controls tempo (default 175). Threshold controls how bright a cell must be to trigger; increase to reduce false triggers.
- MIDI: select an output and channel. If no MIDI device is available, a WebAudio oscillator is used as a fallback.