In lecture, we learned about audio data stored in WAVE files, how to read them, how to play them in full, and how to play them as short snippets. I authored segments of the song Anything by SZA which is remixed in the first half of the demo video below.

I created a very simple synthesizer, which can be played by mapping keys on the keyboard to “play WAVE file” commands. As part of this assignment (and each assignment in the class), we were also asked to create something fun. For the creative portion of the PSET, I added more WAVE files for different instrumentation in the appropriate key to augment the musicality of this app. Additionally, I created a looping mechanism to allow the instruments to repeat their sequences over the course of a measure. When a new pitch buffer is added to the generator, it removes the previous instance of that buffer to prevent a cluttered soundscape.

Video Demo