Your successful patch should sound like this. To make the patch: Make an oscillator with a line~ object to control its amplitude. Use the out1~ object (downloadable from the main page using the "patches" link) so that you can easily control the output. Set up an additional line~ object to control the oscillator's frequency. Make message boxes capable of ramping the amplitude control on and off. "On" should correspond to an amplitude of about 0.1 to avoid speaker or ear damage. Make two more message boxes to cause the frequency to slide to each of 660 and 440. Make a fifth message box that sends a "bang" message to both turn the sound on and set an initial frequency (OK to use one of the frequency-setting boxes above, but better style to make yet another one that jumps in zero time to 440.) Label the message boxes with comments so we can figure out which one is intended to start everything (setting frequency and amplitude), and which are to generate the two slides in frequency, and turn the sound off. Finally, make a "zip" archive of a directory containing your patch and a copy of the out1~ patch it uses. To prevent confusion include your name in the name of the directory (for instance, "miller-homework1"). Upload it to the course Canvas site. Here is the demo patch from class (not showing the implementation): back to music 171 main page
To make the patch:
Here is the demo patch from class (not showing the implementation):
back to music 171 main page