![]() |
Maestro - Midi Player Tool Kit for Unity Version 2.18.2
|
Core concepts for working with SoundFonts in Maestro MPTK.
A SoundFont is a structured audio resource used by the synthesizer to render MIDI events. It contains sample data together with banks and presets that define how instruments and drum kits are organized.
In Maestro MPTK, a SoundFont can come from:
A MidiSynth uses one active SoundFont at a time. That SoundFont defines the bank and preset data available to the synthesizer.
Internal SoundFonts are provided with MPTK resources. External SoundFonts are loaded from the file system or from a web resource.
External SoundFonts are useful when:
Loading or selecting a SoundFont does not directly change the active program currently used by a MIDI channel during playback. To change the channel instrument, use the MIDI channel API, such as MidiPlayerTK.MidiSynth.MPTK_ChannelPresetChange.