In the previous class, we talked about the idea of “rhythm” is highly related to human’s anticipation for continuous and pattern. Thus, I’m interested to see what kind of sound pattern can be seem as rhythm. Based on this, I made a random beat machine, that allows the below 3 parameter change:
I downloaded 3 common beat sounds, including kick, snare and hat. Then I want to experiment on the sounds that are less used or recognized as a beat, which are sampled from my previous raining instrument. In the process, I realized it’s hard to use a sound longer than half a second as beat, because it will be cut when it’s speed up to a certain level. In the end, I sampled the “beat” under 0.3 seconds. There are 7 sounds in total.
One of the parameter in this beat machine is the number of the instrument engaged. However, right now the instrument adding up has a order, and I want to make it randomized later on.
This parameter is made by “Math.random()”, and it determines the possibility that the instrument is going to make sound or not in a single beat. If the saturation is set to 1, then there’s a 100% chance that the instrument is going to make sound all the time, and vice versa.
This change the BPM of the instrument.