Lab 6: Audio Collages
Reminder:
- Enable disk use on your iPod
- Bring your iPod, USB cable, microphone, and headphones to lab
- Put your audio files on the Duke Content Server for your lab section
In this lab, you will create an audio collage. After making a copy of your
old Sound.java file from last week, you should download a new Sound.java file into your project.
Appending sounds
You will need to write a method that takes appends one Sound on another
Sound. The header for such a method would look like this.
/**
* Method to create a new sound by appending another Sound to
* the current sound. Assume that both sounds have the same
* smapling rate
* @param other the Sound that should be added to the end of this sound
* to create a new one
* @return a new sound which is the concatenation of the Sound passed in
* and the original Sound
*/
public Sound append(Sound other)
{
Creating an Audio Collage
Using the clip method from class and the append method you just wrote,
arrange bits of sounds together to form an audio collage. You audio collage must:
- Include at least three different sounds (from different sound files)
- Be at least 5 seconds long and no longer than 1 minute long
- Include multiple parts from the same clip
You can use mirroring, splicing, volume manipulation, or any other
technique from class or the notes to jazz up your sounds. The students who
submit the best collages (top 3) will receive extra credit.
Create a file called notes.txt. It should include all of the commands that
you used to create the sound, and describe the sources that you used
for each of the sound clips.
Submitting
Submit your Sound.java file using Eclipse. See the Ambient submit
instructions. You should submit under class cps001, assignment
name lab6. Submit your final sound clip to the Duke Content Server
under the name <login>-finalclip.wav. Replace
<login> with your NetID.
Transfer any modified sounds back onto your iPod (using the write
method in the Sound class), so you can listen to them
and check that you did indeed change the volume, for example.