|
Zrythm
a highly automated and intuitive digital audio workstation
|
A ChordDescriptor describes a chord and is not linked to any specific object by itself. More...
#include <dsp/chord_descriptor.h>
Data Fields | |
| bool | has_bass |
| Has bass note or not. | |
| MusicalNote | root_note |
| Root note. | |
| MusicalNote | bass_note |
| Bass note 1 octave below. | |
| ChordType | type |
| Chord type. | |
| ChordAccent | accent |
| Chord accent. | |
| int | notes [CHORD_DESCRIPTOR_MAX_NOTES] |
| Only used if custom chord. | |
| int | inversion |
| 0 no inversion, less than 0 highest note(s) drop an octave, greater than 0 lowest note(s) receive an octave. | |
A ChordDescriptor describes a chord and is not linked to any specific object by itself.
Chord objects should include a ChordDescriptor.
Definition at line 93 of file chord_descriptor.h.
| ChordAccent ChordDescriptor::accent |
| MusicalNote ChordDescriptor::bass_note |
Bass note 1 octave below.
Definition at line 102 of file chord_descriptor.h.
| bool ChordDescriptor::has_bass |
Has bass note or not.
Definition at line 96 of file chord_descriptor.h.
| int ChordDescriptor::inversion |
0 no inversion, less than 0 highest note(s) drop an octave, greater than 0 lowest note(s) receive an octave.
Definition at line 129 of file chord_descriptor.h.
| int ChordDescriptor::notes[CHORD_DESCRIPTOR_MAX_NOTES] |
Only used if custom chord.
4 octaves, 1st octave is where bass note is, but bass note should not be part of this.
Starts at C always, from MIDI pitch 36.
Definition at line 122 of file chord_descriptor.h.
| MusicalNote ChordDescriptor::root_note |
Root note.
Definition at line 99 of file chord_descriptor.h.
| ChordType ChordDescriptor::type |
Chord type.
Definition at line 105 of file chord_descriptor.h.