summaryrefslogtreecommitdiff
path: root/lfo.ck
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-06 02:54:41 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-06 02:54:41 +0200
commit4c29c17f3b48d03bc8bcf4a81b70e81faf1d2e54 (patch)
tree112cb0b744d91063b93089224be7261dd15e703a /lfo.ck
parenta6fcf83f27a944ca455425f3cd3a037cf3952dd1 (diff)
downloaddigitale-debutanten-4c29c17f3b48d03bc8bcf4a81b70e81faf1d2e54.tar.gz
simplified LFO setup (no casting to UGen in array constructor necessary due to improved array equivalence checking)
Diffstat (limited to 'lfo.ck')
-rw-r--r--lfo.ck7
1 files changed, 2 insertions, 5 deletions
diff --git a/lfo.ck b/lfo.ck
index 1a64444..173f366 100644
--- a/lfo.ck
+++ b/lfo.ck
@@ -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;