Maestro - Midi Player Tool Kit for Unity Version 2.19.0
Loading...
Searching...
No Matches
MidiPlayerTK.MPTKChordLib

Represents one chord entry loaded from the chord library. More...

Public Attributes

int Index
 Zero-based position in the loaded chord list.
string Name
 Chord display name from the library.
string Modifier3
 Triad quality marker when available.
string Modifier7
 Seventh marker when available.
int Count
 Number of notes in the chord.

Properties

int this[int index] [get]
 Semitone offset from the tonic for one note of this chord.
static List< MPTKChordLibChords [get]
 List of available chords.
static int ChordCount [get]
 Number of available chords.

Detailed Description

Represents one chord entry loaded from the chord library.

Version
Maestro Pro See examples in TestMidiStream.cs and ExtStreamPlayerPro.cs.

Member Data Documentation

◆ Modifier3

string MidiPlayerTK.MPTKChordLib.Modifier3

Triad quality marker when available.

  • M = Major
  • m = Minor
  • A = Augmented
  • D = Diminished
  • S = Suspended
  • empty = undefined

◆ Modifier7

string MidiPlayerTK.MPTKChordLib.Modifier7

Seventh marker when available.

  • 7 = seventh extension present
  • empty = undefined

Property Documentation

◆ this[int index]

int MidiPlayerTK.MPTKChordLib.this[int index]
get

Semitone offset from the tonic for one note of this chord.

Version
Maestro Pro
Parameters
indexZero-based note index in the chord.
Returns
Delta in semitones from the tonic.

◆ Chords

List<MPTKChordLib> MidiPlayerTK.MPTKChordLib.Chords
staticget

List of available chords.

Version
Maestro Pro

◆ ChordCount

int MidiPlayerTK.MPTKChordLib.ChordCount
staticget

Number of available chords.

Version
Maestro Pro