From 0401acfb4a50b814d6ff3b1c0825e31f4a2dddb8 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Tue, 14 Dec 2010 11:20:16 +0000 Subject: added META subpatch svn path=/trunk/externals/pan/; revision=14634 --- equal_power_pan~-help.pd | 16 ++++++++++-- equal_power_pan~.pd | 2 +- gogins_pan~-help.pd | 21 ++++++++++++--- gogins_pan~.pd | 2 +- gpan~-help.pd | 17 +++++++++++-- linear_pan~-help.pd | 25 +++++++++++++----- linear_pan~.pd | 2 +- pan_core~-help.pd | 66 +++++++++++++++++++++++++++++------------------- square_root_pan~-help.pd | 16 ++++++++++-- 9 files changed, 121 insertions(+), 46 deletions(-) diff --git a/equal_power_pan~-help.pd b/equal_power_pan~-help.pd index 2d0cdab..53f7a0f 100644 --- a/equal_power_pan~-help.pd +++ b/equal_power_pan~-help.pd @@ -1,5 +1,4 @@ -#N canvas 219 32 485 328 10; -#X declare -lib pan; +#N canvas 0 31 485 328 10; #X obj 5 2 cnv 15 450 20 empty empty equal_power_pan~ 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; @@ -19,6 +18,19 @@ takes the control signal with 0 = left \, 1 = right \, and 0.5 = center. out the dead spot in the middle somewhat.; #X obj 141 234 dac~ 1 2; #X obj 113 187 equal_power_pan~; +#N canvas 504 253 494 344 META 0; +#X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL; +#X text 12 155 AUTHOR Hans-Christoph Steiner; +#X text 12 45 DESCRIPTION pan a mono signal using square root panning +to smooth out the dead spot in the middle somewhat; +#X text 12 5 KEYWORDS signal abstraction; +#X text 12 95 INLET_1 float; +#X text 12 75 INLET_0 signal; +#X text 12 115 OUTLET_0 signal; +#X text 12 135 OUTLET_1 signal; +#X restore 432 299 pd META; #X connect 4 0 12 1; #X connect 5 0 6 0; #X connect 6 0 12 0; diff --git a/equal_power_pan~.pd b/equal_power_pan~.pd index 4f161de..a673a64 100644 --- a/equal_power_pan~.pd +++ b/equal_power_pan~.pd @@ -1,4 +1,4 @@ -#N canvas 509 36 449 438 10; +#N canvas 0 31 449 438 10; #X obj 23 38 inlet~; #X obj 234 48 inlet; #X obj 23 322 outlet~; diff --git a/gogins_pan~-help.pd b/gogins_pan~-help.pd index 18266fd..6316e25 100644 --- a/gogins_pan~-help.pd +++ b/gogins_pan~-help.pd @@ -1,5 +1,4 @@ -#N canvas 7 59 519 390 10; -#X declare -lib pan; +#N canvas 0 31 519 390 10; #X obj 5 2 cnv 15 450 20 empty empty gogins_pan~ 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; @@ -21,8 +20,22 @@ wrapping around more.; ; #X text 244 364 released under the GNU GPL; #X text 40 277 [gogins_pan~] implements an algorithm conceived by Michael -Gogins and described here: ; -#X obj 22 324 pddp/pddplink http://www.csounds.com/ezine/autumn1999/beginners/; +Gogins and described here:; +#X obj 22 324 pddp/pddplink http://www.csounds.com/ezine/autumn1999/beginners/ +; +#N canvas 504 253 494 344 META 0; +#X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL; +#X text 12 155 AUTHOR Hans-Christoph Steiner; +#X text 12 5 KEYWORDS signal abstraction; +#X text 12 95 INLET_1 float; +#X text 12 75 INLET_0 signal; +#X text 12 115 OUTLET_0 signal; +#X text 12 135 OUTLET_1 signal; +#X text 12 45 DESCRIPTION pan a mono signal using an algorithm posted +by Michael Gogins to the Csound list; +#X restore 463 358 pd META; #X connect 2 0 9 1; #X connect 3 0 4 0; #X connect 4 0 9 0; diff --git a/gogins_pan~.pd b/gogins_pan~.pd index 1034915..aba674f 100644 --- a/gogins_pan~.pd +++ b/gogins_pan~.pd @@ -1,4 +1,4 @@ -#N canvas 612 28 522 586 10; +#N canvas 0 31 522 586 10; #X obj 23 38 inlet~; #X obj 139 47 inlet; #X obj 23 482 outlet~; diff --git a/gpan~-help.pd b/gpan~-help.pd index 2ec25dc..f526460 100644 --- a/gpan~-help.pd +++ b/gpan~-help.pd @@ -1,5 +1,4 @@ -#N canvas 168 428 470 338 10; -#X declare -lib pan; +#N canvas 0 31 470 338 10; #X obj 77 187 gpan~; #X obj 54 155 osc~ 300; #X obj 114 155 osc~ 400; @@ -19,6 +18,20 @@ and display the status.; #X msg 361 235 \; pd dsp \$1; #X text 201 299 released under the GNU GPL; #X text 37 284 (C) Copyright 2003 Marc Lavalee; +#N canvas 459 31 494 344 META 0; +#X text 12 195 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL; +#X text 12 175 AUTHOR Hans-Christoph Steiner; +#X text 12 75 INLET_0 signal; +#X text 12 135 OUTLET_0 signal; +#X text 12 155 OUTLET_1 signal; +#X text 12 115 INLET_2 float; +#X text 12 5 KEYWORDS signal abstraction GUI; +#X text 12 45 DESCRIPTION a stereo pan object with a built-in slider +to control and display the status; +#X text 12 95 INLET_1 signal; +#X restore 413 309 pd META; #X connect 0 0 3 0; #X connect 0 1 3 1; #X connect 1 0 0 0; diff --git a/linear_pan~-help.pd b/linear_pan~-help.pd index 3aefefc..6f85e8c 100644 --- a/linear_pan~-help.pd +++ b/linear_pan~-help.pd @@ -1,11 +1,10 @@ -#N canvas 503 335 477 320 10; -#X declare -lib pan; -#X obj 5 2 cnv 15 450 20 empty empty linearpan~ 2 11 1 18 -233017 --66577 0; +#N canvas 0 31 477 320 10; +#X obj 5 2 cnv 15 450 20 empty empty linearpan~ 2 11 1 18 -233017 -66577 +0; #X msg 422 3 pddp; -#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner +#X text 17 270 (C) Copyright 2004 Hans-Christoph Steiner ; -#X text 244 284 released under the GNU GPL; +#X text 234 284 released under the GNU GPL; #X obj 134 225 dac~; #X obj 181 145 hsl 128 20 0 1 0 1 empty empty pan_position 6 10 1 11 -262131 -1 -1 6350 0; @@ -14,9 +13,21 @@ takes the audio signal and the right inlet takes the control signal with 0 = left \, 1 = right \, and 0.5 = center.; #X obj 84 131 osc~ 250; #X obj 84 152 *~ 0.5; -#X obj 362 186 tgl 25 0 empty empty DSP 3 12 1 9 -24198 -1 -1 1 1; +#X obj 362 186 tgl 25 0 empty empty DSP 3 12 1 9 -24198 -1 -1 0 1; #X msg 362 218 \; pd dsp \$1; #X obj 113 187 linearpan~; +#N canvas 459 31 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL; +#X text 12 145 AUTHOR Hans-Christoph Steiner; +#X text 12 65 INLET_0 signal; +#X text 12 105 OUTLET_0 signal; +#X text 12 125 OUTLET_1 signal; +#X text 12 45 DESCRIPTION pan a mono signal using linear panning; +#X text 12 5 KEYWORDS signal abstraction; +#X text 12 85 INLET_1 float; +#X restore 423 289 pd META; #X connect 5 0 11 1; #X connect 7 0 8 0; #X connect 8 0 11 0; diff --git a/linear_pan~.pd b/linear_pan~.pd index 5e58973..19e1b65 100644 --- a/linear_pan~.pd +++ b/linear_pan~.pd @@ -1,4 +1,4 @@ -#N canvas 438 88 462 372 10; +#N canvas 0 31 462 372 10; #X obj 23 38 inlet~; #X obj 193 36 inlet; #X obj 23 262 outlet~; diff --git a/pan_core~-help.pd b/pan_core~-help.pd index cf4a65d..e95f9e9 100644 --- a/pan_core~-help.pd +++ b/pan_core~-help.pd @@ -1,31 +1,45 @@ -#N canvas 405 25 454 576 10; -#X obj 11 96 inlet~; -#X obj 216 116 inlet; -#X obj 70 443 *~; -#X obj 70 472 outlet~; -#X obj 200 442 *~; -#X obj 200 471 outlet~; -#X text 77 492 left; -#X text 203 491 right; -#X text 130 518 (C) Copyright 2004 Hans-Christoph Steiner; -#X text 234 534 released under the GNU GPL; -#X obj 216 418 line~; -#X obj 86 418 line~; -#X obj 307 183 loadbang; -#X floatatom 315 244 7 0 0 3 blocksize_in_ms - -; -#X obj 290 184 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#N canvas 0 31 454 576 10; +#X obj 11 66 inlet~; +#X obj 216 86 inlet; +#X obj 70 413 *~; +#X obj 70 442 outlet~; +#X obj 200 412 *~; +#X obj 200 441 outlet~; +#X text 77 462 left; +#X text 203 461 right; +#X text 130 488 (C) Copyright 2004 Hans-Christoph Steiner; +#X text 234 504 released under the GNU GPL; +#X obj 216 388 line~; +#X obj 86 388 line~; +#X obj 307 153 loadbang; +#X floatatom 315 214 7 0 0 3 blocksize_in_ms - -; +#X obj 290 154 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 216 337 t f b; -#X obj 246 356 f; -#X obj 216 379 pack f f; -#X msg 216 399 \$1 \$2; -#X obj 86 337 t f b; -#X obj 116 356 f; -#X obj 86 379 pack f f; -#X msg 86 399 \$1 \$2; -#X obj 307 215 hcs/blocksize_in_ms; -#X obj 86 117 inlet; +#X obj 216 307 t f b; +#X obj 246 326 f; +#X obj 216 349 pack f f; +#X msg 216 369 \$1 \$2; +#X obj 86 307 t f b; +#X obj 116 326 f; +#X obj 86 349 pack f f; +#X msg 86 369 \$1 \$2; +#X obj 307 185 hcs/blocksize_in_ms; +#X obj 86 87 inlet; #X text 10 17 [pan_core~]; +#N canvas 464 31 494 344 META 0; +#X text 12 195 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL; +#X text 12 175 AUTHOR Hans-Christoph Steiner; +#X text 12 45 DESCRIPTION pan a mono signal using square root panning +to smooth out the dead spot in the middle somewhat; +#X text 12 95 INLET_1 float; +#X text 12 75 INLET_0 signal; +#X text 12 135 OUTLET_0 signal; +#X text 12 155 OUTLET_1 signal; +#X text 12 115 INLET_2 float; +#X text 12 5 KEYWORDS signal abstraction needs_work (example); +#X restore 396 545 pd META; #X connect 0 0 2 0; #X connect 0 0 4 0; #X connect 1 0 15 0; diff --git a/square_root_pan~-help.pd b/square_root_pan~-help.pd index 261d6f5..a928228 100644 --- a/square_root_pan~-help.pd +++ b/square_root_pan~-help.pd @@ -1,5 +1,4 @@ -#N canvas 360 90 481 324 10; -#X declare -lib pan; +#N canvas 0 31 481 346 10; #X obj 5 2 cnv 15 450 20 empty empty square_root_pan~ 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; @@ -19,6 +18,19 @@ takes the control signal with 0 = left \, 1 = right \, and 0.5 = center. out the dead spot in the middle somewhat.; #X obj 113 187 square_root_pan~; #X obj 141 234 dac~ 1 2; +#N canvas 464 31 494 344 META 0; +#X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL; +#X text 12 155 AUTHOR Hans-Christoph Steiner; +#X text 12 95 INLET_1 float; +#X text 12 75 INLET_0 signal; +#X text 12 115 OUTLET_0 signal; +#X text 12 135 OUTLET_1 signal; +#X text 12 45 DESCRIPTION pan a mono signal using square root panning +to smooth out the dead spot in the middle somewhat; +#X text 12 5 KEYWORDS signal abstraction; +#X restore 425 314 pd META; #X connect 4 0 11 1; #X connect 5 0 6 0; #X connect 6 0 11 0; -- cgit v1.2.1