This week we reviewed envelopes and multichannel expansion, and introduced the concept of iteration over an array of values. We focused on the .do method of passing arrays into functions, though for and forBy were also briefly covered. Afterward, we touched upon Open Sound Control (OSC) and OSC responder nodes, focusing specifically on the OSCdef class. We explored the use of OSCdefs as a way to implement conditionals into our code. We wrapped up class by engaging in an exercise writing code that would have SuperCollider output a small “ping” whenever it detects sound through the computer’s internal microphone.
Complete notes for the class, including code examples and a description of the in-class and homework assignments, have been uploaded to the class GitHub repository and can be accessed here.
In addition to the homework detailed in the class notes above, I recommend watching Eli’s tutorial video on buffers before next week’s class, as we will be working with prerecorded sound files. We will also discuss using OSC to interface with other pieces of hardware, enabling us to be able to control our sounds and compositions via devices like smartphones, WiiMotes, and so on.