[Haskell-cafe] reading and playing music openAL

Henning Thielemann lemming at henning-thielemann.de
Wed Jul 7 09:38:24 EDT 2010


On Tue, 6 Jul 2010, Maria Gabriela Valdes wrote:

> Hi ! We have a question about about openAL. We would like to know if anybody knows how
> to read a WAV file by chunks of a determined size, and after doing some processing with
> a specific chunk send that same chunk back to the sound card so we can play the whole
> WAV continiously (just like a music player).

If ALSA is allowed as solution, then you may try the 'duplex' example in:
    http://hackage.haskell.org/package/alsa-pcm-tests


More information about the Haskell-Cafe mailing list