Update of /cvsroot/pure-data/externals/mapping/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7509/help
Modified Files: curve-help.pd Added Files: sinusoid-help.pd Log Message: renamed my [curve] to [sinusoid] since it only handles those kind of curves; Cyrille's [_curve] is now [curve], but with the curve shape 2nd inlet opterating over a range of 0-to-1
--- NEW FILE: sinusoid-help.pd --- #N canvas 528 218 488 369 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 ; #X text 244 334 released under the GNU GPL; #X text 158 291 For more info:; #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 19878 1; #X obj 28 143 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 300 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 387 377 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; #X text 85 82 start; #X obj 54 125 f; #X obj 83 125 + 1; #X obj 83 147 mod 100; #X obj 54 43 loadbang; #X text 96 257 mapping output range: -1 to 1; #X obj 54 257 / 50; #X obj 53 229 - 50; #X obj 139 53 t b s; #X obj 139 32 symbol; #X obj 138 9 receive $0-type; #X obj 54 180 trigger float float; #X obj 127 127 select 0; #X obj 53 313 tabwrite $0-curve; #X obj 53 283 curve sin; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 13 0; #X connect 4 0 5 0; #X connect 5 0 3 1; #X connect 5 0 14 0; #X connect 6 0 0 0; #X connect 8 0 16 0; #X connect 9 0 8 0; #X connect 10 0 0 0; #X connect 10 1 16 1; #X connect 11 0 10 0; #X connect 12 0 11 0; #X connect 13 0 9 0; #X connect 13 1 15 1; #X connect 14 0 1 1; #X connect 16 0 15 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;
Index: curve-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/mapping/help/curve-help.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** curve-help.pd 30 Jan 2006 00:56:20 -0000 1.2 --- curve-help.pd 4 Feb 2006 03:24:50 -0000 1.3 *************** *** 1,21 **** ! #N canvas 327 209 484 365 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 ; ! #X text 244 334 released under the GNU GPL; ! #X text 158 291 For more info:; ! #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-curve 100 float 0; ! #X coords 0 1 99 -1 100 100 1; ! #X restore 321 111 graph; ! #N canvas 266 69 383 373 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; --- 1,21 ---- ! #N canvas 177 113 490 439 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 390 (C) Copyright 2004 Hans-Christoph Steiner hans@at.or.at ; ! #X text 244 404 released under the GNU GPL; ! #X text 158 361 For more info:; ! #X floatatom 25 157 8 0 0 0 - - -; ! #X floatatom 25 228 8 0 0 0 - - -; ! #X obj 28 245 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 ! -1 -1 13958 1; ! #X obj 28 137 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 ! -1 -1 7200 1; #N canvas 0 22 450 300 graph1 0; ! #X array $0-curve 200 float 0; ! #X coords 0 1 199 -1 200 200 1; ! #X restore 254 92 graph; ! #N canvas 721 196 407 397 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; *************** *** 23,77 **** #X obj 54 125 f; #X obj 83 125 + 1; - #X obj 83 147 mod 100; #X obj 54 43 loadbang; #X text 96 257 mapping output range: -1 to 1; - #X obj 54 257 / 50; - #X obj 53 229 - 50; - #X obj 139 53 t b s; - #X obj 139 32 symbol; - #X obj 138 9 receive $0-type; #X obj 54 180 trigger float float; #X obj 127 127 select 0; #X obj 53 313 tabwrite $0-curve; ! #X obj 53 283 curve sin; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; ! #X connect 3 0 13 0; ! #X connect 4 0 5 0; ! #X connect 5 0 3 1; ! #X connect 5 0 14 0; ! #X connect 6 0 0 0; ! #X connect 8 0 16 0; ! #X connect 9 0 8 0; ! #X connect 10 0 0 0; ! #X connect 10 1 16 1; ! #X connect 11 0 10 0; ! #X connect 12 0 11 0; #X connect 13 0 9 0; ! #X connect 13 1 15 1; ! #X connect 14 0 1 1; ! #X connect 16 0 15 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 83 184 receive $0-type; ! #X obj 115 115 send $0-type; ! #X msg 128 82 sin; ! #X obj 25 203 curve sin; ! #X obj 262 289 pddp_open mapping-about; ! #X text 286 231 related objects:; ! #X obj 259 250 curve_root; ! #X obj 342 250 curve_power; ! #X obj 259 268 curve_exp; ! #X obj 342 268 curve_log; ! #X connect 5 0 17 0; #X connect 6 0 7 0; #X connect 8 0 5 0; ! #X connect 12 0 15 0; ! #X connect 13 0 15 0; ! #X connect 14 0 17 1; ! #X connect 16 0 15 0; ! #X connect 17 0 6 0; --- 23,73 ---- #X obj 54 125 f; #X obj 83 125 + 1; #X obj 54 43 loadbang; #X text 96 257 mapping output range: -1 to 1; #X obj 54 180 trigger float float; #X obj 127 127 select 0; #X obj 53 313 tabwrite $0-curve; ! #X obj 138 9 inlet; ! #X obj 153 32 send $0-to-numbox; ! #X obj 139 53 trigger bang float; ! #X obj 53 283 curve; ! #X obj 83 147 mod 200; ! #X obj 53 229 - 100; ! #X obj 54 257 / 100; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; ! #X connect 3 0 7 0; ! #X connect 4 0 14 0; ! #X connect 5 0 0 0; ! #X connect 7 0 15 0; ! #X connect 7 1 9 1; ! #X connect 8 0 1 1; ! #X connect 10 0 11 0; ! #X connect 10 0 12 0; ! #X connect 12 0 0 0; ! #X connect 12 1 13 1; #X connect 13 0 9 0; ! #X connect 14 0 3 1; ! #X connect 14 0 8 0; ! #X connect 15 0 16 0; ! #X connect 16 0 13 0; ! #X restore 95 208 pd draw_array; #X text 17 39 This object maps the input range to a exponential curve , the inverse of a logarithmic curve.; ! #X obj 262 359 pddp_open mapping-about; ! #X text 286 301 related objects:; ! #X obj 342 320 curve_power; ! #X obj 259 338 curve_exp; ! #X obj 342 338 curve_log; ! #X obj 53 183 hsl 128 15 -1 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 7600 0; ! #X floatatom 192 184 7 0 0 0 - #0-to-numbox -; ! #X obj 259 319 sinusoid; ! #X obj 25 207 curve; ! #X connect 5 0 20 0; #X connect 6 0 7 0; #X connect 8 0 5 0; ! #X connect 17 0 10 0; ! #X connect 17 0 20 1; ! #X connect 20 0 6 0;