0.1.0
First tagged release of SwiftySynth — a faithful Swift port of the C# MeltySynth SoundFont synthesizer. It loads SF2 SoundFonts and renders MIDI in real time, PCM-validated to be near bit-exact with upstream and with a zero-allocation audio render path.
Highlights
- SoundFont 2.x loading — generators, modulators, stereo sample links, loop modes.
- Synthesis — per-voice volume/modulation envelopes, LFOs, biquad low-pass filter, faithful voice stealing.
- Effects — Freeverb-derived reverb and modulated-delay chorus (bit-exact tunings).
- MIDI — MIDI file parsing plus
MidiFileSequencerwith loop support andseek(to:). - Real-time safe — after warm-up the render path allocates nothing (verified by strict 0/0 malloc-zone witnesses); per-callback p99 well inside the 11.6 ms @ 44.1 kHz / 512-frame deadline.
- Platforms — Swift 6 (swift-tools-version 6.0), macOS 13+ / iOS 16+.
Notes
0.x release — the public API may still change before 1.0. Ported from MeltySynth (MIT License); see NOTICE.