Sound haskell lib

I need to find a sound library for haskell. I followed the instructions of some that are presented in the haskell wiki http://www.haskell.org/haskellwiki/Sound_data_structures , but could not get them to work. All I need is to play audio files, regardless of its format. I am developing a game with FunGen and time for music. I may have somo problems that make them togather work, but I can't even play a simple sound example. Most of my problems are related to installing Kabbalah or dependencies that I cannot find. I am using windows.

+5
source share
2 answers

Being on Windows is a major limitation in Haskell audio. Most packages are bindings to C code, and they are usually Linux-oriented (JACK, Alsa) or, at best, nominally cross-platform, but in practice they are difficult to create and use on Windows. Before setting up the Haskell binding, you will need to create or install the C library.

Have you tried OpenAL ? This is probably the most suitable for what you want to do. If you are installing the OpenAL C libraries , Haskell binding should be a fairly simple next step. There are several additional modules that are designed to simplify some common tasks, such as ALUT and Alure.

, . hsndfile hsndfile-vector ( libsndfile), . portaudio ( C portaudio library), hasn ( ). C (, MinGW Cygwin), C.

, Supercollider Csound. , , , , , Csound Windows (: hCsound ). Sox ( C/ ) ( Windows, , ).

+7

, - , .

hsndfile, John L. . . WAV - PCM . WAV , .

- , - WAV .

, Windows -fno-ghci-sandbox. ghci, , . GHCi.

+1

All Articles