sdl2-mixer: Haskell bindings to SDL2_mixer

[ bsd3, foreign, library, program, sound ] [ Propose Tags ]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1, 1.1.0,
Change log
Dependencies base (>=4.9 && <5), bytestring (>=, data-default-class (>=0.0.1), lifted-base (>=0.2), monad-control (>=1.0), sdl2 (>=2.0.0), sdl2-mixer, template-haskell (>=2.10), vector (>=0.10) [details]
License BSD-3-Clause
Copyright 2015 Vladimir Semyonov, 2015 Siniša Biđin, 2021 Daniel Firth
Author Vladimir Semyonov, Siniša Biđin, Daniel Firth
Maintainer Siniša Biđin <>, Daniel Firth <>
Category Sound, Foreign
Bug tracker
Source repo head: git clone
Uploaded by locallycompact at 2021-09-14T14:04:52Z
Distributions LTSHaskell:
Reverse Dependencies 5 direct, 0 indirect [details]
Executables sdl2-mixer-music, sdl2-mixer-effect, sdl2-mixer-basic-raw, sdl2-mixer-basic-jumbled, sdl2-mixer-basic
Downloads 3183 total (23 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2021-09-14 [all 2 reports]

Readme for sdl2-mixer-

[back to package description]


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>