ICM-Media-2022

Syllabus for
ITP Foundation Course Introduction to Computational Media: Media


Week 10

10-1


( 1 ) Worksheet - week 10


Load a single sound file and play it.
Play and pause it with a mousepress.



Load 10 sound files with a loop and an array. Challenge: Press the mouse to play and pause each sound file in a progression. First pair of mousepresses play/pause 1st sound file, second pair of mousepresses play/pause 2nd sound file, etc. (Hint: You may want to use the sound file’s isPlaying() function.)




Enable mic input and visualize the level of the mic with the size of an ellipse. Change the background color to a new random color if the level exceeds a certain amount. Consult the documentation for the p5.AudioIn() mic objects.