Music 147 / ICS 180 / ECE 195 / ACE 277
University of California, Irvine

Due Wednesday, March 24, 2004

Your completed work must be
sent to the professor by email
no later than 5:00 pm on the due date.

This "take-home" exam is your final duty for the class.
There will be no official meeting at the scheduled exam time.
(Wednesday, March 24, 1:30 - 3:30 p.m.)

Complete at least one of the following programming assignments, accompanied by a detailed prose description of how/why you designed it the way you did, explaining your mathematical reasoning and your programming decisions.

You may do the programming in C, Java, Pd, or MaxMSP. If you are unable to complete a working program, your prose analysis should describe the method you were trying to implement.

Please send your source code as plain text, either as an attached text file or as part of the main body of your email.

The following assignments are in approximately ascending order of difficulty. You are encouraged to challenge yourself and do the most difficult assignment you feel capable of completing. You are also encouraged to do more than one of the assignments (for increased credit) if you are able.

Do one or more of the following:

  1. Write a program that draws a graph of the amplitude envelope of a sound file.
  2. Write a program that reads in a sound file and writes out a sound file containing the input file played at a different speed (i.e., using a different increment) of the user's choice.
  3. Write a program that plays six notes, emulating each of the six open strings of a guitar (or an electric guitar), using frequency modulation synthesis.
  4. Write a program that synthesizes a tone or plays a sound file, and that uses incoming MIDI pitchbend messages to bend the pitch of the tone (or sound file) up and down one whole tone (i.e., + and - 2 equal tempered semitones).
  5. Write a program that reads in a short monophonic sound file (such as a single snare drum stroke) and plays it repeatedly; output a stereo sound file that emulates the sound source moving in front of you, from far left to far right, at an average speed of 25 miles per hour.

This is an "open-book" assignment. You are free to use any available written information sources. (Be sure to credit the author of any information or code you use that is not originally your own.) However, please do not discuss the assignment with your classmates. The work you hand in must be clearly and demonstrably your own work.

This page was posted March 17, 2004.
Christopher Dobrian