Smith College. CSC354 Homework3. Spring 2009.

Assigned Feb 20
Due Feb 27 in class.

Roads: Ch5 pp. 159-167, (wavetable synthesis) Roads: Ch17 785-802 (music languages)

Learning more about pd and making a 90 second composition.

  1. If you have time do this. We can also look at these in class on Friday: Very carefully continue going through the 2.control.examples/ numbers 06 through 16. in the pd Document Browser (Help->Browser) section of pd. Make sure to click just once to select an example.
  2. Definitely have a look at my
    lab2Judy.pd
    Make sure you understand it. Don't forget you can ctrl-click on an object to get help.
  3. Try to understand at least two new control structures before Friday.
  4. Next, read the 3.audio examples number B01.wavetables.pd.
    Don't worry about adsr.pd

On to homework3.

  • Make a new pd file called hw3.pd. PUT an array object in hw3.pd by selecting "array" on the "new" menu. Choose the name arrayHarm, and choose 67 as the number of elements (64 is a power of 2, plus 3 to make 67). Choose Draw as polygon n the dialog box.
  • Now copy the top three subpatches from 2.control.examples, number 15.array.py - the creation, resize, and print size messages.
    Also place the message box that uses the sinesum to create a sine wave with harmonics. Change all the array names from array99 to arrayHarm.
  • Use the tabosc4~ object to oscillate the waveform stored in wavetable arrayHarm. Remember you can PUT an object named tabosc4~ and then right click on it to get help on how to use it.
    For now, it will be easier for you to create a dac~ object, and make a connection between the tabosc4~ object and the dac~, instead of going to the pd output object as shown in the tabosc4~ help example.
  • Use the control examples and wavetables that you generate to make a 90 second composition. Feel free to add more arrays with different harmonics, and counters, select objects and so on.
  • When you are happy with the results, use writesf~ as we did in lab2 to write out your 90 second composition to a file.
    Make sure to make your second delay 180 seconds long! so writesf~ has enough time to get all the sound samples out of the buffer!
    You can decide whether you want to record the output with you changing things via the mouse, or if you want the control objects to do the whole thing.
    Come to class prepared to play your composition and also place it on your web site as:
    hw3.pd
    hw3.wav
    This is important. Please keep your web site up to date.