COMP685B
Hands-on Experience Assignment 1

Csound Basics
  1. Download and save the files, sinewave.orc and sinewave.sco, into your "M:" (network) directory.
  2. Compile and play the files using Winsound (available in CS Lab4 in the Start -> Programs -> Music folder)
    1. Start Csound (double-click on Winsound.exe).
    2. Fill in the name of the orchestra (sinewave.orc) and score (sinewave.sco) files, and the name of the output soundfile (sinewave.wav).
    3. Wait for the computer to compile them. It will create a soundfile called "sinewave.wav" in the same directory.
    4. Double-click on the soundfile (sinewave.wav) to "play" it.
    5. It should sound like this.
For Reference: Csound Manuals and Software
    The Official Csound Page -- everything about Csound
    Mirror of the Online Csound Manual
    PC and Mac versions of Csound Software
Sound Editing
  1. Save (save link as) the soundfile trumpetC4.wav.
  2. Open the file in CoolEdit (available in CS Lab4 in the Start -> Programs -> Music folder) or another sound editor.
  3. Listen to the sound and look at its waveform.

Find the Frequency of the Sound
  1. One way to find the frequency of your tone is to run a Spectrogram on it. Spectogram is available in CS Lab4 in the Start -> Programs -> Music folder.
  2. [NOTE: Good news about Spectrogram. This software is reasonably priced and good value for money, and worth buying if you want to use it on your home PC.]
  3. The Waveform Analysis program may also help you find the frequency of your tone. (This program is set up to analyze Bell tones, so it may not work for every other kind of tone!)
  4. [NOTE: Better news about the Waveform Analysis program. This software is FREE, and you can use it on your home PC.]
PVan Spectrum Analysis
 
  1. Run PVan.exe (available in CS Lab4 in the Start -> Programs -> Music folder)
  2. [NOTE: Good news about PVan. This software is FREE, and you can use it on your home PC.]
  3. Use the "Spectrum" submenu, choose "Synthesize" and "Play" the sound. Compare it to the original sound in CoolEdit. They should sound very similar.
  4. Make a list of the amplitudes of the first 20 harmonics:
  5. Print the spectral snapshot and make sure you saved the file.
  6. Now run pvan on this voice soundfile.
  7. You will need these spectral snapshots in the next step!
A Simple Csound Trumpet and Voice
  1. Starting with sinewave.orc and sinewave.sco, make a simple additive synthesis trumpet called trumpet.orc and trumpet.sco with 20 harmonics, using the amplitudes at the trumpetC4 spectral snapshot when the peak R.M.S. amplitude is reached.
  2. Make a simple additive synthesis voice called voice.orc and voice.sco with 20 harmonics, using the amplitudes at the voice spectral snapshot when the peak R.M.S. amplitude is reached.
Check List — What to Show to Get Credit for the Assignment:
  1. Turn in your additive synthesis instruments:
  2. Due date: Tue 7 March 2006
  3. Either give me hardcopies, or email them as attachments.