☰
Debian Codegraph
@
1.5.5.8-1
/
/
examples
/
filter
/
lpf.ck
☽
☼
examples/filter/lpf.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// LPF is a low-pass filter
2
Noise n => LPF lpf => dac;
3
4
// infinite time-loop
5
while( true )
6
{
7
// sweep the cutoff
8
Math.sin(now/second) * 110 => Math.fabs => Std.mtof => lpf.freq;
9
// advance time
10
5::ms => now;
11
}