Documentation ¶
Overview ¶
A chord, in music, is any harmonic set of three or more notes that is heard as if sounding simultaneously.
Chords have different Forms, such as Triad, Seventh, Extended, Added/Omitted, Specific or General.
Chords have different Functions, such as Diatonic, Altered or Other.
A Chord Interval is how the members of the chord are counted, from 1 (the "root") to e.g. 3 (the "third") or 5 (the "fifth")
It's possible to export a list of all known chord parsing rules.
Chords are expressed in readable strings, e.g. CMb5b7 or Cm679-5
Chords have different Techniques, such as Block, Chordioid, Guitar, Open, Power or Slash.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chord ¶
Chord in a particular key
type Form ¶
type Form struct { Name string // contains filtered or unexported fields }
Form is identified by positive/negative regular expressions, and then adds/removes pitch classes by interval from the root of the chord.
func (*Form) MatchString ¶
MatchString processes the positive/negative regular expressions to determine if this form matches a string.