repo.or.cz
/
chuck-blob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
*** empty log message ***
[chuck-blob.git]
/
v2
/
examples
/
filter
/
hp.ck
blob
e1a65aee6f4606d65bfd68716adf1c16fff03613
1
// our patch
2
Noise n => HPF f => dac;
3
4
// set gain
5
.5 => f.gain;
6
7
// infinite time-loop
8
float t;
9
while( true )
10
{
11
// sweep the cutoff
12
Math.sin(t) * 110 => Std.fabs => Std.mtof => f.freq;
13
// increment t
14
.005 +=> t;
15
// advance time
16
5::ms => now;
17
}