![]() |
Maestro - Midi Player Tool Kit for Unity Version 2.18.2
|
Build and play chords from scale or library definitions. More...
Classes | |
| class | MidiPlayerTK.MPTKChordBuilder |
| Build chords and play them with MidiStreamPlayer. . More... | |
| class | MidiPlayerTK.MPTKChordLib |
| Build chords from a library and play them with MidiStreamPlayer. . More... | |
| class | MidiPlayerTK.MPTKRangeLib |
| [MPTK PRO] Build Scale and Play with MidiStreamPlayer. More... | |
| class | MidiPlayerTK.MPTKScaleLib |
| Build scales and play them with MidiStreamPlayer. . More... | |
Enumerations | |
| enum | MidiPlayerTK.MPTKChordName |
| List of available chords. More... | |
| enum | MidiPlayerTK.MPTKRangeName |
| [MPTK PRO] List of ranges available | |
| enum | MidiPlayerTK.MPTKScaleName |
| List of available scales. More... | |
Functions | |
| MPTKChordBuilder | MidiPlayerTK.MidiStreamPlayer.MPTK_PlayChordFromScale (MPTKChordBuilder chord) |
| Plays a chord from the currently selected scale (MPTK_ScaleSelected). Tonic and degree are defined in the MPTKChordBuilder parameter. If no scale is selected, the major scale is used by default.See GammeDefinition.csv in Resources/GeneratorTemplate. | |
| MPTKChordBuilder | MidiPlayerTK.MidiStreamPlayer.MPTK_PlayChordFromLib (MPTKChordBuilder chord) |
| Plays a chord from the chord library. See ChordLib.csv in Resources/GeneratorTemplate. The tonic is used to build the chord. | |
| void | MidiPlayerTK.MidiStreamPlayer.MPTK_StopChord (MPTKChordBuilder chord) |
| Stops the chord. All samples associated with the chord are stopped by sending a note-off. | |
Properties | |
| string | MidiPlayerTK.MidiStreamPlayer.MPTK_ScaleName [get] |
| Name of the currently selected musical scale. | |
| MPTKScaleName | MidiPlayerTK.MidiStreamPlayer.MPTK_ScaleSelected [get, set] |
| Currently selected scale. | |
Build and play chords from scale or library definitions.
This chapter groups harmony helpers used in live workflows.
List of available chords.
List of available scales.
| MPTKChordBuilder MidiPlayerTK.MidiStreamPlayer.MPTK_PlayChordFromScale | ( | MPTKChordBuilder | chord | ) |
Plays a chord from the currently selected scale (MPTK_ScaleSelected). Tonic and degree are defined in the MPTKChordBuilder parameter. If no scale is selected, the major scale is used by default.See GammeDefinition.csv in Resources/GeneratorTemplate.
| chord | Required: Tonic and Degree, in addition to the standard MIDI parameters. |
| MPTKChordBuilder MidiPlayerTK.MidiStreamPlayer.MPTK_PlayChordFromLib | ( | MPTKChordBuilder | chord | ) |
Plays a chord from the chord library. See ChordLib.csv in Resources/GeneratorTemplate. The tonic is used to build the chord.
| chord | Required: Tonic and FromLib, in addition to the standard MIDI parameters. |
| void MidiPlayerTK.MidiStreamPlayer.MPTK_StopChord | ( | MPTKChordBuilder | chord | ) |
Stops the chord. All samples associated with the chord are stopped by sending a note-off.
| chord | Chord definition and generated events to stop. |
|
get |
Name of the currently selected musical scale.
|
getset |
Currently selected scale.