[MPTK PRO] - Load library of scale from GammeDefinition.csv in folder Resources/GeneratorTemplate.csv
For more information see here https://paxstellar.fr/midi-file-player-detailed-view-2-2/
More...
Static Public Member Functions | |
static MPTKRangeLib | Range (int index, bool log=false) |
Get a scale from an index. Scales are read from GammeDefinition.csv in folder Resources/GeneratorTemplate.csv. More... | |
static MPTKRangeLib | Range (MPTKRangeName index, bool log=false) |
Get a scale from an index. Scales are read from GammeDefinition.csv in folder Resources/GeneratorTemplate.csv. More... | |
Public Attributes | |
int | Count |
Count of notes in the range More... | |
string | Flag |
Some indicator when available. More... | |
int | Index |
Position in the list (from the library) More... | |
bool | Main |
Common scale if true else exotic More... | |
string | Name |
Long name of the scale More... | |
string | Short |
Short name of the scale More... | |
Properties | |
static int | RangeCount [get] |
Count of scales availables in the library GammeDefinition.csv in folder Resources/GeneratorTemplate.csv More... | |
int | this[int index] [get] |
Delta in 1/2 ton from the tonic, so first position (index=0) always return 0 regardless the range selected. More... | |
[MPTK PRO] - Load library of scale from GammeDefinition.csv in folder Resources/GeneratorTemplate.csv
For more information see here https://paxstellar.fr/midi-file-player-detailed-view-2-2/
Play notes from a scale
|
static |
Get a scale from an index. Scales are read from GammeDefinition.csv in folder Resources/GeneratorTemplate.csv.
index | |
log |
|
static |
Get a scale from an index. Scales are read from GammeDefinition.csv in folder Resources/GeneratorTemplate.csv.
index | |
log |
int MidiPlayerTK.MPTKRangeLib.Count |
Count of notes in the range
string MidiPlayerTK.MPTKRangeLib.Flag |
Some indicator when available.
M
= major scale m
= minor scale _
= undeterminedint MidiPlayerTK.MPTKRangeLib.Index |
Position in the list (from the library)
bool MidiPlayerTK.MPTKRangeLib.Main |
Common scale if true else exotic
string MidiPlayerTK.MPTKRangeLib.Name |
Long name of the scale
string MidiPlayerTK.MPTKRangeLib.Short |
Short name of the scale
|
staticget |
Count of scales availables in the library GammeDefinition.csv in folder Resources/GeneratorTemplate.csv
|
get |
Delta in 1/2 ton from the tonic, so first position (index=0) always return 0 regardless the range selected.
index | Position in the scale. If greater than count of notes in the scale, the delta in 1/2 tons is taken from the next octave. |