![]() |
Deluge Firmware 1.3.0
Build date: 2025.04.16
|
Public Member Functions | |
int8_t | operator[] (uint8_t degree) const |
int8_t & | operator[] (uint8_t degree) |
NoteSet | applyTo (NoteSet notes) const |
Public Attributes | |
NoteSet | source |
NoteSet | target |
Private Attributes | |
int8_t | degreeOffset [kMaxScaleSize] = {0} |
Transposes a NoteSet according to the ScaleChange.
For each scale degree of source, if the note exists in the notes, applies the semitone offset from the corresponding scale degree.
If the NoteSet is not a subset of oldScale, all bets are off.
|
inline |
Returns the number of semitones for a scale degree offset.
NoteSet ScaleChange::source |
The source scale to which the ScaleChange applies.