#N canvas 713 27 779 510 12;
#X declare -stdpath ./;
#X msg 60 253 1;
#X msg 67 277 0;
#X obj 498 385 print didit;
#X obj 144 385 env~ 16384;
#X floatatom 144 410 0 0 0 0 - - - 0;
#X msg 73 302 print;
#X obj 225 385 env~ 16384;
#X floatatom 225 410 0 0 0 0 - - - 0;
#X obj 60 335 readsf~ 4 1e+06, f 63;
#X obj 306 385 env~ 16384;
#X floatatom 306 410 0 0 0 0 - - - 0;
#X obj 388 385 env~ 16384;
#X floatatom 388 410 0 0 0 0 - - - 0;
#X msg 49 226 open ../sound/bell.aiff 0 200 4 2 b;
#X text 496 426 when the soundfile is done.;
#X text 55 53 The readsf~ object reads a soundfile into its signal
outputs. You must open the soundfile in advance (a couple of seconds
before you'll need it) using the "open" message. The object immediately
starts reading from the file \, but output will only appear after you
send a "1" to start playback. A "0" stops it., f 75;
#X obj 140 472 soundfiler;
#X text 61 472 see also:;
#X text 91 252 1 starts playback;
#X text 99 278 0 stops it;
#X obj 98 17 readsf~;
#X text 154 18 - read a soundfile;
#X text 315 190 Open takes a filename \, an onset in sample frames
\, and \, as an override \, you may also supply a header size to skip
\, a number of channels \, bytes per sample \, and endianness., f
43;
#X text 514 308 Optional arguments:;
#X text 495 412 The last outlet gives a "bang";
#X text 515 469 Updated for version 0.51;
#X text 55 129 The wave \, aiff \, caf \, and next formats are parsed
automatically \, although only uncompressed 2- or 3-byte integer ("pcm")
and 4-byte floating point samples are accepted., f 75;
#X obj 60 386 output~;
#X obj 229 472 writesf~;
#X obj 498 361 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X text 516 326 - number of channels \; - per channel buffer size in
bytes;
#X msg 37 203 open ../sound/bell.aiff;
#X obj 590 12 declare -stdpath ./;
#X connect 0 0 8 0;
#X connect 1 0 8 0;
#X connect 3 0 4 0;
#X connect 5 0 8 0;
#X connect 6 0 7 0;
#X connect 8 0 3 0;
#X connect 8 0 27 0;
#X connect 8 1 6 0;
#X connect 8 1 27 1;
#X connect 8 2 9 0;
#X connect 8 3 11 0;
#X connect 8 4 29 0;
#X connect 9 0 10 0;
#X connect 11 0 12 0;
#X connect 13 0 8 0;
#X connect 29 0 2 0;
#X connect 31 0 8 0;
