Revision: 9605 http://pure-data.svn.sourceforge.net/pure-data/?rev=9605&view=rev Author: eighthave Date: 2008-03-17 17:08:04 -0700 (Mon, 17 Mar 2008)
Log Message: ----------- merged in changes from 0.41.2
Modified Paths: -------------- branches/pd-extended/v0-40/pd/doc/5.reference/help-intro.pd branches/pd-extended/v0-40/pd/doc/5.reference/my_canvas-help.pd branches/pd-extended/v0-40/pd/doc/5.reference/swap-help.pd branches/pd-extended/v0-40/pd/doc/5.reference/trigger-help.pd
Added Paths: ----------- branches/pd-extended/v0-40/pd/doc/5.reference/declare-help.pd
Copied: branches/pd-extended/v0-40/pd/doc/5.reference/declare-help.pd (from rev 9604, trunk/pd/doc/5.reference/declare-help.pd) =================================================================== --- branches/pd-extended/v0-40/pd/doc/5.reference/declare-help.pd (rev 0) +++ branches/pd-extended/v0-40/pd/doc/5.reference/declare-help.pd 2008-03-18 00:08:04 UTC (rev 9605) @@ -0,0 +1,33 @@ +#N canvas 103 177 618 583 12; +#X declare; +#X obj 48 10 declare; +#X text 120 11 - set environment for loading patch; +#X text 44 40 A declare object adds one or more directories to the +search path , and/or pre-loads one or more libraries ("extensions") +to Pd in preparation for opening the patch from a file. Usage is "declare +[-flag value] [-flag value] ..." where the flag can be:; +#X text 31 182 -lib; +#X text 31 198 -stdlib; +#X text 31 146 -path; +#X text 31 162 -stdpath; +#X text 129 146 add to search path , relative to the patch; +#X text 129 182 load a library , relative to the patch; +#X text 129 199 load a library , relative to Pd; +#X text 40 231 (for any of these you may use a full pathname such as +"/tmp/dir" or , in Windows , "C:/garbage" instead of a relative path). +; +#X text 39 293 For instance , if you put abstractions and/or other +supporting files in a subdirectory "more" , you can put an object +, "declare -path more" to make sure Pd sees them when the patch is +loaded. Or , if you have zexy installed in the directory extra/zexy +(in the Pd installation") you can get it using "declare -stdpath extra/zexy". +; +#X text 129 163 add to search path , relative to Pd; +#X text 367 557 updated for Pd version 0.41; +#X text 42 395 WARNING: you might want to avoid putting "declare" statements +inside abstractions , as their effects will extend to the calling +patch. As of version 0.41 , "declare path" is ignored inside abstractions +, although , probably unwisely , "-stdpath" takes effect (on the +calling patch as well as the abstraction.); +#X text 42 494 BUG: The name "-stdpath" is confusing , as it has a +quite different effect from "-stdpath" on the pd command line.;
Modified: branches/pd-extended/v0-40/pd/doc/5.reference/help-intro.pd =================================================================== --- branches/pd-extended/v0-40/pd/doc/5.reference/help-intro.pd 2008-03-17 20:52:14 UTC (rev 9604) +++ branches/pd-extended/v0-40/pd/doc/5.reference/help-intro.pd 2008-03-18 00:08:04 UTC (rev 9605) @@ -243,8 +243,7 @@ #X obj 18 3558 rzero~; #X text 118 3558 - raw real-valued one-zero filter; #X obj 18 3588 rzero_rev~; -#X obj 113 3588 rzero~; -#X text 166 3588 - time-reversed; +#X text 121 3588 - time-reversed; #X obj 18 3618 cpole~; #X obj 77 3618 czero~; #X text 214 3618 - corresponding complex-valued filters;
Modified: branches/pd-extended/v0-40/pd/doc/5.reference/my_canvas-help.pd =================================================================== --- branches/pd-extended/v0-40/pd/doc/5.reference/my_canvas-help.pd 2008-03-17 20:52:14 UTC (rev 9604) +++ branches/pd-extended/v0-40/pd/doc/5.reference/my_canvas-help.pd 2008-03-18 00:08:04 UTC (rev 9605) @@ -1,25 +1,25 @@ -#N canvas 482 81 568 339 10; -#X obj 1 1 cnv 15 300 60 foo10_snd foo10_rcv my_canvas=cnv 63 37 192 +#N canvas 0 22 500 292 10; +#X obj 1 1 cnv 15 300 60 foo10_snd foo10_rcv my_canvas=cnv 63 37 0 17 -257472 -355 0; #X text 4 232 (c) musil@iem.kug.ac.at; #X text 46 245 IEM KUG; #N canvas 219 100 699 530 edit 0; #X obj 39 226 f; #X msg 17 205 bang; -#X floatatom 55 204 3 63 88; -#X floatatom 90 226 3 0 37; +#X floatatom 55 204 3 63 88 0 - - -; +#X floatatom 90 226 3 0 37 0 - - -; #X obj 39 249 pack 0 0; #X text 117 226 y-label; #X text 83 204 x-label; #X obj 297 281 f; #X msg 275 260 bang; -#X floatatom 313 259 3 -10 10; -#X floatatom 348 281 3 -10 10; +#X floatatom 313 259 3 -10 10 0 - - -; +#X floatatom 348 281 3 -10 10 0 - - -; #X obj 297 304 pack 0 0; #X obj 309 396 f; #X msg 287 375 bang; -#X floatatom 325 374 3 20 60; -#X floatatom 360 396 3 150 200; +#X floatatom 325 374 3 20 60 0 - - -; +#X floatatom 360 396 3 150 200 0 - - -; #X obj 309 419 pack 0 0; #X text 341 259 x-delta; #X text 375 281 y-delta; @@ -27,12 +27,12 @@ #X text 387 396 y-position; #X obj 59 341 f; #X msg 37 320 bang; -#X floatatom 75 319 3 0 2; -#X floatatom 110 341 3 4 36; +#X floatatom 75 319 3 0 2 0 - - -; +#X floatatom 110 341 3 4 36 0 - - -; #X obj 59 364 pack 0 0; #X text 103 319 font; #X text 139 341 height; -#X floatatom 275 183 3 2 20; +#X floatatom 275 183 3 2 20 0 - - -; #X msg 52 137 ; foo10_rcv color $1 $2; #X msg 39 274 ; foo10_rcv label_pos $1 $2; #X msg 59 390 ; foo10_rcv label_font $1 $2; @@ -42,8 +42,8 @@ #X msg 297 329 ; foo10_rcv delta $1 $2; #X obj 505 234 f; #X msg 483 213 bang; -#X floatatom 521 212 5 100 1000; -#X floatatom 556 234 4 50 500; +#X floatatom 521 212 5 100 1000 0 - - -; +#X floatatom 556 234 4 50 500 0 - - -; #X obj 505 257 pack 0 0; #X text 566 212 width; #X text 594 236 height; @@ -57,14 +57,14 @@ #X msg 509 372 ; foo10_rcv get_pos; #X obj 510 407 r foo10_snd; #X obj 510 428 unpack 0 0; -#X floatatom 510 453 4 0 0; -#X floatatom 575 452 4 0 0; +#X floatatom 510 453 4 0 0 0 - - -; +#X floatatom 575 452 4 0 0 0 - - -; #X text 490 452 x=; #X text 557 452 y=; #X obj 52 79 f; #X msg 29 31 bang; -#X floatatom 68 29 3 0 29; -#X floatatom 103 47 3 0 29; +#X floatatom 68 29 3 0 29 0 - - -; +#X floatatom 103 47 3 0 29 0 - - -; #X text 96 29 background; #X text 131 48 label-color; #X msg 290 25 back; @@ -137,9 +137,9 @@ #X connect 30 1 23 0; #X connect 30 2 28 0; #X restore 290 86 pd RGB_____________; -#X floatatom 332 55 3 0 255; -#X floatatom 375 55 3 0 255; -#X floatatom 418 56 3 0 255; +#X floatatom 332 55 3 0 255 0 - - -; +#X floatatom 375 55 3 0 255 0 - - -; +#X floatatom 418 56 3 0 255 0 - - -; #X text 39 3 preset-colors; #X text 301 0 RGB-colors; #X text 332 37 red; @@ -188,22 +188,22 @@ #X connect 68 0 66 2; #X connect 69 0 66 3; #X connect 75 0 29 0; -#X restore 305 20 pd edit; -#X floatatom 110 193 4 0 0; -#X floatatom 147 193 4 0 0; +#X restore 315 20 pd edit; +#X floatatom 110 193 4 0 0 0 - - -; +#X floatatom 147 193 4 0 0 0 - - -; #X text 121 209 x; #X text 158 209 y; #X obj 7 161 metro 100; #X obj 33 141 tgl 15 1 empty empty empty 20 8 0 10 -262144 -1 -1 1 1; #X obj 110 145 r from_K1; -#X floatatom 188 194 4 0 0; -#X floatatom 225 194 4 0 0; +#X floatatom 188 194 4 0 0 0 - - -; +#X floatatom 225 194 4 0 0 0 - - -; #X text 198 210 x; #X text 236 210 y; #X obj 188 146 r from_K2; #X msg 7 185 ; to_K get_pos; -#N canvas 0 296 395 395 room 1; +#N canvas 0 296 395 395 room 0; #X obj 1 1 cnv 1 400 400 empty empty type...ctrl+e 150 140 2 17 -33289 -24198 0; #X obj 15 16 cnv 1 1 360 empty empty move_K1_and_K2 115 160 2 17 -166441 @@ -214,9 +214,9 @@ 0; #X obj 17 375 cnv 1 358 1 empty empty empty 20 12 2 20 -99865 -66577 0; -#X obj 23 22 cnv 25 25 25 from_K1 to_K K1 1 13 194 14 -261681 -123526 +#X obj 23 22 cnv 25 25 25 from_K1 to_K K1 1 13 2 14 -261681 -123526 0; -#X obj 342 342 cnv 25 25 25 from_K2 to_K K2 1 13 194 14 -225280 -1109 +#X obj 342 342 cnv 25 25 25 from_K2 to_K K2 1 13 2 14 -225280 -1109 0; #X restore 307 147 pd room; #X obj 110 169 unpack; @@ -229,9 +229,26 @@ #X text 5 64 click the properties-dialog on the top-left corner; #X obj 361 195 r foo10_rcv; #X obj 403 215 s ggg; -#X text 172 257 updated for Pd version 0.35; #X text 21 257 graz , austria 2002; #X obj 187 236 x_all_guis aaa bbb ccc ddd eee fff ggg hhh iii; +#X text 313 46 For cnv's creation arguments:; +#N canvas 881 440 467 369 canvas-creation-arguments 0; +#X msg 7 12 canvas: cnv selectableSize xSize ySize sendName recieveName +Label labelXOff labelYOff Font# fontSize bgColor lblColor 0; +#X text 9 169 For example , a canvas called thusly:; +#X obj 9 248 cnv 15 200 100 myCanvas myCanvasR Canvas_Demo 20 12 2 +14 -62784 -195568 0; +#X text 9 226 will result in this:; +#X text 8 59 Canvas can be called with 13 creation arguments. These +are not "optional" - all parameters must be filled or the canvas will +not instantiate correctly.; +#X text 10 114 The function of the final "0" is unknown to me (it is +found in the textual entry for a canvas object in a .pd file) but can +be safely left off without ill effects.; +#X msg 9 191 cnv 15 200 100 myCanvas myCanvasR Canvas_Demo 20 12 2 +14 18 20; +#X restore 314 63 pd canvas-creation-arguments; +#X text 172 257 updated for Pd version 0.35; #X connect 8 0 16 0; #X connect 9 0 8 0; #X connect 10 0 18 0;
Modified: branches/pd-extended/v0-40/pd/doc/5.reference/swap-help.pd =================================================================== --- branches/pd-extended/v0-40/pd/doc/5.reference/swap-help.pd 2008-03-17 20:52:14 UTC (rev 9604) +++ branches/pd-extended/v0-40/pd/doc/5.reference/swap-help.pd 2008-03-18 00:08:04 UTC (rev 9605) @@ -1,20 +1,41 @@ -#N canvas 376 130 488 326 12; -#X msg 67 124 bang; -#X floatatom 67 252; -#X floatatom 79 154; -#X floatatom 118 194; -#X obj 66 15 swap; -#X text 114 16 - SWAP TWO NUMBERS , RESPECTING RIGHT-TO-LEFT ORDER; -#X text 284 309 updated for Pd version 0.27; -#X text 12 42 The swap object stores numbers from its left inlet to output on its right inlet -- after repeating its right hand input out the left.; -#X text 112 123 outputs 2 stored values; -#X obj 67 226 swap 6.5; -#X text 110 154 sets second value and outputs both; -#X text 150 195 sets first value; -#X text 142 226 creation argument initializes first value; -#X floatatom 118 254; -#X connect 0 0 9 0; -#X connect 2 0 9 0; -#X connect 3 0 9 1; -#X connect 9 0 1 0; -#X connect 9 1 13 0; +#N canvas 475 187 615 593 12; +#X msg 72 167 bang; +#X floatatom 72 292 0 0 0 0 - - -; +#X floatatom 84 200 0 0 0 0 - - -; +#X floatatom 139 237 0 0 0 0 - - -; +#X obj 33 15 swap; +#X text 81 16 - SWAP TWO NUMBERS , RESPECTING RIGHT-TO-LEFT ORDER +; +#X text 117 166 outputs 2 stored values; +#X obj 72 266 swap 6.5; +#X text 115 200 sets second value and outputs both; +#X text 171 238 sets first value; +#X text 157 266 creation argument initializes first value; +#X floatatom 139 291 0 0 0 0 - - -; +#X obj 139 331 print right; +#X obj 72 367 print left; +#X text 43 427 A common use of swap is to reverse the operands in arithmetic +objects like this:; +#X obj 72 491 swap; +#X obj 72 519 -; +#X floatatom 72 541 5 0 0 0 - - -; +#X floatatom 103 469 3 0 0 0 - - -; +#X floatatom 72 469 3 0 0 0 - - -; +#X text 291 549 updated for Pd version 0.41; +#X text 32 52 The swap object swaps the positions of two incoming numbers. +The number coming in through the right inlet will be sent to the left +outlet and the number coming in left will come out right. Only the +left inlet is hot and triggers output on both outlets. Output order +is right to left as in [trigger].; +#X connect 0 0 7 0; +#X connect 1 0 13 0; +#X connect 2 0 7 0; +#X connect 3 0 7 1; +#X connect 7 0 1 0; +#X connect 7 1 11 0; +#X connect 11 0 12 0; +#X connect 15 0 16 0; +#X connect 15 1 16 1; +#X connect 16 0 17 0; +#X connect 18 0 15 1; +#X connect 19 0 15 0;
Modified: branches/pd-extended/v0-40/pd/doc/5.reference/trigger-help.pd =================================================================== --- branches/pd-extended/v0-40/pd/doc/5.reference/trigger-help.pd 2008-03-17 20:52:14 UTC (rev 9604) +++ branches/pd-extended/v0-40/pd/doc/5.reference/trigger-help.pd 2008-03-18 00:08:04 UTC (rev 9605) @@ -14,7 +14,7 @@ #X text 39 59 The trigger object outputs its input from right to left , converting to the types indicated by its creation arguments. There is also a "pointer" argument type (see the pointer object.); -#X obj 381 293 t f b l s a; +#X obj 381 293 t f b s l a; #X msg 466 167 dog my cats; #X obj 466 199 trigger bang anything; #X obj 374 242 print x5;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.