Playing sounds in Haskell

Hi, cafe, I'm interested in write a program that plays sounds in real time. There is a library with functions able to play sounds, from a file? I'm on Windows, and I don't need special features, only play sounds in a comfortable way. Thanks in advance. -- Daniel Díaz

29.01.2011 18:03, Daniel Díaz пишет:
Hi, cafe,
I'm interested in write a program that plays sounds in real time. There is a library with functions able to play sounds, from a file?
I'm on Windows, and I don't need special features, only play sounds in a comfortable way. Thanks in advance.
Hello. I am using haskell bindings to SFML library. http://patch-tag.com/r/shahn/sfml-audio/home Best regards, Dmitriy

Nikitiskiy Dmitriy schrieb:
29.01.2011 18:03, Daniel Díaz пишет:
Hi, cafe,
I'm interested in write a program that plays sounds in real time. There is a library with functions able to play sounds, from a file?
I'm on Windows, and I don't need special features, only play sounds in a comfortable way. Thanks in advance.
Hello. I am using haskell bindings to SFML library.
I have written the SoX package, that calls the 'sox' program for playing (and read and write from and to various file formats). However I remember that SoX' "play" command sometimes stop playing without obvious reason. You may also discuss sound related issues on haskell-art@lurk.org.

I believe that the SDL bindings provide a way to play sounds from a
file. I know SDL works on windows, I'm not sure if the Haskell
bindings do. I've also not had to use that capability of the bindings,
so I can't speak to ease of use. However, it's something to look at.
http://hackage.haskell.org/package/SDL
also: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:sound
probably has some other packages that can do what you are looking for.
On Sat, Jan 29, 2011 at 10:03 AM, Daniel Díaz
Hi, cafe,
I'm interested in write a program that plays sounds in real time. There is a library with functions able to play sounds, from a file?
I'm on Windows, and I don't need special features, only play sounds in a comfortable way. Thanks in advance.
-- Daniel Díaz
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Edward Amsden Undergraduate Computer Science Rochester Institute of Technology www.edwardamsden.com
participants (4)
-
Daniel Díaz
-
Edward Amsden
-
Henning Thielemann
-
Nikitiskiy Dmitriy