From 99232d72913930a4af23c93f61f214e1e675c3f2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 27 Oct 2010 20:06:10 +0000 Subject: added [ggee/getdir] so that voicepoly.pd can find where the abstraction is without having to be in the same folder svn path=/trunk/externals/manypoly/; revision=14244 --- examples/run-voicetest.pd | 22 ++++++++++++++++++++++ examples/test.wav | Bin 0 -> 645168 bytes examples/voicetest.pd | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 examples/run-voicetest.pd create mode 100644 examples/test.wav create mode 100644 examples/voicetest.pd (limited to 'examples') diff --git a/examples/run-voicetest.pd b/examples/run-voicetest.pd new file mode 100644 index 0000000..199988e --- /dev/null +++ b/examples/run-voicetest.pd @@ -0,0 +1,22 @@ +#N canvas 466 360 450 300 10; +#X declare -path ..; +#X obj 97 147 voicepoly 5 voicetest; +#X obj 109 228 dac~; +#X obj 225 108 hsl 128 15 0 10 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 0 1; +#X floatatom 237 130 5 0 0 0 - - -; +#X msg 96 98 bang; +#X obj 337 16 pddp/dsp; +#X obj 220 170 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 48 261 three outlets are needed: 2 audio and one message outlet +that is banged when the voice is finished.; +#X text 23 57 two inlets are needed: the first for voice-managed messages +\, and the second for messages that are send to all instances; +#X obj 318 45 declare -path ..; +#X connect 0 0 1 0; +#X connect 0 1 1 1; +#X connect 0 2 6 0; +#X connect 2 0 0 1; +#X connect 2 0 3 0; +#X connect 4 0 0 0; diff --git a/examples/test.wav b/examples/test.wav new file mode 100644 index 0000000..eac1589 Binary files /dev/null and b/examples/test.wav differ diff --git a/examples/voicetest.pd b/examples/voicetest.pd new file mode 100644 index 0000000..d189cef --- /dev/null +++ b/examples/voicetest.pd @@ -0,0 +1,39 @@ +#N canvas 210 166 495 383 10; +#X obj 115 24 inlet; +#X obj 122 353 outlet~; +#X obj 305 24 inlet; +#X obj 202 353 outlet~; +#X obj 250 169 osc~; +#X obj 122 227 *~; +#X obj 202 227 *~; +#X obj 122 170 tabplay~ \$0-sample; +#X obj 323 88 table \$0-sample; +#X obj 171 103 print \$1; +#X obj 51 141 loadbang; +#X msg 61 162 1; +#X obj 137 205 -~; +#X obj -12 322 soundfiler; +#X obj -12 272 symbol \$0-sample; +#X msg -12 297 read -resize test.wav \$1; +#X msg -36 217 bang; +#X msg 143 145 bang; +#X obj 310 352 outlet; +#X text 357 352 bang when done; +#X connect 0 0 7 0; +#X connect 2 0 9 0; +#X connect 2 0 4 0; +#X connect 4 0 12 1; +#X connect 4 0 6 1; +#X connect 5 0 1 0; +#X connect 6 0 3 0; +#X connect 7 0 5 0; +#X connect 7 0 6 0; +#X connect 7 1 18 0; +#X connect 10 0 11 0; +#X connect 10 0 14 0; +#X connect 11 0 12 0; +#X connect 12 0 5 1; +#X connect 14 0 15 0; +#X connect 15 0 13 0; +#X connect 16 0 14 0; +#X connect 17 0 7 0; -- cgit v1.2.1