Permalink
Browse files

better variable names

  • Loading branch information...
1 parent 994a66c commit 4b667a7e4502f3bcfa0ddd56917a1e27e061e9e4 @heuermh committed Nov 30, 2012
Showing with 7 additions and 8 deletions.
  1. +7 −8 examples/moduleExample.ck
@@ -37,17 +37,16 @@ class SinModule extends Module
class TremoloModule extends Module
{
- SinModule lfo;
- SinOsc lfoRateLfo;
+ SinModule gainLfo;
+ SinOsc rateLfo;
{
- 8.0 => lfo.sin.freq;
- 1.0 => lfo.sin.gain;
- lfo => _cv;
+ 1.0 => gainLfo.sin.gain;
+ gainLfo => _cv;
- 0.25 => lfoRateLfo.freq;
- 1.0 => lfoRateLfo.gain;
- lfoRateLfo => lfo._cv;
+ 0.25 => rateLfo.freq;
+ 1.0 => rateLfo.gain;
+ rateLfo => gainLfo._cv;
}
fun float tick(float in, float cv)

0 comments on commit 4b667a7

Please sign in to comment.