freebie, *-objectlist.txt to jit.cellblock parser abstractiones, senors

May 30, 2006 at 5:03am

freebie, *-objectlist.txt to jit.cellblock parser abstractiones, senors

I made an object-list.txt file parser for use with cellblock. Its a freebie, embedded to make it easier to open, but easily deencapsulated. You’ll need taptools 1.5, jasch, Lobjects, and f0 abstractions installed, which are available for both XP and osx. Just something I’ve had on my computer for ages that I thought someone might find useful (I use it all the time it seems like, mainly for inspiration).. You’ll need your oblists named the default names (jitter-objectlist.txt, max-objectlist.txt, audio-objectlist.txt) and they need to be in your path…z0r.

binez0r
[pardon my blindness]

///////////////////////////////////////////////////////////
/////////////////////////patch/////////////////////////////
///////////////////////////////////////////////////////////

max v2;
#N vpatcher 794 80 1424 436;
#P bpatcher 19 40 146 232 0 -21 help_oblist_bp.pat 3;
#N vpatcher 566 67 976 513;
#P window setfont “Sans Serif” 12.;
#P newex 0 313 60 9109516 loadbang;
#P message 25 366 38 9109516 clean;
#P newex 25 345 49 9109516 del 200;
#N thispatcher;
#Q end;
#P newobj 25 388 69 9109516 thispatcher;
#P message 68 233 31 9109516 jitter;
#P message 30 233 39 9109516 audio;
#P newex 144 312 130 9109516 sprintf %s-objectlist.txt;
#P message 0 233 31 9109516 max;
#P button 224 134 14 0;
#P newex 297 105 27 9109516 t b l;
#P comment 293 207 35 9109516 clear;
#P newex 314 127 15 9109516 _;
#P newex 224 105 62 9109516 pvar reset;
#B color 11;
#P message 244 160 111 9109516 jitter-objectlist.txt;
#N vpatcher 443 59 922 759;
#P window setfont “Sans Serif” 12.;
#P window linecount 1;
#P message 255 547 46 9109516 binop1;
#P newex 255 516 67 9109516 route + – * /;
#P message 187 523 34 9109516 logic;
#P newex 187 487 81 9109516 route & | && ||;
#P window linecount 0;
#P newex 102 477 70 9109516 s help_hub;
#B color 11;
#P button 102 463 15 0;
#P newex 19 56 60 9109516 loadbang;
#B color 12;
#P newex 131 93 74 9109516 tap.delay 25;
#B color 6;
#P newex 19 144 35 9109516 sel 1;
#P newex 19 169 122 9109516 f0.one_through_gate;
#B color 6;
#P newex 19 120 74 9109516 mousestate;
#P newex 19 97 57 9109516 metro 10;
#P toggle 19 80 15 0;
#P outlet 117 337 15 0;
#P newex 102 296 79 9109516 route ;
#P newex 32 242 65 9109516 route fux0r;
#P newex 32 220 82 9109516 tap.allchange;
#B color 6;
#P newex 311 616 52 9109516 pcontrol;
#P newex 311 593 42 9109516 _ help;
#N vpatcher 608 350 844 643;
#P window setfont “Sans Serif” 12.;
#P message 31 213 34 9109516 fux0r;
#P outlet 31 238 15 0;
#P button 147 162 15 0;
#P newex 67 150 52 9109516 gate 1 1;
#P newex 147 78 56 9109516 pipe 100;
#B color 5;
#P newex 128 56 31 9109516 t 0 1;
#P inlet 128 36 15 0;
#P inlet 69 79 15 0;
#P outlet 67 175 15 0;
#P fasten 6 0 8 0 152 213 36 213;
#P connect 8 0 7 0;
#P connect 4 0 5 0;
#P connect 3 0 5 0;
#P connect 5 0 0 0;
#P connect 1 0 5 1;
#P connect 2 0 3 0;
#P connect 3 1 4 0;
#P connect 4 0 6 0;
#P pop;
#P newobj 124 397 73 9109516 p stop_gate;
#B color 6;
#P newex 209 351 40 9109516 t l b 0;
#P message 272 395 137 9109516 clear all , set 0 0
;
#P newex 272 418 61 9109516 s ob_blox;
#B color 11;
#P newex 209 397 58 9109516 tosymbol;
#P newex 57 271 55 9109516 zl slice 2;
#P outlet 209 447 15 0;
#P comment 227 179 24 9109516 init;
#P message 209 242 15 9109516 1;
#P newex 209 223 55 9109516 sel clear;
#P newex 171 322 48 9109516 leftgate;
#P inlet 131 37 15 0;
#P inlet 209 179 15 0;
#P connect 25 0 19 0;
#P connect 19 0 20 0;
#P connect 20 0 21 0;
#P connect 21 0 23 0;
#P connect 23 0 22 0;
#P fasten 12 0 15 0 129 425 24 425 24 208 37 208;
#P fasten 22 0 15 0 24 205 37 205;
#P connect 15 0 16 0;
#P fasten 16 1 7 0 92 266 62 266;
#P connect 7 1 17 0;
#P connect 8 0 26 0;
#P connect 12 1 26 0;
#P connect 17 0 26 0;
#P connect 26 0 27 0;
#P connect 17 0 18 0;
#P fasten 2 0 12 0 176 369 129 369;
#P connect 1 0 24 0;
#P connect 24 0 22 1;
#P connect 17 1 2 0;
#P fasten 11 1 12 1 229 384 192 384;
#P connect 12 1 28 0;
#P connect 28 0 29 0;
#P fasten 28 1 29 0 209 519 192 519;
#P fasten 28 2 29 0 226 519 192 519;
#P fasten 28 3 29 0 243 519 192 519;
#P connect 0 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 2 1;
#P fasten 11 2 2 1 244 374 244 374 244 313 214 313;
#P connect 2 1 11 0;
#P connect 11 0 8 0;
#P connect 8 0 6 0;
#P connect 28 4 30 0;
#P connect 30 0 31 0;
#P fasten 30 1 31 0 274 542 260 542;
#P fasten 30 2 31 0 288 542 260 542;
#P fasten 30 3 31 0 302 542 260 542;
#P fasten 11 1 10 0 229 384 277 384;
#P connect 10 0 9 0;
#P fasten 29 0 13 0 192 582 316 582;
#P fasten 31 0 13 0 260 580 316 580;
#P connect 30 4 13 0;
#P connect 13 0 14 0;
#P pop;
#P newobj 184 249 50 9109516 p router;
#B color 6;
#N vpatcher 887 38 1185 733;
#P window setfont “Sans Serif” 12.;
#P newex 147 626 61 9109516 s ob_blox;
#B color 11;
#P window linecount 1;
#P newex 83 554 35 9109516 zl rev;
#P newex 83 530 39 9109516 zl join;
#P newex 83 578 45 9109516 _ set 0;
#P newex 112 506 27 9109516 – 1;
#P message 147 550 52 9109516 rows $1;
#N counter;
#X flags 0 0;
#P newobj 147 477 66 9109516 counter;
#P message 175 446 15 9109516 2;
#P newex 83 441 27 9109516 t l b;
#P button 240 276 15 0;
#P comment 62 48 61 9109516 mm_out2;
#P newex 83 417 25 9109516 iter;
#P newex 83 393 36 9109516 Lsort;
#P button 46 293 15 0;
#P newex 46 308 27 9109516 del;
#B color 5;
#P newex 83 369 51 9109516 zl group;
#P newex 46 110 61 9109516 lswap 3 2;
#P newex 46 134 46 9109516 _ store;
#N coll ;
#P newobj 46 168 53 9109516 coll;
#B color 14;
#P newex 160 109 56 9109516 t dump s;
#P newex 129 278 87 9109516 lsame;
#P newex 83 345 37 9109516 zl reg;
#P newex 129 303 35 9109516 sel 1;
#P newex 129 253 79 9109516 route symbol;
#P newex 110 199 79 9109516 route symbol;
#P inlet 160 73 15 0;
#P inlet 46 48 15 0;
#P inlet 216 135 15 0;
#P window linecount 0;
#P comment 232 134 35 9109516 clear;
#P comment 176 73 72 9109516 from_router;
#P connect 3 0 13 0;
#P connect 13 0 12 0;
#P fasten 2 0 11 0 221 163 51 163;
#P connect 12 0 11 0;
#P fasten 10 0 11 0 165 161 51 161;
#P connect 11 0 16 0;
#P connect 16 0 15 0;
#P fasten 7 0 8 0 134 340 88 340;
#P connect 8 0 14 0;
#P connect 15 0 14 0;
#P connect 14 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 21 0;
#P connect 21 0 27 0;
#P connect 27 0 28 0;
#P connect 28 0 26 0;
#P fasten 11 1 5 0 65 193 115 193;
#P connect 5 0 8 1;
#P fasten 23 0 25 0 152 501 117 501;
#P connect 25 0 27 1;
#P connect 11 0 6 0;
#P connect 6 0 9 0;
#P connect 9 0 7 0;
#P fasten 21 1 23 0 105 470 152 470;
#P connect 23 0 24 0;
#P connect 24 0 29 0;
#P fasten 26 0 29 0 88 609 152 609;
#P connect 4 0 10 0;
#P fasten 20 0 22 0 245 368 180 368;
#P connect 22 0 23 2;
#P connect 10 1 9 1;
#P fasten 2 0 9 1 221 269 211 269;
#P fasten 10 1 20 0 211 225 245 225;
#P lcolor 15;
#P pop;
#P newobj 244 279 89 9109516 p submenus;
#B color 6;
#N vpatcher 549 71 955 642;
#P window setfont “Sans Serif” 12.;
#P window linecount 1;
#P newex 297 209 70 9109516 s help_hub;
#B color 11;
#P button 297 193 15 0;
#P button 160 323 15 0;
#P window linecount 0;
#P newex 68 445 35 9109516 zl rev;
#P newex 68 421 39 9109516 zl join;
#P newex 68 469 45 9109516 _ set 0;
#P newex 97 397 27 9109516 – 1;
#P message 132 441 52 9109516 rows $1;
#N counter;
#X flags 0 0;
#P newobj 132 368 66 9109516 counter;
#P message 160 337 14 9109516 1;
#P newex 68 335 27 9109516 t l b;
#P window linecount 1;
#P newex 132 505 61 9109516 s ob_blox;
#B color 11;
#P window linecount 0;
#P message 233 188 51 9109516 clear all;
#P window linecount 1;
#P newex 233 209 61 9109516 s ob_blox;
#B color 11;
#P message 196 188 35 9109516 clear;
#P objectname clear;
#P newex 68 310 48 9109516 leftgate;
#P newex 106 285 43 9109516 lsame;
#P newex 68 98 102 9109516 t dump b;
#P newex 68 156 56 9109516 route set;
#P newex 68 223 51 9109516 lswap 2;
#P newex 57 49 43 9109516 _ read;
#P newex 68 127 70 9109516 text;
#B color 14;
#P newex 68 246 40 9109516 t l l l;
#P comment 78 81 202 9109516 dump_when_done_reading_textfile;
#P inlet 57 31 15 0;
#P outlet 196 231 15 0;
#P outlet 81 202 15 0;
#P window linecount 0;
#P comment 196 245 82 9109516 initialize_stuff;
#P comment 74 31 69 9109516 oblist.txt_in;
#P comment 97 201 44 9109516 to_coll;
#P connect 5 0 9 0;
#P fasten 8 1 12 0 103 153 50 153 50 93 73 93;
#P fasten 9 0 8 0 62 124 73 124;
#P connect 12 0 8 0;
#P connect 8 0 11 0;
#P connect 11 0 10 0;
#P connect 10 0 7 0;
#P connect 7 0 14 0;
#P connect 14 0 19 0;
#P connect 19 0 25 0;
#P connect 25 0 26 0;
#P connect 26 0 24 0;
#P fasten 11 0 3 0 73 193 86 193;
#P fasten 21 0 23 0 137 392 102 392;
#P connect 23 0 25 1;
#P connect 7 2 13 0;
#P connect 13 0 14 1;
#P fasten 19 1 21 0 90 361 137 361;
#P connect 21 0 22 0;
#P fasten 24 0 18 0 73 494 137 494;
#P connect 22 0 18 0;
#P fasten 15 0 13 1 201 218 144 218;
#P connect 7 1 13 1;
#P connect 12 1 27 0;
#P connect 27 0 20 0;
#P connect 20 0 21 2;
#P fasten 12 1 15 0 165 133 201 133;
#P fasten 15 0 4 0 201 212 201 212;
#P fasten 12 1 17 0 165 130 238 130;
#P connect 17 0 16 0;
#P fasten 12 1 28 0 165 127 302 127;
#P connect 28 0 29 0;
#P pop;
#P newobj 244 182 88 9109516 p main_menu;
#B color 6;
#P comment 235 207 41 9109516 2_coll;
#P hidden newex 0 109 58 9109516 r ob_blox;
#B color 11;
#P user jit.cellblock 0 21 146 232 149 10 1 19 130 15 0 1 1 0 0 0 1 0 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 objectname cellblox;
#P hidden connect 1 0 0 0;
#P lcolor 5;
#P hidden connect 19 0 12 0;
#P fasten 19 0 17 0 5 340 30 340;
#P connect 17 0 18 0;
#P connect 18 0 16 0;
#P hidden fasten 15 0 13 0 73 277 149 277;
#P hidden fasten 14 0 13 0 35 279 149 279;
#P hidden fasten 12 0 13 0 5 281 149 281;
#P hidden fasten 0 0 5 0 5 240 189 240;
#P fasten 5 0 11 0 189 276 180 276 180 131 229 131;
#P connect 7 0 11 0;
#P fasten 3 1 5 1 327 247 229 247;
#P fasten 11 0 5 1 229 210 229 210;
#P lcolor 15;
#P connect 11 0 6 0;
#P fasten 8 0 6 0 319 154 249 154;
#P fasten 10 0 6 0 302 154 249 154;
#P connect 6 0 3 0;
#P connect 3 0 4 0;
#P fasten 5 1 4 1 229 275 288 275;
#P fasten 13 0 10 0 149 339 369 339 369 98 302 98;
#P connect 10 1 8 0;
#P connect 3 1 4 2;
#P pop;
#BP pop 0;
#P window setfont “Sans Serif” 12.;
#P window linecount 1;
#P comment 173 37 360 9109516 needs taptools 1.5 , jasch , Lobjects , and f0 abstractions installed;
#P pop;

