Chords

Since we are creating the infrastructure that enables the player to play with rock-style music, we decided to create a suitable representation for the genre, allowing the genetic algorithm to produce just valid rock chord patterns: 2 bits represent the chord for each measure, leading to a 4 chord progression, and for each beat in a measure 2 bits represent the play state that simulates a guitar: ascending style play, descending style play, continue previous chord (hold state) and mute state (pause).

Two bit configurations - the minor variation of the fourth chord and the descending-style execution of its major variation - are left out to represent two different, non-playing states: a hold state which represents the continuation of the previous chord, and a pause state which represents a mute beat.



Alessandro Bruni 2011-02-18