|
Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
|
Lightweight POD storing just the chord identity (no QObject overhead). More...
#include <src/dsp/chord_suggestion.h>
Public Member Functions | |
| bool | operator== (const ChordKey &other) const |
| ChordDescriptor | make_descriptor () const |
| Constructs a temporary ChordDescriptor for method calls. | |
Data Fields | |
| MusicalNote | root_note = MusicalNote::C |
| ChordType | type = ChordType::Major |
| ChordAccent | accent = ChordAccent::None |
Lightweight POD storing just the chord identity (no QObject overhead).
ChordDescriptor inherits QObject (copy/move deleted in Qt6), so it cannot be stored by value in containers. Use make_descriptor() when you need a temporary ChordDescriptor for method calls.
Definition at line 70 of file chord_suggestion.h.
|
inline |
Constructs a temporary ChordDescriptor for method calls.
Definition at line 83 of file chord_suggestion.h.
|
inline |
Definition at line 76 of file chord_suggestion.h.
| ChordAccent zrythm::dsp::chords::ChordKey::accent = ChordAccent::None |
Definition at line 74 of file chord_suggestion.h.
| MusicalNote zrythm::dsp::chords::ChordKey::root_note = MusicalNote::C |
Definition at line 72 of file chord_suggestion.h.
| ChordType zrythm::dsp::chords::ChordKey::type = ChordType::Major |
Definition at line 73 of file chord_suggestion.h.