Hi Atta,
A bunch of us use "GenU" style chuck classes for this. I think it
started with Frostburn on the board. Basically, you make a class that
looks like this:
public class GenU
{
Gain output;
Gain input;
fun UGen chuck () {
return output;
}
fun UGen chuck (UGen ugen) {
ugen => input;
return output;
}
}
Then you use it like this
GenU None;
None.chuck() => dac;
You can even do (note the lack of parens)
Step step => None.chuck => dac;
Now, just have your classes inherit from GenU, and connect them like this.
This is a sorta hacky workaround; there isn't, as far as I know, a way
to do just None => dac.
Cheers,
Rogan
On Sat, Feb 7, 2009 at 1:40 PM, Atte André Jensen
Tom Lieber wrote:
I'm pretty sure it's still not possible, so you'll have to write your own code to forward the samples to the dac by hand.
No problem. It would just be more elegant if the general chuck syntax could be extended with user generated classes...
-- Atte
http://atte.dk http://modlys.dk _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users