Environment: Siren
Instances of Chord are eventLists that can be created by giving them a root and inversion. They can return eventLists.
Instance variables:
accessing
root
inversion
type
arity
duration: aDuration
set the durations of my notes
eventList
Answer the receiver's events
inversion: number
set the inversion of the receiver chord
root: tonic
set the root of the receiver chord
type: aSymbol
set the type symbol of the receiver chord
generating events
return a three-note major chord on the given tonic in the given inversion
majorTriad
return a three-note major chord on the given tonic in the given inversion
minorTetrad
return a three-note minor chord on the given tonic in the given inversion
minorTriad
return a three-note minor chord on the given tonic in the given inversion
MetaClass: Chord class
instance creation
return a three-note major chord on the given tonic in the given inversion
majorTriadOn: tonic inversion: inversion
return a three-note major chord on the given tonic in the given inversion
minorTetradOn: tonic inversion: inversion
return a three-note minor chord on the given tonic in the given inversion
minorTriadOn: tonic inversion: inversion
return a three-note minor chord on the given tonic in the given inversion
examples
Create and edit some chords.