[Haskell-cafe] Haskell audio libraries & audio formats

Henning Thielemann lemming at henning-thielemann.de
Tue Aug 26 18:17:09 EDT 2008

On Tue, 26 Aug 2008, John Van Enk wrote:

> I think the problem I'll run into is the 128 channel case. I'm hoping for a
> general solution... I'm almost positive this will require runtime checks.
> Your solution is what I was thinking for functions requiring exactly N
> channels (I'm not sure if there are many functions like that).

If the number of channels is variable it might be better to use a list of 
StorableVectors instead. I think it is more common to process the channels 
separately instead of simultaneously.

More information about the Haskell-Cafe mailing list