back

 

200px x 200px white square

part a: using autocorrelation

For this one the auto-correlation changes the shape of the square

download the source

 

part b: using the fft avg_volume

For this one the average volume makes a square roll around

download the source

 

part c: using pitch detection

For this one the square releases colored squares for each pitch it encounters. Their falling speed is equal to the end amplitude of the pitch, and their length is equal to the length that the pitch was sustained for.... it is taxing on the cpu so snapz didn't record it very well... its much smoother in person

download the source