[Haskell-cafe] Sound library?

Ketil Malde ketil+haskell at ii.uib.no
Fri Dec 3 14:33:15 EST 2004


Henning Thielemann <iakd0 at clusterf.urz.uni-halle.de> writes:

> On Fri, 3 Dec 2004, Jason Bailey wrote:

>> Would anyone know of packages out there for Haskell that support mp3's 
>> or ogg files?

> Do you mean realtime unpacking and playback? I'm afraid without hacking
> Haskell programs are too slow for that.

Really?  Written in C, mpg123 can decode 50 minutes of audio in 30
seconds (tested on a 1GHz PIII) -- would a Haskell implementaion
really be 100x slower?   

(Although I agree that FFI'ing to an existing library does sound like
the thing to do.)

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list