coll / jit.cellblock / data manipulation help please!

Jun 7, 2006 at 1:40pm

coll / jit.cellblock / data manipulation help please!

Hey there,

I have been querying in chatrooms related to msp and even pd and haven’t really had much success.

I am trying to basically perform a ‘delete whole column’ function for a jit.cellblock (thus moving all the data an index earlier) by sending a bang. I have been trying for a while, trying to do it directly somehow, and also by spitting the data out to coll and trying to parse it, before returning it, but am having major troubles.

If anyone could suggest a better way or a suitable way to to such a function, it would be hugely appreciated. It will be used for a ‘time tracker’ of such where the bang will be influenced by metro and the data in the foremost block will play a certain loop.

thanks in advance!!
n00ds

#26327
Jun 8, 2006 at 12:36am

seb wrote:
> I am trying to basically perform a ‘delete whole column’ function for a jit.cellblock
> (thus moving all the data an index earlier) by sending a bang.

I don’t understand exactly, what you are trying to do in the end, but
attached patch should work for selecting and removing a column.

hope this helps,

oliver

#P window setfont “Sans Serif” 10.;
#P window linecount 5;
#P comment 462 383 97 196618 select column to be deleted … < - and bang;
#P button 413 424 38 0;
#P window linecount 1;
#N coll tester;
#T flags 1 0;
#T 1 1 3 4 5 6 7 9 0;
#T 2 1 3 4 5 6 7 9 0;
#T 3 1 3 4 5 6 7 9 0;
#T 4 1 3 4 5 6 7 9 0;
#T 5 1 3 4 5 6 7 9 0;
#T 6 1 3 4 5 6 7 9 0;
#T 7 1 3 4 5 6 7 9 0;
#T 8 1 3 4 5 6 7 9 0;
#T 9 1 3 4 5 6 7 9 0;
#T 10 1 3 4 5 6 7 9 0;
#T 11 1 3 4 5 6 7 9 0;
#T 12 1 3 4 5 6 7 9 0;
#T 13 1 3 4 5 6 7 9 0;
#T 14 1 3 4 5 6 7 9 0;
#T 15 1 3 4 5 6 7 9 0;
#T 16 1 3 4 5 6 7 9 0;
#T 17 1 3 4 5 6 7 9 0;
#T 18 1 3 4 5 6 7 9 0;
#T 19 1 3 4 5 6 7 9 0;
#T 20 1 3 4 5 6 7 9 0;
#T 21 1 3 4 5 6 7 9 0;
#T 22 1 3 4 5 6 7 9 0;
#T 23 1 3 4 5 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5 6 7 9 0;
#T 18 1 3 4 5 6 7 9 0;
#T 19 1 3 4 5 6 7 9 0;
#T 20 1 3 4 5 6 7 9 0;
#T 21 1 3 4 5 6 7 9 0;
#T 22 1 3 4 5 6 7 9 0;
#T 23 1 3 4 5 6 7 9 0;
#T 24 1 3 4 5 6 7 9 0;
#T 25 1 3 4 5 6 7 9 0;
#T 26 1 3 4 5 6 7 9 0;
#T 27 1 3 4 5 6 7 9 0;
#T 28 1 3 4 5 6 7 9 0;
#T 29 1 3 4 5 6 7 9 0;
#T 30 1 3 4 5 6 7 9 0;
#T 31 1 3 4 5 6 7 9 0;
#T 32 1 3 4 5 6 7 9 0;
#T 33 1 3 4 5 6 7 9 0;
#T 34 1 3 4 5 6 7 9 0;
#T 35 1 3 4 5 6 7 9 0;
#T 36 1 3 4 5 6 7 9 0;
#T 37 1 3 4 5 6 7 9 0;
#T 38 1 3 4 5 6 7 9 0;
#T 39 1 3 4 5 6 7 9 0;
#T 40 1 3 4 5 6 7 9 0;
#T 41 1 3 4 5 6 7 9 0;
#T 42 1 3 4 5 6 7 9 0;
#T 43 1 3 4 5 6 7 9 0;
#T 44 1 3 4 5 6 7 9 0;
#T 45 1 3 4 5 6 7 9 0;
#T 46 1 3 4 5 6 7 9 0;
#T 47 1 3 4 5 6 7 9 0;
#T 48 1 3 4 5 6 7 9 0;
#T 49 1 3 4 5 6 7 9 0;
#T 50 1 3 4 5 6 7 9 0;
#P newobj 654 627 60 196618 coll tester;
#P message 167 583 41 196618 set $1;
#P newex 167 641 67 196618 prepend bla;
#P newex 102 490 40 196618 uzi 1;
#P message 102 437 40 196618 length;
#N coll tester;
#T flags 1 0;
#T 1 1 3 4 5 6 7 9 0;
#T 2 1 3 4 5 6 7 9 0;
#T 3 1 3 4 5 6 7 9 0;
#T 4 1 3 4 5 6 7 9 0;
#T 5 1 3 4 5 6 7 9 0;
#T 6 1 3 4 5 6 7 9 0;
#T 7 1 3 4 5 6 7 9 0;
#T 8 1 3 4 5 6 7 9 0;
#T 9 1 3 4 5 6 7 9 0;
#T 10 1 3 4 5 6 7 9 0;
#T 11 1 3 4 5 6 7 9 0;
#T 12 1 3 4 5 6 7 9 0;
#T 13 1 3 4 5 6 7 9 0;
#T 14 1 3 4 5 6 7 9 0;
#T 15 1 3 4 5 6 7 9 0;
#T 16 1 3 4 5 6 7 9 0;
#T 17 1 3 4 5 6 7 9 0;
#T 18 1 3 4 5 6 7 9 0;
#T 19 1 3 4 5 6 7 9 0;
#T 20 1 3 4 5 6 7 9 0;
#T 21 1 3 4 5 6 7 9 0;
#T 22 1 3 4 5 6 7 9 0;
#T 23 1 3 4 5 6 7 9 0;
#T 24 1 3 4 5 6 7 9 0;
#T 25 1 3 4 5 6 7 9 0;
#T 26 1 3 4 5 6 7 9 0;
#T 27 1 3 4 5 6 7 9 0;
#T 28 1 3 4 5 6 7 9 0;
#T 29 1 3 4 5 6 7 9 0;
#T 30 1 3 4 5 6 7 9 0;
#T 31 1 3 4 5 6 7 9 0;
#T 32 1 3 4 5 6 7 9 0;
#T 33 1 3 4 5 6 7 9 0;
#T 34 1 3 4 5 6 7 9 0;
#T 35 1 3 4 5 6 7 9 0;
#T 36 1 3 4 5 6 7 9 0;
#T 37 1 3 4 5 6 7 9 0;
#T 38 1 3 4 5 6 7 9 0;
#T 39 1 3 4 5 6 7 9 0;
#T 40 1 3 4 5 6 7 9 0;
#T 41 1 3 4 5 6 7 9 0;
#T 42 1 3 4 5 6 7 9 0;
#T 43 1 3 4 5 6 7 9 0;
#T 44 1 3 4 5 6 7 9 0;
#T 45 1 3 4 5 6 7 9 0;
#T 46 1 3 4 5 6 7 9 0;
#T 47 1 3 4 5 6 7 9 0;
#T 48 1 3 4 5 6 7 9 0;
#T 49 1 3 4 5 6 7 9 0;
#T 50 1 3 4 5 6 7 9 0;
#P newobj 102 460 60 196618 coll tester;
#P newex 360 512 27 196618 – 1;
#P newex 309 603 42 196618 zl join;
#P newex 335 414 27 196618 int;
#P newex 275 573 55 196618 zl slice 2;
#P newex 296 541 55 196618 zl slice 3;
#P newex 234 373 44 196618 unpack;
#P button 622 555 15 0;
#P newex 622 577 42 196618 uzi 50;
#P message 234 79 68 196618 refer tester;
#P message 654 604 124 196618 $1 1 2 3 4 5 6 7 8 9 0;
#N coll tester;
#T flags 1 0;
#T 1 1 3 4 5 6 7 9 0;
#T 2 1 3 4 5 6 7 9 0;
#T 3 1 3 4 5 6 7 9 0;
#T 4 1 3 4 5 6 7 9 0;
#T 5 1 3 4 5 6 7 9 0;
#T 6 1 3 4 5 6 7 9 0;
#T 7 1 3 4 5 6 7 9 0;
#T 8 1 3 4 5 6 7 9 0;
#T 9 1 3 4 5 6 7 9 0;
#T 10 1 3 4 5 6 7 9 0;
#T 11 1 3 4 5 6 7 9 0;
#T 12 1 3 4 5 6 7 9 0;
#T 13 1 3 4 5 6 7 9 0;
#T 14 1 3 4 5 6 7 9 0;
#T 15 1 3 4 5 6 7 9 0;
#T 16 1 3 4 5 6 7 9 0;
#T 17 1 3 4 5 6 7 9 0;
#T 18 1 3 4 5 6 7 9 0;
#T 19 1 3 4 5 6 7 9 0;
#T 20 1 3 4 5 6 7 9 0;
#T 21 1 3 4 5 6 7 9 0;
#T 22 1 3 4 5 6 7 9 0;
#T 23 1 3 4 5 6 7 9 0;
#T 24 1 3 4 5 6 7 9 0;
#T 25 1 3 4 5 6 7 9 0;
#T 26 1 3 4 5 6 7 9 0;
#T 27 1 3 4 5 6 7 9 0;
#T 28 1 3 4 5 6 7 9 0;
#T 29 1 3 4 5 6 7 9 0;
#T 30 1 3 4 5 6 7 9 0;
#T 31 1 3 4 5 6 7 9 0;
#T 32 1 3 4 5 6 7 9 0;
#T 33 1 3 4 5 6 7 9 0;
#T 34 1 3 4 5 6 7 9 0;
#T 35 1 3 4 5 6 7 9 0;
#T 36 1 3 4 5 6 7 9 0;
#T 37 1 3 4 5 6 7 9 0;
#T 38 1 3 4 5 6 7 9 0;
#T 39 1 3 4 5 6 7 9 0;
#T 40 1 3 4 5 6 7 9 0;
#T 41 1 3 4 5 6 7 9 0;
#T 42 1 3 4 5 6 7 9 0;
#T 43 1 3 4 5 6 7 9 0;
#T 44 1 3 4 5 6 7 9 0;
#T 45 1 3 4 5 6 7 9 0;
#T 46 1 3 4 5 6 7 9 0;
#T 47 1 3 4 5 6 7 9 0;
#T 48 1 3 4 5 6 7 9 0;
#T 49 1 3 4 5 6 7 9 0;
#T 50 1 3 4 5 6 7 9 0;
#P newobj 101 520 60 196618 coll tester;
#P user jit.cellblock 234 124 748 351 3 10 9 50 45 17 0 1 1 0 1 0 1 1 1
0 0 0 255 255 255 0 0 0 0 0 0 191 191 191 0 0 0 215 215 240 1 1 1 0 4 0 0 0;
#P comment 649 554 57 196618 < - refill;
#P connect 6 0 5 0;
#P connect 5 2 3 0;
#P connect 3 0 18 0;
#P fasten 15 2 2 0 137 514 106 514;
#P fasten 19 0 14 0 340 467 210 467 210 428 107 428;
#P connect 14 0 13 0;
#P connect 13 0 15 0;
#P connect 2 1 17 0;
#P fasten 11 0 16 0 314 631 172 631;
#P connect 17 0 16 0;
#P connect 16 0 20 0;
#P connect 4 0 1 0;
#P connect 1 0 7 0;
#P connect 8 0 9 0;
#P fasten 2 0 8 0 106 551 242 551 242 534 301 534;
#P connect 9 0 11 0;
#P fasten 12 0 9 1 365 568 325 568;
#P connect 21 0 10 0;
#P connect 10 0 19 0;
#P connect 19 1 8 1;
#P connect 8 1 11 1;
#P fasten 7 0 10 1 239 400 357 400;
#P connect 19 1 12 0;
#P window clipboard copycount 23;

