[chuck-users] Greetings and an Object oriented question
Adam R. Tindale
adamtindale at hotmail.com
Fri Oct 21 23:58:49 EDT 2005
Hi,
I think that feature is on the way into ChucK. Classes are very new.
For now there is a workaround. My favourite method is the one that was
in the vim screenshot that eduard posted on Oct 1.
https://lists.cs.princeton.edu/pipermail/chuck-users/2005-October/
000047.html
You would have the following member function:
fun void connect( UGen ug ) {
ug => myEcho_ => dac;
}
Then you do this =>
sinosc s;
myclass c;
c.connect(s);
Now you will want to modify it so that you can have an input connect
and an output connection and all that jazz, but this will get you up
and ChucKin.
--art
More information about the chuck-users
mailing list