diff options
Diffstat (limited to 'pd/doc/5.reference/readsf~-help.pd')
-rw-r--r-- | pd/doc/5.reference/readsf~-help.pd | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/pd/doc/5.reference/readsf~-help.pd b/pd/doc/5.reference/readsf~-help.pd new file mode 100644 index 00000000..29c90988 --- /dev/null +++ b/pd/doc/5.reference/readsf~-help.pd @@ -0,0 +1,63 @@ +#N canvas 113 157 888 480 12; +#X msg 561 8 \; pd dsp 1; +#X msg 39 240 1; +#X msg 39 261 0; +#X obj 516 359 print didit; +#X obj 139 361 env~ 16384; +#X floatatom 139 380 0 0 0 0 - - -; +#X msg 40 283 print; +#X obj 20 393 dac~; +#X obj 233 360 env~ 16384; +#X floatatom 233 379 0 0 0 0 - - -; +#X obj 30 308 readsf~ 4 1e+06; +#X obj 327 359 env~ 16384; +#X floatatom 327 378 0 0 0 0 - - -; +#X obj 421 359 env~ 16384; +#X floatatom 421 379 0 0 0 0 - - -; +#X msg 26 210 open ../sound/bell.aiff 0 200 4 2 b; +#X obj 80 362 *~ 0.1; +#X obj 21 363 *~ 0.1; +#X text 40 7 READSF~ - read a soundfile; +#X msg 26 189 open ../sound/bell.aiff; +#X text 185 296 optional arguments: number of channels \; buffer size +per channnel in bytes.; +#X text 548 341 when the soundfile is done.; +#X text 547 327 last outlet gives a "bang"; +#X text 359 186 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.; +#X text 36 24 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.; +#X text 33 121 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.) +; +#X text 647 450 Updated for version 0.37; +#X obj 116 452 soundfiler; +#X text 24 452 see also:; +#X obj 216 452 readsf~; +#X text 94 238 1 starts playback; +#X text 97 261 0 stops it; +#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 19 0 10 0; |