User Tools

Site Tools


CSci 276 Lab #8

The purpose of this lab is to try out some examples from the Sound tutorial and Sound library.

Lab Exercises

  • Add more SinOsc objects by changing the size of (both!) arrays and see if/how much the sound changes. First try 3, then back to 5, then 10 SinOsc objects.
  • Open the Examples folder and find the sketch at Libraries → Sound → SoundFile → AudioSampleManipulation. Study the code in mousePressed and make sure you understand what it's doing.
  • Find the sketch at Libraries → Sound → Env → Envelopes. Modify the values in the midiseq array to get different note patterns. For best results use values in the range 40-100.
cs276/spc.lab8.txt · Last modified: 2019/11/13 10:35 by scarl