From 57de39e09a37b5f35cbecbb76a0f89efe1a4d63f Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Tue, 30 Nov 2010 01:36:17 +0000 Subject: added META subpatch svn path=/trunk/externals/moonlib/; revision=14536 --- absolutepath-help.pd | 25 +++++++++++++----- basedir-help.pd | 16 +++++++++--- char2f-help.pd | 16 +++++++++--- comma-help.pd | 15 +++++++++-- dinlet~-help.pd | 17 +++++++++--- dispatch-help.pd | 18 ++++++++++--- dripchar-help.pd | 26 ++++++++++++------ f2char-help.pd | 16 +++++++++--- f2s-help.pd | 32 ++++++++++++++++------- gamme-help.pd | 24 ++++++++++++----- image-help.pd | 29 +++++++++++++------- makecolor-help.pd | 23 ++++++++++++---- mknob-help.pd | 14 ++++++++-- panvol~-help.pd | 33 ++++++++++++++++------- popen-help.pd | 13 ++++++++- readsfv~-help.pd | 14 +++++++++- relativepath-help.pd | 17 +++++++++--- s2f-help.pd | 16 +++++++++--- sarray-help.pd | 14 ++++++++-- sfread2~-help.pd | 17 +++++++++++- slist-help.pd | 21 ++++++++++++--- ssaw~-help.pd | 13 ++++++++- tabdump2-help.pd | 16 +++++++++--- tabenv-help.pd | 14 ++++++++-- tabreadl-help.pd | 20 ++++++++++---- tabsort-help.pd | 17 +++++++++--- tabsort2-help.pd | 74 +++++++++++++++++++++++++++++----------------------- 27 files changed, 432 insertions(+), 138 deletions(-) diff --git a/absolutepath-help.pd b/absolutepath-help.pd index b056f4a..666a397 100644 --- a/absolutepath-help.pd +++ b/absolutepath-help.pd @@ -1,13 +1,24 @@ -#N canvas 14 323 660 379 10; +#N canvas 0 31 482 379 10; #X text 17 352 (c) Antoine Rousseau 2004; #X obj 33 108 absolutepath; -#X symbolatom 33 131 0 0 0; -#X msg 33 51 symbol absolutepath.pd; +#X symbolatom 33 131 0 0 0 0 - - -; #X obj 33 220 relativepath; -#X symbolatom 33 245 0 0 0; +#X symbolatom 33 245 0 0 0 0 - - -; #X text 14 6 absolutepath / relativepath : use filenames relatively to the patch's path.; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 5 KEYWORDS control patchfile_op; +#X text 12 45 DESCRIPTION use filenames relatively to the patch's path +; +#X text 12 65 INLET_0 symbol; +#X text 12 85 OUTLET_0 symbol; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X restore 421 350 pd META; +#X msg 33 51 symbol absolutepath-help.pd; #X connect 1 0 2 0; -#X connect 2 0 4 0; -#X connect 3 0 1 0; -#X connect 4 0 5 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 7 0 1 0; diff --git a/basedir-help.pd b/basedir-help.pd index cbf9c9e..607e149 100644 --- a/basedir-help.pd +++ b/basedir-help.pd @@ -1,16 +1,26 @@ -#N canvas 136 196 430 247 10; +#N canvas 0 31 430 247 10; #X obj 0 0 cnv 8 100 60 empty empty basedir 20 20 1 18 -262144 -1109 0; #X text 7 221 (c) Moonix: Antoine Rousseau 2003; #X text 135 12 basename/dirname functions; #X obj 124 102 basedir; #X obj 124 136 unpack s s; -#X symbolatom 124 158 0 0 0; -#X symbolatom 189 158 0 0 0; +#X symbolatom 124 158 0 0 0 0 - - -; +#X symbolatom 189 158 0 0 0 0 - - -; #X msg 124 62 symbol /usr/local/bin/pd; #X obj 124 42 loadbang; #X text 108 175 basename; #X text 212 175 dirname; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 symbol; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control symbol_op filesystem; +#X text 12 45 DESCRIPTION basename/dirname functions; +#X text 12 85 OUTLET_0 list; +#X restore 373 217 pd META; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 4 1 6 0; diff --git a/char2f-help.pd b/char2f-help.pd index f133288..cf749da 100644 --- a/char2f-help.pd +++ b/char2f-help.pd @@ -1,15 +1,25 @@ -#N canvas 134 318 430 247 10; +#N canvas 0 31 430 247 10; #X obj 0 0 cnv 8 100 60 empty empty char2f_f2char 10 20 1 18 -262144 -1109 0; #X text 7 221 (c) Moonix: Antoine Rousseau 2003; #X text 160 14 ascii utilities; #X obj 131 115 char2f; -#X floatatom 131 136 5 0 0; +#X floatatom 131 136 5 0 0 0 - - -; #X msg 131 69 symbol A; #X obj 131 173 f2char; -#X symbolatom 131 194 2 0 0; +#X symbolatom 131 194 2 0 0 0 - - -; #X obj 131 49 loadbang; #X msg 216 70 symbol a; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 symbol; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION ascii utility; +#X text 12 5 KEYWORDS control conversion symbol_op; +#X text 12 85 OUTLET_0 float; +#X restore 373 217 pd META; #X connect 3 0 4 0; #X connect 4 0 6 0; #X connect 5 0 3 0; diff --git a/comma-help.pd b/comma-help.pd index b8a8e63..937a6ca 100644 --- a/comma-help.pd +++ b/comma-help.pd @@ -1,4 +1,4 @@ -#N canvas 172 316 715 428 10; +#N canvas 0 31 715 428 10; #X obj 0 0 cnv 8 100 60 empty empty comma 10 20 1 18 -262144 -1109 0; #X text 109 12 how to write " \, " in a message...; @@ -17,7 +17,7 @@ #X obj 407 171 t b a; #X msg 331 82 set; #X msg 427 110 bar 20; -#X msg 417 249 foo 10 \, bar 20 \,; +#X msg 417 249 foo 10 \, bar 20 \, foo 10 \,; #X obj 517 171 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 39 72 0: what we want to do is to; @@ -25,6 +25,17 @@ #X text 375 92 2: add parts; #X text 467 153 (or click the message directly); #X text 453 142 3: send the message; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control deprecated; +#X text 12 45 DESCRIPTION how to write " \, " in a message... (deprecated) +; +#X text 12 65 INLET_0 bang; +#X text 12 85 OUTLET_0 comma; +#X restore 653 397 pd META; #X connect 3 0 6 0; #X connect 6 0 4 0; #X connect 6 1 5 0; diff --git a/dinlet~-help.pd b/dinlet~-help.pd index 8033afe..2f9d6b2 100644 --- a/dinlet~-help.pd +++ b/dinlet~-help.pd @@ -1,4 +1,4 @@ -#N canvas 196 161 422 282 10; +#N canvas 0 31 422 282 10; #X text 6 248 (c) Antoine Rousseau 2001; #X obj 9 5 dinlet~; #X text 66 6 A signal inlet with a default value.; @@ -19,9 +19,9 @@ #X connect 6 0 7 0; #X connect 8 0 6 0; #X restore 112 100 pd ---; -#X floatatom 130 158 5 0 0; -#X floatatom 33 159 5 0 0; -#X floatatom 242 157 5 0 0; +#X floatatom 130 158 5 0 0 0 - - -; +#X floatatom 33 159 5 0 0 0 - - -; +#X floatatom 242 157 5 0 0 0 - - -; #X obj 129 56 sig~ 5; #X text 3 180 normal inlet~; #X text 129 177 dinlet~ with; @@ -31,6 +31,15 @@ #X text 199 61 try connect and deconnect; #X text 198 77 sig~ object to each of; #X text 198 93 the subpatch inlets.; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 85 AUTHOR Antoine Rousseau; +#X text 12 105 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS signal canvas_op; +#X text 12 45 DESCRIPTION signal inlet with a default value; +#X text 12 65 OUTLET_0 signal; +#X restore 363 247 pd META; #X connect 3 0 5 0; #X connect 3 1 4 0; #X connect 3 2 6 0; diff --git a/dispatch-help.pd b/dispatch-help.pd index 16231ef..359ac38 100644 --- a/dispatch-help.pd +++ b/dispatch-help.pd @@ -1,4 +1,4 @@ -#N canvas 479 347 565 404 10; +#N canvas 0 31 565 404 10; #X obj 0 0 cnv 8 100 60 empty empty dispatch 10 20 1 18 -262144 -1109 0; #X obj 40 131 r foo1-rcv; @@ -36,7 +36,7 @@ #X obj 49 276 r \$0-bar-snd; #X obj 173 276 hdl 15 0 0 4 empty empty empty 0 -6 0 8 -262144 -1 -1 1; -#X obj 185 221 dispatch \$0-bar 0 3; +#X obj 183 221 dispatch \$0-bar 0 3; #X msg 173 297 \$1 bang; #X obj 49 298 unpack f f; #X floatatom 49 319 2 0 0 0 - - -; @@ -47,9 +47,19 @@ #X text 362 241 _______; #X text 351 280 (notice the -snd and -rcv); #X text 351 268 skeletonX-snd skeletonX-rcv; -#X text 134 24 a single one \, in which datas are prepended by the -number; #X text 134 37 of the receiver/sender.; +#N canvas 579 234 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 95 AUTHOR Antoine Rousseau; +#X text 12 115 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION link several pairs of send/receive addresses +to a single one; +#X text 12 75 INLET_0; +#X text 12 5 KEYWORDS control nonlocal needs_work (inlet_0?); +#X restore 508 371 pd META; +#X text 134 24 a single one \, in which data is prepended by the number +; #X connect 1 0 2 0; #X connect 3 0 4 0; #X connect 5 0 6 0; diff --git a/dripchar-help.pd b/dripchar-help.pd index 6318f36..ce7c9f6 100644 --- a/dripchar-help.pd +++ b/dripchar-help.pd @@ -1,4 +1,4 @@ -#N canvas 117 153 430 247 10; +#N canvas 0 31 430 247 10; #X obj 0 0 cnv 8 100 60 empty empty dripchar 10 20 1 18 -262144 -1109 0; #X text 7 221 (c) Moonix: Antoine Rousseau 2003; @@ -7,14 +7,24 @@ #X msg 131 69 symbol Antoine; #X text 132 12 drip characters from a symbol to a list; #X obj 131 117 unpack s s s s s s s; -#X symbolatom 131 142 1 0 0; -#X symbolatom 153 142 1 0 0; -#X symbolatom 176 142 1 0 0; -#X symbolatom 198 142 1 0 0; -#X symbolatom 221 142 1 0 0; -#X symbolatom 243 142 1 0 0; -#X symbolatom 266 142 1 0 0; +#X symbolatom 131 142 1 0 0 0 - - -; +#X symbolatom 153 142 1 0 0 0 - - -; +#X symbolatom 176 142 1 0 0 0 - - -; +#X symbolatom 198 142 1 0 0 0 - - -; +#X symbolatom 221 142 1 0 0 0 - - -; +#X symbolatom 243 142 1 0 0 0 - - -; +#X symbolatom 266 142 1 0 0 0 - - -; #X msg 245 69 symbol moonix_; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control conversion symbol_op; +#X text 12 45 DESCRIPTION drip characters from a symbol to a list; +#X text 12 65 INLET_0 symbol; +#X text 12 85 OUTLET_0 list; +#X restore 363 207 pd META; #X connect 2 0 4 0; #X connect 3 0 6 0; #X connect 4 0 3 0; diff --git a/f2char-help.pd b/f2char-help.pd index f133288..ef7b3a7 100644 --- a/f2char-help.pd +++ b/f2char-help.pd @@ -1,15 +1,25 @@ -#N canvas 134 318 430 247 10; +#N canvas 0 31 430 247 10; #X obj 0 0 cnv 8 100 60 empty empty char2f_f2char 10 20 1 18 -262144 -1109 0; #X text 7 221 (c) Moonix: Antoine Rousseau 2003; #X text 160 14 ascii utilities; #X obj 131 115 char2f; -#X floatatom 131 136 5 0 0; +#X floatatom 131 136 5 0 0 0 - - -; #X msg 131 69 symbol A; #X obj 131 173 f2char; -#X symbolatom 131 194 2 0 0; +#X symbolatom 131 194 2 0 0 0 - - -; #X obj 131 49 loadbang; #X msg 216 70 symbol a; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control conversion symbol_op; +#X text 12 45 DESCRIPTION ascii utility; +#X text 12 65 INLET_0 float; +#X text 12 85 OUTLET_0 symbol; +#X restore 373 217 pd META; #X connect 3 0 4 0; #X connect 4 0 6 0; #X connect 5 0 3 0; diff --git a/f2s-help.pd b/f2s-help.pd index 005754a..bd4e0fe 100644 --- a/f2s-help.pd +++ b/f2s-help.pd @@ -1,17 +1,29 @@ -#N canvas -5 264 527 298 10; +#N canvas 0 31 527 298 10; #X text 27 268 (c) Antoine Rousseau 2001; -#X obj 44 31 f2s; -#X text 80 32 A float-to-symbol converter \, with scientific-mode writing. -; -#X floatatom 196 85 5 0 300; +#X floatatom 196 85 5 0 300 0 - - -; #X obj 163 136 f2s; #X obj 196 106 dbtorms; -#X symbolatom 163 158 4 0 0; -#X floatatom 207 158 0 0 0; +#X symbolatom 163 158 4 0 0 0 - - -; +#X floatatom 207 158 0 0 0 0 - - -; #X text 244 85 Touch this; #X text 57 196 The idea: many decades in an always 4 characters long symbol...; +#X obj 44 31 f2s; +#X text 80 32 A float-to-symbol converter \, with scientific-mode writing. +; +#N canvas 380 146 494 344 META 0; +#X text 12 35 LICENSE GPL v2; +#X text 12 125 AUTHOR Antoine Rousseau; +#X text 12 145 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 85 INLET_0 float; +#X text 12 105 OUTLET_0 symbol; +#X text 12 55 DESCRIPTION a float-to-symbol converter \, with scientific-mode +writing; +#X text 12 5 KEYWORDS control conversion symbol_op needs_work (object +won't create); +#X restore 461 260 pd META; +#X connect 1 0 3 0; +#X connect 2 0 4 0; +#X connect 3 0 2 0; #X connect 3 0 5 0; -#X connect 4 0 6 0; -#X connect 5 0 4 0; -#X connect 5 0 7 0; diff --git a/gamme-help.pd b/gamme-help.pd index 8f87eb0..a6c7f91 100644 --- a/gamme-help.pd +++ b/gamme-help.pd @@ -1,13 +1,13 @@ -#N canvas 246 348 520 515 10; +#N canvas 0 31 520 515 10; #X text 10 491 (c) Antoine Rousseau 2001; #X text 85 3 gamme: a musical scale selector.; -#X obj 113 187 gamme 90 40 1 0 0 0 1 0 0 1 0 0 0 0; +#X obj 113 187 gamme 90 40 1 0 0 1 0 0 1 1 1 0 0 1; #X floatatom 51 244 6 0 0 0 - - -; #X floatatom 134 71 4 0 0 0 - - -; #X floatatom 33 78 4 0 0 0 - - -; #X floatatom 154 244 4 0 0 0 - - -; #X msg 280 256 set \$1 \$2; -#X obj 280 288 gamme 90 40 1 0 0 0 1 0 0 1 0 0 0 0; +#X obj 280 288 gamme 90 40 1 0 0 1 0 0 1 1 1 0 0 1; #X msg 401 177 getall; #X floatatom 322 336 4 0 0 0 - - -; #X floatatom 282 72 6 0 0 0 - - -; @@ -25,7 +25,7 @@ #X text 344 55 rounding strength; #X obj 303 93 t b f; #X text 19 59 semitone; -#X text 152 33 ARPEGE; +#X text 152 32 ARPEGE; #X text 28 39 FILTER; #X text 324 36 ROUNDING; #X text 51 263 Result; @@ -35,7 +35,7 @@ #X text 383 225 Last change; #X text 371 158 get all the key set.; #N canvas 483 118 375 520 audio 0; -#X obj 4 356 gamme 90 40 1 0 1 0 1 0 0 1 0 1 0 0; +#X obj 4 356 gamme 90 40 1 0 1 1 0 0 1 1 1 1 0 1; #X obj 28 464 *~; #X obj 4 419 mtof; #X obj 4 442 osc~; @@ -80,7 +80,7 @@ #X obj 62 421 pow 4; #X obj 4 189 metro 180; #X obj 4 211 i; -#X obj 4 162 tgl 20 0 empty empty play 0 -8 1 10 -262144 -1 -1 1 1 +#X obj 4 162 tgl 20 0 empty empty play 0 -8 1 10 -262144 -1 -1 0 1 ; #X obj 29 211 + 1; #X obj 4 286 spigot; @@ -148,6 +148,18 @@ #X connect 31 0 0 0; #X coords 0 0 1 1 210 110 1; #X restore 33 325 pd audio demo; +#N canvas 518 217 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Antoine Rousseau; +#X text 12 165 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION a musical scale selector; +#X text 12 65 INLET_0 float get round getall; +#X text 12 85 OUTLET_0 float; +#X text 12 105 OUTLET_1 float; +#X text 12 125 OUTLET_2 list; +#X text 12 5 KEYWORDS control GUI storage MIDI; +#X restore 460 480 pd META; #X connect 2 0 3 0; #X connect 2 1 6 0; #X connect 2 2 7 0; diff --git a/image-help.pd b/image-help.pd index ec5b649..d6f0cea 100644 --- a/image-help.pd +++ b/image-help.pd @@ -1,4 +1,4 @@ -#N canvas 152 192 585 548 10; +#N canvas 0 31 631 561 10; #X obj 0 0 cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109 0; #X text 14 510 (c) moonix: Antoine Rousseau 2004; @@ -11,7 +11,7 @@ #X text 248 510 \, but it's a hack of Gunter Geiger's image...; #X obj 112 134 cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577 0; -#X obj 122 148 image examples/play.gif 0; +#X obj 122 148 image examples/play.gif ; #X obj 348 216 cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577 0; #X obj 372 197 t a; @@ -22,12 +22,12 @@ #X msg 424 180 open examples/sinw.gif; #X msg 425 198 open examples/squarew.gif; #X msg 425 215 open examples/saww.gif; -#X obj 360 227 image examples/saww.gif 0; -#X obj 136 148 image examples/rec.gif 0; -#X obj 152 148 image examples/pause.gif 0; -#X obj 185 144 image examples/sinw.gif 0; -#X obj 185 156 image examples/squarew.gif 0; -#X obj 185 168 image examples/saww.gif 0; +#X obj 360 227 image examples/saww.gif ; +#X obj 136 148 image examples/rec.gif ; +#X obj 152 148 image examples/pause.gif ; +#X obj 185 144 image examples/sinw.gif ; +#X obj 185 156 image examples/squarew.gif ; +#X obj 185 168 image examples/saww.gif ; #N canvas 183 192 77 40 (subpatch) 0; #X obj 87 205 t a; #X msg 127 127 open examples/sinw.gif; @@ -35,7 +35,7 @@ #X msg 165 171 open examples/saww.gif; #X obj -1 0 tgl 40 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 0 1 cnv 15 40 40 empty empty empty 20 12 0 14 -1 -66577 0; -#X obj 26 20 image examples/sinw.gif 0; +#X obj 26 20 image examples/sinw.gif ; #X obj 127 84 i; #X obj 153 85 + 1; #X obj 179 85 mod 3; @@ -63,7 +63,7 @@ #X obj 298 304 hsl 128 15 0 63 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 295 326 i; -#X obj 202 446 image d0 1; +#X obj 202 446 image examples/rec.gif; #X obj 295 349 change; #X text 6 253 For animations \, it's beter to preload images:; #X obj 402 377 loadbang; @@ -80,6 +80,15 @@ #X obj 65 370 makefilename d%d; #X obj 295 376 makefilename d%d; #X obj 95 390 makefilename examples/d%d.gif; +#N canvas 518 217 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 85 AUTHOR Antoine Rousseau; +#X text 12 105 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 65 INLET_0 load set open; +#X text 12 5 KEYWORDS control GUI; +#X text 12 45 DESCRIPTION image viewer; +#X restore 574 531 pd META; #X connect 11 0 19 0; #X connect 12 0 11 0; #X connect 13 0 11 0; diff --git a/makecolor-help.pd b/makecolor-help.pd index ac52e81..d5d58e1 100644 --- a/makecolor-help.pd +++ b/makecolor-help.pd @@ -1,14 +1,27 @@ -#N canvas 36 264 527 298 10; +#N canvas 0 31 527 298 10; #X text 27 268 (c) Antoine Rousseau 2001; #X obj 18 27 makecolor; #X text 91 22 A color-symbol builder \, transforming RGB values in one hexa symbol.; #X obj 161 149 makecolor; -#X symbolatom 161 186 10 0 0; -#X floatatom 144 85 5 0 0; -#X floatatom 190 85 5 0 0; -#X floatatom 235 86 5 0 0; +#X symbolatom 161 186 10 0 0 0 - - -; +#X floatatom 144 85 5 0 0 0 - - -; +#X floatatom 190 85 5 0 0 0 - - -; +#X floatatom 235 86 5 0 0 0 - - -; #X obj 161 127 b; +#N canvas 518 217 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 155 AUTHOR Antoine Rousseau; +#X text 12 175 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control conversion; +#X text 12 45 DESCRIPTION a color-symbol builder \, transforming RGB +values in one hexa symbol; +#X text 12 75 INLET_0 float; +#X text 12 95 INLET_1 float; +#X text 12 115 INLET_2 float; +#X text 12 135 INLET_3 symbol; +#X restore 467 261 pd META; #X connect 3 0 4 0; #X connect 5 0 3 0; #X connect 6 0 3 1; diff --git a/mknob-help.pd b/mknob-help.pd index 90f4fb2..2ee2106 100644 --- a/mknob-help.pd +++ b/mknob-help.pd @@ -1,4 +1,4 @@ -#N canvas 19 167 677 325 10; +#N canvas 0 31 677 358 10; #X obj 0 0 cnv 8 100 60 empty empty mknob 20 20 1 18 -262144 -1109 0; #X floatatom 55 149 5 0 0 0 - - -; @@ -24,7 +24,7 @@ #X text 309 50 excursion for full range.; #X text 309 62 Set it with "size" parameter:; #X obj 398 201 mknob 25 -1 0 127 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; +-1 -1 11024 1; #X msg 369 96 size 25 300; #X msg 398 119 size 25 10; #X text 452 96 low sensibility; @@ -39,6 +39,16 @@ to add (in pd.tk) mknob in the Pd "Put" menu \, and to give the hotkey "Alt-k" to it. It will only work for Pd0.37 \, but it can help to do the modif by hand for another version.; +#N canvas 518 217 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION round gui knob; +#X text 12 5 KEYWORDS control GUI; +#X text 12 65 INLET_0 float size; +#X text 12 85 OUTLET_0 float; +#X restore 620 330 pd META; #X connect 2 0 14 0; #X connect 6 0 14 0; #X connect 8 0 7 0; diff --git a/panvol~-help.pd b/panvol~-help.pd index f7ad351..a36e6d2 100644 --- a/panvol~-help.pd +++ b/panvol~-help.pd @@ -1,24 +1,37 @@ -#N canvas 117 381 340 290 10; +#N canvas 0 31 340 290 10; #X obj 0 0 cnv 8 100 60 empty empty panvol~ 10 20 1 18 -262144 -1109 0; #X text 3 269 (c) Moonix: Antoine Rousseau 2003; #X text 132 12 pan & volume; -#X obj 138 69 hsl 60 10 -45 45 0 0 empty empty pan -2 -6 0 8 -262144 --1 -1 2950 1; -#X obj 238 61 vsl 10 60 0 1 0 0 empty empty vol 0 -8 0 8 -262144 -1 --1 5900 1; -#X floatatom 135 85 5 0 0; -#X floatatom 238 127 5 0 0; +#X obj 135 69 hsl 60 10 -45 45 0 0 empty empty pan -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 238 41 vsl 10 60 0 1 0 0 empty empty vol 0 -8 0 8 -262144 -1 +-1 0 1; +#X floatatom 132 85 5 0 0 0 - - -; +#X floatatom 238 107 5 0 0 0 - - -; #X obj 113 141 panvol~; #X obj 94 190 unsig~ 100; -#X floatatom 94 210 5 0 0; +#X floatatom 94 210 5 0 0 0 - - -; #X obj 60 85 osc~ 440; #X obj 173 190 unsig~ 100; -#X floatatom 173 210 5 0 0; +#X floatatom 173 210 5 0 0 0 - - -; #X obj 94 170 envrms~; #X obj 173 170 envrms~; #X obj 60 104 *~ 2; -#X msg 174 49 0; +#X msg 171 46 0; +#N canvas 350 31 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Antoine Rousseau; +#X text 12 185 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION pan & volume; +#X text 12 5 KEYWORDS signal; +#X text 12 65 INLET_0 signal; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X text 12 125 OUTLET_0 signal; +#X text 12 145 OUTLET_1 signal; +#X restore 285 262 pd META; #X connect 3 0 5 0; #X connect 4 0 6 0; #X connect 5 0 7 1; diff --git a/popen-help.pd b/popen-help.pd index e37d8e9..e4caf08 100644 --- a/popen-help.pd +++ b/popen-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 195 644 383 10; +#N canvas 0 31 644 383 10; #X obj 0 0 cnv 8 100 60 empty empty popen 10 20 1 18 -262144 -1109 0; #X text 13 362 (c) Moonix: Antoine Rousseau 2003; @@ -65,4 +65,15 @@ with pdsend/pdreceive.; #X text 46 297 You can use "at now" to lauch programs totally independantly from Pd:; #X msg 206 313 echo xclock -display 0:0 | at now; +#N canvas 372 181 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Antoine Rousseau; +#X text 12 145 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION processes in/out (linux only); +#X text 12 65 INLET_0 anything; +#X text 12 85 OUTLET_0; +#X text 12 105 OUTLET_1; +#X text 12 5 KEYWORDS control filesystem needs_work (outlets?); +#X restore 587 353 pd META; #X connect 19 0 17 0; diff --git a/readsfv~-help.pd b/readsfv~-help.pd index 5870912..4b87da2 100644 --- a/readsfv~-help.pd +++ b/readsfv~-help.pd @@ -1,4 +1,4 @@ -#N canvas 117 77 546 422 10; +#N canvas 0 31 546 422 10; #X obj 0 0 cnv 8 100 60 empty empty readsfv~ 10 20 1 18 -262144 -1109 0; #X text 4 400 (c) Moonix: Antoine Rousseau 2003; @@ -35,6 +35,18 @@ #X text 230 104 read manual of; #X text 390 103 for more details...; #X obj 335 102 readsf~; +#N canvas 524 187 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 135 AUTHOR Antoine Rousseau; +#X text 12 155 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS signal soundfile; +#X text 12 45 DESCRIPTION read a big soundfile in direct-to-disk mode +at variable speed; +#X text 12 75 INLET_0 float start speed stop open print; +#X text 12 95 OUTLET_0 signal; +#X text 12 115 OUTLET_1 signal; +#X restore 487 387 pd META; #X connect 3 0 2 0; #X connect 3 0 2 1; #X connect 3 1 8 0; diff --git a/relativepath-help.pd b/relativepath-help.pd index b056f4a..ecfd8df 100644 --- a/relativepath-help.pd +++ b/relativepath-help.pd @@ -1,12 +1,23 @@ -#N canvas 14 323 660 379 10; +#N canvas 0 31 535 379 10; #X text 17 352 (c) Antoine Rousseau 2004; #X obj 33 108 absolutepath; -#X symbolatom 33 131 0 0 0; +#X symbolatom 33 131 0 0 0 0 - - -; #X msg 33 51 symbol absolutepath.pd; #X obj 33 220 relativepath; -#X symbolatom 33 245 0 0 0; +#X symbolatom 33 245 0 0 0 0 - - -; #X text 14 6 absolutepath / relativepath : use filenames relatively to the patch's path.; +#N canvas 380 146 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 5 KEYWORDS control patchfile_op; +#X text 12 65 INLET_0 symbol; +#X text 12 85 OUTLET_0 symbol; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION use filename relatively to the patch's path +; +#X restore 475 348 pd META; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 3 0 1 0; diff --git a/s2f-help.pd b/s2f-help.pd index 2192924..5d72608 100644 --- a/s2f-help.pd +++ b/s2f-help.pd @@ -1,15 +1,25 @@ -#N canvas 106 74 492 266 10; +#N canvas 0 31 492 266 10; #X obj 0 0 cnv 8 100 60 empty empty s2f 10 20 1 18 -262144 -1109 0 ; #X text 1 244 (c) Moonix: Antoine Rousseau 2003; #X text 129 8 symbol to float converter; #X obj 197 159 s2f; -#X floatatom 197 184 0 0 0; -#X symbolatom 197 142 0 0 0; +#X floatatom 197 184 0 0 0 0 - - -; +#X symbolatom 197 142 0 0 0 0 - - -; #X obj 345 105 makesymbol %s; #X msg 48 84 symbol 0.0003125foo; #X msg 197 85 symbol 54.123e-3bar; #X msg 345 85 13.25; +#N canvas 380 146 490 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 symbol; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control conversion symbol_op; +#X text 12 45 DESCRIPTION symbol to float converter; +#X text 12 85 OUTLET_0 float; +#X restore 431 238 pd META; #X connect 3 0 4 0; #X connect 5 0 3 0; #X connect 6 0 5 0; diff --git a/sarray-help.pd b/sarray-help.pd index 157d245..65040af 100644 --- a/sarray-help.pd +++ b/sarray-help.pd @@ -1,11 +1,11 @@ -#N canvas 158 412 745 484 10; +#N canvas 0 31 758 515 10; #X obj 0 0 cnv 8 100 60 empty empty sarray 10 20 1 18 -262144 -1109 0; #X text 2 467 (c) Moonix: Antoine Rousseau 2003; #X msg 74 275 1; #X msg 103 275 2; #X msg 131 275 3; -#X symbolatom 139 356 10 0 0; +#X symbolatom 139 356 10 0 0 0 - - -; #X msg 533 269 reset; #X text 109 12 shared array of symbols; #X obj 47 146 sarray foo 8; @@ -60,6 +60,16 @@ #X msg 528 402 print; #X msg 577 403 setarray foo; #X msg 577 422 setarray foo2; +#N canvas 501 307 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control storage list_op; +#X text 12 45 DESCRIPTION shared array of symbols; +#X text 12 65 INLET_0 setlen set print get dump reset setarray; +#X text 12 85 OUTLET_0 symbol list; +#X restore 702 485 pd META; #X connect 2 0 16 0; #X connect 3 0 16 0; #X connect 4 0 16 0; diff --git a/sfread2~-help.pd b/sfread2~-help.pd index ad8ae16..378f75f 100644 --- a/sfread2~-help.pd +++ b/sfread2~-help.pd @@ -1,4 +1,4 @@ -#N canvas 38 250 582 490 10; +#N canvas 0 31 582 490 10; #X obj 0 0 cnv 8 100 60 empty empty sfread2~ 10 20 1 18 -262144 -1109 0; #X text 2 459 (c) Moonix: Antoine Rousseau 2003; @@ -40,6 +40,21 @@ opened (use of C function mmap()).; 0.37...); #X text 59 378 CAUTION: you should hack pd sources to have d-t-d working. ; +#N canvas 592 238 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Antoine Rousseau; +#X text 12 185 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS signal soundfile; +#X text 12 45 DESCRIPTION soundfile reader at variable speed (possibly +negative) \, whith 4-point interpolation and loop; +#X text 12 85 INLET_0 float bang interp open index loop; +#X text 12 105 INLET_1 float; +#X text 12 145; +#X text 12 125 OUTLET_N signal; +#X text 12 145 OUTLET_R float; +#X restore 526 459 pd META; +#X obj 286 303 sfread2~ 4; #X connect 3 0 12 0; #X connect 3 1 12 1; #X connect 4 0 3 0; diff --git a/slist-help.pd b/slist-help.pd index f499120..bc93314 100644 --- a/slist-help.pd +++ b/slist-help.pd @@ -1,4 +1,4 @@ -#N canvas 459 312 690 375 10; +#N canvas 0 31 690 414 10; #X obj 0 0 cnv 8 100 60 empty empty slist 10 20 1 18 -262144 -1109 0; #X text 3 354 (c) Moonix: Antoine Rousseau 2003; @@ -8,17 +8,17 @@ #X text 24 55 1) fill the slist; #X msg 261 79 len; #X text 260 58 2) get the slist length; -#X floatatom 319 121 5 0 0; +#X floatatom 319 121 5 0 0 0 - - -; #X obj 480 106 slist foo; #X msg 451 79 1; #X msg 480 79 2; #X msg 508 79 3; -#X symbolatom 509 127 10 0 0; +#X symbolatom 509 127 10 0 0 0 - - -; #X obj 157 218 slist foo; #X text 448 59 3) get the nth symbol (first:1); #X msg 21 189 find boo; #X msg 225 189 find bar; -#X floatatom 157 242 5 0 0; +#X floatatom 157 242 5 0 0 0 - - -; #X msg 91 189 find bee; #X msg 157 189 find baa; #X obj 548 212 slist foo; @@ -39,6 +39,19 @@ #X msg 460 296 print; #X msg 256 297 add boo2 \, add bee2 \, add baa2; #X msg 212 297 print; +#N canvas 592 238 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Antoine Rousseau; +#X text 12 165 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control list_op; +#X text 12 45 DESCRIPTION shared list of symbols \, with a "find" feature +; +#X text 12 65 INLET_0 add len float find print reset setlist; +#X text 12 85 OUTLET_0 float; +#X text 12 105 OUTLET_1 symbol; +#X text 12 125 OUTLET_2 float; +#X restore 635 385 pd META; #X connect 4 2 8 0; #X connect 6 0 4 0; #X connect 9 1 13 0; diff --git a/ssaw~-help.pd b/ssaw~-help.pd index 25903d1..8216c33 100644 --- a/ssaw~-help.pd +++ b/ssaw~-help.pd @@ -1,4 +1,4 @@ -#N canvas 106 74 492 266 10; +#N canvas 0 31 492 266 10; #X obj 0 0 cnv 8 100 60 empty empty ssaw 10 20 1 18 -262144 -1109 0 ; #X text 8 243 (c) Moonix: Antoine Rousseau 2004; @@ -12,6 +12,17 @@ #X obj 159 193 dac~; #X text 124 19 sweet sawtooth generator; #X text 121 32 (not to much aliasing below 10kHz); +#N canvas 502 150 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Antoine Rousseau; +#X text 12 145 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS signal bandlimited; +#X text 12 45 DESCRIPTION sweet sawtooth generator; +#X text 12 65 INLET_0 signal; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 signal; +#X restore 434 232 pd META; #X connect 2 0 3 0; #X connect 3 0 8 0; #X connect 3 0 8 1; diff --git a/tabdump2-help.pd b/tabdump2-help.pd index b69458c..6b9986b 100644 --- a/tabdump2-help.pd +++ b/tabdump2-help.pd @@ -1,11 +1,11 @@ -#N canvas 21 53 496 358 10; +#N canvas 0 31 496 358 10; #X obj 13 21 tabdump2; -#X obj 187 37 tabdump; +#X obj 187 40 tabdump; #X text 22 332 (c) Antoine Rousseau 2004; #X text 104 21 dump the contents of a table as a list; #X text 104 37 like zexy's; #X text 244 38 but with min/max dumping limits.; -#N canvas 0 0 450 300 graph5 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array \$0-array 10 float 0; #X coords 0 1 9 0 100 80 1; #X restore 330 71 graph; @@ -21,6 +21,16 @@ #X msg 95 203 dump 5 10; #X text 18 177 dump N M: from N to (M-1); #X msg 174 203 dump 5 6; +#N canvas 502 150 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 5 KEYWORDS control array; +#X text 12 45 DESCRIPTION dump the contents of a table as a list; +#X text 12 65 INLET_0 bang dump; +#X text 12 85 OUTLET_0 list; +#X restore 440 329 pd META; #X connect 8 0 7 0; #X connect 9 0 8 0; #X connect 10 0 11 0; diff --git a/tabenv-help.pd b/tabenv-help.pd index cb719d0..e196dac 100644 --- a/tabenv-help.pd +++ b/tabenv-help.pd @@ -1,4 +1,4 @@ -#N canvas 205 155 534 360 10; +#N canvas 0 31 534 360 10; #X text 22 332 (c) Antoine Rousseau 2001; #X obj 21 19 tabenv; #X text 78 21 A envelope follower for table (not in real-time).; @@ -8,7 +8,7 @@ #X msg 64 181 reset; #X msg 64 152 set Array1; #X obj 64 255 tabenv Array0; -#X floatatom 64 283 5 0 0; +#X floatatom 64 283 5 0 0 0 - - -; #X msg 64 209 0 44100; #X text 125 209 compute 1 sec from the beginning; #X text 126 181 reset the computation buffers; @@ -19,6 +19,16 @@ #X text 47 86 (like; #X obj 90 86 tabplay~; #X text 79 38 (in fact it's a mix between tabplay and env~); +#N canvas 502 150 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 45 DESCRIPTION dump the contents of a table as a list; +#X text 12 5 KEYWORDS control array needs_work (example patch); +#X text 12 65 INLET_0 set reset list; +#X text 12 85 OUTLET_0 float; +#X restore 471 332 pd META; #X connect 5 0 7 0; #X connect 6 0 7 0; #X connect 7 0 8 0; diff --git a/tabreadl-help.pd b/tabreadl-help.pd index feebabe..2429f0c 100644 --- a/tabreadl-help.pd +++ b/tabreadl-help.pd @@ -1,12 +1,12 @@ -#N canvas 502 181 672 415 10; +#N canvas 0 31 650 395 10; #X obj 10 11 tabreadl; #X text 22 332 (c) Antoine Rousseau 2004; -#X floatatom 15 173 0 0 0; -#X floatatom 15 278 0 0 0; -#N canvas 0 0 450 300 graph1 0; +#X floatatom 15 173 0 0 0 0 - - -; +#X floatatom 15 278 0 0 0 0 - - -; +#N canvas 0 0 450 300 (subpatch) 0; #X array \$0-array 10 float 0; #X coords 0 0 10 10 250 200 1; -#X restore 362 179 graph; +#X restore 362 139 graph; #X text 60 276 output = array99[index]; #X text 34 50 click here to initialize; #X text 159 236 creation argument; @@ -20,6 +20,16 @@ #X text 110 8 - linear interpolating read from a table; #X text 46 174 index(float); #X obj 15 245 tabreadl \$0-array; +#N canvas 502 150 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 85 OUTLET_0 float; +#X text 12 45 DESCRIPTION linear interpolating read from a table; +#X text 12 5 KEYWORDS control array; +#X text 12 65 INLET_0 float set; +#X restore 592 367 pd META; #X connect 2 0 15 0; #X connect 10 0 15 0; #X connect 11 0 12 0; diff --git a/tabsort-help.pd b/tabsort-help.pd index 805f12a..3cc8196 100644 --- a/tabsort-help.pd +++ b/tabsort-help.pd @@ -1,15 +1,15 @@ -#N canvas 118 208 534 360 10; +#N canvas 0 31 534 403 10; #X text 22 332 (c) Antoine Rousseau 2001; #X floatatom 39 303 5 0 0 0 - - -; #X obj 21 19 tabsort; #X text 20 58 args: source_table dest_table; -#N canvas 0 0 450 300 graph29 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array source 10 float 1; #A 0 -0.0571429 -0.985715 -0.942858 -0.857143 -0.757143 -0.542857 -0.171429 0.528571 0.842858 0.914287; #X coords 0 1 9 -1 200 140 1; #X restore 51 92 graph; -#N canvas 0 0 450 300 graph29 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array dest 10 float 1; #A 0 9 8 7 0 6 5 4 3 2 1; #X coords 0 10 9 0 200 140 1; @@ -25,6 +25,17 @@ sorted by decreasing order (biggest first); #X floatatom 304 305 5 0 0 0 - - -; #X text 347 244 try it!; #X text 300 321 it should decrease with input; +#N canvas 572 197 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 115 AUTHOR Antoine Rousseau; +#X text 12 135 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 95 OUTLET_0 float; +#X text 12 5 KEYWORDS control array; +#X text 12 75 INLET_0 float; +#X text 12 45 DESCRIPTION write to dest_table the indices of source_table's +elements sorted by decreasing order; +#X restore 476 370 pd META; #X connect 6 0 1 0; #X connect 7 0 6 0; #X connect 10 0 11 0; diff --git a/tabsort2-help.pd b/tabsort2-help.pd index 4f4e29a..6480d31 100644 --- a/tabsort2-help.pd +++ b/tabsort2-help.pd @@ -1,7 +1,7 @@ -#N canvas 133 15 811 538 10; +#N canvas 0 31 811 538 10; #X floatatom 62 381 5 0 0 0 - - -; -#N canvas 0 0 450 300 graph29 0; -#X array source1 100 float 1; +#N canvas 0 0 450 300 (subpatch) 0; +#X array \$0-source1 100 float 1; #A 0 -0.0428565 -0.0571422 0.085715 0.228572 0.442858 0.657144 0.871429 1.08572 1.22857 1.51429 1.72857 1.94286 2.22857 2.37143 2.58571 2.72857 2.87143 2.94286 3.15714 3.3 3.3 3.44286 3.58571 3.65714 3.72857 3.8 @@ -16,19 +16,18 @@ ; #X coords 0 10 99 0 200 140 1; #X restore 60 133 graph; -#N canvas 0 0 450 300 graph29 0; -#X array dest 100 float 0; +#N canvas 0 0 450 300 (subpatch) 0; +#X array \$0-dest 100 float 0; #X coords 0 100 99 0 200 140 1; #X restore 547 129 graph; #X obj 10 8 tabsort2; -#X text 75 9 2 dimensionnal sort.; #X text 24 99 args: source_table1 source_table2 dest_table; #X text 248 8 write to dest_table the indices of the first N source_table1's elements sorted by decreasing order (biggest first) \, then sort the "columns" of sqrt(N) indices decreasingly according to their values in source_table2 (is it clear?).; -#N canvas 0 0 450 300 graph29 0; -#X array source2 100 float 1; +#N canvas 0 0 450 300 (subpatch) 0; +#X array \$0-source2 100 float 1; #A 0 7.71429 7.64286 7.64286 7.57143 7.5 7.35714 7.21428 6.92857 6.57143 6 5.71428 5.57143 5.21428 4.5 4.35714 4.28571 4.28571 4.28571 4.28571 4.28571 4.42857 4.57143 4.64285 4.78571 4.92857 5.14285 5.35714 5.71428 @@ -43,42 +42,53 @@ in source_table2 (is it clear?).; #X coords 0 10 99 0 200 140 1; #X restore 311 131 graph; #X msg 62 340 100; -#X obj 62 360 tabsort2 source1 source2 dest; -#X obj 500 416 tabread dest; #X obj 452 362 * 10; #X obj 500 391 +; -#X floatatom 451 346 5 0 9 0 - - -; +#X floatatom 452 342 5 0 9 0 - - -; #X obj 528 361 t b f; -#X floatatom 528 344 5 0 9 0 - - -; +#X floatatom 528 340 5 0 9 0 - - -; #X floatatom 407 485 0 0 0 0 - - -; -#X obj 407 465 tabread source1; -#X obj 557 467 tabread source2; #X floatatom 557 487 0 0 0 0 - - -; #X floatatom 527 393 5 0 0 0 - - -; -#X text 433 328 x(columns); -#X text 521 327 y(lines); +#X text 434 324 x(columns); +#X text 521 323 y(lines); #X text 403 504 decrease with x; #X text 555 505 decrease with y; #X text 49 305 1) Sort it:; #X text 381 304 2) Try it:; #X text 8 520 (c) Antoine Rousseau 2002; #X floatatom 603 441 5 0 0 0 - - -; -#X text 604 416 index of sources; -#X text 606 426 elements; +#X text 604 414 index of sources; +#X text 606 424 elements; #X text 28 396 output=sqrt(N)=the width/height; #X text 28 410 of the destination "square".; -#X text 61 326 sort the N first elements; +#X text 61 323 sort the N first elements; +#X obj 500 416 tabread \$0-dest; +#X obj 407 465 tabread \$0-source1; +#X obj 557 467 tabread \$0-source2; +#X obj 62 360 tabsort2 \$0-source1 \$0-source2 \$0-dest; +#N canvas 572 197 494 344 META 0; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Antoine Rousseau; +#X text 12 125 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 85 OUTLET_0 float; +#X text 12 5 KEYWORDS control array; +#X text 12 65 INLET_0 float; +#X text 12 45 DESCRIPTION two dimensional sort; +#X restore 750 506 pd META; +#X text 75 9 2 dimensional sort; +#X connect 7 0 32 0; #X connect 8 0 9 0; -#X connect 9 0 0 0; -#X connect 10 0 17 0; -#X connect 10 0 18 0; -#X connect 10 0 28 0; -#X connect 11 0 12 0; -#X connect 12 0 10 0; -#X connect 12 0 20 0; -#X connect 13 0 11 0; -#X connect 14 0 12 0; -#X connect 14 1 12 1; -#X connect 15 0 14 0; -#X connect 17 0 16 0; -#X connect 18 0 19 0; +#X connect 9 0 15 0; +#X connect 9 0 29 0; +#X connect 10 0 8 0; +#X connect 11 0 9 0; +#X connect 11 1 9 1; +#X connect 12 0 11 0; +#X connect 29 0 23 0; +#X connect 29 0 30 0; +#X connect 29 0 31 0; +#X connect 30 0 13 0; +#X connect 31 0 14 0; +#X connect 32 0 0 0; -- cgit v1.2.1