From 9815096db22c73cacdbb65512d1b61d633db7fa8 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 2 Dec 2002 19:21:08 +0000 Subject: "version 0.1.1" svn path=/trunk/; revision=267 --- externals/grill/vasp/pd-help/vasp_max.pd | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 externals/grill/vasp/pd-help/vasp_max.pd (limited to 'externals/grill/vasp/pd-help/vasp_max.pd') diff --git a/externals/grill/vasp/pd-help/vasp_max.pd b/externals/grill/vasp/pd-help/vasp_max.pd new file mode 100644 index 00000000..92e25c7e --- /dev/null +++ b/externals/grill/vasp/pd-help/vasp_max.pd @@ -0,0 +1,51 @@ +#N canvas 53 20 825 522 10; +#X obj 71 32 cnv 15 15 15 empty empty vasp.max 0 10 1 14 -262144 -1 +0; +#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 400 405 pd clear_buffer; +#N canvas 0 0 450 300 graph1 0; +#X array bufmax 88200 float 0; +#X coords 0 1 88199 -1 300 100 1; +#X restore 400 114 graph; +#N canvas 0 0 398 274 init 0; +#X obj 33 19 loadbang; +#X msg 33 73 \; \$1 xticks 0 4410 10 \; \$1 xlabel 1.1 0 22050 44100 +66150 88200 \; \$1 yticks 0 0.25 2 \; \$1 ylabel 94000 -1 -0.5 0 0.5 +1; +#X msg 33 43 symbol bufmax \, symbol bufmax1; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 675 411 pd init; +#X obj 73 144 vasp.osc 44100; +#X obj 73 167 vasp.update; +#X text 68 58 take maximum of vasp and argument; +#X text 70 75 argument/right inlet: value; +#X msg 73 123 vasp bufmax; +#N canvas 0 0 450 300 graph1 0; +#X array bufmax1 88200 float 0; +#X coords 0 1 88199 -1 300 100 1; +#X restore 400 251 graph; +#X text 625 70 source; +#X obj 72 281 vasp.= bufmax; +#X msg 72 255 vasp bufmax1; +#X obj 72 334 vasp.update; +#X msg 400 382 vasp bufmax bufmax1; +#X text 162 121 generate a sine wave at 1 Hz; +#X text 178 251 copy to new buffer; +#X obj 72 309 vasp.max -0.4; +#X obj 65 435 VASP-HELP; +#X text 177 327 set all values < -0.4 to -0.4; +#X connect 4 0 5 0; +#X connect 8 0 4 0; +#X connect 11 0 17 0; +#X connect 12 0 11 0; +#X connect 14 0 1 0; +#X connect 17 0 13 0; -- cgit v1.2.1