Goal: Change the three pitches to random values every 2 seconds, while keeping a consistent ratio between the three notes.
Here is the link to my gist.
Process
Based on my first understanding, I thought what I needed to do was to let 3 new notes be randomly generated every 2 seconds. So based on this logic, I added “random” within the already-built structure, let the second note 3 steps higher than the first one and the third one 3 steps higher than the second one.
However, when reaching out Eric to double-check whether I was on track, I was informed to think in a different logic. So his idea was to let us build the “random” logic while remaining what we’ve already had. The reason why I got confused by “change the pitches to random values every 2 seconds” is that it is the random value that should be changed per 2 seconds rather than displaying 3 random pitches per 2 seconds. Which means, the pitches can be played at any time interval, 1 sec or even 10 sec, no matter how fast or slow the pitches are displayed, the randomness is always added every 2 seconds. After getting a full understanding of the point of this assignment, I fixed the patches as are shown below.
Question
I find out that when adding “random” while the original pitches are playing, there are actually 2 soundtracks (6 notes) playing at the same time (at different frequencies). Is it part of this assignment’s original goal?