ah, is part of the code art?
2009/8/22 Lucas Samaruga
I was referring to the musical style. I think the recursion is very good in this case. I don't understand this cast to UGens not defined
1.0 / n => (bar $ Phasor).phase; (n%3) + 1 => (bar $ PulseOsc).sync; (75 * (n-1)) + 1 => bar.gain; (5 * n) => (bar $ Shakers).freq;
cheers Lucas
2009/8/21 Kassen
: Lucas;
A bit irritant but nice :-)D some SuperCollider style here.
Almost; I've been writing a fair amount of Scheme lately, that's where the recursion comes from. I do think SC sometimes uses arrays like that... it's viable in ChucK for quick hacks but I can't yet get ChucK to loop over them, at least not without getting extremely silly, unreadable and leaky.
In Scheme I'm how having the opposite, my natural inclination is to use a lot of "define" where in a lot of places a "Lambda" would do.
Oh, well... :-)
Kas.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users