Preset chord progression data with mood tags and helpers that convert Roman numerals into playable chord-library entries (MPTKChordName + tonic). Degree token grammar: [accidentals][Roman degree][optional suffix].
More...
|
|
string | Id |
| | Stable preset identifier.
|
|
string | Name |
| | Display name of the preset.
|
|
MPTKTonalMode | Mode |
| | Tonal mode used by the progression.
|
|
MPTKProgressionGenre | Genre |
| | Style family of the progression.
|
|
MPTKHarmonyFlavor | HarmonyFlavor |
| | Harmonic language classification.
|
|
string[] | MoodTags |
| | Mood keywords attached to the preset.
|
|
string[] | Degrees |
| | Progression steps in Roman-degree notation. Example tokens: "I", "V", "vi", "IV", "bII", "V7", "Imaj7", "viio", "iib57".
|
|
string | Example |
| | Human-readable progression example in a reference key.
|
|
int | Intensity |
| | Subjective energy rating from 1 (low) to 5 (high).
|
|
int | HarmonicTension |
| | Subjective harmonic tension rating from 1 (low) to 5 (high).
|
Preset chord progression data with mood tags and helpers that convert Roman numerals into playable chord-library entries (MPTKChordName + tonic). Degree token grammar: [accidentals][Roman degree][optional suffix].
- Accidentals: zero or more 'b' or '#', for example "bII", "##IV".
- Roman degree core: I, II, III, IV, V, VI, VII (uppercase or lowercase). Case does not change the scale degree index, only the default triad quality
- uppercase starts from major-triad quality,
- lowercase starts from minor-triad quality.
- Optional suffix markers understood by the parser: "7", "maj7", "sus", "sus4", "sus2", "dim", "o", "b5", "#5", "aug", "+". Practical examples in C:
- "I - V - vi - IV" -> C - G - Am - F
- "I - iii - IV - iv" -> C - Em - F - Fm Canonical degree cores are 7 values (I..VII, upper/lower case intent), but raw token strings are unbounded because accidental prefixes and suffix text can be combined freely. Notes:
- Use ASCII only in the API.
- Half-diminished chords should be written as m7b5-style Roman tokens, for example: "iib57".
- Diminished chords can be written with "o" or "dim", for example: "viio" or "viidim7".
◆ MPTKChordProgressionPreset()
| MidiPlayerTK.MPTKChordProgressionPreset.MPTKChordProgressionPreset |
( |
string | id, |
|
|
string | name, |
|
|
MPTKTonalMode | mode, |
|
|
MPTKProgressionGenre | genre, |
|
|
MPTKHarmonyFlavor | harmonyFlavor, |
|
|
string[] | moodTags, |
|
|
string[] | degrees, |
|
|
string | example, |
|
|
int | intensity, |
|
|
int | harmonicTension ) |
Creates a new progression preset descriptor.
- Parameters
-
| id | Stable preset identifier. |
| name | Display name of the preset. |
| mode | Tonal mode used by the progression. |
| genre | Style family of the progression. |
| harmonyFlavor | Harmonic language classification. |
| moodTags | Mood keywords attached to the preset. |
| degrees | Progression steps in Roman-degree notation. |
| example | Human-readable progression example. |
| intensity | Subjective energy rating from 1 (low) to 5 (high). |
| harmonicTension | Subjective harmonic tension rating from 1 (low) to 5 (high). |