Maestro - Midi Player Tool Kit for Unity Version 2.18.2
Loading...
Searching...
No Matches
SoundFont System Overview

Overview of SoundFont management in Maestro MPTK.

The SoundFont system defines the samples, banks, and presets used by the synthesizer to render MIDI playback.

SoundFonts can be:

  • provided by the internal MPTK database,
  • loaded from a local file,
  • downloaded dynamically from a remote server.

This system also exposes banks and presets so applications can:

  • build instrument-selection user interfaces,
  • inspect the structure of the active SoundFont,
  • prepare MIDI bank and preset changes.

Quick Start

midiSynth.MPTK_SoundFont.LoadedCallback = synth =>
{
Debug.Log($"SoundFont ready: {synth.MPTK_SoundFont.SoundFontName}");
};
midiSynth.MPTK_SoundFont.Load("https://example.com/MySoundFont.sf2");

Related Pages

Read these pages in the following order:

Related Modules

Next Steps