diff options
Diffstat (limited to 'reference/sort-help.pd')
-rw-r--r-- | reference/sort-help.pd | 68 |
1 files changed, 40 insertions, 28 deletions
diff --git a/reference/sort-help.pd b/reference/sort-help.pd index b6d80a4..521a8ec 100644 --- a/reference/sort-help.pd +++ b/reference/sort-help.pd @@ -1,18 +1,18 @@ -#N canvas 137 350 811 532 10; -#X obj 95 233 print UNSORTED; -#X msg 37 107 bang; -#X obj 198 23 sort; -#X text 314 87 any package-elements that are non-float will be interpreted +#N canvas 0 31 689 468 10; +#X obj 95 193 print UNSORTED; +#X msg 37 67 bang; +#X obj 198 13 sort; +#X text 314 77 any package-elements that are non-float will be interpreted as "0.0".; -#X text 270 87 note :; -#X obj 56 335 sort 1; -#X obj 56 467 print ASCENDING; -#X obj 37 377 sort -1; -#X obj 37 487 print DESCENDING; -#X text 278 297 creation : "sort [<dir>]"; -#X text 457 310 dir < 0 :: descending sort; -#X text 456 297 dir >= 0 :: ascending sort; -#X text 460 328 dir defaults to ascending; +#X text 270 77 note :; +#X obj 56 295 sort 1; +#X obj 56 420 print ASCENDING; +#X obj 37 337 sort -1; +#X obj 37 442 print DESCENDING; +#X text 278 287 creation : "sort [<dir>]"; +#X text 457 300 dir < 0 :: descending sort; +#X text 456 287 dir >= 0 :: ascending sort; +#X text 460 318 dir defaults to ascending; #N canvas 360 175 475 254 randompackage 0; #X obj 37 190 pack 0 0 0 0 0 0 0 0 0 0 0; #X obj 170 87 random 15; @@ -53,21 +53,33 @@ as "0.0".; #X connect 13 8 3 0; #X connect 13 9 2 0; #X connect 13 10 1 0; -#X restore 37 195 pd randompackage; -#X msg 72 160 -----; -#X obj 37 141 t b b; -#X floatatom 94 268 0 0 0 0 - - -; -#X text 128 270 direction; -#X obj 37 213 t l l l l; -#X obj 75 287 sort; -#X obj 75 448 print SORTED; -#X text 237 23 shell-sort a package of floats; -#X text 553 16 part of zexy; -#X obj 81 402 print indicesD; -#X obj 93 357 print indicesA; -#X obj 72 177 print -----; -#X text 269 162 the second outlet gives the indices of the input data. +#X restore 37 155 pd randompackage; +#X msg 72 120 -----; +#X obj 37 101 t b b; +#X floatatom 94 228 0 0 0 0 - - -; +#X text 128 230 direction; +#X obj 37 173 t l l l l; +#X obj 75 247 sort; +#X obj 75 398 print SORTED; +#X text 237 13 shell-sort a package of floats; +#X text 553 6 part of zexy; +#X obj 81 362 print indicesD; +#X obj 93 317 print indicesA; +#X obj 72 137 print -----; +#X text 269 152 the second outlet gives the indices of the input data. ; +#N canvas 558 166 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR IOhannes m zmoelnig; +#X text 12 45 DESCRIPTION shell sort a package of floats; +#X text 12 65 INLET_0 list; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 list; +#X text 12 125 OUTLET_1 list; +#X text 12 5 KEYWORDS control list_op; +#X restore 631 435 pd META; #X connect 1 0 15 0; #X connect 5 0 6 0; #X connect 5 1 24 0; |