hi list, i need your help . im trying to make a patch where i can change dynamically the length of a table and its content. For example if i have an envelope inside the table, i want that the envelope can adapts-fits to the table when i change its lenght . im stuck with this.... the patch has different behaivors depending of if i change the numbers fast or slow...
CAn anybody help me with this???
punchik
#N canvas 0 0 1011 695 10; #X obj 677 218 s p1-pitch; #X msg 677 186 resize $1; #X msg 606 119 505; #X obj 324 426 line~; #X floatatom 178 122 0 0 0 0 - - -; #X obj 175 519 cos~; #X obj 324 402 pack 0 50; #X floatatom 326 331 0 0 0 0 - - -; #X obj 175 438 -~ 0.5; #X obj 175 467 *~; #X obj 326 355 / 10; #X obj 175 494 clip~ -0.5 0.5; #X obj 324 451 +~ 1; #X obj 326 379 max 0; #X msg 279 118 0; #X obj 175 570 +~ 0.5; #X obj 175 416 phasor~ 181; #X obj 326 271 loadbang; #X msg 326 307 4; #X obj 175 546 *~ 0.5; #X msg 155 77 bang; #X obj 155 595 tabwrite~ p1-pitch; #X msg 117 33 88; #X obj 599 86 loadbang; #X floatatom 671 139 5 0 0 0 - - -; #X floatatom 511 392 5 0 0 0 - - -; #X floatatom 511 416 5 0 0 0 - - -; #X obj 608 363 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 778 473 + 1; #X obj 649 407 float; #X floatatom 649 485 5 0 0 0 - - -; #X msg 693 390 0; #X obj 179 209 float; #X floatatom 204 251 5 0 0 0 - - -; #X obj 178 151 t float float; #X obj 393 194 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X floatatom 175 362 5 0 0 0 - - -; #X msg 257 72 0; #X obj 188 303 - 1; #X obj 103 -14 loadbang; #X obj 614 515 / 9; #X text 735 134 move up slowly , then fast; #N canvas 0 0 450 300 graph20 0; #X array p1-pitch 505 float 1; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 10 0; #X connect 8 0 9 0; #X connect 9 0 11 0; #X connect 10 0 13 0; #X connect 11 0 5 0; #X connect 12 0 9 1; #X connect 13 0 6 0; #X connect 14 0 16 1; #X connect 15 0 21 0; #X connect 16 0 8 0; #X connect 17 0 18 0; #X connect 18 0 7 0; #X connect 19 0 15 0; #X connect 20 0 14 0; #X connect 20 0 21 0; #X connect 22 0 4 0; #X connect 22 0 20 0; #X connect 23 0 2 0; #X connect 24 0 1 0; #X connect 24 0 27 0; #X connect 25 0 26 0; #X connect 25 0 27 0; #X connect 27 0 29 0; #X connect 28 0 29 1; #X connect 29 0 30 0; #X connect 29 0 28 0; #X connect 30 0 35 0; #X connect 30 0 40 0; #X connect 31 0 29 1; #X connect 32 0 33 0; #X connect 32 0 38 0; #X connect 34 0 32 0; #X connect 34 1 32 1; #X connect 35 0 32 0; #X connect 36 0 16 0; #X connect 36 0 20 0; #X connect 37 0 32 1; #X connect 38 0 36 0; #X connect 39 0 22 0;
pun chik punchik@fastmail.fm
Hallo, pun chik hat gesagt: // pun chik wrote:
hi list, i need your help . im trying to make a patch where i can change dynamically the length of a table and its content. For example if i have an envelope inside the table, i want that the envelope can adapts-fits to the table when i change its lenght . im stuck with this.... the patch has different behaivors depending of if i change the numbers fast or slow...
CAn anybody help me with this???
Use triggers, use triggers, use triggers, use triggers, use triggers, use triggers, use triggers, use more triggers!
There are several parts in your patch, where more than one cord comes out of an object ("fanning"). This means, the order of the flow of messages at that point is not specified, your patch's behaviour in turn becomes random.
As this error comes up often here, at least once a monce, I just repeat the solution some more times for google: Always use triggers. Always use triggers. Always use triggers. Always use triggers. Always use triggers. Always use triggers. Always use triggers. Always use triggers. Always use triggers. Always!
Frank Barknecht _ ______footils.org__
Don't forget about the tiggers!
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
There are several parts in your patch, where more than one cord comes out of an object ("fanning"). This means, the order of the flow of messages at that point is not specified, your patch's behaviour in turn becomes random.
Oh, and I forgot: There is one trigger in your patch already, but this one actually is redundant:
[t float float] | / [float]
behaves practically the same as a simple [float]
Frank Barknecht _ ______footils.org__