If you have cloned this repository locally, you can start it by running npm run dev from a command line.
- Make five different repeating loops. Each with a different duration. Each repeating one specific note.
- Adjust the loop durations and the ADSR envelopes to your liking.
- Change some or all of the loops to play samples (AudioBufferSourceNode) instead of the synthesizer. You can find a directory of sounds (all in the C major scale) from
public/oneshots
https://newt.phys.unsw.edu.au/jw/notes.html https://en.wikipedia.org/wiki/Equal_temperament https://en.wikipedia.org/wiki/Major_scale https://en.wikipedia.org/wiki/Minor_scale https://web.dev/articles/audio-scheduling https://github.com/sebpiq/WAAClock