BSD-3-Clause licensed by Vladimir Semyonov, Siniša Biđin, Daniel Firth
This version can be pinned in stack with:sdl2-mixer-,4497

Module documentation for


Hackage GitLab

Haskell bindings to SDL2_mixer. Provides both raw and high level bindings.

The original SDL2_mixer documentation can also help, as the bindings are close to a direct mapping.


Several example executables are included with the library. You can find them in the examples directory.

stack exec -- sdl2-mixer-basic <file>
stack exec -- sdl2-mixer-raw <file>
stack exec -- sdl2-mixer-music <file>
stack exec -- sdl2-mixer-jumbled <file1> ... <fileN>
stack exec -- sdl2-mixer-effect <file>


Changelog for sdl2-mixer


  • Compatibility with GHC-9