Skip to content

Commit

Permalink
fix lfo
Browse files Browse the repository at this point in the history
  • Loading branch information
heuermh committed Jun 9, 2016
1 parent d7b1238 commit f223dee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/subharmonicExample.ck
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class Trout
{
while (true)
{
freq + lfo.last() => sub.freq;
freq + (freq * lfo.last()) => sub.freq;
freq + 1.0 => side.freq;
1::samp => now;
}
Expand Down Expand Up @@ -242,10 +242,10 @@ while (true)
c_majorBlues.sample() => t.freq;
}

Math.random2f(0.5, 1.5) => t.lfo.rate;
Math.random2f(0.05, 0.20) => t.lfo.depth;
Math.random2f(0.01, 1.0) => t.lfo.rate;
Math.random2f(0.01, 0.04) => t.lfo.depth;
Math.random2f(0.5, 10.0) => t.rhythm.rate;
Math.random2f(0.05, 0.20) => t.rhythm.mix;
Math.random2f(0.05, 0.50) => t.rhythm.mix;
<<<"freq", t.freq, "lfo rate", t.lfo.rate(), "lfo depth", t.lfo.depth(), "rhythm rate", t.rhythm.rate(), "rhythm mix", t.rhythm.mix()>>>;

1 => t.adsr.keyOn;
Expand Down

0 comments on commit f223dee

Please sign in to comment.