7 comments

[ 3.5 ms ] story [ 29.9 ms ] thread
Some explanations:

- works everywhere where standard Web Audio API is supported;

- based on Samples.js (https://gist.github.com/plugnburn/75ce136bea973d8767e0) and is a reference demo for it;

- supports loading custom 16-bit 44KHz WAV samples (or whatever format is supported in your particular browser).

Controls: numpad (1 to 9 digits) on PC, taps on touch devices.

Have fun!

Pretty good on mobile, laptop has no number pad so unusable there. Feature requests: recording and export.
My laptop has no separate number pad but its keyboard has a mode in which some keys are remapped as numpad keys.

Sorry, it's a live-only demo for Samples.js, recording (and export) would require more in-depth Web Audio API usage, timing etc. Probably someday I'll extend this idea and release another, more feature-packed tool. Not in this one.

(comment deleted)
is this open source?
Of course. It's a demo for Samples.js, which is opensource.