pax_global_header00006660000000000000000000000064130101747030014506gustar00rootroot0000000000000052 comment=07bf5281b9f55c62bf1e7e5ec5ef49057880942f AutoPreset-0.10/000077500000000000000000000000001301017470300135215ustar00rootroot00000000000000AutoPreset-0.10/.gitignore000066400000000000000000000003651301017470300155150ustar00rootroot00000000000000 ######################### # operating system ######################### # Linux *~ # KDE .directory .AppleDouble # OSX .DS_Store *.swp *~.nib # Thumbnails ._* # Windows # Windows image file caches Thumbs.db # Folder config file Desktop.ini AutoPreset-0.10/0autopreset-help.pd000066400000000000000000000444131301017470300172550ustar00rootroot00000000000000#N canvas 76 439 333 330 10; #X declare -lib libdir -lib moonlib -stdpath moonlib -stdpath extra/moonlib ; #N canvas 721 102 485 645 Introduction 1; #X text 68 18 Welcome to AutoPreset abstractions !; #X text 49 288 2) the number of "patterns" (16 by default); #X text 33 358 There are 3 types of base objects :; #X text 49 416 - apsubmaster which is used to create subdirectories relative to an apmaster; #X text 49 275 1) the current value of the parameter; #X text 49 301 3) the "patterns" \, which are different stored values of the parameter.; #X text 31 65 Here is the context : we have a patch \, containing many controllers and many subgroups or abstractions containing themselves many controllers.; #X text 50 374 - apmaster \, which is responsible for loading and saving preset files (and for dispatching/collecting individual presets); #X text 49 445 - parameter types (float \, symbol \, table...). Float type [apf] has this unique feature to be able to interpolate between two different patterns.; #X obj 30 569 cnv 15 380 60 empty empty empty 20 12 0 14 -232576 -66577 0; #X text 32 122 The problem is to remember different settings of this whole system \, and to store everything into a single file. Notice that we want to be able to use multiple instances of the same abstraction with a different setting for each.; #X text 31 196 The approach proposed here is quite different from the one of Franck Barknecht's RRADical \, for example. Here \, the data (let's call it a "preset") is stored into each "ap" object when loading or modifying it \, and is collected by the master only when saving. A "preset" is composed of :; #X text 33 507 Finally \, some utility abstractions are provided to help manipulating preset files and patterns.; #X text 39 581 WARNING : AutoPreset needs following externals : moonlib \, iemlib \, ggee., f 50; #X restore 36 50 pd Introduction; #N canvas 390 499 330 244 Basic 0; #X obj 20 72 bng 15 250 50 0 empty empty load 17 7 0 10 -4034 -1 -1 ; #X obj 197 68 bng 15 250 50 0 empty empty save 17 7 0 10 -258113 -1 -1; #X obj 20 51 loadbang; #X obj 20 95 apmasterfile Basic p/basic.txt; #X obj 107 171 nbx 7 25 -1e+37 1e+37 0 0 empty empty MyFloat 0 -8 0 16 -204786 -1 -1 3.14159 256; #X text 21 212 Change MyFloat's value \, then reload.; #X obj 61 136 apf Basic MyFloat; #X text 54 6 Store/recall state to/from disk :; #X obj 20 30 apmaster Basic; #X connect 0 0 3 0; #X connect 1 0 3 1; #X connect 2 0 0 0; #X connect 4 0 6 0; #X connect 6 0 4 0; #X restore 36 76 pd Basic; #N canvas 768 470 337 358 Patterns 0; #X obj 13 69 bng 15 250 50 0 empty empty load 17 7 0 10 -4034 -1 -1 ; #X obj 244 69 bng 15 250 50 0 empty empty save 17 7 0 10 -258113 -1 -1; #X obj 13 48 loadbang; #X obj 95 180 nbx 7 25 -1e+37 1e+37 0 0 empty empty MyFloat 0 -8 0 16 -204786 -1 -1 -290 256; #X obj 54 243 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 -1 3; #X obj 175 275 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -258113 -1 -1 0; #X msg 54 268 MyFloat load \$1; #X msg 175 298 MyFloat store \$1; #X text 171 255 Modify them :; #X obj 13 92 apmasterfile \$0-Patterns p/patterns.txt; #X obj 54 326 s \$0-Patterns-pattern-snd; #X text 50 223 Try loading the 4 different patterns :; #X text 40 9 Use different states :; #X obj 58 144 apf \$0-Patterns MyFloat; #X obj 13 28 apmaster \$0-Patterns; #X connect 0 0 9 0; #X connect 1 0 9 1; #X connect 2 0 0 0; #X connect 3 0 13 0; #X connect 4 0 6 0; #X connect 5 0 7 0; #X connect 6 0 10 0; #X connect 7 0 10 0; #X connect 13 0 3 0; #X restore 36 103 pd Patterns; #N canvas 641 144 616 678 FloatPatterns 0; #X obj 21 192 hsl 200 15 0 3 0 0 empty empty empty -2 -6 0 8 -225271 -1 -1 0 1; #X text 16 156 apf understands float pattern:; #X text 16 170 it interpolates between two following patterns.; #X obj 20 108 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 12700 1; #X obj 253 53 bng 15 250 50 0 empty empty load 17 7 0 10 -4034 -1 -1 ; #X obj 496 54 bng 15 250 50 0 empty empty save 17 7 0 10 -258113 -1 -1; #X obj 253 32 loadbang; #X obj 17 34 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 -1 0; #X obj 139 34 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -258113 -1 -1 0; #X msg 17 52 _all_ load \$1; #X msg 139 53 _all_ store \$1; #X obj 244 107 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 12700 1; #X msg 18 232 _all_ load \$1; #X floatatom 18 211 5 0 0 0 - - -, f 5; #X obj 22 337 hsl 200 15 0 1 0 0 empty empty empty -2 -6 0 8 -262130 -1 -1 0 1; #X floatatom 19 356 5 0 0 0 - - -, f 5; #X msg 19 376 _all_ A 0 \, _all_ B 3 \, _all_ pos \$1; #X obj 270 199 cnv 15 250 110 empty empty additionnal_related_object: 5 8 0 11 -233017 -66577 0; #X obj 280 261 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 9700 1; #X obj 276 219 cnv 15 120 20 empty empty empty 20 8 0 14 -225271 -66577 0; #X text 279 219 api: for float; #X text 275 235 (but doesn't interpolate float patterns); #X text 17 316 apf also can interpolate between any two patterns : ; #X text 64 356 interpolate between patterns 0 and 3 :; #X obj 23 439 hsl 200 15 0 1 0 0 empty empty empty -2 -6 0 8 -262130 -1 -1 0 1; #X floatatom 20 458 5 0 0 0 - - -, f 5; #X obj 20 479 presetfadelin 2 0 1 3; #X obj 20 604 list prepend _all_; #X obj 20 629 list trim; #X obj 44 521 hsl 200 15 0 1 0 0 empty empty empty -2 -6 0 8 -262130 -1 -1 19900 1; #X floatatom 41 540 5 0 0 0 - - -, f 5; #X obj 41 561 presetfadecos 2 0 1 3; #X obj 313 507 hsl 200 15 0 1 0 0 empty empty empty -2 -6 0 8 -262130 -1 -1 0 1; #X floatatom 310 526 5 0 0 0 - - -, f 5; #X obj 310 462 line; #X obj 310 484 wrap; #X msg 400 439 stop; #X text 307 421 circular sequence :; #X text 18 419 pattern fade sequence :; #X text 38 503 pattern fade with cosinus position :; #X text 61 461 fade pattern list : 2 \, 0 \, 1 \, 3; #X obj 310 547 presetfadelin 2 0 3 1 2 3 0 2; #X msg 310 439 0 \, 100 1e+06; #X text 362 528 same first and last pattern (2):; #X obj 17 77 s \$0-FloatPatterns-pattern-snd; #X obj 253 76 apmasterfile \$0-FloatPatterns p/float.txt; #X obj 18 252 s \$0-FloatPatterns-pattern-snd; #X obj 277 280 api \$0-FloatPatterns MyFloatI; #X obj 19 397 s \$0-FloatPatterns-pattern-snd; #X obj 20 653 s \$0-FloatPatterns-pattern-snd; #X text 187 6 Interpolation :; #X obj 17 127 apf \$0-FloatPatterns MyFloat1; #X obj 241 126 apf \$0-FloatPatterns MyFloat2; #X obj 16 9 apmaster \$0-FloatPatterns; #X connect 0 0 13 0; #X connect 3 0 51 0; #X connect 4 0 45 0; #X connect 5 0 45 1; #X connect 6 0 4 0; #X connect 7 0 9 0; #X connect 8 0 10 0; #X connect 9 0 44 0; #X connect 10 0 44 0; #X connect 11 0 52 0; #X connect 12 0 46 0; #X connect 13 0 12 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 48 0; #X connect 18 0 47 0; #X connect 24 0 25 0; #X connect 25 0 26 0; #X connect 26 0 27 0; #X connect 27 0 28 0; #X connect 28 0 49 0; #X connect 29 0 30 0; #X connect 30 0 31 0; #X connect 31 0 27 0; #X connect 32 0 33 0; #X connect 33 0 41 0; #X connect 34 0 35 0; #X connect 35 0 32 0; #X connect 36 0 34 0; #X connect 41 0 27 0; #X connect 42 0 34 0; #X connect 47 0 18 0; #X connect 51 0 3 0; #X connect 52 0 11 0; #X restore 36 157 pd FloatPatterns; #N canvas 644 150 603 647 ParameterTypes 0; #X obj 159 142 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 11000 1; #X msg 175 462 set 0 un deux trois; #X msg 318 462 set 0 one two three; #X msg 123 485 dump; #X symbolatom 261 549 0 0 0 0 - - -; #X obj 222 502 sarray \$0-MySarray 3; #X obj 19 549 del 1; #X obj 19 528 b; #X symbolatom 171 261 10 0 0 0 - - -, f 10; #X msg 160 219 one; #X obj 171 239 symbol; #X msg 227 219 trois; #X obj 222 524 unpack s s s; #X symbolatom 206 549 0 0 0 0 - - -; #X symbolatom 318 547 0 0 0 0 - - -; #X obj 23 143 cnv 15 120 30 empty empty empty 20 12 0 14 -225271 -66577 0; #X obj 22 230 cnv 15 120 30 empty empty empty 20 12 0 14 -225271 -66577 0; #X obj 23 321 cnv 15 120 30 empty empty empty 20 12 0 14 -225271 -66577 0; #X obj 18 423 cnv 15 190 30 empty empty empty 20 12 0 14 -225271 -66577 0; #N canvas 0 50 450 300 (subpatch) 0; #X array \$0-MyTab 20 float 0; #X coords 0 1 19 -1 100 60 1; #X restore 389 327 graph; #X text 34 149 apf : for float; #X text 27 236 apsym : for symbol; #X text 29 327 aptab : for table; #X text 24 428 apsarray : for symbol array; #X obj 280 62 bng 15 250 50 0 empty empty load 17 7 0 10 -4034 -1 -1 ; #X obj 475 64 bng 15 250 50 0 empty empty save 17 7 0 10 -258113 -1 -1; #X obj 280 41 loadbang; #X obj 23 41 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 -1 0; #X obj 145 41 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -258113 -1 -1 0; #X msg 23 59 _all_ load \$1; #X msg 145 60 _all_ store \$1; #X obj 19 485 route _all_; #X obj 19 508 route load; #X msg 462 463 set 0 ein zwei drei; #X msg 190 219 zwei; #X msg 380 504 reset \, dump; #X text 27 100 (notice the "_all_" pattern target); #X obj 23 84 s \$0-Types-pattern-snd; #X obj 280 85 apmasterfile \$0-Types p/types.txt; #X obj 171 279 apsym \$0-Types MySym; #X obj 151 328 aptab \$0-Types MyTab \$0-MyTab 20; #X obj 215 434 apsarray \$0-Types MySarray \$0-MySarray 3; #X obj 19 463 r \$0-Types-pattern-snd; #X text 220 416 ([sarray] is a moonlib's external); #X text 158 11 Several parameter types :; #X obj 156 160 apf \$0-Types MyFloat; #X obj 23 15 apmaster \$0-Types; #X obj 100 582 declare -lib libdir -lib moonlib -stdpath moonlib -stdpath extra/moonlib; #X connect 0 0 45 0; #X connect 1 0 5 0; #X connect 2 0 5 0; #X connect 3 0 5 0; #X connect 5 0 12 0; #X connect 6 0 3 0; #X connect 7 0 6 0; #X connect 8 0 39 0; #X connect 9 0 10 0; #X connect 10 0 8 0; #X connect 11 0 10 0; #X connect 12 0 13 0; #X connect 12 1 4 0; #X connect 12 2 14 0; #X connect 24 0 38 0; #X connect 25 0 38 1; #X connect 26 0 24 0; #X connect 27 0 29 0; #X connect 28 0 30 0; #X connect 29 0 37 0; #X connect 30 0 37 0; #X connect 31 0 32 0; #X connect 32 0 7 0; #X connect 33 0 5 0; #X connect 34 0 10 0; #X connect 35 0 5 0; #X connect 39 0 8 0; #X connect 42 0 31 0; #X connect 45 0 0 0; #X restore 36 130 pd ParameterTypes; #N canvas 693 154 480 386 SendReceive 0; #X obj 32 81 bng 15 250 50 0 empty empty load 17 7 0 10 -4034 -1 -1 ; #X obj 299 81 bng 15 250 50 0 empty empty save 17 7 0 10 -258113 -1 -1; #X obj 32 60 loadbang; #X obj 35 289 nbx 7 25 -1e+37 1e+37 0 0 \$0-MyFloat-snd \$0-MyFloat-rcv MyFloat 0 -8 0 16 -204786 -1 -1 100 256; #X obj 32 104 apmasterfile \$0-SendReceive p/sendreceive.txt; #X text 28 140 You can avoid to cross-connect a controller with its ap* if you notify a BusName (here \$0-MyFloat) to the ap* and you assign correct send/receive symbol to the controller (here \$0-MyFloat-snd and \$0-MyFloat-rcv) :; #X text 33 231 (notice the 3rd argument \$0-MyFloat); #X text 33 314 (open properties panel to see how send/receive channels are configurated); #X text 49 10 Less wires :; #X obj 36 213 apf \$0-SendReceive MyFloat \$0-MyFloat; #X obj 32 36 apmaster \$0-SendReceive; #X connect 0 0 4 0; #X connect 1 0 4 1; #X connect 2 0 0 0; #X restore 36 213 pd SendReceive; #N canvas 513 86 756 749 More... 0; #X obj 253 64 bng 15 250 50 0 empty empty load 17 7 0 10 -4034 -1 -1 ; #X obj 436 65 bng 15 250 50 0 empty empty save 17 7 0 10 -258113 -1 -1; #X obj 253 43 loadbang; #X obj 11 44 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 -1 0; #X obj 133 44 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -258113 -1 -1 0; #X msg 11 62 _all_ load \$1; #X msg 133 63 _all_ store \$1; #X obj 11 87 s \$0-More-pattern-snd; #X obj 253 87 apmasterfile \$0-More p/more.txt; #X obj 198 166 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 -1 0; #X obj 273 166 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -258113 -1 -1 0; #X obj 198 209 s \$0-More-pattern-snd; #X msg 198 184 f1 load \$1; #X obj 46 190 nbx 5 20 -1e+37 1e+37 0 0 \$0-f1-snd \$0-f1-rcv f1 -15 10 0 12 -204786 -1 -1 1 256; #X msg 273 185 f1 store \$1; #X text 8 116 AP*s ADDITIONNAL PARAMETERS : pat_no_all \, dont_recall ; #X obj 574 168 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 -1 0; #X obj 649 168 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -258113 -1 -1 0; #X obj 574 211 s \$0-More-pattern-snd; #X obj 421 192 nbx 5 20 -1e+37 1e+37 0 0 \$0-f2-snd \$0-f2-rcv f2 -15 10 0 12 -204786 -1 -1 13 256; #X msg 574 186 f2 load \$1; #X msg 649 187 f2 store \$1; #X obj 45 286 nbx 5 20 -1e+37 1e+37 0 0 \$0-f3-snd \$0-f3-rcv f3 -15 10 0 12 -204786 -1 -1 1 256; #X obj 45 310 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 46 216 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 421 215 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 244 363 ap_testabs \$0-More absA; #X obj 44 390 apgetval \$0-More f3; #X floatatom 44 411 5 0 0 0 - - -, f 5; #X msg 44 363 get; #X msg 74 363 set -100; #X symbolatom 425 412 20 0 0 0 - - -, f 20; #X obj 425 367 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 143 363 f3; #X msg 174 363 absA f1; #X text 11 340 ACCESS FROM/TO INDIVIDUAL PARAMETERS AND SUBREFS :; #X obj 43 440 r \$0-More-sndap; #X floatatom 166 509 5 0 0 0 - - -, f 5; #X floatatom 43 484 5 0 0 0 - - -, f 5; #X obj 254 470 tgl 15 0 empty empty enable_upload 17 4 1 10 -62784 -241291 -62784 0 1; #X msg 254 489 absA _upload_ \$1; #X obj 254 508 s \$0-More-setap-snd; #X text 234 437 <- In order to listen to parameters of a subreference \, you have to enable "upload" for this subreference :; #X obj 43 461 route f1 f2 f3 absA; #X obj 166 487 route f1 f2; #X floatatom 201 508 5 0 0 0 - - -, f 5; #X floatatom 79 484 5 0 0 0 - - -, f 5; #X floatatom 115 484 5 0 0 0 - - -, f 5; #X text 14 565 CHANGE THE NUMBER OF PATTERNS :; #X obj 30 610 s \$0-More-setap-snd; #X msg 27 637 17; #X msg 58 637 31; #X msg 134 635 17; #X msg 165 635 31; #X obj 27 684 s \$0-More-pattern-snd; #X msg 27 660 absA store \$1; #X msg 134 661 absA load \$1; #X msg 30 590 absA _all_ _nbpattern_ 32; #X obj 297 623 r \$0-More-apmaster-snd; #X obj 297 646 route loaded saved; #X symbolatom 297 712 0 0 0 0 - - -; #X symbolatom 349 690 0 0 0 0 - - -; #X obj 297 668 symbol; #X obj 349 667 symbol; #X text 324 550 PRESET FILE :; #X msg 490 561 load; #X obj 490 587 s \$0-More-apmaster-rcv; #X msg 527 561 save; #X text 27 134 If pat_no_all=1 \, don't listen to "_all_" pattern commands (but still have patterns) :, f 45; #X text 443 138 If pat_no_all=2 \, no patterns at all :; #X text 27 242 If dont_recall=1 \, don't send saved value on file load :; #X text 296 567 Choose file to load/save:; #X text 297 603 Know which file was chosen :; #X obj 425 346 loadbang; #X obj 425 387 apgetref \$0-More absA; #X text 43 15 Stuff and tricks :; #X obj 32 166 apf \$0-More f1 \$0-f1 1; #X obj 407 168 apf \$0-More f2 \$0-f2 2; #X obj 31 262 apf \$0-More f3 \$0-f3 0 1; #X obj 318 43 apmaster \$0-More; #X connect 0 0 8 0; #X connect 1 0 8 1; #X connect 2 0 0 0; #X connect 3 0 5 0; #X connect 4 0 6 0; #X connect 5 0 7 0; #X connect 6 0 7 0; #X connect 9 0 12 0; #X connect 10 0 14 0; #X connect 12 0 11 0; #X connect 13 0 24 0; #X connect 14 0 11 0; #X connect 16 0 20 0; #X connect 17 0 21 0; #X connect 19 0 25 0; #X connect 20 0 18 0; #X connect 21 0 18 0; #X connect 22 0 23 0; #X connect 27 0 28 0; #X connect 29 0 27 0; #X connect 30 0 27 0; #X connect 32 0 74 0; #X connect 33 0 27 1; #X connect 34 0 27 1; #X connect 36 0 43 0; #X connect 39 0 40 0; #X connect 40 0 41 0; #X connect 43 0 38 0; #X connect 43 1 46 0; #X connect 43 2 47 0; #X connect 43 3 44 0; #X connect 44 0 37 0; #X connect 44 1 45 0; #X connect 50 0 55 0; #X connect 51 0 55 0; #X connect 52 0 56 0; #X connect 53 0 56 0; #X connect 55 0 54 0; #X connect 56 0 54 0; #X connect 57 0 49 0; #X connect 58 0 59 0; #X connect 59 0 62 0; #X connect 59 1 63 0; #X connect 62 0 60 0; #X connect 63 0 61 0; #X connect 65 0 66 0; #X connect 67 0 66 0; #X connect 73 0 32 0; #X connect 74 0 31 0; #X restore 36 241 pd More...; #N canvas 541 86 656 701 SubMaster 0; #X obj 277 64 bng 15 250 50 0 empty empty load 17 7 0 10 -4034 -1 -1 ; #X obj 460 65 bng 15 250 50 0 empty empty save 17 7 0 10 -258113 -1 -1; #X obj 277 43 loadbang; #X obj 27 44 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 -1 0; #X obj 149 44 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -258113 -1 -1 0; #X msg 27 62 _all_ load \$1; #X msg 149 63 _all_ store \$1; #X obj 64 154 apsubmaster \$0-subgroup1 \$0-Subs subgroup1; #X obj 27 87 s \$0-Subs-pattern-snd; #X obj 277 87 apmasterfile \$0-Subs p/subs.txt; #X obj 64 194 nbx 7 25 -1e+37 1e+37 0 0 empty empty MyFloat 0 -8 0 16 -204786 -1 -1 10 256; #X text 25 118 apsubmaster lets you create subgroups under your initial reference :; #X obj 65 293 ap_testabs \$0-Subs absA; #X obj 69 469 hsl 150 15 0 3 0 0 empty empty empty -2 -6 0 8 -225271 -1 -1 0 1; #X msg 66 509 _all_ load \$1; #X floatatom 66 488 5 0 0 0 - - -, f 5; #X obj 66 529 s \$0-Subs-pattern-snd; #X obj 69 576 hsl 150 15 0 3 0 0 empty empty empty -2 -6 0 8 -225271 -1 -1 0 1; #X floatatom 66 594 5 0 0 0 - - -, f 5; #X obj 66 654 s \$0-Subs-pattern-snd; #X msg 66 615 absA load \$1; #X text 25 449 You can still use floatpattern feature :; #X text 24 257 This can be used to save each instance's state for a same abstraction :; #X text 26 559 Talk to only one abstraction :; #X text 26 357 You can nest how many levels you want :; #X text 267 396 (here absC is referenced to \$0-subgroup1); #X obj 249 576 hsl 150 15 0 3 0 0 empty empty empty -2 -6 0 8 -225271 -1 -1 0 1; #X floatatom 246 595 5 0 0 0 - - -, f 5; #X msg 246 616 subgroup1 load \$1; #X text 247 558 Only talk to subgroup1 :; #X obj 441 576 hsl 150 15 0 3 0 0 empty empty empty -2 -6 0 8 -225271 -1 -1 0 1; #X floatatom 438 595 5 0 0 0 - - -, f 5; #X obj 246 293 ap_testabs \$0-Subs absB; #X obj 65 378 ap_testabs \$0-subgroup1 absC; #X text 439 558 Talk to subgroup1/absC/f2 :; #X msg 438 616 subgroup1 absC f2 load \$1; #X msg 334 491 absB _pat_all_follow_ \$1; #X obj 334 512 s \$0-Subs-setap-snd; #X obj 334 472 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 299 451 You can disconnect a subreference from master patterns :; #X text 148 11 Subgroups :; #X obj 64 223 apf \$0-subgroup1 MyFloat1; #X obj 26 19 apmaster \$0-Subs; #X connect 0 0 9 0; #X connect 1 0 9 1; #X connect 2 0 0 0; #X connect 3 0 5 0; #X connect 4 0 6 0; #X connect 5 0 8 0; #X connect 6 0 8 0; #X connect 10 0 41 0; #X connect 13 0 15 0; #X connect 14 0 16 0; #X connect 15 0 14 0; #X connect 17 0 18 0; #X connect 18 0 20 0; #X connect 20 0 19 0; #X connect 26 0 27 0; #X connect 27 0 28 0; #X connect 28 0 19 0; #X connect 30 0 31 0; #X connect 31 0 35 0; #X connect 35 0 19 0; #X connect 36 0 37 0; #X connect 38 0 36 0; #X connect 41 0 10 0; #X restore 36 185 pd SubMaster; #X text 57 12 AutoPreset Help page; #X text 15 298 Moonix::Antoine Rousseau 2004-2016; AutoPreset-0.10/LICENSE.txt000066400000000000000000000357451301017470300153620ustar00rootroot00000000000000GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS AutoPreset-0.10/README.md000066400000000000000000000017071301017470300150050ustar00rootroot00000000000000#AutoPreset abstractions Simple state saving for PureData -------------------------------- ###requirements : You need following externals : - moonlib - iemlib - ggee -------------------------------- ###help : Open `0autopreset-help.pd` for help and examples. AutoPreset is a simple state saving system (like rradical/ssad, among other ones). It aims to be simple and yet powerful. One particularity of this system is to be able to interpolate float parameters between different settings (parameter morphing). There are 3 main objects : - apmaster : define a master Reference ; save and load preset files. - apsubmaster : define a sub-Reference, under another Reference. - apf (float), apsym (symbol), aptab (table) (...) : parameter types, which must depend on a Reference. -------------------------------- Antoine Rousseau 2004-2016 license : GNU GPL (see [LICENSE.txt](LICENSE.txt)) get last version there: AutoPreset-0.10/README.txt000066400000000000000000000017071301017470300152240ustar00rootroot00000000000000#AutoPreset abstractions Simple state saving for PureData -------------------------------- ###requirements : You need following externals : - moonlib - iemlib - ggee -------------------------------- ###help : Open `0autopreset-help.pd` for help and examples. AutoPreset is a simple state saving system (like rradical/ssad, among other ones). It aims to be simple and yet powerful. One particularity of this system is to be able to interpolate float parameters between different settings (parameter morphing). There are 3 main objects : - apmaster : define a master Reference ; save and load preset files. - apsubmaster : define a sub-Reference, under another Reference. - apf (float), apsym (symbol), aptab (table) (...) : parameter types, which must depend on a Reference. -------------------------------- Antoine Rousseau 2004-2015 license : GNU GPL (see [LICENSE.txt](LICENSE.txt)) get last version there: AutoPreset-0.10/ap_testabs.pd000066400000000000000000000006661301017470300162030ustar00rootroot00000000000000#N canvas 1 73 450 300 10; #X obj 105 135 nbx 5 20 -1e+37 1e+37 0 0 empty empty f1 0 -8 0 12 -262130 -1 -1 1 256; #X obj 181 135 nbx 5 20 -1e+37 1e+37 0 0 empty empty f2 0 -8 0 12 -204800 -1 -1 -1 256; #X obj 35 37 apsubmaster \$0-localref \$1 \$2; #X obj 105 190 apf \$0-localref f1; #X obj 181 164 apf \$0-localref f2; #X connect 0 0 3 0; #X connect 1 0 4 0; #X connect 3 0 0 0; #X connect 4 0 1 0; #X coords 0 -1 1 1 150 60 1 100 100; AutoPreset-0.10/apf-help.pd000066400000000000000000000016201301017470300155410ustar00rootroot00000000000000#N canvas 649 78 455 170 10; #X declare -lib libdir -lib ggee; #X text 14 -1 usage : apf Ref Name [BusName [pat_no_all [dont-recall]]] ; #X text 59 15 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 58 45 -if dont-recall=1 \, saved value is not send when we load the preset.; #X text 13 -20 AutoPreset Float; #X text 12 -21 AutoPreset Float; #X obj 17 83 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X obj 18 166 declare -lib libdir -lib ggee; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 21 123 pd open; #X msg 21 100 0autopreset-help.pd; #X connect 7 0 6 0; AutoPreset-0.10/apf.pd000066400000000000000000000141471301017470300146230ustar00rootroot00000000000000#N canvas 351 107 1027 745 10; #X declare -lib libdir -lib ggee -stdpath ggee; #X obj 467 558 s \$3-rcv; #X obj 292 107 r \$1-setap-snd; #X obj 30 118 r \$1-getap-snd; #X obj 9 119 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 57 356 s \$1-getap-rcv; #X obj 30 334 t b a; #X obj 30 168 symbol \$2; #X obj 30 143 t b b; #X obj 30 189 pack s f 16; #X obj 641 62 r \$1-pattern-snd; #X obj 522 16 table \$0-pattern 16; #X obj 641 255 pack f f; #X obj 641 275 s \$0-pattern; #X obj 487 335 sel 0; #X obj 514 357 b; #X obj 51 221 16; #X msg 116 195 resize \$1; #X obj 116 214 s \$0-pattern; #X obj 641 233 moses 16; #X obj 727 245 moses 16; #X obj 292 127 route \$2 _all_; #X obj 487 312 t f f; #X obj 527 335 s \$0-nbpattern; #X obj 93 162 r \$0-nbpattern; #X obj 292 347 s \$0-nbpattern; #X obj 722 193 r \$0-nbpattern; #X obj 193 102 t f; #X obj 641 85 route \$2 _all_; #X obj 596 51 inlet; #X obj 459 580 outlet; #X obj 206 220 s \$1-sndap; #X obj 206 160 symbol \$2; #X obj 206 140 t b f; #X obj 206 180 pack s f; #X obj 641 212 i; #X obj 819 92 sel 2; #X obj 819 135 s \$0-nbpattern; #X msg 819 114 0; #X obj 51 240 route 0; #X obj 332 149 route \$2; #X obj 675 485 pack s f; #X obj 675 443 t s b; #X msg 675 507 \; \$1 \$2; #X obj 675 419 symbol; #X text 719 415 if parameter is "_get_val_ "; #X obj 292 240 route _nbpattern_ _loaded_ float list _get_val_; #X text 721 428 then return val to .; #X obj 705 463 f; #X obj 641 137 route store load A B pos; #X obj 881 285 tabread \$0-pattern; #X obj 898 217 tabread \$0-pattern; #X obj 848 311 *; #X obj 880 241 *; #X obj 848 335 +; #X obj 848 265 * -1; #X obj 848 286 + 1; #X obj 848 218 t f f; #X obj 459 501 spigot 1; #X obj 504 481 == 0; #X floatatom 765 221 5 0 0 0 - - -, f 5; #X obj 459 534 t f; #X obj 535 73 t f; #X obj 535 50 r \$3-snd; #X text 25 22 usage : apf Ref Name [BusName [pat_no_all [dont-recall]]] ; #X text 70 38 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 24 3 AutoPreset Float; #X text 23 2 AutoPreset Float; #X text 69 68 -if dont-recall=1 \, saved value is not sent when we load the preset.; #X obj 337 305 != 2; #X obj 292 327 spigot 1; #X obj 399 202 spigot 1; #X obj 463 199 != 1; #X obj 856 37 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 640 662 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 860 76 pd open; #X msg 860 54 0autopreset-help.pd; #X obj 399 116 route _nbpattern_; #X obj 399 137 list prepend _nbpattern_; #X obj 399 156 list trim; #X obj 337 262 loadbang; #X obj 337 284 f \$4; #X obj 463 159 loadbang; #X obj 463 179 f \$4; #X obj 504 442 loadbang; #X obj 504 462 f \$5; #X obj 766 34 loadbang; #X obj 766 55 f \$4; #X obj 514 377 list; #X obj 459 263 list split 2; #X obj 459 285 unpack f f; #X obj 514 419 s \$0-pattern; #X obj 852 543 tabread \$0-pattern; #X obj 798 451 t f f; #X obj 825 476 i; #X obj 825 498 t f f; #X obj 852 521 + 1; #X obj 798 524 -; #X obj 825 563 tabread \$0-pattern; #X obj 798 587 t f f; #X obj 798 611 * -1; #X obj 798 633 + 1; #X obj 825 655 *; #X obj 798 655 *; #X obj 798 677 +; #X obj 90 285 array get \$0-pattern; #X msg 90 263 0 \$1; #X obj 514 397 list prepend 0; #X obj 30 313 list append; #X obj 766 84 == 0; #X obj 206 200 list trim; #X obj 681 109 spigot 1; #X obj 50 672 declare -lib libdir -lib ggee -stdpath ggee; #X connect 1 0 20 0; #X connect 2 0 7 0; #X connect 3 0 7 0; #X connect 5 1 4 0; #X connect 6 0 8 0; #X connect 7 0 6 0; #X connect 7 1 15 0; #X connect 8 0 106 0; #X connect 9 0 27 0; #X connect 11 0 12 0; #X connect 13 1 14 0; #X connect 14 0 86 0; #X connect 15 0 38 0; #X connect 16 0 17 0; #X connect 18 0 11 0; #X connect 19 0 91 0; #X connect 20 0 45 0; #X connect 20 1 39 0; #X connect 21 0 13 0; #X connect 21 1 22 0; #X connect 23 0 16 0; #X connect 23 0 15 1; #X connect 23 0 8 2; #X connect 25 0 19 1; #X connect 25 0 18 1; #X connect 25 0 59 0; #X connect 26 0 8 1; #X connect 26 0 32 0; #X connect 27 0 48 0; #X connect 27 1 109 0; #X connect 28 0 61 0; #X connect 31 0 33 0; #X connect 32 0 31 0; #X connect 32 1 33 1; #X connect 33 0 108 0; #X connect 34 0 18 0; #X connect 35 0 37 0; #X connect 37 0 36 0; #X connect 38 1 104 0; #X connect 39 0 45 0; #X connect 39 1 75 0; #X connect 40 0 42 0; #X connect 41 0 40 0; #X connect 41 1 47 0; #X connect 43 0 41 0; #X connect 45 0 69 0; #X connect 45 2 60 0; #X connect 45 3 87 0; #X connect 45 4 43 0; #X connect 47 0 40 1; #X connect 48 0 34 0; #X connect 48 1 19 0; #X connect 48 2 49 0; #X connect 48 3 50 0; #X connect 48 4 56 0; #X connect 49 0 51 1; #X connect 50 0 52 1; #X connect 51 0 53 0; #X connect 52 0 53 1; #X connect 53 0 60 0; #X connect 54 0 55 0; #X connect 55 0 51 0; #X connect 56 0 54 0; #X connect 56 1 52 0; #X connect 57 0 60 0; #X connect 58 0 57 1; #X connect 60 0 29 0; #X connect 60 0 0 0; #X connect 61 0 26 0; #X connect 61 0 11 1; #X connect 61 0 47 1; #X connect 62 0 61 0; #X connect 68 0 69 1; #X connect 69 0 24 0; #X connect 70 0 45 0; #X connect 71 0 70 1; #X connect 74 0 73 0; #X connect 75 0 76 0; #X connect 75 1 45 0; #X connect 76 0 77 0; #X connect 77 0 70 0; #X connect 78 0 79 0; #X connect 79 0 68 0; #X connect 80 0 81 0; #X connect 81 0 71 0; #X connect 82 0 83 0; #X connect 83 0 58 0; #X connect 84 0 85 0; #X connect 85 0 35 0; #X connect 85 0 107 0; #X connect 86 0 105 0; #X connect 87 0 88 0; #X connect 87 1 86 1; #X connect 88 0 57 0; #X connect 88 1 21 0; #X connect 90 0 100 1; #X connect 91 0 95 0; #X connect 91 1 92 0; #X connect 92 0 93 0; #X connect 93 0 95 1; #X connect 93 0 96 0; #X connect 93 1 94 0; #X connect 94 0 90 0; #X connect 95 0 97 0; #X connect 96 0 101 1; #X connect 97 0 98 0; #X connect 97 1 100 0; #X connect 98 0 99 0; #X connect 99 0 101 0; #X connect 100 0 102 1; #X connect 101 0 102 0; #X connect 102 0 60 0; #X connect 103 0 106 1; #X connect 104 0 103 0; #X connect 105 0 89 0; #X connect 106 0 5 0; #X connect 107 0 109 1; #X connect 108 0 30 0; #X connect 109 0 48 0; AutoPreset-0.10/apgetdol0.pd000066400000000000000000000027211301017470300157270ustar00rootroot00000000000000#N canvas 605 114 526 367 10; #X obj 300 215 r \$0-rcv; #X text 13 8 arg: \$0(master) liste...; #X obj 93 37 loadbang; #X obj 157 37 inlet; #X obj 300 255 outlet; #X obj 99 236 route list; #X obj 37 37 inlet; #X obj 37 60 b; #X obj 93 57 t b b; #X obj 99 257 s \$1-setap-snd; #X symbolatom 351 236 10 0 0 0 - - -, f 10; #X obj 300 235 symbol; #X obj 120 86 list prepend \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9 \$10 \$11 \$12 \$13 \$14 \$15 \$16 \$17 \$18 \$19 \$20; #X obj 99 215 list prepend _get_dol0_ \$0-rcv; #X obj 99 191 list; #N canvas 6 50 450 455 remove-floats 0; #X obj 145 23 inlet; #X obj 145 316 outlet; #X obj 162 160 list split 1; #X obj 162 77 until; #X obj 162 115 list append; #X obj 292 160 bang; #X obj 162 182 route float; #X obj 225 224 list prepend; #X obj 166 250 t l l; #X obj 145 272 list; #X obj 145 44 t b b a b; #X connect 0 0 10 0; #X connect 2 0 6 0; #X connect 2 1 4 1; #X connect 2 2 5 0; #X connect 3 0 4 0; #X connect 4 0 2 0; #X connect 5 0 3 1; #X connect 6 1 7 0; #X connect 7 0 8 0; #X connect 8 0 9 1; #X connect 8 1 7 1; #X connect 9 0 1 0; #X connect 10 0 9 0; #X connect 10 1 3 0; #X connect 10 2 4 1; #X connect 10 3 8 0; #X restore 120 135 pd remove-floats; #X connect 0 0 11 0; #X connect 2 0 8 0; #X connect 3 0 12 0; #X connect 5 0 9 0; #X connect 6 0 7 0; #X connect 7 0 14 0; #X connect 8 0 7 0; #X connect 8 1 12 0; #X connect 11 0 10 0; #X connect 11 0 4 0; #X connect 12 0 15 0; #X connect 13 0 5 0; #X connect 14 0 13 0; #X connect 15 0 14 1; AutoPreset-0.10/apgetref.pd000066400000000000000000000016311301017470300156440ustar00rootroot00000000000000#N canvas 426 201 346 317 10; #X declare -lib libdir -lib iemlib -lib iemlib/iemlib2; #X obj 37 251 r \$0-rcv; #X obj 76 37 loadbang; #X obj 37 291 outlet; #X obj 37 37 inlet; #X symbolatom 88 273 10 0 0 0 - - -, f 10; #X obj 37 272 symbol; #X obj 37 70 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 37 220 s \$1-setap-snd; #X obj 37 198 list trim; #X text 12 8 arg: ref [list...] child; #X obj 170 82 inlet set_list_and_child; #X obj 37 176 list append _get_ref_ \$0-rcv; #X obj 76 59 dollarg; #X obj 76 81 list split 1; #X obj 58 133 t a; #X obj 37 155 list; #X obj 21 331 declare -lib libdir -lib iemlib -lib iemlib/iemlib2; #X connect 0 0 5 0; #X connect 1 0 12 0; #X connect 3 0 6 0; #X connect 5 0 4 0; #X connect 5 0 2 0; #X connect 6 0 15 0; #X connect 8 0 7 0; #X connect 10 0 14 0; #X connect 11 0 8 0; #X connect 12 0 13 0; #X connect 13 1 14 0; #X connect 14 0 15 1; #X connect 15 0 11 0; AutoPreset-0.10/apgetval.pd000066400000000000000000000017321301017470300156540ustar00rootroot00000000000000#N canvas 735 446 361 326 10; #X declare -lib libdir -lib iemlib -lib iemlib/iemlib2; #X obj 33 261 r \$0-rcv; #X obj 33 285 outlet; #X obj 33 35 inlet; #X obj 33 59 route get set; #X obj 200 61 dollarg; #X obj 200 83 list split 1; #X obj 33 224 s \$1-setap-snd; #X obj 33 196 list trim; #X text 18 1 arg: ref [list...] child; #X obj 184 17 inlet set_list_and_child; #X obj 33 174 list append _get_val_ \$0-rcv; #X obj 33 149 list; #X obj 200 40 loadbang; #X obj 184 117 t a; #X obj 214 198 list trim; #X obj 214 151 list prepend; #X obj 271 38 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 21 306 declare -lib libdir -lib iemlib -lib iemlib/iemlib2; #X connect 0 0 1 0; #X connect 2 0 3 0; #X connect 3 0 11 0; #X connect 3 1 15 0; #X connect 4 0 5 0; #X connect 5 1 13 0; #X connect 7 0 6 0; #X connect 9 0 13 0; #X connect 10 0 7 0; #X connect 11 0 10 0; #X connect 12 0 4 0; #X connect 13 0 11 1; #X connect 13 0 15 1; #X connect 14 0 6 0; #X connect 15 0 14 0; AutoPreset-0.10/api-help.pd000066400000000000000000000017461301017470300155550ustar00rootroot00000000000000#N canvas 182 93 449 216 10; #X declare -lib libdir -lib ggee; #X text 59 15 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 58 45 -if dont-recall=1 \, saved value is not send when we load the preset.; #X text 13 -20 AutoPreset Float; #X text 12 -21 AutoPreset Float; #X text 14 -1 usage : api Ref Name [BusName [pat_no_all [dont-recall]]] ; #X text 57 79 api is the same as apf exept it doesn't interpolate between patterns.; #X obj 22 121 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X obj 18 166 declare -lib libdir -lib ggee; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 26 161 pd open; #X msg 26 138 0autopreset-help.pd; #X connect 8 0 7 0; AutoPreset-0.10/api.pd000066400000000000000000000127401301017470300146230ustar00rootroot00000000000000#N canvas 270 85 947 566 10; #X declare -lib libdir -lib ggee -stdpath ggee; #X obj 403 497 s \$3-rcv; #X obj 292 94 r \$1-setap-snd; #X obj 29 74 r \$1-getap-snd; #X obj 8 75 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1 ; #X obj 56 377 s \$1-getap-rcv; #X obj 29 354 t b a; #X obj 29 177 symbol \$2; #X obj 29 99 t b b; #X obj 29 198 pack s f 16; #X obj 643 70 r \$1-pattern-snd; #X obj 704 26 table \$0-pattern 16; #X obj 626 240 pack f f; #X obj 626 260 s \$0-pattern; #X obj 492 306 sel 0; #X obj 524 333 b; #X obj 52 244 16; #X msg 115 207 resize \$1; #X obj 115 226 s \$0-pattern; #X obj 626 215 moses 16; #X obj 696 195 moses 16; #X obj 292 114 route \$2 _all_; #X obj 492 283 t f f; #X obj 532 306 s \$0-nbpattern; #X obj 101 177 r \$0-nbpattern; #X obj 740 119 r \$0-nbpattern; #X obj 70 115 t f; #X obj 643 93 route \$2 _all_; #X obj 618 28 inlet; #X obj 410 478 outlet; #X obj 206 228 s \$1-sndap; #X obj 206 168 symbol \$2; #X obj 206 148 t b f; #X obj 206 188 pack s f; #X obj 626 194 i; #X obj 835 94 sel 2; #X obj 835 135 s \$0-nbpattern; #X msg 835 115 0; #X obj 52 263 route 0; #X obj 332 136 route \$2; #X obj 217 441 pack s f; #X obj 217 399 t s b; #X msg 217 463 \; \$1 \$2; #X obj 216 380 symbol; #X text 181 349 if parameter is "_get_val_ "; #X obj 292 190 route _nbpattern_ _loaded_ float list _get_val_; #X text 198 362 then return val to .; #X obj 244 420 f; #X obj 696 285 tabread \$0-pattern; #X obj 643 145 route store load A B pos; #X obj 755 243 f; #X obj 857 255 f; #X obj 755 186 moses 0.1; #X obj 806 208 moses 0.9; #X obj 755 206 b; #X obj 857 229 b; #X obj 563 30 r \$3-snd; #X obj 563 54 t f; #X obj 403 450 t f; #X obj 696 173 + 0.5; #X text 651 171 center:; #X text 460 -9 api is the same as apf exept it doesn't interpolate between patterns.; #X text 67 8 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 21 -27 AutoPreset Float; #X text 20 -28 AutoPreset Float; #X text 66 38 -if dont-recall=1 \, saved value is not sent when we load the preset.; #X text 22 -8 usage : api Ref Name [BusName [pat_no_all [dont-recall]]] ; #X obj 444 165 spigot 1; #X obj 511 167 != 1; #X obj 292 292 s \$0-nbpattern; #X obj 337 250 != 2; #X obj 292 272 spigot 1; #X obj 651 350 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 655 390 pd open; #X msg 655 367 0autopreset-help.pd; #X obj 444 86 route _nbpattern_; #X obj 444 106 list prepend _nbpattern_; #X obj 444 126 list trim; #X obj 796 47 loadbang; #X obj 796 67 f \$4; #X obj 415 409 spigot 1; #X obj 460 389 == 0; #X obj 460 350 loadbang; #X obj 460 370 f \$5; #X obj 459 211 list split 2; #X obj 459 233 unpack f f; #X obj 524 353 list; #X obj 524 376 list prepend 0; #X obj 524 399 s \$0-pattern; #X obj 796 91 == 0; #X obj 29 333 list append; #X obj 337 209 loadbang; #X obj 337 229 f \$4; #X obj 91 308 array get \$0-pattern; #X msg 91 286 0 \$1; #X obj 511 127 loadbang; #X obj 511 147 f \$4; #X obj 206 208 list trim; #X obj 683 119 spigot 1; #X obj 18 514 declare -lib libdir -lib ggee -stdpath ggee; #X connect 1 0 20 0; #X connect 2 0 7 0; #X connect 3 0 7 0; #X connect 5 1 4 0; #X connect 6 0 8 0; #X connect 7 0 6 0; #X connect 7 1 15 0; #X connect 8 0 89 0; #X connect 9 0 26 0; #X connect 11 0 12 0; #X connect 13 1 14 0; #X connect 14 0 85 0; #X connect 15 0 37 0; #X connect 16 0 17 0; #X connect 18 0 11 0; #X connect 19 0 47 0; #X connect 20 0 44 0; #X connect 20 1 38 0; #X connect 21 0 13 0; #X connect 21 1 22 0; #X connect 23 0 16 0; #X connect 23 0 15 1; #X connect 23 0 8 2; #X connect 24 0 19 1; #X connect 24 0 18 1; #X connect 25 0 8 1; #X connect 25 0 31 0; #X connect 26 0 48 0; #X connect 26 1 97 0; #X connect 27 0 56 0; #X connect 30 0 32 0; #X connect 31 0 30 0; #X connect 31 1 32 1; #X connect 32 0 96 0; #X connect 33 0 18 0; #X connect 34 0 36 0; #X connect 36 0 35 0; #X connect 37 1 93 0; #X connect 38 0 44 0; #X connect 38 1 74 0; #X connect 39 0 41 0; #X connect 40 0 39 0; #X connect 40 1 46 0; #X connect 42 0 40 0; #X connect 44 0 70 0; #X connect 44 2 57 0; #X connect 44 3 83 0; #X connect 44 4 42 0; #X connect 46 0 39 1; #X connect 47 0 57 0; #X connect 48 0 33 0; #X connect 48 1 58 0; #X connect 48 2 49 1; #X connect 48 3 50 1; #X connect 48 4 51 0; #X connect 49 0 47 0; #X connect 50 0 47 0; #X connect 51 0 53 0; #X connect 51 1 52 0; #X connect 52 1 54 0; #X connect 53 0 49 0; #X connect 54 0 50 0; #X connect 55 0 56 0; #X connect 56 0 25 0; #X connect 56 0 11 1; #X connect 56 0 46 1; #X connect 57 0 0 0; #X connect 57 0 28 0; #X connect 58 0 19 0; #X connect 66 0 44 0; #X connect 67 0 66 1; #X connect 69 0 70 1; #X connect 70 0 68 0; #X connect 73 0 72 0; #X connect 74 0 75 0; #X connect 74 1 44 0; #X connect 75 0 76 0; #X connect 76 0 66 0; #X connect 77 0 78 0; #X connect 78 0 34 0; #X connect 78 0 88 0; #X connect 79 0 57 0; #X connect 80 0 79 1; #X connect 81 0 82 0; #X connect 82 0 80 0; #X connect 83 0 84 0; #X connect 83 1 85 1; #X connect 84 0 79 0; #X connect 84 1 21 0; #X connect 85 0 86 0; #X connect 86 0 87 0; #X connect 88 0 97 1; #X connect 89 0 5 0; #X connect 90 0 91 0; #X connect 91 0 69 0; #X connect 92 0 89 1; #X connect 93 0 92 0; #X connect 94 0 95 0; #X connect 95 0 67 0; #X connect 96 0 29 0; #X connect 97 0 48 0; AutoPreset-0.10/apmaster-help.pd000066400000000000000000000023711301017470300166130ustar00rootroot00000000000000#N canvas 376 68 425 292 10; #X declare -lib libdir -lib ggee; #X text 214 181 been loaded/saved.; #X text 83 71 load: choose a file to read.; #X text 83 84 loadfile my_file: open the designated file.; #X text 83 96 loadin: reload actual file.; #X text 83 123 savefile my_file: write the designated file.; #X text 83 111 save: choose a file to write in (like "save as").; #X text 83 135 savein: save the actual file.; #X text 14 27 Use "apmaster Ref" to save/load all presets; #X text 14 58 You can speak to Ref-apmaster-rcv:; #X text 18 154 You can listen to Ref-apmaster-snd:; #X text 82 168 loaded/saved my_file: signals that my_file has; #X text 17 3 AutoPreset Master; #X text 18 4 AutoPreset Master; #X text 23 40 of "Ref" and its children to/from a single text file. ; #X obj 19 210 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X obj 18 166 declare -lib libdir -lib ggee; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 23 250 pd open; #X msg 23 227 0autopreset-help.pd; #X connect 16 0 15 0; AutoPreset-0.10/apmaster.pd000066400000000000000000000103241301017470300156620ustar00rootroot00000000000000#N canvas 529 90 668 615 10; #X declare -lib libdir -lib ggee -stdpath ggee; #X obj 356 449 s \$1-getap-snd; #X obj 472 447 r \$1-getap-rcv; #X obj 449 233 s \$1-setap-snd; #X msg 120 524 read \$1; #X obj 45 491 until; #X obj 45 450 t b b; #X msg 72 523 rewind; #X obj 45 418 t b s; #X obj 449 144 textfile; #X msg 458 118 print; #X obj 449 93 r \$0-text_rcv; #X obj 45 566 s \$0-text_rcv; #X obj 521 188 s \$0-text_eof; #X msg 333 493 write \$1; #X obj 333 474 symbol; #X msg 403 495 clear; #X obj 316 426 t b b b s; #X obj 333 576 s \$0-text_rcv; #X obj 472 496 spigot; #X msg 480 475 0; #X msg 509 475 1; #X obj 102 211 r \$1-apmaster-rcv; #X msg 181 426 loaded \$1; #X msg 246 427 saved \$1; #X obj 181 455 s \$1-apmaster-snd; #X obj 148 260 symbol; #X obj 241 261 symbol; #X obj 494 166 t b b; #X msg 494 210 _all_ _loaded_; #X obj 91 470 r \$0-text_eof; #X msg 45 471 50000; #X obj 102 232 route load loadfile save savefile loadin savein; #X obj 129 330 symbol; #X obj 129 308 b; #X text 214 181 been loaded/saved.; #X text 83 71 load: choose a file to read.; #X text 83 84 loadfile my_file: open the designated file.; #X text 83 96 loadin: reload actual file.; #X text 83 123 savefile my_file: write the designated file.; #X text 83 135 savein: save the actual file.; #X obj 18 366 t s s; #X obj 289 398 t s s; #X obj 18 332 openpanel; #X obj 18 288 symbol; #X obj 51 265 r \$0-lastfile; #X obj 162 307 r \$0-lastfile; #X obj 180 493 r \$1-apmaster-snd; #X obj 180 514 route loaded saved; #X obj 180 535 symbol; #X obj 180 556 s \$0-lastfile; #X obj 289 327 symbol; #X obj 328 305 r \$0-lastfile; #X obj 289 371 savepanel; #X obj 18 265 b; #X obj 289 306 b; #X obj 440 347 symbol; #X obj 440 325 b; #X obj 473 324 r \$0-lastfile; #X obj 289 260 inlet save; #X obj 18 208 inlet load; #X text 14 27 Use "apmaster Ref" to save/load all presets; #X text 18 154 You can listen to Ref-apmaster-snd:; #X text 82 168 loaded/saved my_file: signals that my_file has; #X text 17 3 AutoPreset Master; #X text 18 4 AutoPreset Master; #X text 23 40 of "Ref" and its children to/from a single text file. ; #X obj 409 19 cnv 15 150 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 414 58 pd open; #X msg 414 35 0autopreset-help.pd; #X text 14 58 You can talk to Ref-apmaster-rcv:; #X text 83 111 save: choose a file to write to (like "save as").; #X obj 472 517 list prepend add; #X obj 472 539 list trim; #X obj 18 310 splitpath; #X obj 289 349 splitpath; #X obj 16 593 declare -lib libdir -lib ggee -stdpath ggee; #X connect 1 0 18 0; #X connect 3 0 11 0; #X connect 4 0 11 0; #X connect 5 0 30 0; #X connect 5 1 6 0; #X connect 6 0 11 0; #X connect 7 0 5 0; #X connect 7 1 3 0; #X connect 8 0 2 0; #X connect 8 1 27 0; #X connect 9 0 8 0; #X connect 10 0 8 0; #X connect 13 0 17 0; #X connect 14 0 13 0; #X connect 15 0 17 0; #X connect 16 0 19 0; #X connect 16 1 14 0; #X connect 16 2 0 0; #X connect 16 3 14 1; #X connect 16 3 15 0; #X connect 16 3 20 0; #X connect 18 0 71 0; #X connect 19 0 18 1; #X connect 20 0 18 1; #X connect 21 0 31 0; #X connect 22 0 24 0; #X connect 23 0 24 0; #X connect 25 0 40 0; #X connect 26 0 41 0; #X connect 27 0 28 0; #X connect 27 1 12 0; #X connect 28 0 2 0; #X connect 29 0 4 1; #X connect 30 0 4 0; #X connect 31 0 53 0; #X connect 31 1 25 0; #X connect 31 2 54 0; #X connect 31 3 26 0; #X connect 31 4 33 0; #X connect 31 5 56 0; #X connect 32 0 40 0; #X connect 33 0 32 0; #X connect 40 0 22 0; #X connect 40 1 7 0; #X connect 41 0 23 0; #X connect 41 1 16 0; #X connect 42 0 40 0; #X connect 43 0 73 0; #X connect 44 0 43 1; #X connect 45 0 32 1; #X connect 46 0 47 0; #X connect 47 0 48 0; #X connect 47 1 48 0; #X connect 48 0 49 0; #X connect 50 0 74 0; #X connect 51 0 50 1; #X connect 52 0 41 0; #X connect 53 0 43 0; #X connect 54 0 50 0; #X connect 55 0 41 0; #X connect 56 0 55 0; #X connect 57 0 55 1; #X connect 58 0 54 0; #X connect 59 0 53 0; #X connect 68 0 67 0; #X connect 71 0 72 0; #X connect 72 0 17 0; #X connect 73 0 42 0; #X connect 74 0 52 0; AutoPreset-0.10/apmasterfile.pd000066400000000000000000000012511301017470300165210ustar00rootroot00000000000000#N canvas 655 108 315 230 10; #X declare -lib libdir -lib ggee -stdpath ggee; #X obj 25 158 s \$1-apmaster-rcv; #X obj 25 79 getdir 1; #X obj 25 103 list append \$2; #X msg 25 132 loadfile \$1/\$2; #X obj 25 58 inlet load; #X obj 157 158 s \$1-apmaster-rcv; #X obj 157 79 getdir 1; #X obj 157 103 list append \$2; #X obj 157 58 inlet save; #X msg 157 132 savefile \$1/\$2; #X text 16 2 usage : apmasterfile Ref filename; #X text 16 24 File utility for apmaster.; #X obj 5 192 declare -lib libdir -lib ggee -stdpath ggee; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 3 0 0 0; #X connect 4 0 1 0; #X connect 6 0 7 0; #X connect 7 0 9 0; #X connect 8 0 6 0; #X connect 9 0 5 0; AutoPreset-0.10/apsarray-help.pd000066400000000000000000000017231301017470300166210ustar00rootroot00000000000000#N canvas 73 163 499 195 10; #X declare -lib libdir -lib ggee; #X text 120 35 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 79 78 Please signal array length change to \$3-len-snd.; #X text 26 13 usage : apsarray Ref Name SArrayName [SArrayLength [pat_no_all]] ; #X text 25 -2 AutoPreset Sarray; #X text 26 -1 AutoPreset Sarray; #X text 141 -1 (for [moonlib/sarray]); #X text 78 64 Sarray is not included.; #X obj 27 118 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X obj 18 166 declare -lib libdir -lib ggee; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 31 158 pd open; #X msg 31 135 0autopreset-help.pd; #X connect 9 0 8 0; AutoPreset-0.10/apsarray.pd000066400000000000000000000153531301017470300156770ustar00rootroot00000000000000#N canvas 69 83 902 629 10; #X declare -lib libdir -lib ggee -lib moonlib -stdpath moonlib -stdpath extra/moonlib; #X obj 290 106 r \$1-setap-snd; #X obj 34 106 r \$1-getap-snd; #X obj 13 104 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 64 483 s \$1-getap-rcv; #X obj 34 462 t b a; #X obj 34 504 s \$1-getap-next; #X obj 118 138 r \$3-len-snd; #X obj 34 148 symbol \$2; #X obj 34 168 pack s f; #X obj 510 238 s \$3-len-rcv; #X obj 601 115 r \$1-pattern-snd; #X obj 613 209 route store load; #X obj 613 257 moses 16; #X obj 681 251 moses 16; #X obj 732 229 r \$0-nbpattern; #X obj 290 127 route \$2 _all_; #X obj 454 388 sel 0; #X obj 481 451 b; #X obj 454 365 t f f; #X obj 525 444 s \$0-nbpattern; #X obj 392 258 t a f; #X obj 801 255 r \$3-len-snd; #X obj 765 287 *; #X obj 661 277 r \$3-len-snd; #X obj 613 299 *; #X obj 613 279 t f b; #X obj 147 219 r \$0-nbpattern; #X obj 80 329 r \$0-nbpattern; #X obj 96 351 f; #X obj 34 126 t b b; #X obj 65 307 t b b; #X obj 65 351 16; #X obj 601 141 route \$2 _all_; #X obj 51 231 sarray \$3; #X msg 51 210 dump _; #X msg 136 282 setlen \$1; #X obj 136 302 sarray \$0-pattern; #X msg 96 371 dump _; #X obj 96 392 sarray \$0-pattern; #X obj 511 218 s \$3-len-snd; #X obj 481 584 sarray \$0-pattern; #X msg 548 562 print; #X obj 389 523 sarray \$3; #X msg 389 452 list set _ 0; #X obj 389 409 t b a; #X obj 765 581 sarray \$3; #X msg 481 514 list set _ 0; #X obj 481 491 t b a; #X msg 643 304 dump _; #X msg 613 351 list set _ \$1; #X obj 765 355 until; #X obj 765 378 i; #X obj 798 378 + 1; #X msg 765 445 get \$1; #X obj 765 467 sarray \$0-pattern; #X obj 765 490 route bang; #X obj 765 400 t f f; #X obj 765 537 pack s f; #X msg 765 510 symbol _; #X obj 613 420 sarray \$0-pattern; #X obj 643 324 sarray \$3; #X msg 765 559 set _ \$2 \$1; #X obj 765 308 t b f; #X obj 765 334 f; #X msg 809 355 0; #X obj 765 423 +; #X obj 290 206 route _nbpattern_ _loaded_; #X obj 613 231 i; #X obj 681 231 i; #X obj 573 64 sel 0; #X obj 600 86 s \$3-len-snd; #X obj 755 140 sel 2; #X obj 755 178 s \$0-nbpattern; #X msg 755 159 0; #X obj 135 260 * 16; #X obj 145 239 t b f; #X obj 525 422 *; #X obj 540 400 != 2; #X text 120 38 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 79 81 Please signal array length change to \$3-len-snd.; #X text 26 16 usage : apsarray Ref Name SArrayName [SArrayLength [pat_no_all]] ; #X text 25 1 AutoPreset Sarray; #X text 26 2 AutoPreset Sarray; #X text 141 2 (for [moonlib/sarray]); #X text 78 67 Sarray is not included.; #X obj 290 321 s \$0-nbpattern; #X obj 413 181 spigot 1; #X obj 477 180 != 1; #X obj 335 277 != 2; #X obj 290 299 spigot 1; #X obj 330 149 route \$2; #X obj 711 32 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 632 399 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 715 72 pd open; #X msg 715 49 0autopreset-help.pd; #X obj 413 95 route _nbpattern_; #X obj 413 115 list prepend _nbpattern_; #X obj 413 134 list trim; #X obj 573 24 loadbang; #X obj 573 44 f \$4; #X obj 719 98 loadbang; #X obj 719 118 f \$5; #X obj 719 138 == 0; #X obj 641 167 spigot 1; #X obj 540 358 loadbang; #X obj 540 379 f \$5; #X obj 335 236 loadbang; #X obj 335 256 f \$5; #X obj 477 140 loadbang; #X obj 477 160 f \$5; #X obj 34 265 list append; #X obj 65 413 list append; #X obj 34 437 list append; #X obj 392 290 list split 1; #X obj 426 316 list split; #X obj 454 341 list split 1; #X obj 481 536 list append; #X obj 481 560 list trim; #X obj 389 476 list append; #X obj 389 499 list trim; #X obj 613 376 list append; #X obj 613 398 list trim; #X obj 481 471 list prepend; #X obj 22 590 declare -lib libdir -lib ggee -lib moonlib -stdpath moonlib -stdpath extra/moonlib; #X connect 0 0 15 0; #X connect 1 0 29 0; #X connect 2 0 29 0; #X connect 4 0 5 0; #X connect 4 1 3 0; #X connect 6 0 8 1; #X connect 6 0 74 0; #X connect 7 0 8 0; #X connect 8 0 109 0; #X connect 10 0 32 0; #X connect 11 0 67 0; #X connect 11 1 68 0; #X connect 12 0 25 0; #X connect 13 0 22 0; #X connect 14 0 13 1; #X connect 14 0 12 1; #X connect 15 0 66 0; #X connect 15 1 90 0; #X connect 16 1 17 0; #X connect 17 0 121 0; #X connect 18 0 16 0; #X connect 18 1 76 0; #X connect 20 0 112 0; #X connect 20 1 9 0; #X connect 20 1 39 0; #X connect 20 1 113 1; #X connect 21 0 63 1; #X connect 21 0 22 1; #X connect 22 0 62 0; #X connect 23 0 24 1; #X connect 24 0 49 0; #X connect 25 0 24 0; #X connect 25 1 48 0; #X connect 26 0 75 0; #X connect 27 0 31 1; #X connect 28 0 37 0; #X connect 29 0 7 0; #X connect 29 1 30 0; #X connect 29 1 34 0; #X connect 30 0 31 0; #X connect 30 1 28 0; #X connect 31 0 110 0; #X connect 32 0 11 0; #X connect 32 1 102 0; #X connect 33 0 109 1; #X connect 34 0 33 0; #X connect 35 0 36 0; #X connect 37 0 38 0; #X connect 38 0 110 1; #X connect 41 0 40 0; #X connect 43 0 117 0; #X connect 44 0 43 0; #X connect 44 1 117 1; #X connect 46 0 115 0; #X connect 47 0 46 0; #X connect 47 1 115 1; #X connect 48 0 60 0; #X connect 49 0 119 0; #X connect 50 0 51 0; #X connect 51 0 52 0; #X connect 51 0 56 0; #X connect 52 0 51 1; #X connect 53 0 54 0; #X connect 54 0 55 0; #X connect 55 0 58 0; #X connect 55 1 57 0; #X connect 56 0 65 0; #X connect 56 1 57 1; #X connect 57 0 61 0; #X connect 58 0 57 0; #X connect 60 0 119 1; #X connect 61 0 45 0; #X connect 62 0 63 0; #X connect 62 1 65 1; #X connect 62 1 64 0; #X connect 63 0 50 0; #X connect 64 0 51 1; #X connect 65 0 53 0; #X connect 66 0 89 0; #X connect 66 2 20 0; #X connect 67 0 12 0; #X connect 68 0 13 0; #X connect 69 1 70 0; #X connect 71 0 73 0; #X connect 73 0 72 0; #X connect 74 0 35 0; #X connect 74 0 28 1; #X connect 75 0 74 0; #X connect 75 1 74 1; #X connect 76 0 19 0; #X connect 77 0 76 1; #X connect 86 0 66 0; #X connect 87 0 86 1; #X connect 88 0 89 1; #X connect 89 0 85 0; #X connect 90 0 66 0; #X connect 90 1 94 0; #X connect 93 0 92 0; #X connect 94 0 95 0; #X connect 94 1 66 0; #X connect 95 0 96 0; #X connect 96 0 86 0; #X connect 97 0 98 0; #X connect 98 0 69 0; #X connect 99 0 100 0; #X connect 100 0 71 0; #X connect 100 0 101 0; #X connect 101 0 102 1; #X connect 102 0 11 0; #X connect 103 0 104 0; #X connect 104 0 77 0; #X connect 105 0 106 0; #X connect 106 0 88 0; #X connect 107 0 108 0; #X connect 108 0 87 0; #X connect 109 0 111 0; #X connect 110 0 111 1; #X connect 111 0 4 0; #X connect 112 1 113 0; #X connect 113 0 44 0; #X connect 113 1 114 0; #X connect 114 0 18 0; #X connect 114 1 121 1; #X connect 115 0 116 0; #X connect 116 0 40 0; #X connect 117 0 118 0; #X connect 118 0 42 0; #X connect 119 0 120 0; #X connect 120 0 59 0; #X connect 121 0 47 0; AutoPreset-0.10/apsubmaster-help.pd000066400000000000000000000013621301017470300173240ustar00rootroot00000000000000#N canvas 463 95 395 145 10; #X declare -lib libdir -lib ggee; #X text 18 25 usage:; #X text 59 25 apsubmaster childref parentref childname_in_parent; #X text 16 -1 AutoPreset SubMaster; #X text 17 0 AutoPreset SubMaster; #X text 149 0 : create a sub-reference; #X obj 20 54 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X obj 18 164 declare -lib libdir -lib ggee; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 24 94 pd open; #X msg 24 71 0autopreset-help.pd; #X connect 7 0 6 0; AutoPreset-0.10/apsubmaster.pd000066400000000000000000000103701301017470300163750ustar00rootroot00000000000000#N canvas 611 200 754 661 10; #X declare -lib libdir -lib ggee -stdpath ggee; #X obj 44 114 s \$1-getap-snd; #X obj 44 189 r \$1-getap-rcv; #X obj 44 276 s \$2-getap-rcv; #X obj 44 90 r \$2-getap-snd; #X obj 267 90 r \$2-setap-snd; #X obj 312 247 s \$1-setap-snd; #X obj 44 231 symbol \$3; #X obj 44 210 t b a; #X obj 37 376 r \$2-pattern-snd; #X obj 37 610 s \$1-pattern-snd; #X obj 267 112 route \$3; #X obj 37 397 route \$3; #X obj 234 159 r \$1-sndap; #X obj 234 314 s \$2-sndap; #X obj 234 250 symbol \$3; #X obj 234 206 t b a; #X obj 234 183 spigot; #X text 317 272 upload continuous info to parent(on/off); #X text 27 21 usage:; #X text 32 62 transmit save command (getap); #X text 32 73 from parent to child:; #X text 32 150 transmit resulting data; #X text 32 161 from child to parent \,; #X text 33 172 prepending childname:; #X text 260 50 transmit parameter modification; #X text 260 62 from parent to child \, if parameter; #X text 347 108 if parameter is "upload"; #X text 348 118 then switch uploading on/off; #X text 260 73 begins by childname or _all_; #X text 384 186 let the _all_ in place; #X text 31 337 transmit pattern command from; #X text 30 348 parent to child \, if it begins by; #X text 31 360 childname or _all_ (let the _all_ in place); #X obj 332 163 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 363 491 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 246 513 _pat_lock_ locks storing of patterns; #X obj 331 489 != 1; #X obj 331 467 r \$1-_pat_lock_-snd; #X obj 606 225 symbol; #X msg 83 470 _all_ store \$1; #X obj 37 447 route load store; #X msg 37 502 _all_ load \$1; #X obj 37 420 route _all_; #X obj 192 514 spigot 1; #X obj 354 162 s \$0-pat_all_follow; #X text 401 326 (or "_get_dol0_ " for compatibility purpose...) ; #X text 402 340 then return \$1 to .; #X obj 181 124 inlet upload; #X obj 267 135 route _upload_ _pat_all_follow_ _get_ref_ _get_dol0_ ; #X text 402 313 if parameter is "_get_ref_ "; #X text 69 21 apsubmaster childref parentref childname_in_parent; #X text 26 3 AutoPreset SubMaster; #X text 27 4 AutoPreset SubMaster; #X text 159 4 : create a sub-reference; #X obj 516 21 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 520 61 pd open; #X msg 520 38 0autopreset-help.pd; #X obj 312 226 list trim; #X obj 312 206 list prepend _all_; #X obj 312 186 route _all_; #X obj 255 561 list trim; #X obj 255 540 list prepend _all_; #X obj 192 387 route _all_; #X obj 192 430 route store; #X obj 192 451 list prepend store; #X obj 192 409 spigot 1; #X obj 256 408 r \$0-pat_all_follow; #X obj 192 470 list prepend _all_; #X obj 192 491 list trim; #X obj 264 226 list; #X obj 234 272 list append; #X obj 234 292 list trim; #X obj 44 253 list append; #X obj 606 247 list append \$1; #X msg 606 268 \; \$1 \$2; #X obj 253 609 declare -lib libdir -lib ggee -stdpath ggee; #X connect 1 0 7 0; #X connect 3 0 0 0; #X connect 4 0 10 0; #X connect 6 0 72 0; #X connect 7 0 6 0; #X connect 7 1 72 1; #X connect 8 0 11 0; #X connect 10 0 48 0; #X connect 10 1 59 0; #X connect 11 0 42 0; #X connect 11 1 62 0; #X connect 12 0 16 0; #X connect 14 0 70 0; #X connect 15 0 14 0; #X connect 15 1 69 0; #X connect 16 0 15 0; #X connect 36 0 43 1; #X connect 37 0 36 0; #X connect 37 0 34 0; #X connect 38 0 73 0; #X connect 39 0 43 0; #X connect 40 0 41 0; #X connect 40 1 39 0; #X connect 40 2 9 0; #X connect 41 0 9 0; #X connect 42 0 40 0; #X connect 42 1 40 0; #X connect 43 0 9 0; #X connect 47 0 16 1; #X connect 48 0 16 1; #X connect 48 1 33 0; #X connect 48 1 44 0; #X connect 48 2 38 0; #X connect 48 3 38 0; #X connect 48 4 5 0; #X connect 56 0 55 0; #X connect 57 0 5 0; #X connect 58 0 57 0; #X connect 59 0 58 0; #X connect 60 0 9 0; #X connect 61 0 60 0; #X connect 62 0 65 0; #X connect 63 0 64 0; #X connect 63 1 61 0; #X connect 64 0 67 0; #X connect 65 0 63 0; #X connect 66 0 65 1; #X connect 67 0 68 0; #X connect 68 0 43 0; #X connect 69 0 70 1; #X connect 70 0 71 0; #X connect 71 0 13 0; #X connect 72 0 2 0; #X connect 73 0 74 0; AutoPreset-0.10/apsym-help.pd000066400000000000000000000016241301017470300161300ustar00rootroot00000000000000#N canvas 496 107 447 172 10; #X declare -lib libdir -lib ggee; #X text 69 25 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 22 -11 AutoPreset Symbol; #X text 23 -10 AutoPreset Symbol; #X text 24 9 usage : apsym Ref Name [BusName [pat_no_all [dont-recall]]] ; #X text 68 55 -if dont-recall=1 \, saved value is not sent when we load the preset.; #X obj 27 92 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X obj 18 166 declare -lib libdir -lib ggee; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 31 132 pd open; #X msg 31 109 0autopreset-help.pd; #X connect 7 0 6 0; AutoPreset-0.10/apsym.pd000066400000000000000000000131411301017470300151770ustar00rootroot00000000000000#N canvas 281 136 876 587 10; #X declare -lib libdir -lib ggee -lib moonlib -stdpath moonlib -stdpath extra/moonlib; #X obj 279 104 r \$1-setap-snd; #X obj 32 129 r \$1-getap-snd; #X obj 11 130 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 62 444 s \$1-getap-rcv; #X obj 32 423 t b a; #X obj 32 306 symbol \$2; #X obj 32 154 t b b; #X obj 603 132 r \$1-pattern-snd; #X obj 603 197 route store load; #X obj 466 302 sel 0; #X obj 603 244 moses 16; #X obj 665 243 moses 16; #X obj 279 124 route \$2 _all_; #X obj 466 279 t f f; #X obj 506 302 s \$0-nbpattern; #X obj 139 289 r \$0-nbpattern; #X obj 716 219 r \$0-nbpattern; #X obj 603 155 route \$2 _all_; #X obj 480 30 inlet; #X obj 370 548 outlet; #X obj 101 159 symbol; #X obj 32 330 pack s s 16; #X msg 139 315 setlen \$1; #X obj 139 334 sarray \$0-pattern 16; #X msg 55 361 dump _; #X obj 55 382 sarray \$0-pattern; #X obj 496 389 sarray \$0-pattern; #X obj 653 370 symbol; #X obj 608 393 pack f s; #X msg 608 414 set \$1 \$2; #X msg 665 270 get \$1; #X obj 665 290 sarray \$0-pattern; #X obj 608 437 sarray \$0-pattern; #X msg 496 324 list set _ 0; #X msg 127 360 print; #X obj 665 310 route bang; #X obj 44 218 symbol; #X obj 44 237 sel null; #X obj 95 199 loadbang; #X msg 95 218 symbol; #X msg 44 259 symbol _; #X obj 428 279 sel _; #X obj 165 260 s \$1-sndap; #X obj 165 221 pack s s; #X obj 165 201 symbol \$2; #X obj 165 181 t b s; #X obj 603 224 i; #X obj 665 222 i; #X obj 740 155 sel 2; #X obj 740 193 s \$0-nbpattern; #X msg 740 174 0; #X obj 165 240 route list; #X text 69 46 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 22 10 AutoPreset Symbol; #X text 23 11 AutoPreset Symbol; #X text 24 30 usage : apsym Ref Name [BusName [pat_no_all [dont-recall]]] ; #X obj 519 31 r \$3-snd; #X obj 416 550 s \$3-rcv; #X obj 504 56 t a; #X obj 393 518 t a; #X obj 279 203 route _nbpattern_ _loaded_ symbol list _get_val_; #X obj 230 388 t s b; #X msg 230 452 \; \$1 \$2; #X obj 230 364 symbol; #X text 275 363 if parameter is "_get_val_ "; #X text 276 376 then return val to .; #X obj 257 408 symbol; #X obj 230 430 pack s s; #X obj 456 485 spigot 1; #X obj 501 464 == 0; #X text 68 76 -if dont-recall=1 \, saved value is not sent when we load the preset.; #X obj 279 311 s \$0-nbpattern; #X obj 324 269 != 2; #X obj 279 291 spigot 1; #X obj 319 148 route \$2; #X obj 399 176 spigot 1; #X obj 466 177 != 1; #X obj 628 45 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 632 85 pd open; #X msg 632 62 0autopreset-help.pd; #X obj 399 92 route _nbpattern_; #X obj 399 114 list prepend _nbpattern_; #X obj 399 133 list trim; #X obj 32 402 list append; #X obj 501 423 loadbang; #X obj 501 443 f \$5; #X obj 324 229 loadbang; #X obj 324 248 f \$4; #X obj 466 137 loadbang; #X obj 710 132 f \$4; #X obj 710 110 loadbang; #X obj 699 155 == 0; #X obj 643 176 spigot 1; #X obj 428 231 list split 2; #X obj 496 346 list append; #X obj 428 256 unpack s f; #X obj 564 228 list; #X obj 466 157 f \$4; #X obj 496 369 list trim; #X obj 22 500 declare -lib libdir -lib ggee -lib moonlib -stdpath moonlib -stdpath extra/moonlib; #X connect 0 0 12 0; #X connect 1 0 6 0; #X connect 2 0 6 0; #X connect 4 1 3 0; #X connect 5 0 21 0; #X connect 6 0 5 0; #X connect 6 1 24 0; #X connect 6 1 36 0; #X connect 7 0 17 0; #X connect 8 0 46 0; #X connect 8 1 47 0; #X connect 9 1 33 0; #X connect 10 0 28 0; #X connect 11 0 30 0; #X connect 12 0 60 0; #X connect 12 1 74 0; #X connect 13 0 9 0; #X connect 13 1 14 0; #X connect 15 0 22 0; #X connect 15 0 21 2; #X connect 16 0 11 1; #X connect 16 0 10 1; #X connect 17 0 8 0; #X connect 17 1 92 0; #X connect 18 0 58 0; #X connect 20 0 36 1; #X connect 20 0 45 0; #X connect 20 0 66 1; #X connect 21 0 83 0; #X connect 22 0 23 0; #X connect 24 0 25 0; #X connect 25 0 83 1; #X connect 27 0 28 1; #X connect 28 0 29 0; #X connect 29 0 32 0; #X connect 30 0 31 0; #X connect 31 0 35 0; #X connect 33 0 94 0; #X connect 34 0 25 0; #X connect 35 1 59 0; #X connect 36 0 37 0; #X connect 37 0 40 0; #X connect 37 1 21 1; #X connect 38 0 39 0; #X connect 39 0 37 1; #X connect 40 0 21 1; #X connect 41 1 68 0; #X connect 43 0 51 0; #X connect 44 0 43 0; #X connect 45 0 44 0; #X connect 45 1 43 1; #X connect 46 0 10 0; #X connect 47 0 11 0; #X connect 48 0 50 0; #X connect 50 0 49 0; #X connect 51 0 42 0; #X connect 56 0 58 0; #X connect 58 0 27 0; #X connect 58 0 20 0; #X connect 59 0 57 0; #X connect 59 0 19 0; #X connect 60 0 73 0; #X connect 60 2 59 0; #X connect 60 3 93 0; #X connect 60 4 63 0; #X connect 60 5 96 0; #X connect 61 0 67 0; #X connect 61 1 66 0; #X connect 63 0 61 0; #X connect 66 0 67 1; #X connect 67 0 62 0; #X connect 68 0 59 0; #X connect 69 0 68 1; #X connect 72 0 73 1; #X connect 73 0 71 0; #X connect 74 0 60 0; #X connect 74 1 80 0; #X connect 75 0 60 0; #X connect 76 0 75 1; #X connect 79 0 78 0; #X connect 80 0 81 0; #X connect 80 1 60 0; #X connect 81 0 82 0; #X connect 82 0 75 0; #X connect 83 0 4 0; #X connect 84 0 85 0; #X connect 85 0 69 0; #X connect 86 0 87 0; #X connect 87 0 72 0; #X connect 88 0 97 0; #X connect 89 0 48 0; #X connect 89 0 91 0; #X connect 90 0 89 0; #X connect 91 0 92 1; #X connect 92 0 8 0; #X connect 93 0 95 0; #X connect 93 1 94 1; #X connect 94 0 98 0; #X connect 95 0 41 0; #X connect 95 1 13 0; #X connect 96 0 93 0; #X connect 97 0 76 0; #X connect 98 0 26 0; AutoPreset-0.10/aptab-help.pd000066400000000000000000000016461301017470300160720ustar00rootroot00000000000000#N canvas 261 249 519 176 10; #X declare -lib libdir -lib ggee; #X text 66 70 Table is not included \;; #X text 120 29 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 22 -1 AutoPreset Table; #X text 23 0 AutoPreset Table; #X text 67 84 Please signal table length change to \$3-len-snd.; #X text 22 16 usage : aptab Ref Name TableName [TableLength [pat_no_all]] ; #X obj 27 110 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 634 338 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X obj 18 164 declare -lib libdir -lib ggee; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 31 150 pd open; #X msg 31 127 0autopreset-help.pd; #X connect 8 0 7 0; AutoPreset-0.10/aptab.pd000066400000000000000000000131771301017470300151460ustar00rootroot00000000000000#N canvas 32 117 984 535 10; #X declare -lib libdir -lib ggee; #X obj 286 97 r \$1-setap-snd; #X obj 27 73 r \$1-getap-snd; #X obj 6 71 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1 ; #X obj 54 466 s \$1-getap-rcv; #X obj 27 445 t b a; #X obj 27 487 s \$1-getap-next; #X obj 102 100 r \$3-len-snd; #X obj 27 115 symbol \$2; #X obj 27 135 pack s f; #X msg 510 275 resize \$1; #X obj 510 294 s \$3; #X obj 48 164 f; #X obj 479 253 s \$3-len-rcv; #X obj 582 110 r \$1-pattern-snd; #X obj 582 191 route store load; #X obj 580 33 table \$0-pattern 16; #X obj 582 387 s \$0-pattern; #X obj 582 248 moses 16; #X obj 650 247 moses 16; #X obj 701 209 r \$0-nbpattern; #X obj 286 118 route \$2 _all_; #X obj 414 357 sel 0; #X obj 441 381 b; #X obj 414 334 t f f; #X obj 488 400 s \$0-nbpattern; #X obj 400 236 t a f; #X obj 749 248 r \$3-len-snd; #X obj 733 272 *; #X obj 628 271 r \$3-len-snd; #X obj 582 295 *; #X obj 609 295 f; #X obj 582 270 t f b; #X msg 181 233 resize \$1; #X obj 181 252 s \$0-pattern; #X obj 187 170 r \$0-nbpattern; #X obj 69 282 r \$0-nbpattern; #X obj 81 304 f; #X obj 27 93 t b b; #X obj 54 260 t b b; #X obj 54 304 16; #X obj 582 134 route \$2 _all_; #X obj 286 214 route _nbpattern_ _loaded_; #X obj 524 53 sel 0; #X obj 551 74 s \$3-len-snd; #X obj 582 228 i; #X obj 650 226 i; #X text 165 57 Table is not included \;; #X obj 760 141 sel 2; #X obj 760 179 s \$0-nbpattern; #X msg 760 160 0; #X obj 187 190 t b f; #X obj 181 211 * 16; #X obj 81 324 route 0; #X obj 286 380 s \$0-nbpattern; #X obj 488 377 *; #X obj 503 355 != 2; #X text 120 29 -if pat_no_all==1 \, doesn't receive "_all_" pattern commands store/load. If pat_no_all==2 \, no pattern for this.; #X text 22 -1 AutoPreset Table; #X text 23 0 AutoPreset Table; #X text 166 71 Please signal table length change to \$3-len-snd.; #X text 22 16 usage : aptab Ref Name TableName [TableLength [pat_no_all]] ; #X obj 479 234 s \$3-len-snd; #X obj 326 141 route \$2; #X obj 400 179 spigot 1; #X obj 463 195 != 1; #X obj 331 337 != 2; #X obj 286 358 spigot 1; #X obj 710 32 cnv 15 130 60 empty empty help: 20 7 0 12 -204800 -66577 0; #N canvas 632 399 164 175 open 0; #X obj 29 16 inlet; #X obj 29 38 symbol; #X obj 29 103 pack s s; #X obj 56 80 getdir; #X obj 29 59 t s b; #X msg 29 124 \; pd open \$1 \$2; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 2 0; #X connect 4 1 3 0; #X restore 714 72 pd open; #X msg 714 49 0autopreset-help.pd; #X obj 400 156 list trim; #X obj 400 112 route _nbpattern_; #X obj 400 134 list prepend _nbpattern_; #X obj 524 10 loadbang; #X obj 524 33 f \$4; #X obj 716 97 loadbang; #X obj 716 118 f \$5; #X obj 716 138 == 0; #X obj 622 158 spigot 1; #X obj 463 155 loadbang; #X obj 463 175 f \$5; #X obj 503 314 loadbang; #X obj 503 334 f \$5; #X obj 331 297 loadbang; #X obj 331 316 f \$5; #X msg 48 184 0 \$1; #X obj 27 232 list append; #X obj 54 390 list append; #X obj 27 425 list append; #X obj 120 366 array get \$0-pattern; #X msg 120 345 0 \$1; #X obj 352 267 list split 1; #X obj 386 291 list split; #X obj 414 313 list split 1; #X obj 441 401 list; #X obj 582 366 list append; #X obj 48 205 array get \$3; #X msg 609 315 0 \$1; #X obj 609 336 array get \$3; #X obj 733 328 array get \$0-pattern; #X obj 733 305 pack f f; #X obj 733 351 array set \$3; #X obj 386 448 array set \$3; #X obj 441 421 array set \$0-pattern; #X obj 392 495 declare -lib libdir -lib ggee; #X connect 0 0 20 0; #X connect 1 0 37 0; #X connect 2 0 37 0; #X connect 4 0 5 0; #X connect 4 1 3 0; #X connect 6 0 8 1; #X connect 6 0 11 1; #X connect 6 0 51 0; #X connect 7 0 8 0; #X connect 8 0 86 0; #X connect 9 0 10 0; #X connect 11 0 85 0; #X connect 13 0 40 0; #X connect 14 0 44 0; #X connect 14 1 45 0; #X connect 17 0 31 0; #X connect 18 0 27 0; #X connect 19 0 18 1; #X connect 19 0 17 1; #X connect 20 0 41 0; #X connect 20 1 62 0; #X connect 21 1 22 0; #X connect 22 0 94 0; #X connect 23 0 21 0; #X connect 23 1 54 0; #X connect 25 0 91 0; #X connect 25 1 12 0; #X connect 25 1 61 0; #X connect 25 1 92 1; #X connect 26 0 27 1; #X connect 26 0 100 1; #X connect 27 0 100 0; #X connect 28 0 29 1; #X connect 28 0 30 1; #X connect 29 0 95 0; #X connect 30 0 97 0; #X connect 31 0 29 0; #X connect 31 1 30 0; #X connect 32 0 33 0; #X connect 34 0 50 0; #X connect 35 0 39 1; #X connect 36 0 52 0; #X connect 37 0 7 0; #X connect 37 1 11 0; #X connect 37 1 38 0; #X connect 38 0 39 0; #X connect 38 1 36 0; #X connect 39 0 87 0; #X connect 40 0 14 0; #X connect 40 1 78 0; #X connect 41 0 66 0; #X connect 41 2 25 0; #X connect 42 1 43 0; #X connect 44 0 17 0; #X connect 45 0 18 0; #X connect 47 0 49 0; #X connect 49 0 48 0; #X connect 50 0 51 0; #X connect 50 1 51 1; #X connect 51 0 32 0; #X connect 51 0 36 1; #X connect 52 1 90 0; #X connect 54 0 24 0; #X connect 55 0 54 1; #X connect 62 0 41 0; #X connect 62 1 71 0; #X connect 63 0 41 0; #X connect 64 0 63 1; #X connect 65 0 66 1; #X connect 66 0 53 0; #X connect 69 0 68 0; #X connect 70 0 63 0; #X connect 71 0 72 0; #X connect 71 1 41 0; #X connect 72 0 70 0; #X connect 73 0 74 0; #X connect 74 0 42 0; #X connect 75 0 76 0; #X connect 76 0 47 0; #X connect 76 0 77 0; #X connect 77 0 78 1; #X connect 78 0 14 0; #X connect 79 0 80 0; #X connect 80 0 64 0; #X connect 81 0 82 0; #X connect 82 0 55 0; #X connect 83 0 84 0; #X connect 84 0 65 0; #X connect 85 0 96 0; #X connect 86 0 88 0; #X connect 87 0 88 1; #X connect 88 0 4 0; #X connect 89 0 87 1; #X connect 90 0 89 0; #X connect 91 1 92 0; #X connect 92 0 102 0; #X connect 92 1 93 0; #X connect 93 0 23 0; #X connect 93 1 94 1; #X connect 94 0 103 0; #X connect 95 0 16 0; #X connect 96 0 86 1; #X connect 97 0 98 0; #X connect 98 0 95 1; #X connect 99 0 101 0; #X connect 100 0 99 0; AutoPreset-0.10/p/000077500000000000000000000000001301017470300137605ustar00rootroot00000000000000AutoPreset-0.10/p/basic.txt000066400000000000000000000000641301017470300156020ustar00rootroot00000000000000MyFloat 3.14159 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; AutoPreset-0.10/p/float.txt000066400000000000000000000002441301017470300156260ustar00rootroot00000000000000MyFloatI 67 16 67 127 0 97 0 0 0 0 0 0 0 0 0 0 0 0; MyFloat2 125.09 16 127 0 70 127 0 0 0 0 0 0 0 0 0 0 0 0; MyFloat1 1.91 16 0 127 62 127 0 0 0 0 0 0 0 0 0 0 0 0; AutoPreset-0.10/p/more.txt000066400000000000000000000003031301017470300154570ustar00rootroot00000000000000f3 4 16 1 2 3 4 0 0 0 0 0 0 0 0 0 0 0 0; f2 13 0; f1 1 16 1 2 3 4 0 0 0 0 0 0 0 0 0 0 0 0; absA f2 -1 16 -1 -100 102 5 0 0 0 0 0 0 0 0 0 0 0 0; absA f1 1 16 1 100 101 6 0 0 0 0 0 0 0 0 0 0 0 0; AutoPreset-0.10/p/patterns.txt000066400000000000000000000000671301017470300163640ustar00rootroot00000000000000MyFloat -290 16 12 63 217 -57 0 0 0 0 0 0 0 0 0 0 0 0; AutoPreset-0.10/p/sendreceive.txt000066400000000000000000000000601301017470300170110ustar00rootroot00000000000000MyFloat 100 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; AutoPreset-0.10/p/subs.txt000066400000000000000000000006061301017470300154770ustar00rootroot00000000000000absB f2 -2 16 -2 202 104 3 0 0 0 0 0 0 0 0 0 0 0 0; absB f1 2 16 2 200 103 4 0 0 0 0 0 0 0 0 0 0 0 0; absA f2 -1 16 -1 -100 102 5 0 0 0 0 0 0 0 0 0 0 0 0; absA f1 1 16 1 100 101 6 0 0 0 0 0 0 0 0 0 0 0 0; subgroup1 absC f2 -3 16 -3 3000 106 1 0 0 0 0 0 0 0 0 0 0 0 0; subgroup1 absC f1 3 16 3 300 105 2 0 0 0 0 0 0 0 0 0 0 0 0; subgroup1 MyFloat1 10 16 10 20 30 40 0 0 0 0 0 0 0 0 0 0 0 0; AutoPreset-0.10/p/types.txt000066400000000000000000000031701301017470300156660ustar00rootroot00000000000000MySarray 3 _ _ _ 16 un deux trois one two three ein zwei drei _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _; MyTab 20 0.2 0.933335 0.600001 -1 -1.03334 -0.266667 0.833335 -0.533334 -0.966669 0.566668 0.866669 0.766668 -0.933335 -0.866668 -0.0333333 0.833335 0.900002 0.0333335 -0.766668 -0.766668 16 0.1 0.366667 0.466668 0.600001 0.700001 0.766668 0.833335 0.900002 0.933335 0.966669 0.900002 0.866669 0.766668 0.633335 0.533334 0.400001 0.300001 0.166667 0.0666668 0.0333334 0.266667 0.500001 0.666668 0.900002 0.800002 0.233334 -0.400001 -0.633335 -0.733335 -0.800002 -0.800002 -0.800002 -0.833335 -0.566668 -0.2 0.566668 0.700001 0.833335 0.933335 0.966669 0.266667 0.633335 0.900002 0.866669 -0.766668 -0.900002 -0.933335 -0.666668 -0.300001 0.133334 0.866669 0.266667 -0.766668 -0.966669 -0.633335 -0.233334 0.766668 0.700001 0.433334 -0.2 0.2 0.933335 0.600001 -1 -1.03334 -0.266667 0.833335 -0.533334 -0.966669 0.566668 0.866669 0.766668 -0.933335 -0.866668 -0.0333333 0.833335 0.900002 0.0333335 -0.766668 -0.766668 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; MySym quattro 16 one zwei trois quattro _ _ _ _ _ _ _ _ _ _ _ _; MyFloat 110 16 17 37 77 110 0 0 0 0 0 0 0 0 0 0 0 0; AutoPreset-0.10/presetfadecos.pd000066400000000000000000000031601301017470300166750ustar00rootroot00000000000000#N canvas 560 124 403 375 10; #X declare -lib libdir -lib iemlib -lib iemlib/iemlib2; #X text 30 9 presetfade p1 p2 p3... : fade [0:1] to [p1:p2] \, [p2 p3]...; #X obj 34 41 inlet fade [0:1]; #X obj 115 85 dollarg; #X obj 176 66 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 49 110 list length; #X obj 34 158 *; #X obj 34 185 t f f; #X obj 61 213 i; #X obj 34 216 -; #X obj 115 63 loadbang; #X obj 144 265 + 1; #X msg 61 312 A \$1; #X msg 144 310 B \$1; #X obj 34 342 outlet; #X msg 34 263 pos \$1; #X obj 61 238 change -1; #X obj 200 170 table \$0-t; #X obj 153 124 list prepend 0; #X obj 153 146 s \$0-t; #X obj 61 289 tabread \$0-t; #X obj 144 289 tabread \$0-t; #X obj 49 137 - 1; #X obj 228 233 * 3.14159; #X obj 200 205 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 228 256 cos; #X obj 228 279 * -0.5; #X obj 228 301 + 0.5; #X obj 101 129 b; #X obj 101 149 del 100; #X msg 102 170 set -1; #X obj 45 384 declare -lib libdir -lib iemlib -lib iemlib/iemlib2; #X connect 1 0 5 0; #X connect 1 0 27 0; #X connect 2 0 4 0; #X connect 2 0 17 0; #X connect 3 0 2 0; #X connect 4 0 21 0; #X connect 5 0 6 0; #X connect 6 0 8 0; #X connect 6 1 7 0; #X connect 7 0 8 1; #X connect 7 0 15 0; #X connect 8 0 22 0; #X connect 9 0 2 0; #X connect 10 0 20 0; #X connect 11 0 13 0; #X connect 12 0 13 0; #X connect 14 0 13 0; #X connect 15 0 19 0; #X connect 15 0 10 0; #X connect 17 0 18 0; #X connect 19 0 11 0; #X connect 20 0 12 0; #X connect 21 0 5 1; #X connect 22 0 24 0; #X connect 24 0 25 0; #X connect 25 0 26 0; #X connect 26 0 14 0; #X connect 27 0 28 0; #X connect 28 0 29 0; #X connect 29 0 15 0; AutoPreset-0.10/presetfadelin.pd000066400000000000000000000026141301017470300166760ustar00rootroot00000000000000#N canvas 779 106 494 420 10; #X declare -lib libdir -lib iemlib -lib iemlib/iemlib2 -stdpath iemlib ; #X text 30 9 presetfade p1 p2 p3... : fade [0:1] to [p1:p2] \, [p2 p3]...; #X obj 34 41 inlet fade [0:1]; #X obj 115 90 dollarg; #X obj 176 71 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 49 116 list length; #X obj 34 158 *; #X obj 34 185 t f f; #X obj 61 213 i; #X obj 34 216 -; #X obj 115 68 loadbang; #X obj 154 265 + 1; #X msg 61 312 A \$1; #X msg 154 310 B \$1; #X obj 34 342 outlet; #X msg 34 263 pos \$1; #X obj 61 238 change -1; #X obj 200 170 table \$0-t; #X obj 143 124 list prepend 0; #X obj 143 146 s \$0-t; #X obj 61 289 tabread \$0-t; #X obj 154 289 tabread \$0-t; #X obj 49 137 - 1; #X obj 100 155 b; #X obj 100 175 del 100; #X msg 100 196 set -1; #X obj 21 375 declare -lib libdir -lib iemlib -lib iemlib/iemlib2 -stdpath iemlib; #X connect 1 0 5 0; #X connect 1 0 22 0; #X connect 2 0 4 0; #X connect 2 0 17 0; #X connect 3 0 2 0; #X connect 4 0 21 0; #X connect 5 0 6 0; #X connect 6 0 8 0; #X connect 6 1 7 0; #X connect 7 0 8 1; #X connect 7 0 15 0; #X connect 8 0 14 0; #X connect 9 0 2 0; #X connect 10 0 20 0; #X connect 11 0 13 0; #X connect 12 0 13 0; #X connect 14 0 13 0; #X connect 15 0 19 0; #X connect 15 0 10 0; #X connect 17 0 18 0; #X connect 19 0 11 0; #X connect 20 0 12 0; #X connect 21 0 5 1; #X connect 22 0 23 0; #X connect 23 0 24 0; #X connect 24 0 15 0; AutoPreset-0.10/splitpath.pd000066400000000000000000000037751301017470300160720ustar00rootroot00000000000000#N canvas 900 145 450 362 10; #X obj 129 30 inlet; #X obj 129 292 outlet; #X obj 129 59 list fromsymbol; #N canvas 217 164 423 411 find_last_/ 0; #X obj 75 47 inlet; #X obj 101 121 list split 1; #X msg 216 123 0; #X obj 155 267 i; #X obj 128 288 sel 47; #X obj 128 239 t f b; #X obj 128 313 f; #X obj 101 90 t a a; #X obj 128 156 list; #X obj 101 215 t b f; #X obj 182 267 + 1; #X obj 75 69 t b a; #X obj 75 342 f; #X obj 75 364 outlet; #X connect 0 0 11 0; #X connect 1 0 9 0; #X connect 1 1 8 1; #X connect 2 0 3 0; #X connect 2 0 12 1; #X connect 3 0 6 1; #X connect 3 0 10 0; #X connect 4 0 6 0; #X connect 5 0 4 0; #X connect 5 1 3 0; #X connect 6 0 12 1; #X connect 7 0 1 0; #X connect 7 1 2 0; #X connect 8 0 1 0; #X connect 9 0 8 0; #X connect 9 1 5 0; #X connect 10 0 3 1; #X connect 11 0 12 0; #X connect 11 1 7 0; #X connect 12 0 13 0; #X restore 156 105 pd find_last_/; #X obj 129 143 list split; #X obj 129 81 t a a; #X obj 129 266 list tosymbol; #X obj 157 193 outlet; #X obj 157 167 list tosymbol; #X floatatom 224 142 5 0 0 0 - - -, f 5; #N canvas 1 82 501 486 striplast/ 1; #X obj 176 165 inlet; #X obj 231 402 outlet; #X obj 176 256 list split 1; #X obj 176 206 t a a; #X obj 245 211 list length; #X obj 245 233 - 1; #X obj 176 383 spigot; #X obj 214 313 == 47; #X obj 231 358 spigot; #X obj 264 336 != 47; #X obj 231 380 list append; #X obj 113 264 t a; #X obj 176 327 t a a; #X obj 214 283 t f f; #X connect 0 0 3 0; #X connect 2 0 12 0; #X connect 2 1 13 0; #X connect 3 0 2 0; #X connect 3 1 4 0; #X connect 4 0 5 0; #X connect 5 0 2 1; #X connect 6 0 11 0; #X connect 7 0 6 1; #X connect 8 0 10 0; #X connect 9 0 8 1; #X connect 10 0 1 0; #X connect 11 0 3 0; #X connect 12 0 6 0; #X connect 12 1 8 0; #X connect 13 0 7 0; #X connect 13 0 9 0; #X connect 13 1 10 1; #X restore 148 238 pd striplast/; #X connect 0 0 2 0; #X connect 2 0 5 0; #X connect 3 0 4 1; #X connect 3 0 9 0; #X connect 4 0 10 0; #X connect 4 1 8 0; #X connect 5 0 4 0; #X connect 5 1 3 0; #X connect 6 0 1 0; #X connect 8 0 7 0; #X connect 10 0 6 0;