aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/sound
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-07 05:22:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-07 05:22:42 +0000
commite1d9c9d6f27f8a7044c1a11832b6356ebf0eaf56 (patch)
treeebcaa72f6017179ec43e0f209c8042a672c5b300 /doc/tutorials/sound
parentde801018b752a85b03c562ef7b929c6df1f89ec2 (diff)
some basic structure for the five day intro to Pd workshop
svn path=/trunk/; revision=4838
Diffstat (limited to 'doc/tutorials/sound')
-rw-r--r--doc/tutorials/sound/01.hello_world.pd21
-rw-r--r--doc/tutorials/sound/02.audio_data.pd28
2 files changed, 49 insertions, 0 deletions
diff --git a/doc/tutorials/sound/01.hello_world.pd b/doc/tutorials/sound/01.hello_world.pd
new file mode 100644
index 00000000..0aed8828
--- /dev/null
+++ b/doc/tutorials/sound/01.hello_world.pd
@@ -0,0 +1,21 @@
+#N canvas 15 58 626 395 10;
+#X obj 292 20 import cyclone;
+#X obj 533 20 pddp/dsp;
+#X obj 8 10 cnv 15 400 40 empty empty hello_world 20 12 0 24 -228992
+-66577 0;
+#X obj 198 136 comment 400 14 Helvetica ? 0 0 0 0 2 create an object
+called: osc~;
+#X obj 198 106 comment 400 14 Helvetica ? 0 0 0 0 1 create a message
+box with the text: 200;
+#X obj 198 166 comment 400 14 Helvetica ? 0 0 0 0 3 create an object
+called: dac~;
+#X obj 198 196 comment 400 14 Helvetica ? 0 0 0 0 4 connect the message
+box to the osc~ object's left inlet;
+#X obj 198 226 comment 400 14 Helvetica ? 0 0 0 0 5 connect the osc~
+object to both inlets of the dac~ object;
+#X obj 198 256 comment 400 14 Helvetica ? 0 0 0 0 6 make sure your
+volume is set very low;
+#X obj 198 286 comment 400 14 Helvetica ? 0 0 0 0 7 turn on DSP by
+clicking the box on the upper right corner;
+#X obj 198 316 comment 400 14 Helvetica ? 0 0 0 0 8 click the message
+box to hear sound;
diff --git a/doc/tutorials/sound/02.audio_data.pd b/doc/tutorials/sound/02.audio_data.pd
new file mode 100644
index 00000000..ace535e6
--- /dev/null
+++ b/doc/tutorials/sound/02.audio_data.pd
@@ -0,0 +1,28 @@
+#N canvas 15 58 624 444 10;
+#X obj 292 20 import cyclone;
+#X obj 236 244 *~;
+#X obj 253 217 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1
+;
+#X obj 236 186 osc~ 500;
+#X obj 224 288 dac~;
+#X msg 232 142 250;
+#X msg 267 143 500;
+#X msg 200 142 125;
+#X obj 533 20 pddp/dsp;
+#X text 62 373 TODO: find out how to type ~ on various keyboards;
+#X obj 29 68 comment 400 12 Helvetica ? 0 0 0 0 For audio \, Pd has
+a specific data type. It is represented by tilde ("~") objects and
+thick cords.;
+#X obj 87 168 comment 200 12 Helvetica ? 0 0 0 0 messages (thin cord)
+-->;
+#X obj 116 266 comment 200 12 Helvetica ? 0 0 0 0 audio (thick cord)
+-->;
+#X obj 8 10 cnv 15 400 40 empty empty audio_data 20 12 0 24 -228992
+-66577 0;
+#X connect 1 0 4 0;
+#X connect 1 0 4 1;
+#X connect 2 0 1 1;
+#X connect 3 0 1 0;
+#X connect 5 0 3 0;
+#X connect 6 0 3 0;
+#X connect 7 0 3 0;