Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
f006d6d7
Commit
f006d6d7
authored
Jul 11, 2014
by
pokergaming
Browse files
added classtable method to pdinfo help and created help for objectinfo
parent
910869c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/doc/5.reference/objectinfo-help.pd
0 → 100644
View file @
f006d6d7
#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;
pd/doc/5.reference/pdinfo-help.pd
View file @
f006d6d7
#N canvas
308 5
9 555 619 10;
#N canvas
-9 1
9 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 3
89
cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
#X obj 0 3
53
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 4
86
cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
#X obj 0 4
50
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 5
63
cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12
#X obj 0 5
27
cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12
0 13 -228856 -1 0;
#X obj 78 3
97
cnv 17 3 30 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
#X obj 78 3
61
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 4
9
5 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
#X obj 78 45
9
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 2
86
pdinfo;
#X msg 39
8
0 print;
#X text 80
7
9 print all attributes to the console;
#X msg 101 2
55
version;
#X obj 39 3
17
print pd-version;
#X text 155 2
54
version of Pd that's running (MAJOR MINOR TEST);
#X msg 95 2
32
samplerate;
#X text 169 2
31
global samplerate;
#X msg 78 1
45
dir;
#X text 107 1
44
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 1
7
5 dsp-status;
#X text 164 1
7
5 whether dsp is turned on (0 = off \, 1 = on);
#X obj 39 2
91
pdinfo;
#X msg 39
6
0 print;
#X text 80
5
9 print all attributes to the console;
#X msg 101 2
30
version;
#X obj 39 3
22
print pd-version;
#X text 155 2
29
version of Pd that's running (MAJOR MINOR TEST);
#X msg 95 2
07
samplerate;
#X text 169 2
06
global samplerate;
#X msg 78 1
20
dir;
#X text 107 1
19
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 15
0
dsp-status;
#X text 164 15
0
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 3
17
pd audio-attributes;
#X restore 206 3
22
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 3
17
pd midi-attributes;
#X text 98 3
9
6 print;
#X text 168 3
9
6 - print out each available message (other than "print")
#X restore 346 3
22
pd midi-attributes;
#X text 98 36
0
print;
#X text 168 36
0
- print out each available message (other than "print")
followed by a semicolon and the output for that method.;
#X text 99 4
9
5 list;
#X text 81 5
4
0 none;
#X text 168 4
36
pdinfo's available methods are shown above \, with
#X text 99 45
9
list;
#X text 81 50
4
none;
#X text 168 4
00
pdinfo's available methods are shown above \, with
audio-device and midi-device message in subpatches.;
#X text 169 4
9
5 - output varies depending on the message sent to [pdinfo]
#X text 169 45
9
- 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;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment