ChordDescriptor struct

A ChordDescriptor describes a chord and is not linked to any specific object by itself.

Contents

Chord objects should include a ChordDescriptor.

Public variables

int has_bass
Has bass note or not.
int is_custom
1 if custom.
MusicalNote root_note
Root note.
MusicalNote bass_note
Bass note 1 octave below.
ChordType type
Chord type.
ChordAccent accent
Chord accent.
int notes
These should always be filled in, regardless if the chord is custom or not.
int inversion
0 no inversion, less than 0 highest note(s) drop an octave, greater than 0 lwest note(s) receive an octave.

Variable documentation

int ChordDescriptor::notes

These should always be filled in, regardless if the chord is custom or not.

4 octaves, 1st octave is for bass note.

Starts at C always.

int ChordDescriptor::inversion

0 no inversion, less than 0 highest note(s) drop an octave, greater than 0 lwest note(s) receive an octave.

TODO