Permalink
Browse files

adding returns to rate and depth

  • Loading branch information...
Michael Heuer
Michael Heuer committed Sep 20, 2012
1 parent 7cadb6d commit 6e904715b904d3c84a8dec41b16aaa62c5a0dc9d
Showing with 4 additions and 0 deletions.
  1. +2 −0 Trem.ck
  2. +2 −0 Tremolo.ck
View
@@ -40,13 +40,15 @@ public class Trem extends Chugen
rate => sinLfo.freq;
rate => sqrLfo.freq;
rate => triLfo.freq;
+ return rate;
}
fun float depth(float depth)
{
depth * sinMix => sinLfo.gain;
depth * sqrMix => sqrLfo.gain;
depth * triMix => triLfo.gain;
+ return depth;
}
fun float tick(float in)
View
@@ -46,13 +46,15 @@ public class Tremolo
rate => sinLfo.freq;
rate => sqrLfo.freq;
rate => triLfo.freq;
+ return rate;
}
fun float depth(float depth)
{
depth * sinMix => sinLfo.gain;
depth * sqrMix => sqrLfo.gain;
depth * triMix => triLfo.gain;
+ return depth;
}
fun void update()

0 comments on commit 6e90471

Please sign in to comment.