CSI Lab 10

Tuesday, March 4th

Introductions

To complete this lab, you will need a couple of sound files on your computer.  Download the files below (or copy them off of the p: drive) and place them in the mediasources directory where you have been placing your image files.

You will also need a pair of headphones.


Activity A : Opening and Manipulating Sounds

  1. Load the A note file by typing one of the following   
    fileName = pickAFile()
    s1 = makeSound(fileName)
    
    or
    setMediaPath()
    s1 = makeSound("orig440.wav")
    
  2. Play the sound sample by
  3. typing
         play(s1)
    
  4. [Q1]  Find the value of the third sound sample by using the sound explorer tool (Make sure you use the zoom feature so that you are actually looking at the third sample)
  5. [Q2]  What command(s) could you use to find the value of the third sound sample from the interactions pane
  6. [Q3]  Using the explorer find the amplitude of the second peak
  7. [Q4]  Find the sample number of the second peak
  8. [Q5]  Find the amplitude and sample number of the third peak
  9. [Q6]  How far apart are the two peaks?
  10. [Q7]  If there are 44,100 samples per second, then how many peaks can be obtained in one second?
  11. The sound in this first file is a "pure" sound.  That is, it consists of one perfect wave.  Most sound is not this way.  Open and play the preamble sound file
  12. [Q8]  Describe the appearance of this sound wave.

Activity B : Increasing the volume of the sound


Activity C : Decreasing the volume of the sound


Activity D :  Changing the volume of the sound


Activity E :  Changing the volume of the sound???


Activity F :  Normalizing the sound