aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/sound
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorials/sound')
-rw-r--r--doc/tutorials/sound/01.hello_world.pd29
-rw-r--r--doc/tutorials/sound/02.audio_data.pd3
-rw-r--r--doc/tutorials/sound/02.make_some_noise.pd15
-rw-r--r--doc/tutorials/sound/building_waveforms_with_sines.pd4
4 files changed, 38 insertions, 13 deletions
diff --git a/doc/tutorials/sound/01.hello_world.pd b/doc/tutorials/sound/01.hello_world.pd
index c5e23a12..5b0b38d4 100644
--- a/doc/tutorials/sound/01.hello_world.pd
+++ b/doc/tutorials/sound/01.hello_world.pd
@@ -1,4 +1,4 @@
-#N canvas 15 58 626 395 10;
+#N canvas 15 58 630 399 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
@@ -6,12 +6,23 @@
#X text 198 136 2 create an object called: osc~;
#X text 198 106 1 create a message box with the text: 200;
#X text 198 166 3 create an object called: dac~;
-#X text 198 196 4 connect the message
-box to the osc~ object's left inlet;
-#X text 198 226 5 connect the osc~
-object to both inlets of the dac~ object;
+#X text 198 196 4 connect the message box to the osc~ object's left
+inlet;
+#X text 198 226 5 connect the osc~ object to both inlets of the dac~
+object;
#X text 198 256 6 make sure your volume is set very low;
-#X text 198 286 7 turn on DSP by
-clicking the box on the upper right corner;
-#X text 198 316 8 click the message
-box to hear sound;
+#X text 198 286 7 turn on DSP by clicking the box on the upper right
+corner;
+#X text 198 316 8 click the message box to hear sound;
+#N canvas 0 22 454 304 how 0;
+#X text 14 9 It seems every different keyboard has a different way
+to type the tilde "~". Here is a list of how to type the tilde on various
+keyboards:;
+#X text 16 141 Mac OS X;
+#X text 16 211 Windows;
+#X text 37 252 Spanish: Alt-4-space;
+#X text 37 162 German: Alt-N-space;
+#X text 16 91 GNU/Linux;
+#X text 37 232 Any keyboard with a number pad: Alt-126;
+#X text 37 59 US: shift and the most upper-left key \, below Esc;
+#X restore 316 365 pd how to type ~;
diff --git a/doc/tutorials/sound/02.audio_data.pd b/doc/tutorials/sound/02.audio_data.pd
index 1394c494..4913bf51 100644
--- a/doc/tutorials/sound/02.audio_data.pd
+++ b/doc/tutorials/sound/02.audio_data.pd
@@ -1,4 +1,4 @@
-#N canvas 393 46 628 448 10;
+#N canvas 393 46 632 452 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
@@ -9,7 +9,6 @@
#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 8 10 cnv 15 400 40 empty empty audio_data 20 12 0 24 -228992
-66577 0;
#X text 75 265 audio (thick cord) -->;
diff --git a/doc/tutorials/sound/02.make_some_noise.pd b/doc/tutorials/sound/02.make_some_noise.pd
new file mode 100644
index 00000000..6c48d954
--- /dev/null
+++ b/doc/tutorials/sound/02.make_some_noise.pd
@@ -0,0 +1,15 @@
+#N canvas 10 40 628 453 12;
+#X obj 10 10 cnv 15 400 40 empty empty make_some_noise! 20 12 0 24
+-228992 -66577 0;
+#X obj 499 21 pddp/dsp;
+#X text 17 71 To keep things interesting \, let's make some noise.
+We can start with the [noise~] object and connect it to [dac~] to output
+sound. We multiply the audio by 0.1 to make it quiet.;
+#X obj 274 253 noise~;
+#X obj 257 365 dac~;
+#X obj 274 305 *~ 0.05;
+#X text 17 156 To hear the noise \, click on the box in the upper right
+corner \, to the left of where it says "dsp".;
+#X connect 3 0 5 0;
+#X connect 5 0 4 0;
+#X connect 5 0 4 1;
diff --git a/doc/tutorials/sound/building_waveforms_with_sines.pd b/doc/tutorials/sound/building_waveforms_with_sines.pd
index 4b478b10..7e1b180f 100644
--- a/doc/tutorials/sound/building_waveforms_with_sines.pd
+++ b/doc/tutorials/sound/building_waveforms_with_sines.pd
@@ -4,13 +4,13 @@
#X obj 11 8 cnv 15 450 40 empty empty building_waveforms_with_sines
20 12 0 24 -228992 -66577 0;
#X obj 467 373 ezdac~;
-#X obj 32 219 sixteen_harmonics testing;
+#X obj 32 219 sixteen_harmonics wavetable;
#X obj 522 238 random 64;
#X obj 522 262 + 32;
#X obj 522 285 mtof;
#X msg 408 190 bang;
#X obj 479 336 *~;
-#X obj 522 309 tabosc4~ testing;
+#X obj 522 309 tabosc4~ wavetable;
#X obj 440 105 cnv 15 100 60 empty empty empty 20 12 0 14 -241291 -66577
0;
#X obj 446 125 vsl 10 32 0 1 0 1 \$0-a \$0-a a 0 -8 0 8 -262144 -1