#N canvas 408 23 785 533 12;
#X msg 246 277 \; pd dsp 1;
#X msg 60 253 1;
#X msg 67 277 0;
#X obj 514 390 print didit;
#X obj 177 390 env~ 16384;
#X floatatom 177 415 0 0 0 0 - - -;
#X msg 73 302 print;
#X obj 60 420 dac~;
#X obj 264 390 env~ 16384;
#X floatatom 264 414 0 0 0 0 - - -;
#X obj 60 335 readsf~ 4 1e+06, f 63;
#X obj 348 390 env~ 16384;
#X floatatom 348 413 0 0 0 0 - - -;
#X obj 431 390 env~ 16384;
#X floatatom 431 414 0 0 0 0 - - -;
#X msg 49 226 open ../sound/bell.aiff 0 200 4 2 b;
#X obj 119 390 *~ 0.1;
#X obj 60 390 *~ 0.1;
#X msg 37 203 open ../sound/bell.aiff;
#X text 512 422 when the soundfile is done.;
#X text 511 408 last outlet gives a "bang";
#X text 318 195 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 channel \, and endianness., f
44;
#X text 46 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 text 46 130 The wave \, aiff \, and nextstep formats are parsed
automatically \, although only 2- 3- and 4- byte samples are accepted
(4 bytes implies floating point and is not available in aiff format.)
, f 75;
#X text 502 470 Updated for version 0.37;
#X obj 153 468 soundfiler;
#X text 74 468 see also:;
#X obj 234 468 readsf~;
#X text 91 252 1 starts playback;
#X text 99 278 0 stops it;
#X obj 49 16 readsf~;
#X text 105 17 - read a soundfile;
#X text 524 312 optional arguments:, f 19;
#X text 524 333 number of channels \; buffer size per channel in bytes.
;
#X connect 1 0 10 0;
#X connect 2 0 10 0;
#X connect 4 0 5 0;
#X connect 6 0 10 0;
#X connect 8 0 9 0;
#X connect 10 0 4 0;
#X connect 10 0 17 0;
#X connect 10 1 8 0;
#X connect 10 1 16 0;
#X connect 10 2 11 0;
#X connect 10 2 16 0;
#X connect 10 3 13 0;
#X connect 10 3 17 0;
#X connect 10 4 3 0;
#X connect 11 0 12 0;
#X connect 13 0 14 0;
#X connect 15 0 10 0;
#X connect 16 0 7 1;
#X connect 17 0 7 0;
#X connect 18 0 10 0;
