https://editor.p5js.org/peterzhn/full/eGvcyeffZ
Iterative. Expansive. Satirical.
This piece was inspired by Mimi’s record and loop audio sketch as it literally builds off its structure. However, we gave the premise of recording and looping some more parameters. First, we wanted to give prompts to the user instead of simply letting them record whatever they wished. Second, we added effects to those recordings. Lastly, instead of playing each recording in succession, the audio only plays once all three recordings have been completed.
In order for the screen to display different text prompts we had to introduce a separate counter that would keep track of which prompt we are at. From there, we created an array for the different text prompts and integrated if statements into the third state, the “recording state”, to prepare for the effect layering. Because we wanted to play the audios all at once, we created a separate array to hold all the recorded audios. But before pushing each recording into their respective array positions, we added in the various effects which included delay, reverb and frequency. That way, the effects are already associated with the audios before entering the array.
Lastly, we were trying to added a panning from left to right over time effect to the final audio output but I could not figure out how to achieve. Therefore, I settled for just assigning each audio with either a left or right pan for now. But I would like to eventually figure out how to pan all three recordings together over time.