diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-10 05:52:11 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-10 05:52:11 +0000 |
commit | ceac394c2133d44e81db2eb633ff54a9ad6ce7c5 (patch) | |
tree | adc534407af80a976263c907897907cb13ef1c82 /examples |
This commit was generated by cvs2svn to compensate for changes in r3865,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/extensions/gripd/; revision=3866
Diffstat (limited to 'examples')
-rw-r--r-- | examples/clickme.jpg | bin | 0 -> 2798 bytes | |||
-rw-r--r-- | examples/fmlogo.gif | bin | 0 -> 6459 bytes | |||
-rw-r--r-- | examples/fmsynth.gpd | 442 | ||||
-rw-r--r-- | examples/gripd.gpd | 380 | ||||
-rw-r--r-- | examples/gripd.pd | 73 | ||||
-rw-r--r-- | examples/gripdExamples.pd | 247 | ||||
-rw-r--r-- | examples/gripdFM.pd | 135 | ||||
-rw-r--r-- | examples/poof.jpg | bin | 0 -> 2065 bytes | |||
-rw-r--r-- | examples/scale.gif | bin | 0 -> 2240 bytes | |||
-rw-r--r-- | examples/scale2.gif | bin | 0 -> 2296 bytes | |||
-rw-r--r-- | examples/screw.gif | bin | 0 -> 1181 bytes |
11 files changed, 1277 insertions, 0 deletions
diff --git a/examples/clickme.jpg b/examples/clickme.jpg Binary files differnew file mode 100644 index 0000000..50419c3 --- /dev/null +++ b/examples/clickme.jpg diff --git a/examples/fmlogo.gif b/examples/fmlogo.gif Binary files differnew file mode 100644 index 0000000..9fe5503 --- /dev/null +++ b/examples/fmlogo.gif diff --git a/examples/fmsynth.gpd b/examples/fmsynth.gpd new file mode 100644 index 0000000..e6b25b4 --- /dev/null +++ b/examples/fmsynth.gpd @@ -0,0 +1,442 @@ +328 +467 +#c0c0c0 +localhost +32781|1|2|5|10|0|1|FM Synth|0|0|0|0|1|5|0 +4 + +16 +57 +294 +259 +srectangle0 +rrectangle0 +#c0c0c0 +#000080 +22 +74 +93 +90 +0 +Arial +!END-CONTROL +5 +Carrier Freq +38 +105 +67 +20 +stext0 +rtext0 +#c0c0c0 +#000000 +12 +74 +90 +90 +0 +Arial +!END-CONTROL +2 +100 +34 +124 +24 +139 +carrier +rslider0 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Sans Serif +100 +5000 +1 +!END-CONTROL +5 +Mod Freq +141 +105 +59 +20 +stext0 +rtext0 +#c0c0c0 +#000000 +12 +74 +90 +90 +0 +Arial +!END-CONTROL +2 +0 +140 +124 +24 +139 +mod +rslider0 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Sans Serif +0 +500 +1 +!END-CONTROL +5 +Index +235 +105 +52 +20 +stext0 +rtext0 +#c0c0c0 +#000000 +12 +74 +90 +90 +0 +Arial +!END-CONTROL +2 +0 +243 +124 +24 +139 +index +rslider0 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Sans Serif +0 +1000 +1 +!END-CONTROL +5 +Amplitude: +34 +340 +73 +20 +stext2 +rtext2 +#c0c0c0 +#000000 +12 +74 +90 +90 +0 +Arial +!END-CONTROL +3 +0 +35 +364 +140 +24 +amp +rslider1 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Sans Serif +0 +100 +1 +!END-CONTROL +14 +./fmlogo.gif +77 +5 +180 +48 +simage3 +rimage3 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./scale.gif +58 +124 +23 +139 +simage7 +rimage7 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./scale.gif +164 +124 +23 +139 +simage7 +rimage7 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./scale.gif +268 +124 +23 +139 +simage7 +rimage7 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./scale2.gif +36 +389 +139 +23 +simage48 +rimage48 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +4 + +16 +309 +294 +124 +srectangle10 +rrectangle10 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +9 +100 +36 +267 +34 +20 +stextbox0 +carrier +#d6dcf8 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +9 +0 +142 +267 +34 +20 +stextbox0 +mod +#d6dcf8 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +9 +0 +245 +267 +34 +20 +stextbox0 +index +#d6dcf8 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +9 +0 +113 +337 +34 +20 +stextbox0 +amp +#d6dcf8 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./screw.gif +3 +2 +19 +19 +simage5 +rimage5 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./screw.gif +305 +2 +19 +19 +simage5 +rimage5 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./screw.gif +305 +438 +19 +19 +simage5 +rimage5 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +14 +./screw.gif +3 +438 +19 +19 +simage5 +rimage5 +#c0c0c0 +#000000 +8 +74 +90 +90 +0 +MS Shell Dlg +!END-CONTROL +1 +Mute +216 +381 +81 +35 +mute +rtoggle0 +#c0c0c0 +#000000 +14 +74 +90 +90 +0 +Arial +!END-CONTROL +1 +On/Off +216 +333 +81 +35 +onoff +rtoggle0 +#c0c0c0 +#000000 +14 +74 +90 +90 +0 +Arial +!END-CONTROL diff --git a/examples/gripd.gpd b/examples/gripd.gpd new file mode 100644 index 0000000..4aa7645 --- /dev/null +++ b/examples/gripd.gpd @@ -0,0 +1,380 @@ +493 +433 +#c3c3c3 +localhost +3490|/dev/js0|/dev/js1|5|10|1|1|GrIPD|0|0|0|0|1|5|1 +4 +rectangle0 +15 +5 +462 +358 +srectangle0 +rrectangle0 +#828282 +#303030 +12 +74 +90 +90 +0 + +!END-CONTROL +0 +button0 +37 +37 +80 +22 +sbutton0 +rbutton0 +#828282 +#303030 +12 +74 +90 +90 +0 + +!END-CONTROL +1 +toggle0 +59 +75 +80 +22 +stoggle0 +rtoggle0 +#828282 +#303030 +12 +74 +90 +90 +0 + +!END-CONTROL +2 +100 +271 +31 +30 +80 +sslider0 +rslider0 +#828282 +#303030 +12 +74 +90 +90 +0 + +0 +100 +1 +!END-CONTROL +3 +0 +276 +110 +80 +30 +sslider1 +rslider1 +#828282 +#303030 +12 +74 +90 +90 +0 + +0 +100 +1 +!END-CONTROL +6 +0 +33 +225 +30 +80 +sgauge0 +rgauge0 +#a2a2a2 +#303030 +12 +74 +90 +90 +0 + +0 +100 +0 +!END-CONTROL +7 +0 +34 +313 +80 +30 +sgauge1 +rgauge1 +#a2a2a2 +#303030 +12 +74 +90 +90 +0 + +0 +100 +0 +!END-CONTROL +8 +checkbox0 +109 +232 +85 +24 +scheckbox0 +rcheckbox0 +#828282 +#303030 +12 +74 +90 +90 +0 + +!END-CONTROL +5 +text0 +167 +34 +79 +14 +stext0 +rtext0 +#828282 +#303030 +12 +74 +90 +90 +0 + +!END-CONTROL +10 +0 +96 +113 +15 +26 +sspinbutton0 +rspinbutton0 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +0 +100 +0 +!END-CONTROL +9 + +41 +183 +80 +22 +stextbox0 +rtextbox0 +#ffffff +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +5 +<- "Enter" to send +118 +185 +120 +15 +stext1 +rtext1 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +11 + +265 +155 +100 +100 +smousearea0 +rmousearea0 +#9a9a9a +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +5 +<- Left click and +363 +170 +96 +19 +stext2 +rtext2 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +5 +drag to track +380 +185 +80 +16 +stext4 +rtext4 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +5 +mouse position +384 +200 +83 +22 +stext5 +rtext5 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +13 +radiobutton0 +164 +87 +93 +24 +sradiobutton0 +rradiobutton0 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +12 +radiobutton1 +164 +112 +93 +24 +sradiobutton1 +rradiobutton1 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +12 +radiobutton2 +164 +137 +93 +24 +sradiobutton2 +rradiobutton2 +#c3c3c3 +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +14 +./clickme.jpg +178 +276 +192 +71 +simage0 +rimage0 +#dddddd +#000000 +12 +74 +90 +90 +0 + +!END-CONTROL +15 + +366 +26 +100 +100 +sgraph0 +rgraph0 +#000000 +#00ff00 +12 +74 +90 +90 +0 + +-1.0 +1.0 +[100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +!END-CONTROL diff --git a/examples/gripd.pd b/examples/gripd.pd new file mode 100644 index 0000000..42c75ed --- /dev/null +++ b/examples/gripd.pd @@ -0,0 +1,73 @@ +#N canvas 420 51 695 867 10; +#X obj 22 747 gripd; +#X msg 23 40 connect; +#X msg 38 75 disconnect; +#X msg 117 445 poll_send 5; +#X msg 124 470 poll_receive 5; +#X msg 126 501 set_path ../gripd; +#X msg 89 631 set_python_path c:/program files/python; +#X text 369 661 "c:/program files/python" by default.; +#X text 372 678 Linux: Does nothing.; +#X text 229 471 Time in ms to poll for info from GUI.; +#X text 199 446 Time in ms to poll for sending info to GUI.; +#X text 62 747 Takes one optional argument to specify a port.; +#X text 82 15 all backslashes must be "/".; +#X text 19 2 Windows: For paths \, spaces are ok \, but; +#X text 120 67 Set gripd object to stop waiting for a connection.; +#X text 121 80 Also closes gripd GUI opened by "open <filename>".; +#X text 86 34 Set gripd object to wait for a connection (Not needed +with "open" message.); +#X floatatom 22 802 5 0 0 0 - - -; +#X msg 105 376 lock; +#X msg 115 407 unlock; +#X msg 49 112 open ../gripd/examples/gripd.gpd; +#X msg 52 219 open_locked ../gripd/examples/gripd.gpd; +#X text 144 376 Set GUI to lock mode; +#X text 164 407 Set GUI to normal (editable) mode; +#X text 283 168 Relative paths are relative to the directory; +#X text 283 180 containing PD executable.; +#X text 255 568 Relative paths are relative to the directory; +#X text 254 583 containing PD executable.; +#X text 68 803 left outlet: 1 on connect \, 0 on disconnect; +#X floatatom 52 780 5 0 0 0 - - -; +#X text 96 781 right outlet: 1 when shown \, 0 when hidden; +#X msg 59 248 show; +#X msg 68 276 hide; +#X text 96 249 show GUI window when hidden; +#X text 106 275 hide GUI window when shown; +#X text 372 645 Normally not needed (used for gripd.py); +#X text 371 629 Windows: Path to directory containing python.exe.; +#X text 283 108 Open gripd GUI and optional .gpd file \, and connect. +; +#X text 330 219 Open gripd GUI in locked mode; +#X text 348 135 If it fails tries gripd.py via python.exe.; +#X text 284 121 Windows: first tries to execute gripd.exe.; +#X text 255 503 Path to directory containing gripd executable; +#X text 255 519 "../gripd" by default; +#X text 254 535 Windows: sets path to file gripd.exe (and gripd.py). +; +#X text 255 552 Linux: sets path to file gripd (symlink to gripd.py). +; +#X text 284 155 Linux: executes file gripd; +#X msg 79 309 openpanel; +#X msg 89 340 savepanel; +#X text 156 340 open a save file dialog and send file to savepanel +receive symbol; +#X text 152 303 open an open file dialog and send file to openpanel +receive symbol; +#X connect 0 0 17 0; +#X connect 0 1 29 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 6 0 0 0; +#X connect 18 0 0 0; +#X connect 19 0 0 0; +#X connect 20 0 0 0; +#X connect 21 0 0 0; +#X connect 31 0 0 0; +#X connect 32 0 0 0; +#X connect 46 0 0 0; +#X connect 47 0 0 0; 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; diff --git a/examples/gripdFM.pd b/examples/gripdFM.pd new file mode 100644 index 0000000..28cccf6 --- /dev/null +++ b/examples/gripdFM.pd @@ -0,0 +1,135 @@ +#N canvas 660 45 549 445 10; +#X obj 202 183 *~; +#X floatatom 202 126 0 0 0 0 - - -; +#X obj 267 161 line~; +#X floatatom 114 146 0 0 0 0 - - -; +#X obj 114 268 cos~; +#X obj 114 216 +~; +#X floatatom 143 316 0 0 0 0 - - -; +#N canvas 159 26 495 270 output 0; +#X obj 338 160 t b; +#X obj 338 110 f; +#X obj 338 60 inlet; +#X text 344 29 mute; +#X obj 338 185 f; +#X msg 425 178 0; +#X msg 338 85 bang; +#X obj 338 135 moses 1; +#X obj 425 153 t b f; +#X obj 397 117 moses 1; +#X obj 83 148 dbtorms; +#X obj 397 92 r master-lvl; +#X obj 83 42 r master-lvl; +#X obj 338 210 s master-lvl; +#X obj 22 182 inlet~; +#X obj 199 41 inlet; +#X text 199 18 level; +#X obj 199 100 s master-lvl; +#X msg 96 65 set \$1; +#X obj 96 89 outlet; +#X msg 214 64 \; pd dsp 1; +#X obj 83 194 line~; +#X obj 22 212 *~; +#X obj 22 241 dac~; +#X obj 83 171 pack 0 50; +#X text 20 159 audio; +#X text 93 110 show level; +#X connect 0 0 4 0; +#X connect 1 0 7 0; +#X connect 2 0 6 0; +#X connect 4 0 13 0; +#X connect 5 0 13 0; +#X connect 6 0 1 0; +#X connect 7 0 0 0; +#X connect 7 1 8 0; +#X connect 8 0 5 0; +#X connect 9 1 4 1; +#X connect 10 0 24 0; +#X connect 11 0 1 1; +#X connect 11 0 9 0; +#X connect 12 0 10 0; +#X connect 12 0 18 0; +#X connect 14 0 22 0; +#X connect 15 0 17 0; +#X connect 15 0 20 0; +#X connect 18 0 19 0; +#X connect 21 0 22 1; +#X connect 22 0 23 0; +#X connect 22 0 23 1; +#X connect 24 0 21 0; +#X restore 114 344 pd output; +#X msg 172 316 MUTE; +#X text 213 316 <-- output amplitude; +#X msg 229 262 bang; +#X text 266 263 <-- click to graph; +#X obj 114 173 phasor~ 0; +#X obj 202 151 osc~ 0; +#X text 33 8 PHASE MODULATION ("FM") USING TWO OSCILLATORS; +#X obj 229 286 tabwrite~ fm-output; +#X obj 267 135 pack 0 50; +#X floatatom 267 82 0 0 0 0 - - -; +#X obj 267 109 / 100; +#X text 263 50 modulation index; +#X text 263 65 in hundredths; +#X text 111 103 carrier; +#X text 110 121 frequency; +#X text 187 102 frequency; +#X text 188 85 modulation; +#X text 310 160 <-- signal with smoothed; +#X text 312 176 modulation index to avoid clicks; +#X text 188 345 <-- as in previous patch; +#X text 199 205 amplitude-controlled modulation; +#X text 200 222 oscillator output; +#X text 37 158 carrier; +#X text 37 173 phase -->; +#X text 18 201 phase; +#X text 17 216 modulation-->; +#X text 14 252 output; +#X text 15 268 waveform -->; +#X obj 51 81 r carrier; +#X obj 148 65 r mod; +#X obj 207 30 r index; +#X obj 129 291 r amp; +#X obj 172 245 r mute; +#X msg 438 85 \; pd dsp \$1; +#X obj 438 52 r onoff; +#X obj 27 402 gripd; +#X text 329 377 <-- Click; +#X text 341 402 open GUI; +#X text 347 389 here to; +#N canvas 132 85 450 293 array 0; +#N canvas 0 0 450 300 graph1 0; +#X array fm-output 100 float 0; +#X coords 0 1 99 -1 200 140 1; +#X restore 100 20 graph; +#X restore 417 256 pd array; +#X msg 27 374 open_locked ../gripd/examples/fmsynth.gpd; +#X msg 67 402 show; +#X msg 100 402 unlock; +#X msg 150 402 lock; +#X connect 0 0 5 1; +#X connect 1 0 13 0; +#X connect 2 0 0 1; +#X connect 3 0 12 0; +#X connect 4 0 15 0; +#X connect 4 0 7 0; +#X connect 5 0 4 0; +#X connect 6 0 7 1; +#X connect 7 0 6 0; +#X connect 8 0 7 2; +#X connect 10 0 15 0; +#X connect 12 0 5 0; +#X connect 13 0 0 0; +#X connect 16 0 2 0; +#X connect 17 0 18 0; +#X connect 18 0 16 0; +#X connect 36 0 3 0; +#X connect 37 0 1 0; +#X connect 38 0 17 0; +#X connect 39 0 6 0; +#X connect 40 0 8 0; +#X connect 42 0 41 0; +#X connect 48 0 43 0; +#X connect 49 0 43 0; +#X connect 50 0 43 0; +#X connect 51 0 43 0; diff --git a/examples/poof.jpg b/examples/poof.jpg Binary files differnew file mode 100644 index 0000000..d15a262 --- /dev/null +++ b/examples/poof.jpg diff --git a/examples/scale.gif b/examples/scale.gif Binary files differnew file mode 100644 index 0000000..61c6def --- /dev/null +++ b/examples/scale.gif diff --git a/examples/scale2.gif b/examples/scale2.gif Binary files differnew file mode 100644 index 0000000..95d1e95 --- /dev/null +++ b/examples/scale2.gif diff --git a/examples/screw.gif b/examples/screw.gif Binary files differnew file mode 100644 index 0000000..1ebd9ae --- /dev/null +++ b/examples/screw.gif |