Commit 55d1d56b authored by J Reso's avatar J Reso
Browse files

[mem] : relative path for presets

parent 3416526f
Pipeline #3578 skipped
#N canvas 297 79 612 508 10;
#N canvas 295 78 612 508 10;
#X declare -path ../numbers;
#X msg 517 68 \; pd dsp 1;
#X text 517 47 Audio on;
#X obj 154 225 hradio 10 1 0 15 empty empty waves 0 -8 0 10 -262144
-1 -1 14;
-1 -1 0;
#X obj 61 237 vsl 15 50 0 127 0 0 empty empty pitch:0-127 0 -9 0 10
-262144 -1 -1 0 1;
#X msg 166 262 on \$1;
#X obj 166 242 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
#X obj 166 242 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 167 309 r \$0-to-synth;
#X text 208 263 switch on and off;
......@@ -17,7 +17,7 @@
#X text 445 272 phase between 0 and 1;
#X obj 374 295 s \$0-to-synth;
#X obj 373 352 s \$0-to-synth;
#N canvas 606 102 635 626 -PRESET-MESSAGES 0;
#N canvas 604 101 635 626 -PRESET-MESSAGES 1;
#X msg 63 219 file tmp2.txt;
#X text 59 199 Change filename preset;
#X obj 115 385 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
......@@ -25,7 +25,7 @@
#X msg 102 308 length;
#X msg 79 266 update;
#X obj 62 55 hradio 15 1 0 8 empty empty Read_a_preset 0 -8 0 10 -262144
-1 -1 5;
-1 -1 0;
#X msg 115 408 auto-max \$1;
#X msg 86 108 write;
#X obj 63 438 s \$0-to-mem;
......@@ -56,6 +56,9 @@ to the number of presets \; Default : 1;
#X obj 69 561 r \$0-to-mem;
#X obj 69 586 outlet;
#X obj 339 132 rand-n 1 512;
#X msg 353 556 file-rel ./presets/test1.txt;
#X text 353 536 Relative filename;
#X obj 353 580 s \$0-to-mem;
#X connect 0 0 8 0;
#X connect 2 0 6 0;
#X connect 3 0 8 0;
......@@ -72,6 +75,7 @@ to the number of presets \; Default : 1;
#X connect 29 0 27 0;
#X connect 31 0 32 0;
#X connect 33 0 15 0;
#X connect 34 0 36 0;
#X restore 374 327 pd -PRESET-MESSAGES;
#X obj 61 307 synth 2 50;
#X obj 60 419 out~;
......
#N canvas 1 135 514 443 10;
#N canvas 1 133 514 443 10;
#X declare -path ../numbers;
#X obj 105 400 outlet~;
#X obj 159 351 switch~;
......@@ -57,7 +57,7 @@
#X obj 326 145 inlet;
#X obj 106 251 sig~;
#X obj 118 198 r \$0-freq;
#N canvas 392 193 537 377 \$0-PRESETS 0;
#N canvas 388 191 537 377 \$0-PRESETS 0;
#X obj 120 242 list prepend 0;
#X obj 120 264 s \$0-;
#X obj 120 150 tabdump \$0-;
......@@ -77,7 +77,7 @@
#X connect 7 0 8 0;
#X connect 8 0 5 0;
#X restore 326 222 pd \$0-PRESETS;
#N canvas 57 83 547 547 \$0-COMMANDS 0;
#N canvas 55 82 547 547 \$0-COMMANDS 0;
#X obj 304 73 declare -path ../numbers;
#X obj 41 138 inlet;
#X obj 149 343 s \$0-read-in;
......
#N canvas 340 83 541 565 10;
#N canvas 336 81 541 565 10;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
......@@ -12,14 +12,14 @@
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#N canvas 621 86 484 656 _EXAMPLE_FM_ 1;
#N canvas 619 85 484 656 _EXAMPLE_FM_ 0;
#X obj 185 552 oscilloscope~;
#X obj 194 241 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
-1 -1 7;
-1 -1 0;
#X floatatom 101 196 5 0 0 0 - - -;
#X obj 102 567 output~;
#X obj 215 432 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
-1 -1 2;
-1 -1 0;
#X msg 131 166 64;
#X msg 163 165 57;
#X msg 101 166 52;
......@@ -109,7 +109,6 @@
#X connect 18 0 10 0;
#X restore 350 487 pd _EXAMPLE_AM_;
#X floatatom 50 271 5 0 20000 2 Hertz - -;
#X obj 50 413 output~;
#X obj 144 219 hradio 10 1 0 15 empty empty waves 0 -8 0 10 -262144
-1 -1 0;
#X msg 156 256 on \$1;
......@@ -127,10 +126,10 @@
#X obj 234 150 +~ 1;
#X obj 234 171 *~ 2;
#X obj 236 317 hsl 95 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 8695 1;
-1 -1 7527 1;
#X text 71 12 A Low Frequency Oscillator for numbers;
#X obj 36 179 hsl 95 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 4049 1;
-1 -1 5608 1;
#X obj 33 152 audio-nb;
#X obj 33 55 synth~ 1 0.1;
#X obj 235 51 synth~ 1 0.1;
......@@ -146,7 +145,7 @@
#X restore 350 508 pd _LFO_;
#X text 352 440 // EXAMPLES //;
#X obj 362 345 s \$0-to-synth;
#N canvas 342 79 635 626 -PRESET-MESSAGES 0;
#N canvas 340 78 635 626 -PRESET-MESSAGES 0;
#X msg 63 219 file tmp2.txt;
#X text 59 199 Change filename preset;
#X obj 115 385 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
......@@ -185,6 +184,9 @@ to the number of presets \; Default : 1;
#X text 349 247 Delete preset number;
#X obj 69 561 r \$0-to-mem;
#X obj 69 586 outlet;
#X msg 363 566 file-rel ./presets/test1.txt;
#X text 363 546 Relative filename;
#X obj 363 590 s \$0-to-mem;
#X connect 0 0 8 0;
#X connect 2 0 6 0;
#X connect 3 0 8 0;
......@@ -201,17 +203,19 @@ to the number of presets \; Default : 1;
#X connect 27 0 28 0;
#X connect 30 0 28 0;
#X connect 32 0 33 0;
#X connect 34 0 36 0;
#X restore 362 321 pd -PRESET-MESSAGES;
#X text 39 27 synth~ \; ----- \; Waveforms synthetiser (Hertz version)
\; Presets file in abstractions/core/presets/waves.txt \; Arguments
\; \$1: preset number \; \$2: pitch in Hertz (0-20000) \;;
#X connect 2 0 13 0;
#X connect 4 0 13 1;
#X connect 5 0 13 1;
#X connect 6 0 5 0;
#X connect 7 0 13 1;
#X connect 9 0 12 0;
#X connect 10 0 12 0;
#X connect 13 0 3 0;
#X connect 13 0 3 1;
#X connect 18 0 17 0;
#X obj 50 413 out~;
#X connect 2 0 12 0;
#X connect 3 0 12 1;
#X connect 4 0 12 1;
#X connect 5 0 4 0;
#X connect 6 0 12 1;
#X connect 8 0 11 0;
#X connect 9 0 11 0;
#X connect 12 0 19 0;
#X connect 12 0 19 1;
#X connect 17 0 16 0;
#N canvas 280 489 434 216 10;
#N canvas 254 476 434 216 10;
#X obj 203 48 inlet;
#X obj 42 38 inlet;
#X obj 42 128 outlet;
#N canvas 355 418 450 300 \$0-ARGS 0;
#N canvas 347 414 450 300 \$0-ARGS 0;
#X obj 249 109 symbol;
#X obj 174 132 select symbol;
#X obj 174 81 t b b;
......@@ -16,7 +16,7 @@
#X obj 174 245 outlet;
#X msg 54 190 read \$1;
#X msg 174 213 file \$1 \, auto-max 1;
#X obj 54 141 del 1;
#X obj 54 141 del 2;
#X connect 0 0 1 1;
#X connect 1 0 5 0;
#X connect 1 1 12 0;
......@@ -33,51 +33,88 @@
#X connect 12 0 10 0;
#X connect 13 0 9 0;
#X restore 227 71 pd \$0-ARGS;
#N canvas 165 151 753 422 \$0-COMMANDS 0;
#X obj 79 45 inlet;
#X obj 79 198 s \$1-read-in;
#X obj 157 309 makefilename presets/%s;
#X obj 157 283 symbol;
#X obj 303 344 s \$1-write-in;
#X obj 157 337 s \$1-file;
#X obj 197 253 s \$1-update;
#X obj 322 210 s \$1-auto-max;
#X obj 376 320 s \$1-id-in;
#X obj 434 219 s \$1-reset;
#X obj 303 269 route bang float;
#X obj 349 295 t b f;
#X obj 79 151 route float read file update write id auto-max length
;
#X obj 514 198 s \$1-list;
#X obj 554 177 s \$1-clear;
#X obj 434 149 route bang reset list clear delete;
#X obj 593 212 s \$1-delete;
#X obj 338 172 s \$1-length-in;
#X obj 79 177 int;
#X connect 0 0 12 0;
#X connect 2 0 5 0;
#X connect 3 0 2 0;
#X connect 10 0 4 0;
#X connect 10 1 11 0;
#X connect 11 0 4 0;
#X connect 11 1 8 0;
#X connect 12 0 18 0;
#X connect 12 1 18 0;
#X connect 12 2 3 0;
#X connect 12 3 6 0;
#X connect 12 4 10 0;
#X connect 12 5 8 0;
#X connect 12 6 7 0;
#X connect 12 7 17 0;
#X connect 12 8 15 0;
#X connect 15 0 9 0;
#X connect 15 1 9 0;
#X connect 15 2 13 0;
#X connect 15 3 14 0;
#X connect 15 4 16 0;
#X connect 18 0 1 0;
#N canvas 288 115 821 499 \$0-COMMANDS 0;
#X obj 86 49 inlet;
#X obj 214 120 s \$1-read-in;
#X obj 332 221 s \$1-write-in;
#X obj 299 123 s \$1-update;
#X obj 426 126 s \$1-auto-max;
#X obj 405 197 s \$1-id-in;
#X obj 569 141 s \$1-reset;
#X obj 332 146 route bang float;
#X obj 378 172 t b f;
#X obj 649 120 s \$1-list;
#X obj 689 99 s \$1-clear;
#X obj 569 71 route bang reset list clear delete;
#X obj 728 134 s \$1-delete;
#X obj 462 106 s \$1-length-in;
#X obj 214 99 int;
#X obj 86 174 symbol;
#X obj 114 215 splitfilename ./;
#X obj 282 239 symbol;
#X obj 207 262 select symbol;
#X obj 207 284 bng 15 250 50 0 empty empty -empty- 17 7 0 10 -262144
-1 -1;
#X obj 282 284 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 207 239 t a b;
#X obj 54 374 makefilename presets/%s;
#X obj 54 349 gate 2;
#X obj 87 195 t a a;
#X msg 207 304 1;
#X msg 279 304 2;
#X obj 278 377 pack s s;
#X msg 277 398 symbol \$2/\$1;
#X obj 323 331 initbang;
#X obj 323 354 getdir 4;
#X obj 86 76 route file file-rel;
#X obj 213 74 route float read update write id auto-max length;
#X text 51 456 switch between malinette path and relative path;
#X obj 54 432 s \$1-file;
#X connect 0 0 31 0;
#X connect 7 0 2 0;
#X connect 7 1 8 0;
#X connect 8 0 2 0;
#X connect 8 1 5 0;
#X connect 11 0 6 0;
#X connect 11 1 6 0;
#X connect 11 2 9 0;
#X connect 11 3 10 0;
#X connect 11 4 12 0;
#X connect 14 0 1 0;
#X connect 15 0 24 0;
#X connect 16 1 21 0;
#X connect 17 0 18 1;
#X connect 18 0 19 0;
#X connect 18 1 20 0;
#X connect 19 0 25 0;
#X connect 20 0 26 0;
#X connect 21 0 18 0;
#X connect 21 1 17 0;
#X connect 22 0 34 0;
#X connect 23 0 22 0;
#X connect 23 1 27 0;
#X connect 24 0 23 1;
#X connect 24 1 16 0;
#X connect 25 0 23 0;
#X connect 26 0 23 0;
#X connect 27 0 28 0;
#X connect 28 0 34 0;
#X connect 29 0 30 0;
#X connect 30 0 27 1;
#X connect 31 0 15 0;
#X connect 31 1 27 0;
#X connect 31 2 32 0;
#X connect 32 0 14 0;
#X connect 32 1 14 0;
#X connect 32 2 3 0;
#X connect 32 3 7 0;
#X connect 32 4 5 0;
#X connect 32 5 4 0;
#X connect 32 6 13 0;
#X connect 32 7 11 0;
#X restore 203 99 pd \$0-COMMANDS;
#N canvas 337 124 740 616 \$0-PROCESSSING 0;
#N canvas 333 122 740 616 \$0-PROCESSSING 0;
#X obj 393 156 r \$1-read;
#X obj 164 250 list;
#X obj 50 89 f;
......
#N canvas 61 22 836 440 10;
#X obj 25 12 cnv 15 400 35 empty empty number.mmb~ 20 12 0 14 -4160
-203904 0;
#X obj 25 48 cnv 15 400 40 empty empty empty 20 12 0 14 -203904 -66577
0;
#X text 614 371 .mmb;
#X obj 75 244 number.mmb~;
#X msg 164 202 refresh \$1;
#X floatatom 164 173 5 0 0 0 - - -;
#X text 236 201 change the refresh rate;
#X floatatom 130 287 8 0 0 0 - - -;
#X obj 68 371 dac~;
#X text 194 246 Left outlet passes signal through \, right outlet outputs
value as a float;
#X obj 75 152 phasor~ 0.5;
#X text 45 48 Display the value of a signal for easy debugging.;
#X text 459 65 arg1: <optional> Set the refresh rate in ms. (default:
100);
#X text 440 45 [number.mmb~ refresh];
#X connect 3 0 8 0;
#X connect 3 0 8 1;
#X connect 3 1 7 0;
#X connect 4 0 3 1;
#X connect 5 0 4 0;
#X connect 10 0 3 0;
#N canvas 140 22 486 423 10;
#X obj 129 96 inlet~;
#X obj 169 38 loadbang;
#X obj 259 104 r pd;
#X obj 258 125 route dsp;
#X obj 183 245 snapshot~;
#X obj 131 314 outlet~;
#X obj 323 340 s \$0-number;
#X msg 322 310 label \$1;
#X obj 21 21 cnv 13 60 13 empty \$0-number ~0.000000 2 7 0 10 -204800
-16662 0;
#X obj 287 264 makefilename ~%f;
#X obj 202 214 metro 100;
#X obj 201 314 outlet;
#X obj 359 96 inlet;
#X obj 359 124 route refresh;
#X obj 359 151 max 1;
#X obj 205 74 f \$1;
#X obj 205 101 sel 0;
#X connect 0 0 4 0;
#X connect 0 0 5 0;
#X connect 1 0 10 0;
#X connect 1 0 15 0;
#X connect 2 0 3 0;
#X connect 3 0 10 0;
#X connect 4 0 9 0;
#X connect 4 0 11 0;
#X connect 7 0 6 0;
#X connect 9 0 7 0;
#X connect 10 0 4 0;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 14 0 10 1;
#X connect 15 0 16 0;
#X connect 16 1 10 1;
#X coords 0 -1 1 1 62 15 2 20 20;
#N canvas 449 79 708 375 10;
#X obj 25 12 cnv 15 400 35 empty empty phasorcount.mmb~ 20 12 0 14
-4160 -203904 0;
#X obj 25 48 cnv 15 400 40 empty empty empty 20 12 0 14 -203904 -66577
0;
#X text 502 323 .mmb;
#X text 45 48 Counts the number of cycles from [phasor~] and resets
after a max value is reached.;
#X text 291 103 [phasorcount.mmb~ counts];
#X text 309 123 arg1: Number of cycles to count before reset. Output
is in the range of 0 to arg1-1;
#X obj 56 128 phasor~ 1;
#X obj 56 296 number.mmb~;
#X floatatom 108 166 5 0 0 0 - - -;
#X text 144 166 number of counts;
#X obj 161 215 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 181 213 reset counter;
#X obj 56 240 phasorcount.mmb~ 4;
#X obj 255 242 osc~ 440;
#X obj 255 316 *~ 0.1;
#X obj 256 342 dac~;
#X obj 255 290 *~ 0;
#X obj 331 315 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 341 339 print;
#X obj 334 293 change;
#X obj 334 270 unsig~ 1;
#X obj 336 210 phasor~ 10;
#X obj 335 247 >~ 0.99;
#X floatatom 113 318 5 0 0 0 - - -;
#X connect 6 0 12 0;
#X connect 7 1 23 0;
#X connect 8 0 12 1;
#X connect 10 0 12 2;
#X connect 12 0 7 0;
#X connect 13 0 16 0;
#X connect 14 0 15 0;
#X connect 14 0 15 1;
#X connect 16 0 14 0;
#X connect 17 0 16 1;
#X connect 17 0 18 0;
#X connect 19 0 17 0;
#X connect 20 0 19 0;
#X connect 22 0 20 0;
#N canvas 736 22 702 541 10;
#X obj 66 44 inlet~;
#X obj 66 404 outlet~;
#X obj 306 44 inlet;
#X obj 366 44 inlet;
#X obj 240 50 loadbang;
#X obj 234 87 f \$1;
#X obj 236 116 max 1;
#X obj 522 56 loadbang;
#X obj 522 79 samplerate~;
#X obj 521 102 expr 1/($f1/1000);
#X obj 519 126 s \$0-one.sample;
#X msg 581 55 bang;
#X obj 332 164 vline~;
#X msg 309 104 1;
#X msg 348 134 0 \, 1 0 \$1;
#X obj 357 108 f;
#X obj 361 79 t b;
#X obj 66 100 rzero~ 1;
#X obj 72 128 expr~ $v1<0;
#N canvas 0 22 581 486 counter 0;
#X obj 107 262 rpole~ 1;
#X obj 147 151 +~;
#X obj 150 196 expr~ $v1<$f2;
#X obj 152 238 *~;
#X obj 108 238 *~;
#X obj 131 299 delwrite~ \$0-counter 1;
#X obj 167 114 delread~ \$0-counter 0;
#X obj 101 28 inlet~;
#X obj 201 28 inlet~;
#X obj 301 28 inlet;
#X obj 104 338 outlet~;
#X obj 164 69 r \$0-one.sample;
#X connect 0 0 5 0;
#X connect 0 0 10 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 0 4 1;
#X connect 3 0 0 1;
#X connect 4 0 0 0;
#X connect 6 0 1 1;
#X connect 7 0 4 0;
#X connect 7 0 1 0;
#X connect 8 0 3 1;
#X connect 9 0 2 1;
#X connect 11 0 6 0;
#X restore 67 372 pd counter;
#X connect 0 0 17 0;
#X connect 2 0 6 0;
#X connect 3 0 16 0;
#X connect 4 0 5 0;
#X connect 4 0 13 0;
#X connect 5 0 6 0;
#X connect 6 0 19 2;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 9 0 15 1;
#X connect 11 0 8 0;
#X connect 12 0 19 1;
#X connect 13 0 12 0;
#X connect 14 0 12 0;
#X connect 15 0 14 0;
#X connect 16 0 15 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 19 0 1 0;
#N canvas 0 22 717 453 10;
#X obj 35 58 cnv 15 400 70 empty empty empty 20 12 0 14 -203904 -66577
0;
#X obj 511 76 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 511 102 getdir;
#X text 55 58 [r.mmb] is a dynamic version of [receive]. It allows
you to change which send it is listening to by sending a new argument
in its inlet.;
#X text 79 134 [r.mmb name];
#X text 99 147 arg1: name of corresponding [send] to listen to;
#X obj 155 255 s foo;
#X obj 275 255 s bar;
#X floatatom 155 226 5 0 0 0 - - -;
#X floatatom 275 226 5 0 0 0 - - -;
#X obj 196 359 r.mmb foo;
#X msg 212 288 foo;
#X msg 221 310 bar;
#X text 265 295 these should really be symbols \, but you don't have
to include the symbol selector;
#X floatatom 196 395 5 0 0 0 - - -;
#X text 530 74 see also: [s.mmb];
#X msg 511 133 \; pd open s.mmb-help.pd \$1;
#X obj 35 22 cnv 15 400 35 empty empty r.mmb 20 12 0 14 -4160 -203904
0;
#X connect 1 0 2 0;
#X connect 2 0 16 0;
#X connect 8 0 6 0;
#X connect 9 0 7 0;
#X connect 10 0 14 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#N canvas 104 38 619 632 10;
#N canvas 802 79 450 300 \$0-guts 0;
#X restore 204 409 pd \$0-guts;
#X obj 226 373 s pd-\$0-guts;
#X msg 226 339 clear \, obj 10 10 r \$1 \, obj 10 40 s \$2-out \, connect
0 0 1 0;
#X obj 212 447 r \$0-out;
#X obj 212 477 outlet;
#X obj 58 10 inlet;
#X obj 166 219 sel symbol;
#X msg 262 195 symbol;
#X obj 66 66 route float list;
#X obj 227 309 pack s \$0;
#X obj 233 107 loadbang;
#X obj 117 274 print r.mmb;
#X msg 117 254 bad argument;
#X obj 166 176 symbol \$1;
#X msg 315 308 clear;
#X obj 233 128 t b b b;
#X text 452 497 .mmb;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 5 0 8 0;
#X connect 6 1 9 0;
#X connect 7 0 6 1;
#X connect 8 2 13 0;
#X connect 9 0 2 0;
#X connect 10 0 15 0;
#X connect 12 0 11 0;
#X connect 13 0 6 0;
#X connect 14 0 1 0;
#X connect 15 0 13 0;
#X connect 15 1 7 0;
#X connect 15 2 14 0;
#N canvas 715 168 472 415 10;
#X obj 62 57 inlet;
#X obj 139 59 inlet;
#X obj 205 60 inlet;
#X text 67 32 red;
#X text 137 34 green;
#X text 209 34 blue;
#X obj 139 294 +;
#X obj 139 320 +;
#X obj 62 213 * -65536;
#X obj 139 214 * -256;
#X obj 205 214 * -1;
#X obj 139 351 - 1;
#X obj 139 386 outlet;
#X obj 72 258 t f b;
#X obj 62 102 pack f f f;
#X obj 62 165 clip 0 255;
#X obj 132 165 clip 0 255;
#X obj 202 165 clip 0 255;
#X obj 62 131 unpack f f f;
#X connect 0 0 14 0;
#X connect 1 0 14 1;
#X connect 2 0 14 2;
#X connect 6 0 7 1;
#X connect 7 0 11 0;
#X connect 8 0 13 0;
#X connect 9 0 6 0;
#X connect 10 0 6 1;
#X connect 11 0 12 0;
#X connect 13 0 7 0;
#X connect 13 1 6 0;
#X connect 14 0 18 0;
#X connect 15 0 8 0;
#X connect 16 0 9 0;
#X connect 17 0 10 0;
#X connect 18 0 15 0;
#X connect 18 1 16 0;
#X connect 18 2 17 0;
#N canvas 490 108 717 453 10;
#X obj 35 58 cnv 15 400 70 empty empty empty 20 12 0 14 -203904 -66577
0;
#X obj 511 76 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 511 102 getdir;
#X text 99 147 arg1: name of corresponding [send] to listen to;
#X msg 191 206 foo;
#X msg 200 228 bar;
#X text 244 213 these should really be symbols \, but you don't have
to include the symbol selector;
#X obj 35 22 cnv 15 400 35 empty empty s.mmb 20 12 0 14 -4160 -203904
0;
#X text 79 134 [s.mmb name];
#X text 530 74 see also: [r.mmb];
#X msg 511 133 \; pd open r.mmb-help.pd \$1;
#X text 55 58 [s.mmb] is a dynamic version of [send]. It allows you
to change which receive it is sending to by sending a new argument
in its left inlet.;
#X obj 128 271 s.mmb foo;
#X floatatom 128 211 5 0 0 0 - - -;
#X obj 125 354 r foo;
#X obj 242 356 r bar;
#X floatatom 125 389 5 0 0 0 - - -;
#X floatatom 242 391 5 0 0 0 - - -;
#X connect 1 0 2 0;
#X connect 2 0 10 0;
#X connect 4 0 12 1;
#X connect 5 0 12 1;
#X connect 13 0 12 0;
#X connect 14 0 16 0;
#X connect 15 0 17 0;
#N canvas 655 22 715 573 10;
#X obj 68 20 inlet;
#X obj 243 244 sel symbol;
#X msg 339 220 symbol;
#X obj 143 91 route float list;
#X obj 304 334 pack s \$0;
#X obj 310 132 loadbang;
#X msg 194 279 bad argument;
#X obj 243 201 symbol \$1;
#X obj 194 299 print s.mmb;
#N canvas 0 22 450 300 \$0-guts 0;
#X obj 10 10 r 1046-dummy;
<