[Haskell-cafe] Sound library?

Philippa Cowderoy flippa at flippac.org
Fri Dec 3 15:00:22 EST 2004


On Fri, 3 Dec 2004, Henning Thielemann wrote:

>
> On Fri, 3 Dec 2004, Ketil Malde wrote:
>
> > 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?
>
> I've written much simpler audio signal processing routines compiled by GHC
> which don't run in realtime on a 1GHz machine ...
>

Mind if I ask what was going on there? I can see things potentially taking
that long if you do things in a [Word16] or something like that, and this
/is/ one of the cases where float is better than double...

That, and this is probably one of those "squash laziness" situations.

-- 
flippa at flippac.org


More information about the Haskell-Cafe mailing list