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