Difference between revisions of "AdamFoxFinalProject"

From CSWiki
Jump to: navigation, search
(Adam Fox's Final Project: Guitar Hero Interface)
(Adam Fox's Final Project: Guitar Hero Interface)
Line 6: Line 6:
 
=== Rhythm Guitar Hero ===
 
=== Rhythm Guitar Hero ===
  
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 RhythmGuitarHero are:
  
 
* .capo(int, READ/WRITE) ... tunes the guitar up by half-steps, simulating a capo
 
* .capo(int, READ/WRITE) ... tunes the guitar up by half-steps, simulating a capo
Line 14: Line 14:
 
*.startPlaying() ... puts the guitar in interactive mode, allowing live performance
 
*.startPlaying() ... puts the guitar in interactive mode, allowing live performance
  
=== This is another subsection ===
+
=== How to Play the Rhythm Guitar ===
  
[http://www.google.com with a link off the wiki]
+
Once the .startPlaying method is accessed, the interactive mode is turned on.
 
+
*Holding down buttons 1-4 correspond to the different chords in one key; the default key is C.
[[PLOrk_spring2008 | and a link on the wiki]]
+
*The A button alters the chord.  (The most common alteration is used)
  
 
=== What to include on your project page ===
 
=== What to include on your project page ===

Revision as of 15:42, 13 May 2008

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.

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 RhythmGuitarHero are:

  • .capo(int, READ/WRITE) ... tunes the guitar up by half-steps, simulating a capo
  • .setStrumSpeed(float, READ/WRITE) ... sets the strum speed (0 is instantaneous, 1 is a slow arpeggio)
  • .startPlaying() ... puts the guitar in interactive mode, allowing live performance

How to Play the Rhythm Guitar

Once the .startPlaying method is accessed, the interactive mode is turned on.

  • Holding down buttons 1-4 correspond to the different chords in one key; the default key is C.
  • The A button alters the chord. (The most common alteration is used)

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.
  • 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