![]() |
Maestro - Midi Player Tool Kit for Unity Version 2.18.2
|
Access and select banks and presets exposed by the active SoundFont.
Once a SoundFont is loaded, Maestro MPTK exposes its available banks and presets.
These lists can be used to:
Available banks are exposed through:
The preferred modern access pattern is to use BanksName and BanksNumber together, because missing banks are removed and the indices remain aligned.
Available presets are exposed through:
The preferred modern access pattern is to use the string and number lists rather than the legacy MPTKListItem collections.
The methods SelectBankInstrument() and SelectBankDrum() update the default bank used to build the preset lists.
This updates the SoundFont browsing state, but does not directly change the active instrument already used by MIDI playback.