Homework 1: Sound Peeking
Derek Chung
Music 256a
Fall 2019-2020
While constructing my program, I came across obstacles of many different kinds. I wasn't sure what an FFT was, so I spent a lot of time trying to figure that out. I spend a good couple hours trying to figure out how sndpeek worked. Finally, this project was the first time I used OpenGL, ChucK, and C++ at the same time (I assume this was a first for many other people as well). Spending time stressing over code and math helped me get through the project.
I wanted to create a visualizer like sndpeek that captures the frequency domain over time. So I integrated that code into my own project after understanding each part of it. Afterward, I thought it would be cool to design the ocean and lightning bolts, so I made a function specifically for drawing the lightning. My ChucK program seeks to capture the sounds of the ocean by creating 'waves'. I tried to code a program that has pitches increasing in frequency, then decreasing in frequency.
Files:
Chuck File
C++ File
Instructions:
1) Download the hw1-boilerplate file from the Music 256a page.
2) Download the chuck-fft files and place them in the 'core' folder.
3) Download the C++ and Chuck file and place them in the 'host' folder.
4) Open the project in visual studio and run.
Photos:
Music 256a
Fall 2019-2020
Sound Peeking
While constructing my program, I came across obstacles of many different kinds. I wasn't sure what an FFT was, so I spent a lot of time trying to figure that out. I spend a good couple hours trying to figure out how sndpeek worked. Finally, this project was the first time I used OpenGL, ChucK, and C++ at the same time (I assume this was a first for many other people as well). Spending time stressing over code and math helped me get through the project.
I wanted to create a visualizer like sndpeek that captures the frequency domain over time. So I integrated that code into my own project after understanding each part of it. Afterward, I thought it would be cool to design the ocean and lightning bolts, so I made a function specifically for drawing the lightning. My ChucK program seeks to capture the sounds of the ocean by creating 'waves'. I tried to code a program that has pitches increasing in frequency, then decreasing in frequency.
Files:
Chuck File
C++ File
Instructions:
1) Download the hw1-boilerplate file from the Music 256a page.
2) Download the chuck-fft files and place them in the 'core' folder.
3) Download the C++ and Chuck file and place them in the 'host' folder.
4) Open the project in visual studio and run.
Photos: