#N canvas 166 136 906 632 10;
#X obj 450 57 table \$1;
#X obj 59 263 tabwrite~ \$1;
#X text 554 60 \$2: max table length in milliseconds;
#X text 555 40 \$1: table name;
#N canvas 267 39 862 712 init 0;
#X obj 86 62 loadbang;
#X obj 86 222 f \$2;
#X obj 118 118 samplerate~;
#X obj 86 450 s \$1;
#X msg 86 424 resize \$1;
#X obj 118 147 s \$0-sr;
#X obj 115 350 s \$0-maxdur;
#X obj 86 255 select 0;
#X msg 86 275 1000;
#X msg 164 58 bang;
#X obj 86 85 t b b;
#X obj 86 316 f;
#X floatatom 39 352 5 0 0 0 - - -;
#N canvas 384 244 568 337 ms2smps 0;
#X obj 202 160 samplerate~;
#X obj 202 183 / 1000;
#X obj 202 135 loadbang;
#X obj 135 134 inlet;
#X obj 135 228 outlet;
#X msg 276 134 bang;
#X obj 135 183 * 22.05;
#X connect 0 0 1 0;
#X connect 1 0 6 1;
#X connect 2 0 0 0;
#X connect 3 0 6 0;
#X connect 5 0 0 0;
#X connect 6 0 4 0;
#X restore 86 401 pd ms2smps;
#X connect 0 0 10 0;
#X connect 1 0 7 0;
#X connect 2 0 5 0;
#X connect 4 0 3 0;
#X connect 7 0 8 0;
#X connect 7 1 11 0;
#X connect 8 0 11 0;
#X connect 9 0 10 0;
#X connect 10 0 1 0;
#X connect 10 1 2 0;
#X connect 11 0 6 0;
#X connect 11 0 12 0;
#X connect 11 0 13 0;
#X connect 13 0 4 0;
#X restore 450 80 pd init;
#X obj 219 49 inlet;
#X obj 72 233 r \$0-tw;
#X obj 219 483 outlet;
#X obj 219 336 symbol \$1;
#X obj 219 460 pack s 0 0 22050;
#X obj 328 434 r \$0-sr;
#X obj 219 78 list trim;
#X obj 449 246 timer;
#N canvas 561 97 472 495 start 0;
#X obj 77 48 inlet;
#X obj 151 97 outlet;
#X obj 77 70 route start;
#X obj 77 330 s \$0-tw;
#X obj 100 195 s \$0-start;
#X obj 123 164 s \$0-cut;
#X msg 123 143 1;
#X obj 77 233 route float;
#X msg 77 291 start \$1;
#X obj 77 115 t a b b;
#X msg 151 290 start;
#X obj 151 258 b;
#N canvas 384 244 568 337 ms2sm 0;
#X obj 202 160 samplerate~;
#X obj 202 183 / 1000;
#X obj 202 135 loadbang;
#X obj 135 134 inlet;
#X obj 135 228 outlet;
#X msg 276 134 bang;
#X obj 135 183 * 22.05;
#X connect 0 0 1 0;
#X connect 1 0 6 1;
#X connect 2 0 0 0;
#X connect 3 0 6 0;
#X connect 5 0 0 0;
#X connect 6 0 4 0;
#X restore 77 259 pd ms2sm;
#X connect 0 0 2 0;
#X connect 2 0 9 0;
#X connect 2 1 1 0;
#X connect 6 0 5 0;
#X connect 7 0 12 0;
#X connect 7 1 11 0;
#X connect 8 0 3 0;
#X connect 9 0 7 0;
#X connect 9 1 4 0;
#X connect 9 2 6 0;
#X connect 10 0 3 0;
#X connect 11 0 10 0;
#X connect 12 0 8 0;
#X restore 219 114 pd start;
#N canvas 0 0 464 491 stop 0;
#X obj 77 48 inlet;
#X obj 144 97 outlet;
#X obj 77 70 route stop;
#X obj 77 265 t b b;
#X obj 77 360 s \$0-tw;
#X obj 123 219 r \$0-fade;
#X obj 77 244 delay 5;
#X obj 109 163 s \$0-cut;
#X obj 77 115 t b b;
#X text 140 248 wait for fade in;
#X obj 109 295 s \$0-stop;
#X msg 77 332 stop;
#X msg 109 142 0;
#X connect 0 0 2 0;
#X connect 2 0 8 0;
#X connect 2 1 1 0;
#X connect 3 0 11 0;
#X connect 3 1 10 0;
#X connect 5 0 6 1;
#X connect 6 0 3 0;
#X connect 8 0 6 0;
#X connect 8 1 12 0;
#X connect 11 0 4 0;
#X connect 12 0 7 0;
#X restore 219 139 pd stop;
#N canvas 0 0 450 300 info 0;
#X obj 77 48 inlet;
#X obj 144 97 outlet;
#X obj 77 70 route info;
#X obj 77 158 s \$0-info;
#X obj 77 137 b;
#X connect 0 0 2 0;
#X connect 2 0 4 0;
#X connect 2 1 1 0;
#X connect 4 0 3 0;
#X restore 219 164 pd info;
#N canvas 0 0 450 300 clear 0;
#X obj 77 48 inlet;
#X obj 151 96 outlet;
#X obj 77 70 route clear;
#X obj 77 160 s \$1;
#X msg 77 131 const 0;
#X obj 137 162 s \$0-duration-ms;
#X msg 137 132 0;
#X connect 0 0 2 0;
#X connect 2 0 4 0;
#X connect 2 0 6 0;
#X connect 2 1 1 0;
#X connect 4 0 3 0;
#X connect 6 0 5 0;
#X restore 219 186 pd clear;
#N canvas 0 0 450 300 normalize 0;
#X obj 77 48 inlet;
#X obj 179 93 outlet;
#X obj 77 160 s \$1;
#X msg 77 131 normalize 1;
#X obj 77 70 route normalize;
#X connect 0 0 4 0;
#X connect 3 0 2 0;
#X connect 4 0 3 0;
#X connect 4 1 1 0;
#X restore 219 207 pd normalize;
#X obj 481 219 b;
#X obj 449 220 b;
#X obj 449 131 r \$0-start;
#X obj 481 164 r \$0-stop;
#X obj 449 336 s \$0-duration-ms;
#X obj 255 362 r \$0-duration-ms;
#X floatatom 510 513 8 0 0 3 dur_in_smps - -;
#X floatatom 436 513 8 0 0 3 dur_in_ms - -;
#X symbolatom 361 513 10 0 0 3 table_name - -;
#X obj 361 463 unpack s f f f;
#X floatatom 594 513 6 0 0 3 samplerate - -;
#X obj 255 384 t a a;
#X obj 219 304 b;
#X obj 219 280 r \$0-info;
#X obj 449 295 min \$2;
#X obj 488 273 r \$0-maxdur;
#X obj 59 46 inlet~;
#N canvas 384 244 568 337 ms2smps 0;
#X obj 202 160 samplerate~;
#X obj 202 183 / 1000;
#X obj 202 135 loadbang;
#X obj 135 134 inlet;
#X obj 135 228 outlet;
#X msg 276 134 bang;
#X obj 135 183 * 22.05;
#X connect 0 0 1 0;
#X connect 1 0 6 1;
#X connect 2 0 0 0;
#X connect 3 0 6 0;
#X connect 5 0 0 0;
#X connect 6 0 4 0;
#X restore 291 408 pd ms2smps;
#X obj 59 194 *~;
#X obj 77 152 pack 0 5;
#X obj 77 95 r \$0-cut;
#N canvas 0 0 450 300 fade 0;
#X obj 77 48 inlet;
#X obj 144 98 outlet;
#X obj 77 132 s \$0-fade;
#X obj 77 70 route fade;
#X obj 77 108 f 5;
#X connect 0 0 3 0;
#X connect 3 0 4 0;
#X connect 3 1 1 0;
#X connect 4 0 2 0;
#X restore 219 230 pd fade;
#X obj 130 122 r \$0-fade;
#X obj 77 173 line~;
#N canvas 0 0 450 300 gate 0;
#X obj 109 108 inlet;
#X obj 162 107 inlet;
#X msg 162 133 1;
#X obj 109 193 t a b;
#X msg 198 135 0;
#X obj 109 221 outlet;
#X obj 109 166 spigot 0;
#X connect 0 0 6 0;
#X connect 1 0 2 0;
#X connect 2 0 6 1;
#X connect 3 0 5 0;
#X connect 3 1 4 0;
#X connect 4 0 6 1;
#X connect 6 0 3 0;
#X restore 481 197 pd gate;
#X obj 58 72 hip~ 5;
#N canvas 172 83 586 377 LICENSE-GPL 0;
#X text 57 88 This program is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation \, either version 3 of
the License \, or (at your option) any later version.;
#X text 58 168 This program is distributed in the hope that it will
be useful \, but WITHOUT ANY WARRANTY \; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.;
#X text 57 261 You should have received a copy of the GNU General Public
License along with this program. If not \, see <http://www.gnu.org/licenses/>.
;
#X text 61 54 Copyright (C) 2009 \, Reality Jockey Ltd.;
#X text 60 325 See the file LICENSE.txt for the full license text.
;
#X restore 752 29 pd LICENSE-GPL;
#X connect 5 0 11 0;
#X connect 6 0 1 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X connect 10 0 9 3;
#X connect 11 0 13 0;
#X connect 12 0 32 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 39 0;
#X connect 18 0 12 1;
#X connect 19 0 12 0;
#X connect 20 0 19 0;
#X connect 20 0 42 1;
#X connect 21 0 42 0;
#X connect 23 0 29 0;
#X connect 27 0 26 0;
#X connect 27 1 25 0;
#X connect 27 2 24 0;
#X connect 27 3 28 0;
#X connect 29 0 9 1;
#X connect 29 1 35 0;
#X connect 30 0 8 0;
#X connect 31 0 30 0;
#X connect 32 0 22 0;
#X connect 33 0 32 1;
#X connect 34 0 43 0;
#X connect 35 0 9 2;
#X connect 36 0 1 0;
#X connect 37 0 41 0;
#X connect 38 0 37 0;
#X connect 40 0 37 1;
#X connect 41 0 36 1;
#X connect 42 0 18 0;
#X connect 43 0 36 0;
