Maestro - Midi Player Tool Kit for Unity Version 2.18.2
Loading...
Searching...
No Matches
Core Synth Concepts

Core behavior, lifecycle, and shared architecture of MidiSynth.

Core behavior, lifecycle, and shared architecture of MidiSynth.

MPTK Synth Overview

Core Concept

FluidSynth Heritage and Unity Adaptation

  • The DSP and SoundFont synthesis model originates from FluidSynth and is adapted in C# for Maestro MPTK.
  • Audio rendering is integrated with Unity playback flow, including AudioSource-compatible usage.
  • MIDI scheduling and audio processing are coordinated with Unity runtime constraints.
  • MPTK adds real-time control extensions for interactive and gameplay-driven music systems.

Accessing Synth Features

Related runtime module

Lifecycle

  1. Prefab loads and creates a MidiSynth instance.
  2. MidiPlayerTK::MidiSynth::MPTK_InitSynth prepares channels, voices, and modulators.
  3. MIDI sequencer feeds events (file, stream, or external input).
  4. Voices are rendered in OnAudioFilterRead; statistics available via fields such as MidiPlayerTK.MidiSynth.StatAudioFilterReadMS .

Related Topics