aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-22 16:11:45 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-22 16:11:45 +0000
commite97e48a7afcf415403a48874afb7270828922625 (patch)
tree64f21d0b93c52ffd2b4f1f787114afecef3280b2
parenteb0cbc70eed7c2484ebd34d219a5b8023f53cc45 (diff)
made clock example
svn path=/trunk/externals/manypoly/; revision=14477
-rw-r--r--examples/test.wavbin645168 -> 0 bytes
-rw-r--r--examples/tick.wavbin0 -> 35856 bytes
-rw-r--r--examples/ticker-voice.pd21
-rw-r--r--examples/ticker.pd44
-rw-r--r--examples/tock.wavbin0 -> 20516 bytes
5 files changed, 65 insertions, 0 deletions
diff --git a/examples/test.wav b/examples/test.wav
deleted file mode 100644
index eac1589..0000000
--- a/examples/test.wav
+++ /dev/null
Binary files differ
diff --git a/examples/tick.wav b/examples/tick.wav
new file mode 100644
index 0000000..3b15518
--- /dev/null
+++ b/examples/tick.wav
Binary files differ
diff --git a/examples/ticker-voice.pd b/examples/ticker-voice.pd
new file mode 100644
index 0000000..8493f67
--- /dev/null
+++ b/examples/ticker-voice.pd
@@ -0,0 +1,21 @@
+#N canvas 474 451 518 379 10;
+#X obj 22 28 inlet;
+#X text 62 27 clock input;
+#X obj 32 357 outlet~;
+#X obj 136 357 outlet~;
+#X obj 41 135 % 2;
+#X obj 41 156 select 0 1;
+#X obj 253 28 inlet;
+#X obj 265 354 outlet;
+#X text 310 354 bang when done to free voice;
+#X text 291 30 optional inlet;
+#X obj 32 249 tabplay~ \$3-tick;
+#X obj 137 250 tabplay~ \$3-tock;
+#X connect 0 0 4 0;
+#X connect 4 0 5 0;
+#X connect 5 0 10 0;
+#X connect 5 1 11 0;
+#X connect 10 0 2 0;
+#X connect 10 1 7 0;
+#X connect 11 0 3 0;
+#X connect 11 1 7 0;
diff --git a/examples/ticker.pd b/examples/ticker.pd
new file mode 100644
index 0000000..fcbab38
--- /dev/null
+++ b/examples/ticker.pd
@@ -0,0 +1,44 @@
+#N canvas 520 164 518 379 10;
+#X declare -path ..;
+#X obj 344 54 table \$0-tick;
+#X obj 344 74 table \$0-tock;
+#X obj 338 241 soundfiler;
+#X msg 339 172 read -resize tick.wav \$1;
+#X obj 339 150 symbol \$0-tick;
+#X obj 333 122 loadbang;
+#X msg 306 215 read -resize tock.wav \$1;
+#X obj 306 193 symbol \$0-tock;
+#X obj 312 125 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 17 97 metro;
+#X obj 17 37 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 1 1
+;
+#X obj 47 60 hsl 128 15 10 1000 1 1 empty empty empty -2 -8 0 10 -262130
+-1 -1 9800 1;
+#X floatatom 56 84 5 0 0 0 - - -;
+#X obj 17 126 float;
+#X obj 57 126 + 1;
+#X obj 337 17 declare -path ..;
+#X obj 85 312 output~;
+#X text 35 34 <-- turn on clock;
+#X text 185 57 <-- run it faster!;
+#X obj 53 221 voicepoly 100 ticker-voice \$0;
+#X text 201 302 here is the playback patch:;
+#X obj 211 333 ticker-voice 0 0 \$0;
+#X connect 3 0 2 0;
+#X connect 4 0 3 0;
+#X connect 5 0 4 0;
+#X connect 5 0 7 0;
+#X connect 6 0 2 0;
+#X connect 7 0 6 0;
+#X connect 8 0 4 0;
+#X connect 8 0 7 0;
+#X connect 9 0 13 0;
+#X connect 10 0 9 0;
+#X connect 11 0 9 1;
+#X connect 11 0 12 0;
+#X connect 13 0 14 0;
+#X connect 13 0 19 0;
+#X connect 14 0 13 1;
+#X connect 19 0 16 0;
+#X connect 19 1 16 1;
diff --git a/examples/tock.wav b/examples/tock.wav
new file mode 100644
index 0000000..5f99b16
--- /dev/null
+++ b/examples/tock.wav
Binary files differ