Forums > Jitter

order of files loaded in jit.matrxiset

February 16, 2008 | 3:31 pm

Hello,

I wrote this patch allowing to load a bunch of files in a [jit.matrixset].
I can’t figure out why the files aren’t alphabetical in the ubu, since they are in the finder.
Thanks for help.

max v2;
#N vpatcher 72 64 787 686;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 89 57 33 196617 clear;
#P newex 258 391 34 196617 defer;
#P newex 192 273 30 196617 t b s;
#P newex 322 318 29 196617 t 0 i;
#P user jit.pwindow 91 381 82 62 0 1 0 0 1 0;
#P message 306 344 33 196617 set 0;
#P newex 192 191 44 196617 del 100;
#P window linecount 2;
#P newex 192 241 87 196617 jit.matrix 4 char 640 480;
#P window linecount 1;
#P newex 322 170 74 196617 route populate;
#P newex 192 101 124 196617 b;
#N counter;
#X flags 0 0;
#P newobj 258 370 77 196617 counter;
#P message 331 253 80 196617 matrixcount $1;
#P comment 52 116 63 196617 recall index;
#P message 15 139 84 196617 outputmatrix $1;
#P number 15 113 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 20 74 420 304;
#P window setfont "Sans Serif" 14.;
#P newex 50 56 117 196622 opendialog fold;
#P message 171 84 116 196622 autopopulate 1;
#P newex 50 82 114 196622 prepend prefix;
#P inlet 50 30 15 0;
#P outlet 50 116 15 0;
#P connect 1 0 4 0;
#P connect 4 0 2 0;
#P fasten 3 0 0 0 176 111 55 111;
#P connect 2 0 0 0;
#P fasten 1 0 3 0 55 49 176 49;
#P pop;
#P newobj 192 121 92 196617 p charger_dossier;
#P button 192 82 15 0;
#P comment 207 83 89 196617 folder;
#P user ubumenu 192 146 100 196617 0 1 1 0;
#X add 1-AlexandreNevsky.jpg;
#X add 10-chaplin3.jpg;
#X add 11-clap1.jpg;
#X add 12-Jeanne.png;
#X add 13-film.jpg;
#X add 14-HarryPotter1.jpg;
#X add 15-HarryPotter2.jpg;
#X add 16-indiana.jpg;
#X add 17-lunettes.jpg;
#X add 18-mount_rushmore.jpg;
#X add 19-North_by_northwest.jpg;
#X add 2-aucourtbumped.jpeg;
#X add 20-objectif.jpg;
#X add 21-photogrammes3.jpg;
#X add 22-Pierrot1.jpg;
#X add 23-Pierrot2.jpg;
#X add 24-psychose.jpg;
#X add 25-salle.jpg;
#X add 26-visage.jpg;
#X add 27-noir.jpg;
#X add 28-ZZgris.jpg;
#X add 29-cadre.jpg;
#X add 3-ballesfoin2.jpg;
#X add 30-facade.jpg;
#X add 4-camera.gif;
#X add 5-camera1.jpg;
#X add 6-camera2.jpg;
#X add 7-chaplin-1.jpg;
#X add 8-Chaplin-ModernTimes.jpg;
#X add 9-Chaplin.jpg;
#X prefix_set 0 1 kyred:/Users/derrickgiscloux/mao/max-drik/1.2rea-jitter/cinema/images/cinema/ 0;
#P message 72 234 49 196617 index $1;
#P newex 72 308 152 196617 jit.matrixset 6 4 char 640 480;
#N vpatcher 10 59 610 459;
#P outlet 91 114 15 0;
#P inlet 97 82 15 0;
#P connect 0 0 1 0;
#P pop;
#P newobj 322 207 13 196617 p;
#P newex 210 219 98 196617 pack importmovie s;
#P newex 192 166 51 196617 t b bang i;
#P connect 9 0 10 0;
#P fasten 0 2 4 0 237 187 77 187;
#P fasten 21 1 3 0 217 299 77 299;
#P fasten 10 0 3 0 20 293 77 293;
#P fasten 12 0 3 0 336 302 77 302;
#P connect 4 0 3 0;
#P connect 3 0 19 0;
#P connect 7 0 14 0;
#P connect 14 0 8 0;
#P fasten 20 0 5 0 327 341 412 341 412 142 197 142;
#P connect 8 0 5 0;
#P fasten 22 0 5 0 263 416 414 416 414 139 197 139;
#P connect 23 0 5 0;
#P connect 5 0 0 0;
#P connect 0 0 17 0;
#P fasten 1 0 16 0 215 237 197 237;
#P connect 17 0 16 0;
#P connect 16 0 21 0;
#P connect 0 1 1 0;
#P fasten 21 0 13 0 197 294 263 294;
#P fasten 18 0 13 0 311 364 263 364;
#P connect 13 0 22 0;
#P fasten 5 1 1 1 242 204 303 204;
#P connect 14 1 18 0;
#P connect 5 2 15 0;
#P connect 15 0 2 0;
#P connect 2 0 20 0;
#P fasten 20 1 13 4 346 364 327 364;
#P connect 2 0 12 0;
#P pop;



Viewing 2 posts - 1 through 2 (of 2 total)