Homework 4

This is an experiment-oriented sound track. At first, I wondered what it would sound like if I use the FFT spectrum as an input waveform, but it turned out to be only some periodic noise. Then, I try to chuck the magnitude of the spectrum into the frequency of a sine wave, and this time there are some interesting sounds coming out. It is like a scanner scanning back and forth the spectrum, read the magnitude of each frequency bin, and chuck it into the frequency of the sine wave oscillator. It will stay at each bin for 3 ms. Also, the spectrum will renew (upchuck) every 3 ms to keep everything in real-time.

I presented some different effects by inputing different kind of sounds. For example, by adding some reverb to the signal, which is always a good idea if you try to do something weird, the clicking sound becomes the water-dripping sound. A low frequency sound will become the emission of a laser gun. Since the scanner is scanning back and forth, if you increase the frequency of input signal, like the whistling sound in this file, you can actually hear two emission sound in one cycle.

In addition to the effects, you can also press the up-arrow or down-arrow key on your keyboard to increase or decrease the period respectively. This is done by multiplying or dividing the FFT size by two.

Here is the ChucK code. hw4.ck