◆ computeChangeFrom()
With notes being currently in use, compute ScaleChange to go from sourceScale to targetScale.
In production code freezes with error if the scale change cannot be computed, for testing purposes returns false.
The computed ScaleChanges are such that as long as no new notes are added, all transitions are reversible.
◆ lastTransitionNotes
NoteSet ScaleMapper::lastTransitionNotes |
|
private |
Stores the transition notes from the last computed scale change.
◆ transitionScaleStore
NoteSet ScaleMapper::transitionScaleStore[kMaxScaleSize] |
|
private |
Indexes 0-11 store the transition scales for the corresponding scale size - 1.
Note: we include 12 tone scales both for simplicity, and in order to support 12-tone scales with bent notes.
The documentation for this class was generated from the following files:
- src/deluge/model/scale/scale_mapper.h
- src/deluge/model/scale/scale_mapper.cpp