diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-06 02:54:41 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-06 02:54:41 +0200 |
commit | 4c29c17f3b48d03bc8bcf4a81b70e81faf1d2e54 (patch) | |
tree | 112cb0b744d91063b93089224be7261dd15e703a | |
parent | a6fcf83f27a944ca455425f3cd3a037cf3952dd1 (diff) | |
download | digitale-debutanten-4c29c17f3b48d03bc8bcf4a81b70e81faf1d2e54.tar.gz |
simplified LFO setup (no casting to UGen in array constructor necessary due to improved array equivalence checking)
-rw-r--r-- | lfo.ck | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,9 +1,7 @@ /* * Configurable LFOs */ -[new SinOsc $ UGen, - new PulseOsc $ UGen, - new SampOsc $ UGen] @=> UGen @lfo[]; +[new SinOsc, new PulseOsc, new SampOsc] @=> UGen @lfo[]; /* BUG WORKAROUND: setting lfo[2].gain crashes */ 10 => (lfo[2] $ SampOsc).gain; /* preamp, to get value range 0 to 1000 */ @@ -17,8 +15,7 @@ for (0 => int i; i < lfo.cap(); i++) 0 => int cur_lfo; -[new SawOsc $ UGen, - new PulseOsc $ UGen] @=> UGen @osc[]; +[new SawOsc, new PulseOsc] @=> UGen @osc[]; 0 => int cur_osc; |