Link to the GitHub gist:
https://gist.github.com/Ellen25/0099774456b6e42624d858332892e0ce
Before starting to deal with the assignment, I tried adding the object “random” to the patcher in order to know the function of random. Following the instruction found by searching the keyword “random”, I made my first random played patcher which looks like the following screenshot:
After I replaced the second and the third random objects with “+ 4” and “+ 3” respectively, which made the change of the pitches regularly, the problem came out as it cannot change the pitch every 2 seconds. By attaching a metro 2000 object to the random objects and adding a toggle button to control them, the problem was solved finally.