Task:
Starting from the class examples, create a drum beat. Suggestion: re-create a beat from the song you posted as rhythmically engaging. It might be helpful to draw it first, and re-create it on an existing drum machine.
Link to Web Editor:
https://editor.p5js.org/alexwang/present/yOSFMVtk
Process:
The song that I found rhythmically interesting is called Cosmic Homesick, one section of the song had odd time signatures that I believe is 15/4. However, after attempting to re-create the drum beat in a DAW, I realized that the drum beat is organized in groupings of 8/8 and 7/8.
But as I tried to work with Tone.js, I cant seem to find a good solution to writing this beat in 7/8 without writing lots of messy code so I decided to write the beat with 3 bars of 4/4 and 1 bar of 3/4.
I split my code into 4 different patterns each representing the 4 bars of the beat, and the code will loop through the 4 patterns with no problem.