[Haskell-cafe] Haskell audio libraries & audio formats

Don Stewart dons at galois.com
Mon Aug 25 13:23:43 EDT 2008


lemming:
> 
> On Sun, 24 Aug 2008, John Van Enk wrote:
> 
> >Eric,
> >
> >I was hoping to use a packed format like ByteString eventually. Right 
> >now, I
> >want to get everything working nicely. As it stands, I end up marshaling a
> >lot of information into/out of arrays which I'd much rather keep as a 
> >block
> >of memory.
> >
> >I'm guessing that some sort of unboxed array would be close to what I 
> >want.
> >If you have suggestions, I'm more than open to them. (This is my first
> >attempt at writing a library.)
> 
> In recent versions of StorableVector (not at hackage yet, only in darcs 
> repository) there is a chunky lazy variant. However there are also the 
> uvector and vector packages, and no-one seems to know, on which one we 
> should focus.

There's no immediate plans to merge them, but uvector will likely gain
a lazy variant soonish. As 'vector's announcement said, uvector is
the stable, more conservative variant that works with 6.8.2, and has
a richer API.

-- Don


More information about the Haskell-Cafe mailing list