MidiPlayerTK.MPTKChordLib

[MPTK PRO] - Load library of chord from ChordLib.csv in folder Resources/GeneratorTemplate.csv - V2.82 new More...

Public Attributes

int Count
 Count of notes in the chord More...
 
int Index
 Position in the list More...
 
string Modifier3
 Some indicator when available. More...
 
string Modifier7
 
string Name
 Long name of the scale More...
 

Properties

static int ChordCount [get]
 Count of chords availables More...
 
static List< MPTKChordLibChords [get]
 List of chords availables. More...
 
int this[int index] [get]
 Delta in 1/2 ton from the tonic, so first index=0 return 0 regardless the chord selected. More...
 

Detailed Description

[MPTK PRO] - Load library of chord from ChordLib.csv in folder Resources/GeneratorTemplate.csv - V2.82 new

Member Data Documentation

◆ Count

int MidiPlayerTK.MPTKChordLib.Count

Count of notes in the chord

◆ Index

int MidiPlayerTK.MPTKChordLib.Index

Position in the list

◆ Modifier3

string MidiPlayerTK.MPTKChordLib.Modifier3

Some indicator when available.

  • M = major
  • m = minor
  • A = augmented
  • D = diminished
  • S = Suspended
  • empty = undetermined

◆ Modifier7

string MidiPlayerTK.MPTKChordLib.Modifier7

Chord contains a 7iem

  • 7 = major
  • empty = undetermined

◆ Name

string MidiPlayerTK.MPTKChordLib.Name

Long name of the scale

Property Documentation

◆ ChordCount

int MidiPlayerTK.MPTKChordLib.ChordCount
staticget

Count of chords availables

◆ Chords

List<MPTKChordLib> MidiPlayerTK.MPTKChordLib.Chords
staticget

List of chords availables.

◆ this[int index]

int MidiPlayerTK.MPTKChordLib.this[int index]
get

Delta in 1/2 ton from the tonic, so first index=0 return 0 regardless the chord selected.

Parameters
indexPosition in the scale. If exceed count of notes in the scale, the delta in 1/2 tons is taken from the next octave.
Returns
Delta in 1/2 ton from the tonic