CSI Lab 8

Tuesday, March 3rd

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. Open s1 in the Sound tool (under the MediaTools menu).  Right now you will see the entire sound file compressed to fit in the window.  In reality, it is much larger than that
  5. Press the "Zoom In" Button so that each sound sample in the sound takes 1 pixel on the screen.
  6. [Q1]  Find the value of the third sound sample (Make sure you use the zoom feature so that you are actually looking at the third sample)
  7. [Q2]  What command(s) could you use to find the value of the third sound sample from the interactions pane
  8. [Q3]  Using the explorer find the amplitude of the second peak
  9. [Q4]  Find the sample number of the second peak
  10. [Q5]  Find the amplitude and sample number of the third peak
  11. [Q6]  How far apart are the two peaks?
  12. [Q7]  If there are 22,050 samples per second, then how many peaks can be obtained in one second?
  13. The sound in this first file is a "pure" sound.  That is, it consists of one perfect wave.  Most sound is not this way. 
  14. Open and play the preamble sound file
  15. [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???