Prelab 6: Exploring Sound

1. Review background reading

2. Setup your iPod

  1. If you do not already have one, get an iPod and microphone from the OIT Help Desk in the Bryan Center.

  2. Make sure your iPod is formatted for Windows. If you are using a Mac, you can check the current format or reset to the factory settings which is Windows-format.
  3. Set up your iPod for use as a hard drive
  4. Read the guide on recording audio with the iPod

3. Record Sounds on Your iPod

Using your iPod and the microphone, record a number of sound files. These recordings should include:

You can only access fils that are not in your iTunes library on the iPod, so once you record the sounds either

4. Review loops

Below is a function, increaseVolume, built from the code from class with line numbers. .

1 def increaseVolume(sound): 2 samples = getSamples(sound) 3 for samp in samples: 4 setSample(samp, getSample(samp)*2) Answer the following questions
  1. What is samples? For a particular Sound, what does len(samples) represent?
  2. What does line 4 do for a particular sample?
  3. The method is called increaseVolume. How does it do that?

Comments?
Last modified: Fri Feb 29 22:41:49 EST 2008