#26215
May 30, 2006 at 3:15pm

This didn’t work for me until I replaced all instances
of “-” with ‘prepend set’.
I do have the Jasch objects installed, including “-”,
but it doesn’t take an argument, and giving it one
produces a bogus object box.
I think “-” is meant more for using as a shortcut
for ‘prepend set’ in cases where you just want to view
something in a message box,
cheers
Roger

binez0r wrote:
I made an object-list.txt file parser for use with
cellblock. Its a freebie, embedded to make it easier
to open, but easily deencapsulated. You’ll need
taptools 1.5, jasch, Lobjects, and f0 abstractions
installed, which are available for both XP and osx.
Just something I’ve had on my computer for ages that I
thought someone might find useful (I use it all the
time it seems like, mainly for inspiration).. You’ll
need your oblists named the default names
(jitter-objectlist.txt, max-objectlist.txt,
audio-objectlist.txt) and they need to be in your
path…z0r.

binez0r
[pardon my blindness]

#77972
May 30, 2006 at 8:19pm

you must have an older version of “_” (underscore) installed, because
somewhere along the way it acquired full grown typed-in arguments…

personally i find the fact that the distributed patch is in an
embedded bpatcher much more annoying than the copious use of 3rd
parties…

cheers

/*j

#77973
May 31, 2006 at 12:57am

hrm replacing all _ with prepend set would ruin the patch, I would imagine…

Sorry Jasch :I

Jasch/Lobjects/f0/tap.tools are like my lifeblood. Its hard for me to avoid using them (or create max equivalents)… If I had to choose, I’d say that _ was by far the most useful 3rd party external to date. Everyone should become well aquainted with its greatness.

#77974
May 31, 2006 at 7:43am

That’s strange, because I suspected this might be the
case, so I downloaded the latest version and installed
it before posting – an old version somewhere in the
search path, perhaps ?
cheers
Roger

#77975

You must be logged in to reply to this topic.