[chuck-dev] fixed array compatibility checking (PATCH)

Robin Haberkorn robin.haberkorn at googlemail.com
Fri Sep 7 10:38:02 EDT 2012



On 06/09/12 04:18, Dan Trueman wrote:
> LiSa multichannel is for multichannel output. i haven't looked at it in a long while, as there were issues with the chuck implementation of multichannel stuff, and i welcome someone smarter than me to fix/finish it....
> 
> cheers,
> dan
> 
Hi Dan,

apparently the LiSa buffer is still a single channel but you can pan the
LiSa voices between the 8 output channels.

The reason LiSa is so slow may be that in its tick-function (invoked at
sample rate for every LiSa in the graph), there are some loops over the
8 output channels and 200 (possible) voices even if it doesn't play or
record or only one voice is used. Should have nothing to do with
unnecessary function/method calls since they are inlined. Will have a
look soon how to optimize that.
Would seem plausible to me that only a requested number of voices is
actually used and there should be a dynamic number of output channels
(one for each voice). I don't think the latter is currently possible in
ChucK.
If nothing works I think I'll just patch it for my setup to use a single
output channel and only one voice.

cheers,
robin


More information about the chuck-dev mailing list