For this assignment, I created a variety of FM synthesis sounds and used them to generate a musical statement using ChucK and the KnacK1 framework.

FM Synthesis Soundscape

Download:
.m4a (Apple Lossless)
.flac
.mp3
.ogg
.wav

All code can be downloaded here:

Colin-Sullivan_220b_hw1.tar.gz

To download and build:

wget https://ccrma.stanford.edu/~colinsul/220b/hw1/Colin-Sullivan_220b_hw1.tar.gz --no-check-certificate
tar xvzf Colin-Sullivan_220b_hw1.tar.gz
cd Colin-Sullivan_220b_hw1/

Bash

To run:

To play the entire composition:

chuck lib/vendor/KnacK/lib/import.ck:./lib/vendor/KnacK/lib/ import.ck

should do it.

The individual sounds can be found in the following files:

lib/JuicyTri.ck
lib/MelloBell.ck
lib/OfficePhone.ck
lib/SeparatingFM.ck
lib/UFOEngine.ck

To play the individual sounds, you must uncomment any test code at the bottom of the sound’s file, then:

chuck lib/vendor/KnacK/lib/import.ck:./lib/vendor/KnacK/lib/ ${SOUNDFILE}.ck

where ${SOUNDFILE} is the name of the sound you are trying to play.