MidiPlayerTK.MPTKChordLib

Build Chord from a library and Play with MidiStreamPlayer.
More...

Public Attributes

int Count
 
int Index
 
string Modifier3
 
string Modifier7
 
string Name
 

Properties

static int ChordCount [get]
 
static List< MPTKChordLibChords [get]
 
int this[int index] [get]
 

Detailed Description

Build Chord from a library and Play with MidiStreamPlayer.

Version
Maestro Pro

See example in TestMidiStream.cs and ExtStreamPlayerPro.cs

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

Version
Maestro Pro

◆ Chords

List<MPTKChordLib> MidiPlayerTK.MPTKChordLib.Chords
staticget

List of chords availables.

Version
Maestro Pro

◆ this[int index]

int MidiPlayerTK.MPTKChordLib.this[int index]
get

Delta in semitones from the tonic, so first index=0 return 0 regardless the chord selected.

Version
Maestro Pro
Parameters
indexPosition in the scale. If exceed count of notes in the scale, the delta semitones is taken from the next octave.
Returns
Delta in semitones from the tonic