Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

better variable names

  • Loading branch information...
commit 4b667a7e4502f3bcfa0ddd56917a1e27e061e9e4 1 parent 994a66c
@heuermh authored
Showing with 7 additions and 8 deletions.
  1. +7 −8 examples/moduleExample.ck
View
15 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)
Please sign in to comment.
Something went wrong with that request. Please try again.