diff options
Diffstat (limited to 'examples/gripdExamples.pd')
-rw-r--r-- | examples/gripdExamples.pd | 247 |
1 files changed, 247 insertions, 0 deletions
diff --git a/examples/gripdExamples.pd b/examples/gripdExamples.pd new file mode 100644 index 0000000..950cfa3 --- /dev/null +++ b/examples/gripdExamples.pd @@ -0,0 +1,247 @@ +#N canvas 249 58 823 654 10; +#X obj 19 198 r sbutton0; +#X obj 19 177 s rbutton0; +#X obj 138 176 s rtoggle0; +#X obj 138 197 r stoggle0; +#X msg 205 151 bang; +#X msg 243 151 New label; +#X msg 19 154 New label; +#X msg 170 151 1; +#X msg 138 151 0; +#X obj 23 278 s rslider0; +#X obj 23 299 r sslider0; +#X floatatom 23 257 4 0 0 0 - - -; +#X floatatom 23 320 4 0 0 0 - - -; +#X floatatom 110 257 4 0 0 0 - - -; +#X floatatom 110 320 4 0 0 0 - - -; +#X obj 110 278 s rslider1; +#X obj 110 299 r sslider1; +#X floatatom 215 257 4 0 0 0 - - -; +#X floatatom 215 299 4 0 0 0 - - -; +#X obj 215 278 s rgauge0; +#X obj 215 320 s rgauge1; +#X obj 293 283 s rtext0; +#X msg 334 262 New label; +#X floatatom 25 361 4 0 0 0 - - -; +#X floatatom 25 424 4 0 0 0 - - -; +#X obj 25 382 s rspinbutton0; +#X obj 25 403 r sspinbutton0; +#X floatatom 152 360 4 0 0 0 - - -; +#X obj 152 381 s rtextbox0; +#X msg 194 360 New text; +#X obj 152 403 r stextbox0; +#X floatatom 286 262 4 0 0 0 - - -; +#X obj 378 356 r smousearea0; +#X obj 324 406 change; +#X obj 375 405 change; +#X floatatom 324 427 4 0 0 0 - - -; +#X floatatom 375 426 4 0 0 0 - - -; +#X floatatom 697 45 7 0 0 0 - - -; +#X floatatom 698 83 5 0 0 0 - - -; +#X obj 17 480 r sradiobutton0; +#X obj 137 501 s rradiobutton0; +#X msg 137 480 bang; +#X msg 137 522 bang; +#X msg 137 564 bang; +#X obj 137 597 s rradiobutton2; +#X obj 137 543 s rradiobutton1; +#X obj 17 522 r sradiobutton1; +#X obj 17 566 r sradiobutton2; +#X obj 698 62 r joy0button0; +#X floatatom 21 131 5 0 0 0 - - -; +#X obj 697 24 r joy0axis0; +#X obj 588 23 r keystroke; +#X obj 616 519 s rimage0; +#X msg 628 495 ./clickme.jpg; +#X text 615 558 relative to directory; +#X text 615 576 containing .gpd file; +#X msg 616 472 ./poof.jpg; +#X text 615 594 Must use ./ or ../ to; +#X text 615 612 specify a relative path; +#X text 252 6 <- click here to open GUI; +#X text 615 539 Relative image paths are; +#X text 256 45 relative to directory; +#X text 256 81 Must use ./ or ../ to; +#X text 256 99 specify a relative path; +#X text 256 26 Relative paths are; +#X text 255 62 containing PD executable; +#X obj 378 377 unpack f f f f; +#X floatatom 426 405 4 0 0 0 - - -; +#X floatatom 503 405 4 0 0 0 - - -; +#X text 324 442 x \, y position; +#X text 426 421 0 - left; +#X text 426 432 1 - middle; +#X text 426 443 2 - right; +#X text 504 421 1 - down; +#X text 504 432 0 - up; +#X floatatom 76 110 5 0 0 0 - - -; +#X obj 588 45 unpack; +#X floatatom 588 72 7 0 0 0 - - -; +#X floatatom 644 72 5 0 0 0 - - -; +#X msg 39 29 show; +#X msg 76 29 hide; +#X obj 532 225 r midi0note; +#X obj 532 250 unpack f f f; +#X floatatom 532 275 5 0 0 0 - - -; +#X floatatom 575 275 5 0 0 0 - - -; +#X floatatom 618 275 5 0 0 0 - - -; +#X floatatom 659 274 5 0 0 0 - - -; +#X floatatom 702 274 5 0 0 0 - - -; +#X obj 659 224 r midi0ctl; +#X floatatom 533 200 5 0 0 0 - - -; +#X floatatom 576 200 5 0 0 0 - - -; +#X obj 533 175 unpack; +#X obj 533 150 r midi0pgm; +#X text 63 131 <- connection status; +#X text 116 108 <- shown or hidden; +#X msg 262 360 bang; +#X text 298 361 <- clear; +#X obj 326 536 change; +#X obj 377 535 change; +#X floatatom 326 557 4 0 0 0 - - -; +#X floatatom 377 556 4 0 0 0 - - -; +#X obj 380 507 unpack f f f f; +#X floatatom 428 535 4 0 0 0 - - -; +#X floatatom 505 535 4 0 0 0 - - -; +#X text 326 572 x \, y position; +#X text 428 551 0 - left; +#X text 428 562 1 - middle; +#X text 428 573 2 - right; +#X text 506 551 1 - down; +#X text 506 562 0 - up; +#X obj 380 483 r simage0; +#X msg 21 6 open ../gripd/examples/gripd.gpd; +#X obj 659 249 unpack f f f; +#X floatatom 742 274 5 0 0 0 - - -; +#X msg 549 498 show; +#X msg 576 472 hide; +#X msg 386 151 bang; +#X msg 436 151 New label; +#X msg 349 151 1; +#X msg 319 151 0; +#X obj 319 178 s rcheckbox0; +#X obj 319 200 r scheckbox0; +#X msg 17 501 0; +#X msg 17 543 1; +#X msg 17 587 2; +#X floatatom 17 617 5 0 0 0 - - -; +#X obj 19 219 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 138 221 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 319 224 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 631 416 s rgraph0; +#X floatatom 631 343 5 0 0 0 - - -; +#X obj 631 383 pack; +#X floatatom 674 343 5 0 0 0 - - -; +#X floatatom 682 390 5 0 0 0 - - -; +#X obj 21 86 gripd 3490; +#X text 724 390 <- set size; +#X obj 631 361 i; +#X obj 674 364 t b f; +#X obj 547 344 r sgraph0; +#X obj 547 367 unpack; +#X floatatom 547 392 5 0 0 0 - - -; +#X floatatom 587 392 5 0 0 0 - - -; +#X msg 124 33 openpanel; +#X msg 124 57 savepanel; +#X text 629 325 set data: index \, value; +#X obj 152 425 print textbox; +#X obj 456 71 r openpanel; +#X obj 456 98 print openpanel; +#X obj 458 21 r savepanel; +#X obj 458 48 print savepanel; +#X msg 453 263 New label; +#X floatatom 405 263 4 0 0 0 - - -; +#X obj 412 284 s rrectangle0; +#X connect 0 0 126 0; +#X connect 3 0 127 0; +#X connect 4 0 2 0; +#X connect 5 0 2 0; +#X connect 6 0 1 0; +#X connect 7 0 2 0; +#X connect 8 0 2 0; +#X connect 10 0 12 0; +#X connect 11 0 9 0; +#X connect 13 0 15 0; +#X connect 16 0 14 0; +#X connect 17 0 19 0; +#X connect 18 0 20 0; +#X connect 22 0 21 0; +#X connect 23 0 25 0; +#X connect 26 0 24 0; +#X connect 27 0 28 0; +#X connect 29 0 28 0; +#X connect 30 0 145 0; +#X connect 31 0 21 0; +#X connect 32 0 66 0; +#X connect 33 0 35 0; +#X connect 34 0 36 0; +#X connect 39 0 122 0; +#X connect 41 0 40 0; +#X connect 42 0 45 0; +#X connect 43 0 44 0; +#X connect 46 0 123 0; +#X connect 47 0 124 0; +#X connect 48 0 38 0; +#X connect 50 0 37 0; +#X connect 51 0 76 0; +#X connect 53 0 52 0; +#X connect 56 0 52 0; +#X connect 66 0 33 0; +#X connect 66 1 34 0; +#X connect 66 2 67 0; +#X connect 66 3 68 0; +#X connect 76 0 77 0; +#X connect 76 1 78 0; +#X connect 79 0 134 0; +#X connect 80 0 134 0; +#X connect 81 0 82 0; +#X connect 82 0 83 0; +#X connect 82 1 84 0; +#X connect 82 2 85 0; +#X connect 88 0 112 0; +#X connect 91 0 89 0; +#X connect 91 1 90 0; +#X connect 92 0 91 0; +#X connect 95 0 28 0; +#X connect 97 0 99 0; +#X connect 98 0 100 0; +#X connect 101 0 97 0; +#X connect 101 1 98 0; +#X connect 101 2 102 0; +#X connect 101 3 103 0; +#X connect 110 0 101 0; +#X connect 111 0 134 0; +#X connect 112 0 86 0; +#X connect 112 1 87 0; +#X connect 112 2 113 0; +#X connect 114 0 52 0; +#X connect 115 0 52 0; +#X connect 116 0 120 0; +#X connect 117 0 120 0; +#X connect 118 0 120 0; +#X connect 119 0 120 0; +#X connect 121 0 128 0; +#X connect 122 0 125 0; +#X connect 123 0 125 0; +#X connect 124 0 125 0; +#X connect 130 0 136 0; +#X connect 131 0 129 0; +#X connect 132 0 137 0; +#X connect 133 0 129 0; +#X connect 134 0 49 0; +#X connect 134 1 75 0; +#X connect 136 0 131 0; +#X connect 137 0 136 0; +#X connect 137 1 131 1; +#X connect 138 0 139 0; +#X connect 139 0 140 0; +#X connect 139 1 141 0; +#X connect 142 0 134 0; +#X connect 143 0 134 0; +#X connect 146 0 147 0; +#X connect 148 0 149 0; +#X connect 150 0 152 0; +#X connect 151 0 152 0; |