[chuck-users] how do I assign a Blit array with a BlitSquare array?

George Locke george.locke.maxmsp at gmail.com
Sun Feb 2 11:18:13 EST 2014


Hi,

I have a class that I want to use either (multiple) BlitSquare or BlitSaw
oscillators, where i can switch between them during performance.  I thought
the easiest way would be to have a single Blit array that holds either, but
apparently I can't do this:

BlitSquare pls[10];
BlitSaw saw[10];
Blit osc[10];
if (choosePulse) {
pls @=> osc;
} else {
saw @=> osc;
}

Any suggestions?

How is the Blit type ever to be used if not in this way?

(My chuck experience is limited, but I am an experienced programmer.)

Regards,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140202/014b86e4/attachment.htm>


More information about the chuck-users mailing list