Elektrine lite

← Feed

@icculus@mastodon.gamedev.place

Post #2373962

2026-05-10 22:12 UTC

@aeva@mastodon.gamedev.place @Doomed_Daniel@mastodon.gamedev.place the native midi library literally wants to play to the OS’s MIDI interfaces, which sucks for several technical reasons. SDL_mixer will decode midi with either a built-in copy of Timidity or FluidSynth, and plays through SDL’s audio (which supports sndio and Haiku’s BSoundPlayer). Maybe useful? https://github.com/libsdl-org/SDL_mixer

Replies (1)

  • @aeva@mastodon.gamedev.place 2026-05-10 23:46

    @icculus@mastodon.gamedev.place @Doomed_Daniel@mastodon.gamedev.place Ah yeah, that solves a different problem than the one I have. My program is a synthesizer, which among other things can receive midi input from sequencers and midi devices. Eventually I'd also like it to be able to emit midi. I already have dedicated backends for alsa and wasapi, but it would be nice to have a generic backend that covered other platforms of interest for porting (BSD, Haiku, wasm, osx, and probably others eventually) as a stopgap to make porting faster.

    Open ##2373963