/sdl2-mixer

Haskell bindings to SDL2_mixer.

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

sdl2-mixer

Hackage Build Status

Haskell bindings to SDL2_mixer

Both the raw and the higher level bindings should allow you to use any aspect of the original SDL2_mixer library. Please report an issue if you encounter a bug or feel that something is missing.

Install
cabal install sdl2-mixer
Documentation

For documentation, visit Hackage.

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

Examples

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

cd sdl2-mixer
cabal run sdl2-mixer-basic <file>
cabal run sdl2-mixer-raw <file>
cabal run sdl2-mixer-music <file>
cabal run sdl2-mixer-jumbled <file1> ... <fileN>
cabal run sdl2-mixer-effect <file>