☰
Debian Codegraph
@
1.5.5.8-1
/
/
examples
/
book
/
digital-artists
/
chapter6
/
Listing6.11.ck
☽
☼
examples/book/digital-artists/chapter6/Listing6.11.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// Listing 6.11 Testing the LPF resonant low pass filter with noise input
2
3
// pass noise through low pass filter
4
Noise nz => LPF lp => dac;
5
6
// set frequency and Q
7
500.0 => lp.freq;
8
100.0 => lp.Q;
9
0.2 => lp.gain;
10
second => now;