aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/pd-help/vasp_rect.pd
blob: 77f74d9fcfab535f3acd01c18d1b920fb194ca5c (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
87
#N canvas 15 40 916 673 10;
#N canvas 92 108 375 293 inside 0;
#X obj 66 154 soundfiler;
#X obj 184 208 s \$0-sample-length;
#X obj 66 208 s \$0-draw_display;
#X msg 221 138 resize \$1;
#X obj 221 91 loadbang;
#X obj 67 53 loadbang;
#X msg 221 112 88200;
#X obj 67 101 filelisthandler \$0;
#X msg 67 79 4;
#X obj 221 160 s bufrect1;
#X obj 231 184 s bufrect2;
#X msg 67 133 read \$1 bufrect1;
#X obj 66 178 t b;
#X connect 0 0 12 0;
#X connect 3 0 9 0;
#X connect 3 0 10 0;
#X connect 4 0 6 0;
#X connect 5 0 8 0;
#X connect 6 0 3 0;
#X connect 6 0 1 0;
#X connect 7 0 11 0;
#X connect 8 0 7 0;
#X connect 11 0 0 0;
#X connect 12 0 2 0;
#X restore 777 531 pd inside;
#X obj 75 32 cnv 15 15 15 empty empty vasp.rect 0 10 1 14 -262144 -1
0;
#X obj 72 91 filelist \$0;
#X obj 59 327 vasp.update;
#X obj 59 347 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X obj 59 220 vasp.cfft;
#X obj 59 240 vasp.update;
#X obj 59 260 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X text 205 573 <-- click to open;
#N canvas 0 0 413 295 clear_buffers 0;
#X obj 49 73 vasp.= 0;
#X obj 49 49 inlet;
#X obj 49 97 vasp.u;
#X obj 49 118 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X restore 567 527 pd clear_buffers;
#X text 567 482 clear;
#X obj 59 306 vasp.polar;
#X text 229 283 real/imaginary -> amplitude/phase;
#X obj 59 573 phase-random_example;
#X text 71 53 polar to cartesian coordinate conversion;
#X obj 512 116 wavedisplay-simple bufrect1 \$0;
#X obj 514 261 wavedisplay-simple bufrect2 \$0;
#X text 738 94 real/amplitude;
#X text 729 240 imaginary/phase;
#X msg 59 200 vasp bufrect1 bufrect2;
#X text 230 201 transform with cfft to real/imaginary;
#X obj 59 418 vasp.update;
#X obj 59 438 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X obj 59 496 vasp.cfft;
#X obj 59 516 vasp.update;
#X obj 59 536 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X msg 59 476 vasp bufrect1 bufrect2;
#X obj 59 397 vasp.rect;
#X text 223 374 amplitude/phase -> real/imaginary;
#X text 231 477 transform with inverse cfft to time domain;
#X msg 567 504 vasp bufrect1 bufrect2;
#X msg 59 285 vasp bufrect1 bufrect2;
#X msg 59 376 vasp bufrect1 bufrect2;
#X obj 58 622 VASP-HELP;
#X connect 3 0 4 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 11 0 3 0;
#X connect 19 0 5 0;
#X connect 21 0 22 0;
#X connect 23 0 24 0;
#X connect 24 0 25 0;
#X connect 26 0 23 0;
#X connect 27 0 21 0;
#X connect 30 0 9 0;
#X connect 31 0 11 0;
#X connect 32 0 27 0;