Hi pun chik:
hi where is the example? i cant see it on pd list, can u send it to me??
At the bottom of this post, as text. CHUN
thankx pun chik
On Fri, 19 Nov 2004 17:11:27 +0000, "chun lee" leechun@leechun.freeserve.co.uk said:
Hi Cyrille:
Excellent, thanks for your example. I think I got most of it, but will need to look into it a bit more later;)
Cheers
CHUN
hello,
an exemple patch is faster... i used the first NL fonction I think of, it's not really the one giving the best result.
attachement is a very simple exemple patch. things can be more complex.
cheers, Cyrille
chun lee a écrit :
you can make this algo more complex by adding a non linear fonction beetween you "probability" and your comparison value. changing the shape of this fonction allow you to have very differents rythms very easilly with interessant mixing property.
for those who wish other exemple of this kind of rythmic generations, you can find somes in the chdh website : (in the sound section) http://dr.pichon.free.fr/chdh/
Cyrille
This sounds very interesting, could you explain a bit more about "adding a non linear function between...."? Or perhaps a example patch? Cheers
CHUN
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
#N canvas 93 94 861 780 10; #X obj 103 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 11800 1; #X obj 120 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 4800 1; #X obj 137 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 8100 1; #X obj 154 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 400 1; #X obj 171 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 9800 1; #X obj 188 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 5600 1; #X obj 205 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 3200 1; #X obj 222 104 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 8400 1; #N canvas 0 0 450 300 random 0; #X obj 62 198 +; #X obj 62 146 -; #X obj 9 9 inlet; #X obj 59 6 inlet; #X obj 113 6 inlet; #X obj 62 226 outlet; #X text 48 253 dh20010107; #X text 49 268 dh20010130; #X obj 13 114 *; #X obj 130 115 *; #X obj 130 89 random 100000; #X obj 10 86 random 100000; #X obj 62 172 / 100000; #X msg 10 37 bang; #X obj 10 60 t b b; #X connect 0 0 5 0; #X connect 1 0 12 0; #X connect 2 0 13 0; #X connect 3 0 0 1; #X connect 4 0 8 1; #X connect 4 0 9 1; #X connect 8 0 1 0; #X connect 9 0 1 1; #X connect 10 0 9 0; #X connect 11 0 8 0; #X connect 12 0 0 0; #X connect 13 0 14 0; #X connect 14 0 11 0; #X connect 14 1 10 0; #X restore 87 304 pd random; #X obj 278 132 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 87 280 t b f; #X obj 37 54 metro 120; #X obj 37 101 + 1; #X obj 37 78 f; #X obj 37 126 % 8; #X obj 37 33 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X text 66 33 <- begin here; #N canvas 0 0 450 300 seq 0; #X obj 20 76 t b; #X obj 51 76 t b; #X obj 82 76 t b; #X obj 114 76 t b; #X obj 145 76 t b; #X obj 177 76 t b; #X obj 208 77 t b; #X obj 240 77 t b; #X obj 20 177 f; #X obj 51 177 f; #X obj 82 178 f; #X obj 114 178 f; #X obj 145 179 f; #X obj 177 180 f; #X obj 208 180 f; #X obj 240 180 f; #X obj 19 12 inlet; #X obj 39 105 inlet; #X obj 70 128 inlet; #X obj 20 223 outlet; #X obj 101 104 inlet; #X obj 133 128 inlet; #X obj 164 104 inlet; #X obj 196 127 inlet; #X obj 227 104 inlet; #X obj 259 127 inlet; #X obj 19 48 sel 0 1 2 3 4 5 6 7 ---------------------; #X connect 0 0 8 0; #X connect 1 0 9 0; #X connect 2 0 10 0; #X connect 3 0 11 0; #X connect 4 0 12 0; #X connect 5 0 13 0; #X connect 6 0 14 0; #X connect 7 0 15 0; #X connect 8 0 19 0; #X connect 9 0 19 0; #X connect 10 0 19 0; #X connect 11 0 19 0; #X connect 12 0 19 0; #X connect 13 0 19 0; #X connect 14 0 19 0; #X connect 15 0 19 0; #X connect 16 0 26 0; #X connect 17 0 8 1; #X connect 18 0 9 1; #X connect 20 0 10 1; #X connect 21 0 11 1; #X connect 22 0 12 1; #X connect 23 0 13 1; #X connect 24 0 14 1; #X connect 25 0 15 1; #X connect 26 0 0 0; #X connect 26 1 1 0; #X connect 26 2 2 0; #X connect 26 3 3 0; #X connect 26 4 4 0; #X connect 26 5 5 0; #X connect 26 6 6 0; #X connect 26 7 7 0; #X restore 87 244 pd seq 8 -----------; #X text 146 80 rythm; #X text 277 112 random; #X obj 87 442 >; #X obj 332 183 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 1500 1; #X obj 72 521 osc~ 120; #X obj 71 547 *~; #X obj 72 631 dac~; #X floatatom 58 147 5 0 0 0 - - -; #X floatatom 139 333 5 0 0 0 - - -; #X obj 332 321 * -1; #X obj 332 349 + 127; #X obj 72 604 *~ 0.3; #X text 329 161 density 1; #X obj 424 183 vsl 15 128 0 127 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 6200 1; #X obj 424 321 * -1; #X obj 424 349 + 127; #X text 421 161 density 2; #X obj 147 439 >; #X obj 87 413 t f f; #X obj 131 499 &; #X obj 131 473 == 0; #X text 163 500 1 st has priority; #X obj 115 570 *~; #X obj 116 544 osc~ 421; #X obj 535 298 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 4100 1; #N canvas 731 227 633 464 fonction 0; #X obj 61 33 inlet; #X obj 61 279 outlet; #X obj 61 76 / 127; #X obj 61 103 - 0.5; #X obj 61 191 sin; #X obj 61 216 + 1; #X obj 61 250 * 64; #X obj 61 163 +; #X obj 61 131 * 2; #X obj 147 31 inlet; #X text 158 51 control parameter of the shape of the non linear relation : inlet2 = 0 : the equation is almost somthing like y=x , when onlet2 = 127 , the equation is almost y=-x.; #X obj 120 102 / 127; #X obj 120 126 * 3.14; #X connect 0 0 2 0; #X connect 2 0 3 0; #X connect 3 0 8 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 1 0; #X connect 7 0 4 0; #X connect 8 0 7 0; #X connect 9 0 11 0; #X connect 11 0 12 0; #X connect 12 0 7 1; #X restore 87 386 pd fonction; #X text 558 297 <- rythm 1; #X text 559 412 <- oposit of rythm 1; #X connect 0 0 17 1; #X connect 1 0 17 2; #X connect 2 0 17 3; #X connect 3 0 17 4; #X connect 4 0 17 5; #X connect 5 0 17 6; #X connect 6 0 17 7; #X connect 7 0 17 8; #X connect 8 0 26 0; #X connect 8 0 43 0; #X connect 9 0 8 2; #X connect 10 0 8 0; #X connect 10 1 8 1; #X connect 11 0 13 0; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 14 0 13 1; #X connect 14 0 17 0; #X connect 14 0 25 0; #X connect 15 0 11 0; #X connect 17 0 10 0; #X connect 20 0 23 1; #X connect 20 0 38 0; #X connect 21 0 27 0; #X connect 22 0 23 0; #X connect 23 0 29 0; #X connect 27 0 28 0; #X connect 28 0 20 1; #X connect 29 0 24 0; #X connect 29 0 24 1; #X connect 31 0 32 0; #X connect 32 0 33 0; #X connect 33 0 35 1; #X connect 35 0 37 1; #X connect 36 0 20 0; #X connect 36 1 35 0; #X connect 37 0 40 1; #X connect 38 0 37 0; #X connect 40 0 29 0; #X connect 41 0 40 0; #X connect 42 0 43 1; #X connect 43 0 36 0;
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list