This is a continuation of a previous sampler/sequencer built using the Web Audio API. This time with some added features to make it a more useful tool. Most significantly, additional samples can be loaded and the cues can be customized. I also started a repository for storing loops (I’d love it if other people wanted to add to it!)
Changing the sample:
- Choose from the dropdown menu on the left. The options are the files in the the loop repository mentioned above.
- Load a local file client-side.
- For best results, use .mp3, .ogg, or .wav file formats.
- File size doesn’t seem to be much of an issue when loading files client-side, though I haven’t loaded tracks longer than about 15 minutes….
Customizing the cues:
- Shift+click places a custom cue along the timeline. (cues are limited to 1-9)
- The ‘Clear Cues’ button removes existing cues, including any of the default cues that are placed when the sample is loaded.
Other updates:
- The checkbox at the top right toggles looping.
- Clicking the timeline starts the audio from the location of the click.