In class, we've been discussing an important suite of tools for sculpting and shaping sound: subtractive synthesis and filters. In this lab, you will answer some questions about subtractive synthesis and filters, as well as be asked to create some "sound bytes" using filters and input sound files, both common and incredibly useful techniques in computer music.
As in Homework 1, your deliverables will be a .txt file with your answers to the lab questions, as well as .wav files of your sound bytes along with your code. Place these files in your /Library/220a/hw2/ directory.
The composition portion of the homework is to compose a short musical statement (1-2 min) using some form of filter. You're also welcome to use anything learned in prior homeworks. "Submission" entails placing an HTML file hw2.html in your /Library/Web/220a/ subdirectory that links to your code and .wav file. Make sure that your submission is timestamped on the Homework Factory.
In this lab, we will go through how to use a couple kinds of filters in ChucK, as well as how to load sound files for further use. In the process, we will simulate ocean waves, and write a patch that works as the building blocks for writing chiptunes. (e.g. a very long example of chiptunes)
The lab is written up here: hw2-ChucKFilters.pdf
There are three parts to the lab: 1. Ocean wave simulation (via bandpass filters). 2. Sweeping a lowpass filter over sound files. 3. Chiptune creation using lowpass for effects.
Your deliverables are the three .wav files from the three parts of the lab.
Compose a brief 1-2 minute statement in which at least one sound you use was sculpted using a filter.
As in last time, think about layering the sounds to create interesting texture and interactions between kinds of sounds. The template from the last homework has been modified to show another example of a filtered sound, clip_filt.ck. Feel free to use this as a launching point, though your sound/code should be sufficiently dissimilar from this such that you feel like you've had creative input to the composition!
Submit to the Homework Factory an HTML file titled hw2.html that includes the following:
Recreate the second or third examples from the lab or your composition using the Web Audio API.
Check out this tutorial for learning Web Audio! Ocean waves in the Web Audio API. (Note: best used in Chrome.)