diff --git a/pd/doc/5.reference/objectinfo-help.pd b/pd/doc/5.reference/objectinfo-help.pd new file mode 100644 index 0000000000000000000000000000000000000000..ad0ff73c964e19d5a0bb22d67d905660e5185271 --- /dev/null +++ b/pd/doc/5.reference/objectinfo-help.pd @@ -0,0 +1,89 @@ +#N canvas 0 19 555 619 10; +#X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0 +14 -228856 -66577 0; +#X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header objectinfo 3 12 +0 18 -204280 -1 0; +#X obj 0 403 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13 +-228856 -1 0; +#N canvas 456 104 482 506 META 0; +#X text 12 175 LIBRARY internal; +#X text 12 25 LICENSE SIBSD; +#X text 12 235 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch +to conform to the PDDP template for Pd version 0.42.; +#X text 12 135 OUTLET_0 list; +#X text 12 195 AUTHOR Jonathan Wilkes; +#X text 12 215 RELEASE_DATE 2013; +#X text 12 5 KEYWORDS canvas_op; +#X text 12 45 DESCRIPTION get info on a Pd object on a canvas; +#X text 12 75 INLET_0 print bbox boxtext class inlets outlets version +; +#X text 12 95 INLET_1 float; +#X text 12 115 INLET_2 float; +#X text 12 155 OUTLET_1 bang; +#X restore 500 597 pd META; +#X obj 0 478 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0 +13 -228856 -1 0; +#X obj 0 515 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12 +0 13 -228856 -1 0; +#X obj 0 555 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12 +0 13 -228856 -1 0; +#X obj 78 411 cnv 17 3 30 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +-162280 0; +#N canvas 102 481 428 108 Related_objects 0; +#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 +14 -204280 -1 0; +#X text 7 1 [objectinfo] Related Objects; +#X obj 22 36 pdinfo; +#X obj 72 36 classinfo; +#X obj 142 36 canvasinfo; +#X restore 101 597 pd Related_objects; +#X obj 78 487 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +-162280 0; +#X obj 4 597 pddp/pddplink all_about_help_patches.pd -text Usage Guide +; +#X msg 39 62 print; +#X text 80 61 print all attributes to the console; +#X msg 101 232 version; +#X text 98 410 print; +#X text 168 410 - print out each available message (other than "print") +followed by a semicolon and the output for that method.; +#X text 99 487 list; +#X text 169 487 - output varies depending on the message sent to [pdinfo] +; +#X text 11 20 get info about a Pd object; +#X obj 473 7 objectinfo; +#X obj 39 323 objectinfo; +#X msg 72 92 bbox; +#X text 114 91 list of coordinates-- x1 y1 x2 y2-- for the bounding +rectangle of the object on the canvas.; +#X msg 78 122 boxtext; +#X text 137 121 list of atoms that appear in the object box; +#X msg 89 152 class; +#X text 136 152 class of the object; +#X msg 92 182 inlets; +#X text 141 181 number of inlets the object has; +#X msg 95 209 outlets; +#X text 151 208 number of outlets the object has; +#X floatatom 98 269 5 0 0 0 - - -, f 5; +#X text 141 269 index number of the object you want to inspect; +#X floatatom 104 299 5 0 0 0 - - -, f 5; +#X text 141 299 canvas level: '0' for this canvas \, '1' for the parent +canvas \, etc.; +#X text 201 347 outputs a bang if there isn't an object at this index +; +#X obj 39 372 print object-info; +#X obj 96 347 print no-object; +#X text 168 450 objectinfo's available methods are shown above.; +#X text 81 532 1) float; +#X text 169 532 canvas level; +#X connect 11 0 20 0; +#X connect 13 0 20 0; +#X connect 20 0 36 0; +#X connect 20 1 37 0; +#X connect 21 0 20 0; +#X connect 23 0 20 0; +#X connect 25 0 20 0; +#X connect 27 0 20 0; +#X connect 29 0 20 0; +#X connect 31 0 20 1; +#X connect 33 0 20 2; diff --git a/pd/doc/5.reference/pdinfo-help.pd b/pd/doc/5.reference/pdinfo-help.pd index 0f18107a59d1709590e9d14f671985af043f68ba..848c778275781bc601a4d842fcb4320c57b09fbe 100644 --- a/pd/doc/5.reference/pdinfo-help.pd +++ b/pd/doc/5.reference/pdinfo-help.pd @@ -1,9 +1,9 @@ -#N canvas 308 59 555 619 10; +#N canvas -9 19 555 619 10; #X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0 14 -228856 -66577 0; #X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header pdinfo 3 12 0 18 -204280 -1 0; -#X obj 0 389 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13 +#X obj 0 353 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13 -228856 -1 0; #N canvas 34 81 482 506 META 0; #X text 12 175 LIBRARY internal; @@ -27,13 +27,13 @@ version; #X text 12 195 AUTHOR Jonathan Wilkes; #X text 12 215 RELEASE_DATE 2013; #X restore 500 597 pd META; -#X obj 0 486 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0 +#X obj 0 450 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0 13 -228856 -1 0; -#X obj 0 523 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12 +#X obj 0 487 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12 0 13 -228856 -1 0; -#X obj 0 563 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12 +#X obj 0 527 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12 0 13 -228856 -1 0; -#X obj 78 397 cnv 17 3 30 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +#X obj 78 361 cnv 17 3 30 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 -162280 0; #N canvas 102 481 428 108 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 @@ -41,28 +41,28 @@ version; #X obj 22 36 samplerate~; #X text 7 1 [pdinfo] Related Objects; #X restore 101 597 pd Related_objects; -#X obj 78 495 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +#X obj 78 459 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 -162280 0; #X obj 4 597 pddp/pddplink all_about_help_patches.pd -text Usage Guide ; #X text 11 20 get info from the global Pd instance that's running; #X obj 503 7 pdinfo; -#X obj 39 286 pdinfo; -#X msg 39 80 print; -#X text 80 79 print all attributes to the console; -#X msg 101 255 version; -#X obj 39 317 print pd-version; -#X text 155 254 version of Pd that's running (MAJOR MINOR TEST); -#X msg 95 232 samplerate; -#X text 169 231 global samplerate; -#X msg 78 145 dir; -#X text 107 144 directory of the Pd executable; -#X msg 72 115 blocksize; -#X text 144 114 global blocksize; -#X msg 92 205 pi; -#X text 121 204 value of Pi; -#X msg 89 175 dsp-status; -#X text 164 175 whether dsp is turned on (0 = off \, 1 = on); +#X obj 39 291 pdinfo; +#X msg 39 60 print; +#X text 80 59 print all attributes to the console; +#X msg 101 230 version; +#X obj 39 322 print pd-version; +#X text 155 229 version of Pd that's running (MAJOR MINOR TEST); +#X msg 95 207 samplerate; +#X text 169 206 global samplerate; +#X msg 78 120 dir; +#X text 107 119 directory of the Pd executable; +#X msg 72 90 blocksize; +#X text 144 89 global blocksize; +#X msg 92 180 pi; +#X text 121 179 value of Pi; +#X msg 89 150 dsp-status; +#X text 164 150 whether dsp is turned on (0 = off \, 1 = on); #N canvas 100 44 428 514 audio-attributes 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -204280 -1 0; @@ -107,7 +107,7 @@ version; #X connect 22 0 2 0; #X connect 24 0 22 0; #X connect 25 0 2 0; -#X restore 206 317 pd audio-attributes; +#X restore 206 322 pd audio-attributes; #N canvas 125 83 428 395 midi-attributes 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -204280 -1 0; @@ -139,16 +139,23 @@ version; #X connect 15 0 2 0; #X connect 16 0 2 0; #X connect 17 0 2 0; -#X restore 346 317 pd midi-attributes; -#X text 98 396 print; -#X text 168 396 - print out each available message (other than "print") +#X restore 346 322 pd midi-attributes; +#X text 98 360 print; +#X text 168 360 - print out each available message (other than "print") followed by a semicolon and the output for that method.; -#X text 99 495 list; -#X text 81 540 none; -#X text 168 436 pdinfo's available methods are shown above \, with +#X text 99 459 list; +#X text 81 504 none; +#X text 168 400 pdinfo's available methods are shown above \, with audio-device and midi-device message in subpatches.; -#X text 169 495 - output varies depending on the message sent to [pdinfo] +#X text 169 459 - output varies depending on the message sent to [pdinfo] ; +#X msg 101 260 classtable; +#X text 81 547 When using the "classtable" message \, note that some +external Pd classes don't have a name. These are currently listed simply +as "anonymous-class" in the output.; +#X text 175 259 (long) list of all classes that have been loaded in +the running instance of Pd. (Note: not all classes can be created in +an object box.); #X connect 13 0 17 0; #X connect 14 0 13 0; #X connect 16 0 13 0; @@ -157,3 +164,4 @@ audio-device and midi-device message in subpatches.; #X connect 23 0 13 0; #X connect 25 0 13 0; #X connect 27 0 13 0; +#X connect 37 0 13 0;