#78587
Jun 8, 2006 at 12:52am

oliver griem wrote:
> I don’t understand exactly, what you are trying to do in the end, but
> attached patch should work for selecting and removing a column.
>

… that patch wasn’t able to delete the first data-column – this one is.

oliver

#P window setfont “Sans Serif” 10.;
#P window linecount 1;
#P newex 405 582 31 196618 !- 2;
#P newex 405 558 27 196618 > 1;
#P newex 366 616 39 196618 gate 2;
#P newex 234 68 51 196618 loadbang;
#P window linecount 5;
#P comment 456 385 84 196618 select column to be deleted … < - and bang;
#P button 413 424 38 0;
#P window linecount 1;
#N coll tester;
#T flags 1 0;
#T 1 6 7 8 0;
#T 2 6 7 8 0;
#T 3 6 7 8 0;
#T 4 6 7 8 0;
#T 5 6 7 8 0;
#T 6 6 7 8 0;
#T 7 6 7 8 0;
#T 8 6 7 8 0;
#T 9 6 7 8 0;
#T 10 6 7 8 0;
#T 11 6 7 8 0;
#T 12 6 7 8 0;
#T 13 6 7 8 0;
#T 14 6 7 8 0;
#T 15 6 7 8 0;
#T 16 6 7 8 0;
#T 17 6 7 8 0;
#T 18 6 7 8 0;
#T 19 6 7 8 0;
#T 20 6 7 8 0;
#T 21 6 7 8 0;
#T 22 6 7 8 0;
#T 23 6 7 8 0;
#T 24 6 7 8 0;
#T 25 6 7 8 0;
#T 26 6 7 8 0;
#T 27 6 7 8 0;
#T 28 6 7 8 0;
#T 29 6 7 8 0;
#T 30 6 7 8 0;
#T 31 6 7 8 0;
#T 32 6 7 8 0;
#T 33 6 7 8 0;
#T 34 6 7 8 0;
#T 35 6 7 8 0;
#T 36 6 7 8 0;
#T 37 6 7 8 0;
#T 38 6 7 8 0;
#T 39 6 7 8 0;
#T 40 6 7 8 0;
#T 41 6 7 8 0;
#T 42 6 7 8 0;
#T 43 6 7 8 0;
#T 44 6 7 8 0;
#T 45 6 7 8 0;
#T 46 6 7 8 0;
#T 47 6 7 8 0;
#T 48 6 7 8 0;
#T 49 6 7 8 0;
#T 50 6 7 8 0;
#P newobj 167 703 60 196618 coll tester;
#P newex 335 439 30 196618 t b i;
#N coll tester;
#T flags 1 0;
#T 1 6 7 8 0;
#T 2 6 7 8 0;
#T 3 6 7 8 0;
#T 4 6 7 8 0;
#T 5 6 7 8 0;
#T 6 6 7 8 0;
#T 7 6 7 8 0;
#T 8 6 7 8 0;
#T 9 6 7 8 0;
#T 10 6 7 8 0;
#T 11 6 7 8 0;
#T 12 6 7 8 0;
#T 13 6 7 8 0;
#T 14 6 7 8 0;
#T 15 6 7 8 0;
#T 16 6 7 8 0;
#T 17 6 7 8 0;
#T 18 6 7 8 0;
#T 19 6 7 8 0;
#T 20 6 7 8 0;
#T 21 6 7 8 0;
#T 22 6 7 8 0;
#T 23 6 7 8 0;
#T 24 6 7 8 0;
#T 25 6 7 8 0;
#T 26 6 7 8 0;
#T 27 6 7 8 0;
#T 28 6 7 8 0;
#T 29 6 7 8 0;
#T 30 6 7 8 0;
#T 31 6 7 8 0;
#T 32 6 7 8 0;
#T 33 6 7 8 0;
#T 34 6 7 8 0;
#T 35 6 7 8 0;
#T 36 6 7 8 0;
#T 37 6 7 8 0;
#T 38 6 7 8 0;
#T 39 6 7 8 0;
#T 40 6 7 8 0;
#T 41 6 7 8 0;
#T 42 6 7 8 0;
#T 43 6 7 8 0;
#T 44 6 7 8 0;
#T 45 6 7 8 0;
#T 46 6 7 8 0;
#T 47 6 7 8 0;
#T 48 6 7 8 0;
#T 49 6 7 8 0;
#T 50 6 7 8 0;
#P newobj 654 627 60 196618 coll tester;
#P message 167 619 41 196618 set $1;
#P newex 167 677 67 196618 prepend bla;
#P newex 102 490 40 196618 uzi 1;
#P message 102 437 40 196618 length;
#N coll tester;
#T flags 1 0;
#T 1 6 7 8 0;
#T 2 6 7 8 0;
#T 3 6 7 8 0;
#T 4 6 7 8 0;
#T 5 6 7 8 0;
#T 6 6 7 8 0;
#T 7 6 7 8 0;
#T 8 6 7 8 0;
#T 9 6 7 8 0;
#T 10 6 7 8 0;
#T 11 6 7 8 0;
#T 12 6 7 8 0;
#T 13 6 7 8 0;
#T 14 6 7 8 0;
#T 15 6 7 8 0;
#T 16 6 7 8 0;
#T 17 6 7 8 0;
#T 18 6 7 8 0;
#T 19 6 7 8 0;
#T 20 6 7 8 0;
#T 21 6 7 8 0;
#T 22 6 7 8 0;
#T 23 6 7 8 0;
#T 24 6 7 8 0;
#T 25 6 7 8 0;
#T 26 6 7 8 0;
#T 27 6 7 8 0;
#T 28 6 7 8 0;
#T 29 6 7 8 0;
#T 30 6 7 8 0;
#T 31 6 7 8 0;
#T 32 6 7 8 0;
#T 33 6 7 8 0;
#T 34 6 7 8 0;
#T 35 6 7 8 0;
#T 36 6 7 8 0;
#T 37 6 7 8 0;
#T 38 6 7 8 0;
#T 39 6 7 8 0;
#T 40 6 7 8 0;
#T 41 6 7 8 0;
#T 42 6 7 8 0;
#T 43 6 7 8 0;
#T 44 6 7 8 0;
#T 45 6 7 8 0;
#T 46 6 7 8 0;
#T 47 6 7 8 0;
#T 48 6 7 8 0;
#T 49 6 7 8 0;
#T 50 6 7 8 0;
#P newobj 102 460 60 196618 coll tester;
#P newex 361 571 27 196618 – 1;
#P newex 309 643 42 196618 zl join;
#P newex 335 414 27 196618 int;
#P newex 275 611 55 196618 zl slice 2;
#P newex 296 571 55 196618 zl slice 3;
#P newex 234 373 44 196618 unpack;
#P button 622 555 15 0;
#P newex 622 577 42 196618 uzi 50;
#P message 234 94 68 196618 refer tester;
#P message 654 604 124 196618 $1 1 2 3 4 5 6 7 8 9 0;
#N coll tester;
#T flags 1 0;
#T 1 6 7 8 0;
#T 2 6 7 8 0;
#T 3 6 7 8 0;
#T 4 6 7 8 0;
#T 5 6 7 8 0;
#T 6 6 7 8 0;
#T 7 6 7 8 0;
#T 8 6 7 8 0;
#T 9 6 7 8 0;
#T 10 6 7 8 0;
#T 11 6 7 8 0;
#T 12 6 7 8 0;
#T 13 6 7 8 0;
#T 14 6 7 8 0;
#T 15 6 7 8 0;
#T 16 6 7 8 0;
#T 17 6 7 8 0;
#T 18 6 7 8 0;
#T 19 6 7 8 0;
#T 20 6 7 8 0;
#T 21 6 7 8 0;
#T 22 6 7 8 0;
#T 23 6 7 8 0;
#T 24 6 7 8 0;
#T 25 6 7 8 0;
#T 26 6 7 8 0;
#T 27 6 7 8 0;
#T 28 6 7 8 0;
#T 29 6 7 8 0;
#T 30 6 7 8 0;
#T 31 6 7 8 0;
#T 32 6 7 8 0;
#T 33 6 7 8 0;
#T 34 6 7 8 0;
#T 35 6 7 8 0;
#T 36 6 7 8 0;
#T 37 6 7 8 0;
#T 38 6 7 8 0;
#T 39 6 7 8 0;
#T 40 6 7 8 0;
#T 41 6 7 8 0;
#T 42 6 7 8 0;
#T 43 6 7 8 0;
#T 44 6 7 8 0;
#T 45 6 7 8 0;
#T 46 6 7 8 0;
#T 47 6 7 8 0;
#T 48 6 7 8 0;
#T 49 6 7 8 0;
#T 50 6 7 8 0;
#P newobj 101 520 60 196618 coll tester;
#P user jit.cellblock 234 124 748 351 3 10 5 50 45 17 0 1 1 0 1 0 1 1 1
0 0 0 255 255 255 0 0 0 0 0 0 191 191 191 0 0 0 215 215 240 1 1 1 0 4 0 0 0;
#P comment 649 554 57 196618 < - refill;
#P fasten 15 2 2 0 137 514 106 514;
#P fasten 19 0 14 0 340 467 210 467 210 428 107 428;
#P connect 14 0 13 0;
#P connect 13 0 15 0;
#P connect 2 1 17 0;
#P fasten 24 1 16 0 400 667 172 667;
#P connect 17 0 16 0;
#P fasten 11 0 16 0 314 667 172 667;
#P connect 16 0 20 0;
#P connect 23 0 4 0;
#P connect 4 0 1 0;
#P connect 1 0 7 0;
#P connect 8 0 9 0;
#P fasten 2 0 8 0 106 551 242 551 242 534 301 534;
#P connect 9 0 11 0;
#P fasten 12 0 9 1 366 602 325 602;
#P connect 21 0 10 0;
#P connect 10 0 19 0;
#P connect 19 1 8 1;
#P connect 24 0 11 1;
#P fasten 7 0 10 1 239 400 357 400;
#P connect 19 1 12 0;
#P connect 26 0 24 0;
#P connect 8 1 24 1;
#P connect 19 1 25 0;
#P connect 25 0 26 0;
#P connect 6 0 5 0;
#P connect 5 2 3 0;
#P connect 3 0 18 0;
#P window clipboard copycount 27;

#78588
Jun 8, 2006 at 1:52pm

Thanks very much!
Although i didnt end up using it, because i discovered a really easy way to do what i wanted to do (even before it reached the jit.cellblock and got messy. But the help was appreciated a lot.

n00ds

#78589

You must be logged in to reply to this topic.