Update of /cvsroot/pure-data/externals/mapping/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31648/help
Modified Files: sinusoid-help.pd Log Message: made all three curves stay between 0 and 1 always
Index: sinusoid-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/mapping/help/sinusoid-help.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** sinusoid-help.pd 28 Feb 2006 07:39:10 -0000 1.2 --- sinusoid-help.pd 21 Sep 2006 00:14:29 -0000 1.3 *************** *** 1,6 **** ! #N canvas 528 218 492 373 10; ! #X obj 5 2 cnv 15 450 20 empty empty [curve] 2 11 1 18 -233017 -66577 0; - #X msg 422 3 pddp; #X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner hans@at.or.at ; --- 1,5 ---- ! #N canvas 88 40 476 378 10; ! #X obj 5 2 cnv 15 450 20 empty empty [sinusoid] 2 11 1 18 -233017 -66577 0; #X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner hans@at.or.at ; *************** *** 9,21 **** #X floatatom 25 163 8 0 0 0 - - -; #X floatatom 25 224 8 0 0 0 - - -; ! #X obj 28 241 hsl 200 15 -1 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; ! #X obj 28 143 hsl 200 15 -1 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; #N canvas 0 22 450 300 graph1 0; ! #X array $0-curve 100 float 0; ! #X coords 0 1 99 -1 100 100 1; #X restore 321 111 graph; ! #N canvas 266 69 407 397 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; --- 8,20 ---- #X floatatom 25 163 8 0 0 0 - - -; #X floatatom 25 224 8 0 0 0 - - -; ! #X obj 28 241 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; ! #X obj 28 143 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; ! #X array $0_ 100 float 0; ! #X coords 0 1 99 0 100 100 1; #X restore 321 111 graph; ! #N canvas 266 69 411 401 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; *************** *** 30,37 **** #X obj 54 180 trigger float float; #X obj 127 127 select 0; ! #X obj 53 313 tabwrite $0-curve; #X text 96 257 mapping output range: 0 to 1; ! #X obj 53 229 - 50; ! #X obj 54 257 / 50; #X obj 53 283 sinusoid sin; #X connect 0 0 1 0; --- 29,35 ---- #X obj 54 180 trigger float float; #X obj 127 127 select 0; ! #X obj 53 313 tabwrite $0_; #X text 96 257 mapping output range: 0 to 1; ! #X obj 54 257 / 100; #X obj 53 283 sinusoid sin; #X connect 0 0 1 0; *************** *** 44,48 **** #X connect 6 0 0 0; #X connect 7 0 0 0; ! #X connect 7 1 16 1; #X connect 8 0 7 0; #X connect 9 0 8 0; --- 42,46 ---- #X connect 6 0 0 0; #X connect 7 0 0 0; ! #X connect 7 1 15 1; #X connect 8 0 7 0; #X connect 9 0 8 0; *************** *** 51,77 **** #X connect 11 0 1 1; #X connect 14 0 15 0; ! #X connect 15 0 16 0; ! #X connect 16 0 12 0; ! #X restore 321 89 pd draw_array; ! #X text 17 39 This object maps the input range to a exponential curve ! , the inverse of a logarithmic curve.; #X msg 61 82 atan; #X msg 98 82 cos; #X obj 104 184 receive $0-type; #X msg 128 82 sin; ! #X obj 262 289 pddp_open mapping-about; ! #X text 286 231 related objects:; ! #X obj 342 250 curve_power; ! #X obj 342 268 curve_log; ! #X obj 259 268 curve_exp; #X obj 107 114 send $0-type; #X obj 25 203 sinusoid sin; ! #X obj 259 250 curve; ! #X connect 5 0 22 0; ! #X connect 6 0 7 0; ! #X connect 8 0 5 0; ! #X connect 12 0 21 0; ! #X connect 13 0 21 0; ! #X connect 14 0 22 1; ! #X connect 15 0 21 0; ! #X connect 22 0 6 0; --- 49,74 ---- #X connect 11 0 1 1; #X connect 14 0 15 0; ! #X connect 15 0 12 0; ! #X restore 321 79 pd draw_array; #X msg 61 82 atan; #X msg 98 82 cos; #X obj 104 184 receive $0-type; #X msg 128 82 sin; ! #X text 296 221 related objects:; ! #X obj 352 240 curve_power; ! #X obj 352 258 curve_log; ! #X obj 269 258 curve_exp; #X obj 107 114 send $0-type; #X obj 25 203 sinusoid sin; ! #X obj 269 240 curve; ! #X text 17 39 This object maps the input range to a sinusoidal curve. ! ; ! #X obj 262 289 pddp/open mapping-about; ! #X connect 4 0 19 0; ! #X connect 5 0 6 0; ! #X connect 7 0 4 0; ! #X connect 10 0 18 0; ! #X connect 11 0 18 0; ! #X connect 12 0 19 1; ! #X connect 13 0 18 0; ! #X connect 19 0 5 0;