From 4250ba7a14093fcd6a68d8b04bcb98c1fb30b5cc Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Thu, 23 Nov 2006 17:45:58 +0000 Subject: *** empty log message *** svn path=/trunk/externals/mapping/; revision=6400 --- curve_fade.pd | 16 ++++++++++++++++ help/curve_fade-help.pd | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 curve_fade.pd create mode 100644 help/curve_fade-help.pd diff --git a/curve_fade.pd b/curve_fade.pd new file mode 100644 index 0000000..e5fc704 --- /dev/null +++ b/curve_fade.pd @@ -0,0 +1,16 @@ +#N canvas 0 0 450 300 10; +#X obj 32 14 inlet; +#X obj 32 177 outlet; +#X obj 32 40 t f f f; +#X obj 32 66 *; +#X obj 32 135 *; +#X obj 76 66 * -2; +#X obj 76 93 + 3; +#X connect 0 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 3 1; +#X connect 2 2 5 0; +#X connect 3 0 4 0; +#X connect 4 0 1 0; +#X connect 5 0 6 0; +#X connect 6 0 4 1; diff --git a/help/curve_fade-help.pd b/help/curve_fade-help.pd new file mode 100644 index 0000000..35e34ce --- /dev/null +++ b/help/curve_fade-help.pd @@ -0,0 +1,35 @@ +#N canvas 418 159 774 499 10; +#X obj 18 168 line; +#X obj 18 262 timeroll; +#X obj 18 189 resample 20; +#X text 161 10 This object input and output range is 0..1; +#X text 377 154 utilisation example :; +#X obj 376 180 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +1; +#X obj 376 222 line; +#X obj 376 308 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 +-1 -1 12700 1; +#X obj 545 303 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 +-1 -1 12700 1; +#X text 439 304 better than :; +#X text 332 283 smooth fade in and out; +#X text 144 30 It perform a non-linearity in order to allow the continuity +of the diferenciate of the signal (assuming the input signal is a ramp +from 0 to 1). The shape of this non-linearity is a 3d order polygone +; +#X text 144 92 This object is usefull when natural fade in or fade +out is neaded. (same result can be archived with the line3 external) +; +#X obj 18 210 curve_fade; +#X obj 376 246 curve_fade; +#X msg 18 144 0 \, 1 5000; +#X msg 376 199 \$1 3000; +#X connect 0 0 2 0; +#X connect 2 0 13 0; +#X connect 5 0 16 0; +#X connect 6 0 8 0; +#X connect 6 0 14 0; +#X connect 13 0 1 0; +#X connect 14 0 7 0; +#X connect 15 0 0 0; +#X connect 16 0 6 0; -- cgit v1.2.1