Difference between revisions of "PLOrk2009/AdrianKwokFinalProject"
|Line 10:||Line 10:|
=== Code ===
=== Code ===
All of the relevant code for this project can be found
All of the relevant code for this project can be found http://www.princeton.edu/~akwok/AdrianKwok_FinalProjectCode.zip
=== How to Play ===
=== How to Play ===
Revision as of 01:11, 9 May 2009
Adrian's Final Project
Welcome to Adrian's MUS 314 Project Wiki Page!
This project grew out of the desire to build an instrument that was based off of some sort of goal-oriented game. Eventually through some brainstorming I developed a graphical model where a start state (in this case a grid of 256 black squares) is converted into a goal state (a grid of 256 white squares). The rules of the game are simple, every click of the mouse causes an "explosion" around that point on the screen, changing the colors by a predetermined rule. Ultimately I added a number of other features, including the ability to lighten or darken the entire screen, change the explosion pattern and reset the screen to either the goal or start states.
Built off of the graphical interface is a simple sonic representation of the gameplay. The start state is represented by 3 StkInstruments (in the version either Clarinets or Flutes) that are set to dissonant relative frequencies. Their frequencies are directly related to the total "darkness" of the screen, so the goal state has them in perfect unison. In this way I envisioned a piece using this instrument to represent the logical problem solving of its players, each seeking to make his/her sound as pure as possible. In light of this clear goal I steered clear of making the individual sounds too complicated or to have additional voices present, in my instrument everything presented is directly controlled by the user and his/her actions.
All of the relevant code for this project can be found here
How to Play
Black and White
I created a sample piece called "Black and White", which demonstrates the various features of the instrument. A video of me playing "Black and White" can be found at the following link:
This project represents my own work in accordance with University regulations. As stated in the individual files, code was borrowed with permission from the Processing programming language website and examples by Rebecca Fiebrink and Dan Trueman. Special thanks to Rebecca for her help.
What to include on your project page
- A description of your project
- Your code
- If it's short, you can make a new page for it like this one
- Or, if there's a lot of it, put it in a .zip file so that people can upload it.
- We suggest: put it in your public_html directory on your network drive, then make a link, e.g. to http://www.princeton.edu/~yourname/yourfile.zip. Let us know if you need any help!
- Instructions on how to run your code
- A sound or video recording of your piece. Going lo-fi and using built-in webcam from another laptop (e.g. PLOrk machine in studio B) is fine. But for audio, if you're using chuck, best to use rec.ck for writing chuck's output directly to a file.
- See directions above on putting it on your network drive and linking to it