aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/writesf~-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'pd/doc/5.reference/writesf~-help.pd')
-rw-r--r--pd/doc/5.reference/writesf~-help.pd41
1 files changed, 41 insertions, 0 deletions
diff --git a/pd/doc/5.reference/writesf~-help.pd b/pd/doc/5.reference/writesf~-help.pd
new file mode 100644
index 00000000..7cbb915b
--- /dev/null
+++ b/pd/doc/5.reference/writesf~-help.pd
@@ -0,0 +1,41 @@
+#N canvas 279 74 734 440 12;
+#X msg 592 11 \; pd dsp 1;
+#X msg 141 163 print;
+#X msg 53 83 bang;
+#X msg 140 115 start;
+#X msg 142 141 stop;
+#X obj 53 114 del 1000;
+#X text 41 9 writesf~ -- write audio signals to a soundfile;
+#X text 230 212 creation argument is number of channels;
+#X text 259 234 (1 to 64).;
+#X text 193 115 start streaming audio;
+#X text 188 141 stop streaming audio;
+#X obj 131 207 writesf~ 2;
+#X msg 131 31 open /tmp/foo.wav;
+#X obj 115 408 soundfiler;
+#X text 454 407 updated for Pd version 0.37;
+#X text 23 408 see also:;
+#X obj 145 185 osc~ 440;
+#X text 34 257 writesf~ creates a subthread whose task is to write
+audio streams to disk. You need not provide any disk access time between
+"open" and "start" \, but between "stop" and the next "open" you must
+give the object time to flush all the output to disk.;
+#X msg 131 86 open -bytes 4 /tmp/foo.wav;
+#X text 300 30 create a new 16-bit soundfile;
+#X text 377 59 create 24-bit soundfile;
+#X text 376 86 create 32-bit floating-point soundfile;
+#X msg 131 59 open -bytes 3 /tmp/foo.wav;
+#X text 32 338 The soundfile is 2- or 3-byte fixed point ("pcm") or
+4-byte floating-point. The soundfile format is determined by the file
+extent ("foo.wav" \, "foo.aiff" \, or "foo.snd").;
+#X obj 217 410 readsf~;
+#X connect 1 0 11 0;
+#X connect 2 0 3 0;
+#X connect 2 0 5 0;
+#X connect 3 0 11 0;
+#X connect 4 0 11 0;
+#X connect 5 0 4 0;
+#X connect 12 0 11 0;
+#X connect 16 0 11 0;
+#X connect 18 0 11 0;
+#X connect 22 0 11 0;