#N canvas 250 98 775 629 10; #X obj 14 134 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 12 12 description: Loads and stores soundfiles.; #X msg 14 503 set \$1 \, bang; #X obj 13 563 mtl/out~; #X msg 63 285 0; #X msg 96 285 1; #X msg 130 286 2; #X obj 61 253 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 84 252 bang: outputs the last loaded soundfile; #X text 166 282 float: outputs the previously loaded soundfile at that index; #X obj 90 401 cyclone/prepend set; #X obj 29 452 cyclone/prepend set; #X obj 203 326 cyclone/prepend set; #X text 214 398 Outlet 2: samplerate length channels; #X text 326 327 Outlet 3: index soundfile; #X text 152 448 Outlet 1: tables (one table per channel); #X text 13 28 tags: tables file~; #X obj 528 103 bng 15 250 50 0 empty empty save 17 7 0 10 -262144 -1 -1; #X obj 603 120 bng 15 250 50 0 empty empty load 17 7 0 10 -262144 -1 -1; #X obj 14 326 mtl/sfIndexer /id sfi-help; #X obj 14 156 openpanel; #X msg 14 181 add \$1; #X obj 41 209 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 41 228 openpanel; #X text 62 177 "add" soundfile: adds the indicated soundfile; #X text 12 82 sfIndexer will never reload the same soundfile twice. It will point to the previously filled tables instead.; #X text 13 48 sfIndexer can store and refer to an unlimited number of loaded soundfiles.; #X obj 14 527 mtl/player~; #X obj 409 7 cnv 15 350 80 empty empty empty 20 12 0 14 -232576 -66577 0; #X text 545 9 PARAM ENABLED; #X obj 513 66 mtl/param-enabled-help; #X text 415 31 The list of loaded soundfiles can be saved and restored through the param system.; #X msg 90 420; #X msg 29 472; #X msg 203 346; #X obj 528 144 tof/param file; #X text 67 205 "symbol": add the soundfile and output its data.; #X connect 0 0 20 0; #X connect 2 0 27 0; #X connect 4 0 19 0; #X connect 5 0 19 0; #X connect 6 0 19 0; #X connect 7 0 19 0; #X connect 10 0 32 0; #X connect 11 0 33 0; #X connect 12 0 34 0; #X connect 17 0 35 0; #X connect 18 0 35 1; #X connect 19 0 2 0; #X connect 19 0 11 0; #X connect 19 1 10 0; #X connect 19 2 12 0; #X connect 20 0 21 0; #X connect 21 0 19 0; #X connect 22 0 23 0; #X connect 23 0 19 0; #X connect 27 0 3 0; #X connect 27 0 3 1;