From 59fcc4bbd276e6380c1a06dd729e921627cdd6b7 Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Thu, 1 Nov 2012 12:12:02 +0000 Subject: add a curvature argument svn path=/trunk/externals/nusmuk/; revision=16507 --- puremapping/curve_exp-help.pd | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) (limited to 'puremapping/curve_exp-help.pd') diff --git a/puremapping/curve_exp-help.pd b/puremapping/curve_exp-help.pd index c9c6820..97ab23d 100644 --- a/puremapping/curve_exp-help.pd +++ b/puremapping/curve_exp-help.pd @@ -1,23 +1,21 @@ -#N canvas 567 104 476 357 10; +#N canvas 561 113 508 366 10; #X obj 5 2 cnv 15 450 20 empty empty curve_exp 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 314 released under the GNU GPL; -#X text 98 271 For more info:; -#X obj 202 269 pddp/pddplink ../all_about_curve_mapping.pd -text all_about_curve_mapping; #X floatatom 25 123 8 0 0 0 - - -; #X floatatom 25 184 8 0 0 0 - - -; #X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#N canvas 0 22 450 300 graph1 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array curve_exp 100 float 0; #X coords 0 1 99 0 100 100 1; -#X restore 321 111 graph; -#N canvas 266 69 331 321 draw_array 0; +#X restore 321 131 graph; +#N canvas 260 179 331 321 draw_array 0; #X msg 57 52 bang; #X obj 57 73 until; #X text 88 52 start; @@ -32,6 +30,8 @@ #X obj 57 207 / 100; #X text 99 207 mapping output range: 0 to 1; #X obj 56 283 tabwrite curve_exp; +#X obj 211 54 t b f; +#X obj 211 9 inlet; #X obj 56 233 curve_exp; #X connect 0 0 1 0; #X connect 1 0 3 0; @@ -45,13 +45,23 @@ #X connect 7 1 8 0; #X connect 9 0 13 1; #X connect 10 0 0 0; -#X connect 11 0 14 0; -#X connect 14 0 13 0; -#X restore 321 78 pd draw_array; -#X text 17 39 This object maps the input range to a exponential curve +#X connect 11 0 16 0; +#X connect 14 0 0 0; +#X connect 14 1 16 1; +#X connect 15 0 14 0; +#X connect 16 0 13 0; +#X restore 321 98 pd draw_array; +#X text 17 49 This object maps the input range to a exponential curve \, the inverse of a logarithmic curve.; -#X obj 25 153 curve_exp; -#X connect 6 0 13 0; -#X connect 7 0 8 0; -#X connect 9 0 6 0; -#X connect 13 0 7 0; +#X floatatom 93 131 5 0 0 0 - - -; +#X floatatom 321 80 5 0 0 0 - - -; +#X text 360 79 curvature; +#X text 139 128 default value : 11.5129; +#X text 190 143 = log(100000); +#X obj 25 156 curve_exp; +#X connect 4 0 16 0; +#X connect 5 0 6 0; +#X connect 7 0 4 0; +#X connect 11 0 16 1; +#X connect 12 0 9 0; +#X connect 16 0 5 0; -- cgit v1.2.1