Music 220a - Homework 6: Final!!

Chuck File

  • final.ck
  • Final WAV

  • final.wav
  • Decription

    So for the final project, I really wanted to learn how to compose and produce my own music from scratch in ChucK. Since all of our assignments dealt with using previously written code to create sounds, I realized that I would have no idea how to make anything on ChucK at all without the guidance of the homework assignments or resources from GitHub. Because of this, I wanted to write, from top-to-bottom, an entirely original song using ChucK from nothing. However, realizing that I had a bunch of other finals and that doing so would require a crazy amoutn of time, I decided to take a pre-existing score (in this case, Bach's Prelude in C Major-- BWV 846) and try to recreate the entire piece in ChucK using my own code.

    I was totally lost at the beginning, but after a lot of Google searches and browsing ChucK forums, I set up the base code that established the tempo and the MIDI-to-piano-notes conversion.

    After this came the hard part. Since I also have NO experience even *playing* music, I watched YouTube piano tutorials, studied sheet music and note durations, and then one-by-one, I converted each note to its corresponding MIDI number until the entire melody was complete. (This took like 10000 hours). I also tried to implement an STK instrument, but found that the instruments did not contain the range for the song and omitted some notes, so I had to stick with TriOsc.

    I chose the piece that I did because of 2 reasons. One, I've always really loved this piece and think it's very beautiful, and two, it's relatively uncomplicated compared to most other classical pieces. By this, I mean that the melody follows somewhat of a pattern and that the two hands never overlap each other. However, I can now say I understand how to "work" ChucK better than I ever had before, and I'm pretty excited to make some real music in the future.