aboutsummaryrefslogtreecommitdiff
path: root/doc/cheby~.pd
blob: 1cf1f94db2ef76951d2505613f4ce1c480ef59ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#N canvas 262 87 566 348 10;
#X obj 130 230 cheby~ 4;
#X msg 147 149 coef 1 \$1;
#X floatatom 147 93 5 0 0;
#X obj 147 117 dbtorms;
#X obj 124 313 dac~;
#X obj 130 281 vol~;
#X floatatom 156 261 5 0 0;
#X obj 40 113 osc~;
#X floatatom 40 88 5 0 0;
#X floatatom 226 94 5 0 0;
#X obj 226 118 dbtorms;
#X floatatom 305 94 5 0 0;
#X obj 305 118 dbtorms;
#X floatatom 384 93 5 0 0;
#X obj 384 117 dbtorms;
#X msg 226 150 coef 2 \$1;
#X msg 305 150 coef 3 \$1;
#X msg 384 150 coef 4 \$1;
#X text 96 3 chebyshev waveshaper;
#X text 207 229 creation argument: order of polynomial;
#X text 135 47 coef n x sets coefficient of nth order cheby poly to
x;
#X text 135 60 if the input is a sine wave \, these are the amplitudes
for the harmonics.;
#X connect 0 0 5 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 5 0 4 1;
#X connect 5 0 4 0;
#X connect 6 0 5 1;
#X connect 7 0 0 0;
#X connect 8 0 7 0;
#X connect 9 0 10 0;
#X connect 10 0 15 0;
#X connect 11 0 12 0;
#X connect 12 0 16 0;
#X connect 13 0 14 0;
#X connect 14 0 17 0;
#X connect 15 0 0 0;
#X connect 16 0 0 0;
#X connect 17 0 0 0;