From 6b90ede50883f41e5bca89d88a38aa0c7c831244 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 22 Nov 2010 20:54:36 +0000 Subject: proper tilde-fication svn path=/trunk/externals/many/; revision=14490 --- examples/run-200voicetest.pd | 27 +++++++++++++++------------ examples/ticker-voice.pd | 21 --------------------- examples/ticker-voice~.pd | 21 +++++++++++++++++++++ examples/ticker.pd | 4 ++-- examples/voicetest.pd | 40 ---------------------------------------- examples/voicetest~.pd | 40 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 78 insertions(+), 75 deletions(-) delete mode 100644 examples/ticker-voice.pd create mode 100644 examples/ticker-voice~.pd delete mode 100644 examples/voicetest.pd create mode 100644 examples/voicetest~.pd (limited to 'examples') diff --git a/examples/run-200voicetest.pd b/examples/run-200voicetest.pd index b42a53d..16f5e69 100644 --- a/examples/run-200voicetest.pd +++ b/examples/run-200voicetest.pd @@ -17,7 +17,7 @@ that is banged when the voice is finished.; #X text 26 169 factor by which to stretch sample; #X text 26 183 (i.e. 2 means twice as long); #X text 33 459 this is the patch of a single voice \, it has the same -inlets and outlets as voicepoly above:; +inlets and outlets as voices~ above:; #X obj 335 188 table \$0-sample; #X text 221 298 (you can send \$0 for localizing things); #X obj 336 139 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 @@ -57,7 +57,7 @@ inlets and outlets as voicepoly above:; #X text 248 263 <-- send the size of the sample table to all instances ; #X obj 67 349 output~; -#X obj 135 505 voicetest 0 0 \$0; +#X obj 135 505 voicetest~ 0 0 \$0; #X obj 60 272 pack 0 0; #X obj 78 250 t b f; #X obj 417 139 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 @@ -65,25 +65,28 @@ inlets and outlets as voicepoly above:; #X text 435 137 <-- record from mic; #X text 148 78 <-- play your voice like an instrument \, click and drag; -#X obj 60 297 voicepoly 200 voicetest \$0; +#X obj 60 297 voices~ 200 voicetest~ \$0; #N canvas 0 22 450 300 (subpatch) 0; #X obj 106 259 outlet; -#X obj 106 80 inlet; -#X obj 160 79 inlet; -#X obj 106 101 / 80; -#X obj 106 234 pack float float; -#X obj 106 214 * 10; -#X obj 160 101 / 90; -#X obj 160 125 + 0.1; -#X obj 106 186 mapping/exponential_curve 0.75; +#X obj 106 30 inlet; +#X obj 160 29 inlet; +#X obj 106 86 / 80; +#X obj 106 199 pack float float; +#X obj 160 152 * 10; +#X obj 160 86 / 90; +#X obj 160 110 + 0.1; +#X obj 160 131 mapping/exponential_curve 0.75; +#X obj 106 152 t b 0; #X connect 1 0 3 0; #X connect 2 0 6 0; -#X connect 3 0 4 1; +#X connect 3 0 9 0; #X connect 4 0 0 0; #X connect 5 0 4 0; #X connect 6 0 7 0; #X connect 7 0 8 0; #X connect 8 0 5 0; +#X connect 9 0 4 0; +#X connect 9 1 4 1; #X coords 0 0 1 1 90 90 0; #X restore 2 175 pd; #X obj 64 76 gcanvas 80 80; diff --git a/examples/ticker-voice.pd b/examples/ticker-voice.pd deleted file mode 100644 index 8493f67..0000000 --- a/examples/ticker-voice.pd +++ /dev/null @@ -1,21 +0,0 @@ -#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-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 index fcbab38..ef22525 100644 --- a/examples/ticker.pd +++ b/examples/ticker.pd @@ -22,9 +22,9 @@ #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 obj 53 221 voices~ 100 ticker-voice~ \$0; #X text 201 302 here is the playback patch:; -#X obj 211 333 ticker-voice 0 0 \$0; +#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; diff --git a/examples/voicetest.pd b/examples/voicetest.pd deleted file mode 100644 index 06a8a5d..0000000 --- a/examples/voicetest.pd +++ /dev/null @@ -1,40 +0,0 @@ -#N canvas 393 160 577 494 10; -#X obj 122 11 inlet; -#X obj 122 463 outlet~; -#X obj 267 11 inlet; -#X obj 239 463 outlet~; -#X obj 320 463 outlet; -#X text 367 463 bang when done; -#X obj 122 337 line~; -#X obj -15 88 print voicetest_\$1; -#X obj 282 76 samplerate~; -#X obj 267 97 /; -#X obj 320 435 delay; -#X obj 267 124 * 1000; -#X text 306 125 ms; -#X obj 122 241 pack float float; -#X msg 122 313 0 \, \$2 \$1; -#X obj 122 179 *; -#X obj 112 365 tabread4~ \$3-sample; -#X obj 122 397 pan/equal_power_pan~; -#X obj 122 60 unpack float float; -#X obj 282 56 loadbang; -#X connect 0 0 7 0; -#X connect 0 0 18 0; -#X connect 2 0 9 0; -#X connect 2 0 13 1; -#X connect 6 0 16 0; -#X connect 8 0 9 1; -#X connect 9 0 11 0; -#X connect 10 0 4 0; -#X connect 11 0 15 1; -#X connect 13 0 14 0; -#X connect 14 0 6 0; -#X connect 15 0 13 0; -#X connect 15 0 10 0; -#X connect 16 0 17 0; -#X connect 17 0 1 0; -#X connect 17 1 3 0; -#X connect 18 0 15 0; -#X connect 18 1 17 1; -#X connect 19 0 8 0; diff --git a/examples/voicetest~.pd b/examples/voicetest~.pd new file mode 100644 index 0000000..76c3afd --- /dev/null +++ b/examples/voicetest~.pd @@ -0,0 +1,40 @@ +#N canvas 393 160 577 494 10; +#X obj 122 11 inlet; +#X obj 122 463 outlet~; +#X obj 267 11 inlet; +#X obj 239 463 outlet~; +#X obj 320 463 outlet; +#X text 367 463 bang when done; +#X obj 122 337 line~; +#X obj -15 88 print voicetest~_\$1; +#X obj 282 76 samplerate~; +#X obj 267 97 /; +#X obj 320 435 delay; +#X obj 267 124 * 1000; +#X text 306 125 ms; +#X obj 122 241 pack float float; +#X msg 122 313 0 \, \$2 \$1; +#X obj 122 179 *; +#X obj 112 365 tabread4~ \$3-sample; +#X obj 122 397 pan/equal_power_pan~; +#X obj 122 60 unpack float float; +#X obj 282 56 loadbang; +#X connect 0 0 7 0; +#X connect 0 0 18 0; +#X connect 2 0 9 0; +#X connect 2 0 13 1; +#X connect 6 0 16 0; +#X connect 8 0 9 1; +#X connect 9 0 11 0; +#X connect 10 0 4 0; +#X connect 11 0 15 1; +#X connect 13 0 14 0; +#X connect 14 0 6 0; +#X connect 15 0 13 0; +#X connect 15 0 10 0; +#X connect 16 0 17 0; +#X connect 17 0 1 0; +#X connect 17 1 3 0; +#X connect 18 0 15 0; +#X connect 18 1 17 1; +#X connect 19 0 8 0; -- cgit v1.2.1