Difference between revisions of "AdamFoxFinalProject"
From CSWiki
(→Adam Fox's Final Project: Guitar Hero Interface) |
(→Rhythm Guitar Hero) |
||
Line 8: | Line 8: | ||
The first instrument uses the [http://en.wikipedia.org/wiki/Karplus-Strong_string_synthesis Karplus Strong algorithm] to simulate a six-string acoustic guitar that strums chords. The chords are preprogrammed, such that each voicing is consistent with that of a real acoustic guitar. Some of the methods implemented for the class are: | The first instrument uses the [http://en.wikipedia.org/wiki/Karplus-Strong_string_synthesis Karplus Strong algorithm] to simulate a six-string acoustic guitar that strums chords. The chords are preprogrammed, such that each voicing is consistent with that of a real acoustic guitar. Some of the methods implemented for the class are: | ||
− | * void | + | * void capo(int fretPosition) ... tunes the guitar up by half-steps, simulating a capo |
+ | |||
* void setStrumSpeed(float number) ... sets the strum speed (0 is very fast, 1 is very slow) | * void setStrumSpeed(float number) ... sets the strum speed (0 is very fast, 1 is very slow) | ||
Revision as of 15:30, 13 May 2008
Contents
Adam Fox's Final Project: Guitar Hero Interface
For my final project, I used ChucK to build an two different instruments that can be played with a Guitar Hero controller.
Rhythm Guitar Hero
The first instrument uses the Karplus Strong algorithm to simulate a six-string acoustic guitar that strums chords. The chords are preprogrammed, such that each voicing is consistent with that of a real acoustic guitar. Some of the methods implemented for the class are:
- void capo(int fretPosition) ... tunes the guitar up by half-steps, simulating a capo
- void setStrumSpeed(float number) ... sets the strum speed (0 is very fast, 1 is very slow)
This is another subsection
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, if possible
- See directions above on putting it on your network drive and linking to it