aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/pd-help/vasp_flp.pd
blob: ab720f991de9216dfc704696d7449c556b507454 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#N canvas 47 54 883 546 10;
#X obj 71 32 cnv 15 15 15 empty empty vasp.flp 0 10 1 14 -262144 -1
0;
#X obj 76 247 vasp.update;
#X obj 76 224 vasp.* 0.5;
#X obj 401 449 dac~;
#X obj 401 405 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 423 404 play;
#N canvas 40 55 281 170 clear_buffer 0;
#X obj 54 79 vasp.update;
#X obj 54 56 vasp.= 0;
#X obj 54 26 inlet;
#X obj 54 108 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X restore 533 449 pd clear_buffer;
#X text 180 178 generate white noise;
#X obj 76 201 vasp.noise;
#X obj 76 270 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#N canvas 92 108 343 268 init 0;
#X obj 110 180 s \$0-sample-length;
#X msg 177 126 resize \$1;
#X obj 177 79 loadbang;
#X msg 177 100 88200;
#X obj 177 148 s bufflp;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 3 0 0 0;
#X restore 672 447 pd init;
#N canvas 0 0 456 306 Hz_to_period_length 0;
#X floatatom 125 242 0 0 0;
#X obj 125 142 t b f;
#X text 158 223 period length in samples (float);
#X floatatom 125 80 0 0 0;
#X obj 125 206 / 1;
#X text 170 79 frequency in Hz;
#X obj 53 142 samplerate~;
#X obj 53 119 loadbang;
#X floatatom 125 175 5 0 0;
#X connect 1 0 8 0;
#X connect 1 1 4 1;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 6 0 8 0;
#X connect 7 0 6 0;
#X connect 8 0 4 0;
#X restore 78 457 pd Hz_to_period_length;
#X text 70 78 first argument: cutoff frequency in period length;
#X text 70 92 second argument: q-factor from 1 to infinite (integer)
default 1;
#X text 70 119 right inlet: cutoff and q-factor (list);
#X text 71 63 vasp low pass filter (FIR);
#X msg 76 179 vasp bufflp;
#X obj 428 165 wavedisplay-simple bufflp \$0;
#X msg 533 426 vasp bufflp;
#X obj 401 426 tabplay~ bufflp;
#X obj 78 496 VASP-HELP;
#X obj 77 371 vasp.update;
#X obj 77 394 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X floatatom 201 298 5 0 0;
#X floatatom 260 298 5 0 0;
#X text 195 278 cutoff;
#X text 261 277 q-factor;
#X obj 201 318 pack;
#X msg 77 297 vasp bufflp;
#X obj 77 347 vasp.flp 220;
#X connect 1 0 9 0;
#X connect 2 0 1 0;
#X connect 4 0 19 0;
#X connect 8 0 2 0;
#X connect 16 0 8 0;
#X connect 18 0 6 0;
#X connect 19 0 3 0;
#X connect 19 0 3 1;
#X connect 21 0 22 0;
#X connect 23 0 27 0;
#X connect 24 0 27 1;
#X connect 27 0 29 1;
#X connect 28 0 29 0;
#X connect 29 0 21 0;