Open source

fluidsynth-kmp

A Kotlin Multiplatform wrapper around FluidSynth, the real-time SF2 and MIDI synthesizer.

One Kotlin API over FluidSynth, whatever it takes underneath: JNI and a bundled .so on Android, cinterop against a bundled XCFramework on iOS, cinterop against the system library on macOS, Linux and Windows, and JNA on the JVM. Android and iOS carry the synthesizer with them, so nothing has to be installed alongside the app.

Written because kotlinds could read the soundtracks out of Nintendo DS ROMs, and nothing could play them.

Install

Gradle klibs.io
implementation("dev.kotlinds:fluidsynth-kmp:1.1.0")