how to save/recall multiple coll in one click?

May 27, 2008 at 9:38pm

how to save/recall multiple coll in one click?

hi there
I use several coll(s) in my patch to store some kind of playlists.
Until now I had to save on disk each coll’s content individualy to get a kind of preset management for end user.

I want the user to be able to load a single file to restore the content of all the coll(s).

is there any simple way to achieve this?

I took a look at pattr but it doesn’t want to bind to a coll when I tried.

the only way I see is to use only one coll for all my needs then save its content, but it is a lot of work to rebuild the patch around this concept.

thanks a lot for you help.

#38102
May 27, 2008 at 10:31pm

message: flags 1 0 ? see help file (patcher i/o)

hth ole

#132193
May 27, 2008 at 10:55pm

Hello Olivier,

For this I would definitely use a setup of either:

1) Multiple “read file_x” “write file_x” “whatever” messages, connected
through a [t b b b b b], or , perhaps more elegantly,

2)a solution using route, sprintf and send objects.

I guess in order to provide an example or some more precise help I would
need to see a patch, demonstrating the problem.

andreas wetterberg.

Olivier Sebillotte skrev:
> hi there
> I use several coll(s) in my patch to store some kind of playlists.
> Until now I had to save on disk each coll’s content individualy to get a kind of preset management for end user.
>
>
> I want the user to be able to load a single file to restore the content of all the coll(s).
>
> is there any simple way to achieve this?
>
> I took a look at pattr but it doesn’t want to bind to a coll when I tried.
>
> the only way I see is to use only one coll for all my needs then save its content, but it is a lot of work to rebuild the patch around this concept.
>
> thanks a lot for you help.
>
> .
>
>

#132194
May 28, 2008 at 5:29am

Quote: oe7 wrote on Wed, 28 May 2008 00:31
—————————————————-
> message: flags 1 0 ? see help file (patcher i/o)
>
> hth ole
—————————————————-

thanks Ole,
but this is not an option for me because the final version of the patch will be a .mxf, so the user won’t be able to modify nor save the patch.
unless I missed something about .mxf.

olivier

#132195
May 28, 2008 at 5:46am

Quote: Wetterberg wrote on Wed, 28 May 2008 00:55
—————————————————-
> Hello Olivier,
>
> For this I would definitely use a setup of either:
>
> 1) Multiple “read file_x” “write file_x” “whatever” messages, connected
> through a [t b b b b b], or , perhaps more elegantly,
>
> 2)a solution using route, sprintf and send objects.
>

Thanks Andreas

well, I won’t post an example because it is more a question of workflow for the en user than anything else.
I will try to make it cristal clear,
here it is:

Imagine 6 virtual audio file players
each player as its own play list
the playlists are managed via a coll objects
At the end of building a play list for each audio player, the end user can save it as a file on disk via the “write” message sent to coll,
I send a simple “write”, so the user can choose a name of its own to save the playlist.

the next time you open the pathc, you load the playlists via a “read” message send to coll, then choose the file from your finder.

this works great

except that you have to do this for every audio player.

what I want is:

1)keep this scheme to let the user the possibility to load a previously saved playlist build for a particular player into another player

2) offer a second option to the user to save / load the 6 playlists with a very few clicks without having to name each playklist before saving, but I want to give a name to this “global preset”, so that I will be able to create as many as I want.

if 1) and 2) makes my request impossible, I could forget about 1) and keep 2).but I want to keep a coll opbjet for each player.

is this more clear now ?

thanks a lot for your help

Olivier

#132196
May 28, 2008 at 10:58am

The way I do this is [savedialog fold], i write all the colls to the same folder. The folder name is what the user should specify, the colls always have the same names.

Works pretty well imo, only the MacOs dialog isn’t everything (yes, it still displays ‘open’ in the top bar instead of ‘save’ when using fold).

#132197
May 28, 2008 at 11:23am

I hope you are on max5…
let me know if it works for you

ole

#132198
May 28, 2008 at 4:22pm

hey! many suggestions coming there :-)

thanks Bas and Oe7.

after a few hours tweeking Oe7′s patch I managed a solution not that bad.
Here it is attached.

I can do all I wanted, I got 4 coll dumps, one for each of the 3 colls plus a kind of master list I called preset.

for example:
test olivier
test olivier1
test olivier2
test olivier3

So the end user will be able to
- name the playlists (I add “tosymbol” to avoid spaces issues).
- save it wherever he wants on its disk
- load one playlist (test olivier1,2,3) or the 3 playlist in a single click (test olivier).

So far so good

But one issue remains,

He must leave the playlists in the same folder as the .maxpat

which lead us to a kind of messy folder very quiclky.

Of course he can save “test olivier” where he wants, the opendialog will let him navigate thru the disk.
But the others colls won’t find there respective files (test olivier1,2,3)

The bottleneck is coll object, to load a file into it you just specify its name, not the file path.
Coll will look only into the Max file’s paths.
If you let the .maxpat beside the coll files it works because Max keeps the path of the latest opened patch.

One solution could be to add in max’s “Files preferences” the folders the user will create, but It won’t work when I will build a standalone application.

For fun I tried to connect a single “read” message to the 3 colls, if you click the “read” message Max opens a dialog box for each coll, one by one. Not so bad but not elegant enough for me.

I want a folder, named by the user and with all the colls dumps inside. This folder doesn’t have to be in a particular place.

So the last chance I see is to create a big coll, fill it with the datas from all other colls.
Then it will be very easy to save/load its content as I want.

All the job will be to create a scheme to fill it,and another one to dump its content to the original colls.
I will keep the option to save individual coll contents by the way.

what do you thing of this amigos ?

Olivier

PS: sorry for quite long message

#132199
Jun 2, 2008 at 8:39am

Coll will read a full filepath just fine, that’s exactly what i do. Just send it a ‘read’ message with the path behind it. Do make sure your symbols are correct. Here (sorry, i don’t have max5 atm):

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 307 160 68 196617 prepend read;
#P newex 307 132 51 196617 tosymbol;
#P newex 207 160 68 196617 prepend read;
#P newex 207 132 51 196617 tosymbol;
#P button 207 42 15 0;
#P newex 307 108 80 196617 sprintf %scoll2;
#P newex 207 108 80 196617 sprintf %scoll1;
#P newex 207 68 76 196617 opendialog fold;
#N coll ;
#P newobj 307 185 53 196617 coll;
#N coll ;
#P newobj 207 185 53 196617 coll;
#P connect 2 0 3 0;
#P connect 2 0 4 0;
#P connect 4 0 8 0;
#P connect 9 0 1 0;
#P connect 8 0 9 0;
#P connect 7 0 0 0;
#P connect 6 0 7 0;
#P connect 3 0 6 0;
#P connect 5 0 2 0;
#P window clipboard copycount 10;

#132200
Jun 2, 2008 at 7:21pm

Quote: Bas van der Graaff wrote on Mon, 02 June 2008 10:39
—————————————————-
> Coll will read a full filepath just fine, that’s exactly what i do. Just send it a ‘read’ message with the path behind it. Do make sure your symbols are correct. Here (sorry, i don’t have max5 atm):
>
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P newex 307 160 68 196617 prepend read;
> #P newex 307 132 51 196617 tosymbol;
> #P newex 207 160 68 196617 prepend read;
> #P newex 207 132 51 196617 tosymbol;
> #P button 207 42 15 0;
> #P newex 307 108 80 196617 sprintf %scoll2;
> #P newex 207 108 80 196617 sprintf %scoll1;
> #P newex 207 68 76 196617 opendialog fold;
> #N coll ;
> #P newobj 307 185 53 196617 coll;
> #N coll ;
> #P newobj 207 185 53 196617 coll;
> #P connect 2 0 3 0;
> #P connect 2 0 4 0;
> #P connect 4 0 8 0;
> #P connect 9 0 1 0;
> #P connect 8 0 9 0;
> #P connect 7 0 0 0;
> #P connect 6 0 7 0;
> #P connect 3 0 6 0;
> #P connect 5 0 2 0;
> #P window clipboard copycount 10;
>
—————————————————-

Thanks a lot Bas, I didn’t know that, I can’t remember reading this in the MAx5 reference manual for Coll.
It works for Read and Write Coll wherever you want !

Too bad I find this now, I had to build a scheme to merge all my colls in a big one, then save / read it.
It works fine and wasn’t that difficult though.
… and I have only one file to manage instead of 6.

Anyway, thanks again to everyone there who helped me, I wish this will be others people too.

#132201
Jun 2, 2008 at 7:49pm

Hi

I’ve use this way on a patch.

just add many cools as you like! It work fine!

max v2;
#N vpatcher 15 55 212 250;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 22 40 41 9109513 SHOW;
#P hidden newex 22 110 29 9109513 dac~;
#P button 79 59 15 0;
#P comment 95 59 40 9109513 Load;
#P button 22 59 15 0;
#P comment 38 59 40 9109513 Save;
#N vpatcher 249 205 523 421;
#P origin -17 0;
#P outlet 156 135 15 0;
#P window setfont “Sans Serif” 9.;
#P message 128 68 26 9109513 read;
#P button 145 46 15 0;
#P inlet 128 46 15 0;
#P comment 161 46 40 9109513 Load;
#N vpatcher 177 110 1683 666;
#P origin -234 0;
#P outlet 179 94 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 200 94 46 9109513 s preload;
#P inlet 158 50 15 0;
#P window linecount 0;
#P newex 58 467 46 9109513 s preload;
#N vpatcher 289 141 804 541;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P newex 21 225 31 9109513 s ubu;
#P newex 21 96 78 9109513 t dump clear l;
#P newex 21 194 74 9109513 prepend append;
#P newex 21 173 64 9109513 unpack nome;
#N coll lista_audio;
#P newobj 21 151 69 9109513 coll lista_audio;
#P outlet 228 262 15 0;
#P newex 134 184 27 9109513 + 2;
#P window linecount 3;
#P newex 134 137 417 9109513 unpack 0 nome 2 2 nivel panx pany “1 0 0 0 0 0 0 0″ “0 1 0 0 0 0 0 0″ “0 0 1 0 0 0 0 0″ “0 0 0 1 0 0 0 0″ “0 0 0 0 1 0 0 0″ 50. 50. 250 250 250 250 2. extra extra extra extra extra extra extra extra extra extra caminho 0. 2.;
#P inlet 21 51 15 0;
#P window linecount 1;
#P newex 228 217 107 9109513 pack 2 caminho 0. 0. 1.;
#P message 228 240 111 9109513 preload $1 $2 $3 $4 1 $5;
#P connect 2 0 9 0;
#P connect 9 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 8 0;
#P connect 8 0 10 0;
#P fasten 9 1 10 0 60 146 16 146 16 218 26 218;
#P connect 9 2 3 0;
#P connect 3 0 4 0;
#P fasten 4 0 1 0 139 207 233 207;
#P connect 1 0 0 0;
#P connect 0 0 5 0;
#P fasten 3 29 1 1 516 207 257 207;
#P fasten 3 30 1 2 529 210 281 210;
#P fasten 3 31 1 3 542 214 305 214;
#P pop;
#P newobj 58 444 68 9109513 p preload_load;
#N coll cuelist4;
#P newobj 556 94 57 9109513 coll cuelist4;
#N coll cuelist3;
#P newobj 497 94 57 9109513 coll cuelist3;
#N coll cuelist2;
#P newobj 438 94 57 9109513 coll cuelist2;
#P button 1384 252 15 0;
#P newex 1384 275 27 9109513 t b 0;
#P newex 1367 298 27 9109513 gate;
#P newex 1256 275 110 9109513 if $i1 == -1 then 0 else 1;
#P number 1445 252 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1367 377 40 9109513 t i i i;
#P newex 1411 324 99 9109513 if $i1 != $i2 then bang;
#P newex 1332 354 27 9109513 + 1;
#P newex 1367 354 27 9109513 int;
#N coll cuelist4;
#P newobj 1382 442 57 9109513 coll cuelist4;
#N coll file;
#P newobj 1382 421 53 9109513 coll file;
#P newex 1382 400 83 9109513 sprintf cuelist1%d;
#P button 1133 252 15 0;
#P newex 1133 275 27 9109513 t b 0;
#P newex 1116 298 27 9109513 gate;
#P newex 1005 275 110 9109513 if $i1 == -1 then 0 else 1;
#P number 1194 252 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1116 377 40 9109513 t i i i;
#P newex 1160 324 99 9109513 if $i1 != $i2 then bang;
#P newex 1081 354 27 9109513 + 1;
#P newex 1116 354 27 9109513 int;
#N coll cuelist3;
#P newobj 1131 442 57 9109513 coll cuelist3;
#N coll file;
#P newobj 1131 421 53 9109513 coll file;
#P newex 1131 400 83 9109513 sprintf cuelist1%d;
#P button 882 252 15 0;
#P newex 882 275 27 9109513 t b 0;
#P newex 865 298 27 9109513 gate;
#P newex 754 275 110 9109513 if $i1 == -1 then 0 else 1;
#P number 943 252 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 865 377 40 9109513 t i i i;
#P newex 909 324 99 9109513 if $i1 != $i2 then bang;
#P newex 830 354 27 9109513 + 1;
#P newex 865 354 27 9109513 int;
#N coll cuelist2;
#P newobj 880 442 57 9109513 coll cuelist2;
#N coll file;
#P newobj 880 421 53 9109513 coll file;
#P newex 880 400 83 9109513 sprintf cuelist1%d;
#P button 631 252 15 0;
#P newex 631 275 27 9109513 t b 0;
#P newex 614 298 27 9109513 gate;
#P newex 503 275 110 9109513 if $i1 == -1 then 0 else 1;
#P number 692 252 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 614 377 40 9109513 t i i i;
#P newex 658 324 99 9109513 if $i1 != $i2 then bang;
#P newex 579 354 27 9109513 + 1;
#P newex 614 354 27 9109513 int;
#P button 380 252 15 0;
#P newex 380 275 27 9109513 t b 0;
#P newex 363 298 27 9109513 gate;
#P newex 252 275 110 9109513 if $i1 == -1 then 0 else 1;
#P number 441 252 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 363 377 40 9109513 t i i i;
#P newex 407 324 99 9109513 if $i1 != $i2 then bang;
#P newex 328 354 27 9109513 + 1;
#P newex 363 354 27 9109513 int;
#P button 129 252 15 0;
#P newex 129 275 27 9109513 t b 0;
#P newex 112 298 27 9109513 gate;
#P newex 1 275 110 9109513 if $i1 == -1 then 0 else 1;
#P number 190 252 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 112 377 40 9109513 t i i i;
#P newex 156 324 99 9109513 if $i1 != $i2 then bang;
#P newex 77 354 27 9109513 + 1;
#P newex 112 354 27 9109513 int;
#P newex 158 159 27 9109513 t b i;
#N coll cuelist1;
#P newobj 629 442 57 9109513 coll cuelist1;
#N coll file;
#P newobj 629 421 53 9109513 coll file;
#P newex 629 400 83 9109513 sprintf cuelist1%d;
#N coll scriptlist;
#P newobj 378 442 60 9109513 coll scriptlist;
#N coll file;
#P newobj 378 421 53 9109513 coll file;
#P newex 378 400 86 9109513 sprintf scriptlist%d;
#N coll lista_audio;
#P newobj 248 94 69 9109513 coll lista_audio;
#N coll cuelist1;
#P newobj 379 94 58 9109513 coll cuelist1;
#N coll scriptlist;
#P newobj 318 94 60 9109513 coll scriptlist;
#P newex 158 68 75 9109513 t index 1 clear 0;
#N coll lista_audio;
#P newobj 127 444 69 9109513 coll lista_audio;
#N coll file;
#P newobj 127 421 53 9109513 coll file;
#P newex 2 189 170 9109513 t b b b b b b b b b b b b 0;
#P newex 127 400 95 9109513 sprintf lista_audio%d;
#P newex 158 137 125 9109513 unpack 0 0 0 0 0 0;
#N coll file;
#P newobj 158 116 53 9109513 coll file;
#P fasten 21 0 22 0 195 271 6 271;
#P fasten 16 0 3 0 163 185 7 185;
#P fasten 4 0 83 0 132 442 63 442;
#P connect 83 0 84 0;
#P fasten 20 2 18 0 147 398 72 398 72 350 82 350;
#P fasten 22 0 23 0 6 296 117 296;
#P connect 23 0 17 0;
#P fasten 19 0 17 0 161 346 117 346;
#P connect 17 0 20 0;
#P connect 20 1 2 0;
#P connect 2 0 4 0;
#P connect 4 0 5 0;
#P fasten 3 0 25 0 7 250 134 250;
#P connect 25 0 24 0;
#P connect 24 0 23 1;
#P fasten 24 1 17 1 151 350 134 350;
#P fasten 18 0 17 1 82 377 107 377 107 350 134 350;
#P fasten 20 0 19 0 117 401 69 401 69 320 161 320;
#P connect 85 0 6 0;
#P connect 6 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 16 0;
#P fasten 6 3 87 0 226 90 184 90;
#P connect 6 1 87 0;
#P fasten 16 1 21 0 180 206 195 206;
#P connect 6 2 86 0;
#P fasten 21 0 19 1 195 271 250 271;
#P fasten 6 2 9 0 205 92 253 92;
#P fasten 30 0 31 0 446 271 257 271;
#P fasten 6 2 7 0 205 92 323 92;
#P fasten 29 2 27 0 398 398 323 398 323 350 333 350;
#P fasten 31 0 32 0 257 296 368 296;
#P fasten 28 0 26 0 412 346 368 346;
#P connect 32 0 26 0;
#P connect 26 0 29 0;
#P connect 29 1 10 0;
#P connect 10 0 11 0;
#P connect 11 0 12 0;
#P fasten 6 2 8 0 205 92 384 92;
#P fasten 3 1 34 0 20 248 385 248;
#P connect 34 0 33 0;
#P connect 33 0 32 1;
#P fasten 27 0 26 1 333 377 358 377 358 350 385 350;
#P fasten 33 1 26 1 402 350 385 350;
#P fasten 29 0 28 0 368 401 320 401 320 320 412 320;
#P fasten 6 2 80 0 205 92 443 92;
#P fasten 1 1 30 0 186 204 446 204;
#P fasten 30 0 28 1 446 271 501 271;
#P fasten 6 2 81 0 205 92 502 92;
#P fasten 39 0 40 0 697 271 508 271;
#P fasten 6 2 82 0 205 92 561 92;
#P fasten 38 2 36 0 649 398 574 398 574 350 584 350;
#P fasten 40 0 41 0 508 296 619 296;
#P connect 41 0 35 0;
#P fasten 37 0 35 0 663 346 619 346;
#P connect 35 0 38 0;
#P connect 38 1 13 0;
#P connect 13 0 14 0;
#P connect 14 0 15 0;
#P fasten 3 2 43 0 33 246 636 246;
#P connect 43 0 42 0;
#P connect 42 0 41 1;
#P fasten 42 1 35 1 653 350 636 350;
#P fasten 36 0 35 1 584 377 609 377 609 350 636 350;
#P fasten 38 0 37 0 619 401 571 401 571 320 663 320;
#P fasten 1 2 39 0 209 202 697 202;
#P fasten 39 0 37 1 697 271 752 271;
#P fasten 51 0 52 0 948 271 759 271;
#P fasten 50 2 48 0 900 398 825 398 825 350 835 350;
#P fasten 52 0 53 0 759 296 870 296;
#P fasten 49 0 47 0 914 346 870 346;
#P connect 53 0 47 0;
#P connect 47 0 50 0;
#P connect 50 1 44 0;
#P connect 44 0 45 0;
#P connect 45 0 46 0;
#P fasten 3 3 55 0 46 244 887 244;
#P connect 55 0 54 0;
#P connect 54 0 53 1;
#P fasten 48 0 47 1 835 377 860 377 860 350 887 350;
#P fasten 54 1 47 1 904 350 887 350;
#P fasten 50 0 49 0 870 401 822 401 822 320 914 320;
#P fasten 1 3 51 0 232 200 948 200;
#P fasten 51 0 49 1 948 271 1003 271;
#P fasten 63 0 64 0 1199 271 1010 271;
#P fasten 62 2 60 0 1151 398 1076 398 1076 350 1086 350;
#P fasten 64 0 65 0 1010 296 1121 296;
#P connect 65 0 59 0;
#P fasten 61 0 59 0 1165 346 1121 346;
#P connect 59 0 62 0;
#P connect 62 1 56 0;
#P connect 56 0 57 0;
#P connect 57 0 58 0;
#P fasten 3 4 67 0 59 242 1138 242;
#P connect 67 0 66 0;
#P connect 66 0 65 1;
#P fasten 66 1 59 1 1155 350 1138 350;
#P fasten 60 0 59 1 1086 377 1111 377 1111 350 1138 350;
#P fasten 62 0 61 0 1121 401 1073 401 1073 320 1165 320;
#P fasten 1 4 63 0 255 198 1199 198;
#P fasten 63 0 61 1 1199 271 1254 271;
#P fasten 75 0 76 0 1450 271 1261 271;
#P fasten 74 2 72 0 1402 398 1327 398 1327 350 1337 350;
#P fasten 76 0 77 0 1261 296 1372 296;
#P fasten 73 0 71 0 1416 346 1372 346;
#P connect 77 0 71 0;
#P connect 71 0 74 0;
#P connect 74 1 68 0;
#P connect 68 0 69 0;
#P connect 69 0 70 0;
#P fasten 3 5 79 0 72 240 1389 240;
#P connect 79 0 78 0;
#P connect 78 0 77 1;
#P fasten 72 0 71 1 1337 377 1362 377 1362 350 1389 350;
#P fasten 78 1 71 1 1406 350 1389 350;
#P fasten 74 0 73 0 1372 401 1324 401 1324 320 1416 320;
#P fasten 1 5 75 0 278 196 1450 196;
#P fasten 75 0 73 1 1450 271 1505 271;
#P pop;
#P newobj 156 111 41 9109513 p loader;
#N coll file;
#P newobj 128 89 53 9109513 coll file;
#P button 45 46 15 0;
#P inlet 28 46 15 0;
#N vpatcher 86 30 1043 581;
#P origin 12 0;
#P button 758 97 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 372 155 31 9109513 dump;
#P message 639 155 31 9109513 dump;
#P newex 641 229 27 9109513 int;
#N coll cuelist4;
#P newobj 639 181 68 9109513 coll cuelist4;
#P message 551 155 31 9109513 dump;
#P newex 553 229 27 9109513 int;
#N coll cuelist3;
#P newobj 551 181 68 9109513 coll cuelist3;
#P message 463 155 31 9109513 dump;
#P newex 465 229 27 9109513 int;
#N coll cuelist2;
#P newobj 463 181 68 9109513 coll cuelist2;
#P window linecount 0;
#P newex 25 330 27 9109513 t b l;
#N coll file;
#P newobj 798 145 53 9109513 coll file;
#P message 25 355 154 9109513 store index 17 -1 0 -1 -1 -1;
#P newex 25 308 81 9109513 prepend set store;
#P newex 25 286 146 9109513 pack index 0 0 0 0 0 0;
#N coll file;
#P newobj 25 376 53 9109513 coll file;
#P newex 12 181 183 9109513 t b index b b b b b b b b b b b b;
#P message 297 155 31 9109513 dump;
#P message 210 155 31 9109513 dump;
#P newex 212 229 27 9109513 int;
#P newex 295 229 27 9109513 int;
#P newex 374 229 27 9109513 int;
#P newex 738 121 53 9109513 t b -1 clear;
#N coll scriptlist;
#P newobj 297 181 57 9109513 coll scriptlist;
#N coll cuelist1;
#P newobj 372 181 68 9109513 coll cuelist1;
#N coll lista_audio;
#P newobj 210 181 69 9109513 coll lista_audio;
#P outlet 12 413 15 0;
#P inlet 738 52 15 0;
#P fasten 2 3 11 0 272 204 202 204 202 172 17 172;
#P connect 11 0 1 0;
#P connect 11 1 13 0;
#P connect 13 0 14 0;
#P connect 14 0 17 0;
#P connect 17 1 15 0;
#P connect 17 0 15 0;
#P connect 15 0 12 0;
#P fasten 8 0 13 1 217 250 52 250;
#P fasten 7 0 13 2 300 252 74 252;
#P fasten 6 0 13 3 379 254 96 254;
#P fasten 19 0 13 4 470 256 118 256;
#P fasten 22 0 13 5 558 258 140 258;
#P fasten 25 0 13 6 646 260 162 260;
#P connect 4 3 9 0;
#P connect 9 0 2 0;
#P fasten 11 2 8 0 43 226 217 226;
#P fasten 5 1 8 1 764 207 234 207;
#P connect 2 1 8 1;
#P fasten 11 3 7 0 56 224 300 224;
#P connect 3 3 10 0;
#P connect 10 0 4 0;
#P fasten 5 1 7 1 764 207 317 207;
#P connect 4 1 7 1;
#P connect 18 3 27 0;
#P connect 27 0 3 0;
#P fasten 11 4 6 0 69 222 379 222;
#P fasten 5 1 6 1 764 207 396 207;
#P connect 3 1 6 1;
#P connect 21 3 20 0;
#P connect 20 0 18 0;
#P fasten 11 5 19 0 82 220 470 220;
#P fasten 5 1 19 1 764 207 487 207;
#P connect 18 1 19 1;
#P connect 24 3 23 0;
#P connect 23 0 21 0;
#P fasten 11 6 22 0 95 218 558 218;
#P fasten 5 1 22 1 764 207 575 207;
#P connect 21 1 22 1;
#P connect 5 0 26 0;
#P connect 26 0 24 0;
#P fasten 11 7 25 0 108 216 646 216;
#P fasten 5 1 25 1 764 207 663 207;
#P connect 24 1 25 1;
#P connect 28 0 5 0;
#P connect 0 0 5 0;
#P connect 5 2 16 0;
#P pop;
#P newobj 28 89 85 9109513 p coll_item_viewer;
#N vpatcher 15 55 1230 504;
#P origin 16 0;
#P window setfont “Sans Serif” 9.;
#N coll file;
#P newobj 1324 217 53 9109513 coll file;
#P message 1324 196 34 9109513 write;
#N vpatcher 5 40 520 440;
#P outlet 31 325 15 0;
#P window setfont “Sans Serif” 9.;
#P message 31 82 50 9109513;
#P inlet 29 54 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;
#P newobj 1174 247 42 9109513 p buffer;
#P newex 1098 218 27 9109513 t b l;
#P newex 1098 196 74 9109513 prepend append;
#P message 1159 140 31 9109513 dump;
#N coll cuelist4;
#P newobj 1159 159 57 9109513 coll cuelist4;
#N coll file;
#P newobj 1174 268 53 9109513 coll file;
#P newex 1174 196 139 9109513 sprintf set store cuelist4%s %s;
#N vpatcher 5 40 520 440;
#P outlet 31 325 15 0;
#P window setfont “Sans Serif” 9.;
#P message 31 82 50 9109513;
#P inlet 29 54 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;
#P newobj 958 247 42 9109513 p buffer;
#P newex 882 218 27 9109513 t b l;
#P newex 882 196 74 9109513 prepend append;
#P message 943 140 31 9109513 dump;
#N coll cuelist3;
#P newobj 943 159 57 9109513 coll cuelist3;
#N coll file;
#P newobj 958 268 53 9109513 coll file;
#P newex 958 196 139 9109513 sprintf set store cuelist3%s %s;
#N vpatcher 5 40 520 440;
#P outlet 31 325 15 0;
#P window setfont “Sans Serif” 9.;
#P message 31 82 50 9109513;
#P inlet 29 54 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;
#P newobj 742 247 42 9109513 p buffer;
#P newex 666 218 27 9109513 t b l;
#P newex 666 196 74 9109513 prepend append;
#P message 727 140 31 9109513 dump;
#N coll cuelist2;
#P newobj 727 159 57 9109513 coll cuelist2;
#N coll file;
#P newobj 742 268 53 9109513 coll file;
#P newex 742 196 139 9109513 sprintf set store cuelist2%s %s;
#N vpatcher 5 40 520 440;
#P outlet 31 325 15 0;
#P window setfont “Sans Serif” 9.;
#P message 31 82 50 9109513 store scriptlist4 4 “level 0.5000″ “p1 c resume l 1 level 0.5000 levelf 1500 go 0″;
#P inlet 29 54 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;
#P newobj 307 245 42 9109513 p buffer;
#N vpatcher 5 40 520 440;
#P outlet 31 325 15 0;
#P window setfont “Sans Serif” 9.;
#P message 31 82 50 9109513 store cuelist10 0 ertret “erytgh fnr rhjr” 0 “p1 py 9 lp 1 ll 0.6020 0 go 0″;
#P inlet 29 54 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;
#P newobj 526 247 42 9109513 p buffer;
#N vpatcher 5 40 520 440;
#P outlet 31 325 15 0;
#P window setfont “Sans Serif” 9.;
#P message 31 82 50 9109513 store lista_audio17 17 “drum 3.wav” 2 2 “0.0000 1.0000 13714.2627 1.0000″ “0.0000 0.5000 13714.2627 0.5000″ “0.0000 1.0000 13714.2627 1.0000″ “1 0 0 0 0 0 0 0″ “0 1 0 0 0 0 0 0″ “0 0 1 0 0 0 0 0″ “0 0 0 1 0 0 0 0″ “0 0 0 0 1 0 0 0″ 50. 50. 250 250 250 250 13714.262695 1. extra extra extra extra extra extra extra extra extra “C:/Documents and Settings/Rui Caldas/Ambiente de trabalho/sons/drum 3.wav” 0. 13714.262695;
#P inlet 29 54 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;
#P newobj 79 238 42 9109513 p buffer;
#P newex 0 218 27 9109513 t b l;
#P newex 0 196 74 9109513 prepend append;
#P message 60 140 31 9109513 dump;
#N coll lista_audio;
#P newobj 60 159 69 9109513 coll lista_audio;
#N coll file;
#P newobj 79 259 53 9109513 coll file;
#P newex 79 196 151 9109513 sprintf set store lista_audio%s %s;
#P newex 450 218 27 9109513 t b l;
#P newex 450 196 74 9109513 prepend append;
#P message 510 140 31 9109513 dump;
#N coll cuelist1;
#P newobj 510 159 58 9109513 coll cuelist1;
#N coll file;
#P newobj 526 268 53 9109513 coll file;
#P newex 526 196 139 9109513 sprintf set store cuelist1%s %s;
#P newex 231 218 27 9109513 t b l;
#P newex 231 196 74 9109513 prepend append;
#P message 291 140 31 9109513 dump;
#N coll scriptlist;
#P newobj 291 159 60 9109513 coll scriptlist;
#N coll file;
#P newobj 307 266 53 9109513 coll file;
#P newex 307 196 142 9109513 sprintf set store scriptlist%s %s;
#P inlet 60 117 15 0;
#P fasten 15 0 17 0 65 190 5 190;
#P connect 17 0 18 0;
#P connect 0 0 16 0;
#P connect 16 0 15 0;
#P connect 15 1 13 0;
#P connect 18 1 19 0;
#P connect 18 0 19 0;
#P connect 13 0 19 0;
#P connect 19 0 14 0;
#P fasten 15 1 13 1 84 190 225 190;
#P fasten 3 0 5 0 296 190 236 190;
#P connect 5 0 6 0;
#P connect 15 3 4 0;
#P connect 4 0 3 0;
#P connect 3 1 1 0;
#P connect 6 0 21 0;
#P connect 6 1 21 0;
#P connect 1 0 21 0;
#P connect 21 0 2 0;
#P fasten 3 1 1 1 312 190 444 190;
#P fasten 9 0 11 0 515 190 455 190;
#P connect 11 0 12 0;
#P connect 3 3 10 0;
#P connect 10 0 9 0;
#P connect 9 1 7 0;
#P connect 12 0 20 0;
#P connect 12 1 20 0;
#P connect 7 0 20 0;
#P connect 20 0 8 0;
#P fasten 9 1 7 1 531 190 660 190;
#P fasten 24 0 26 0 732 190 671 190;
#P connect 26 0 27 0;
#P connect 9 3 25 0;
#P connect 25 0 24 0;
#P connect 24 1 22 0;
#P connect 22 0 28 0;
#P connect 27 1 28 0;
#P connect 27 0 28 0;
#P connect 28 0 23 0;
#P fasten 24 1 22 1 747 190 876 190;
#P fasten 31 0 33 0 948 190 887 190;
#P connect 33 0 34 0;
#P connect 24 3 32 0;
#P connect 32 0 31 0;
#P connect 31 1 29 0;
#P connect 29 0 35 0;
#P connect 34 0 35 0;
#P connect 34 1 35 0;
#P connect 35 0 30 0;
#P fasten 31 1 29 1 963 190 1092 190;
#P fasten 38 0 40 0 1164 190 1103 190;
#P connect 40 0 41 0;
#P connect 31 3 39 0;
#P connect 39 0 38 0;
#P connect 38 1 36 0;
#P connect 36 0 42 0;
#P connect 41 1 42 0;
#P connect 41 0 42 0;
#P connect 42 0 37 0;
#P fasten 38 1 36 1 1179 190 1308 190;
#P connect 38 3 43 0;
#P connect 43 0 44 0;
#P pop;
#P newobj 28 111 37 9109513 p save;
#P comment 61 46 40 9109513 Save;
#P connect 3 0 2 0;
#P connect 4 0 2 0;
#P connect 2 0 1 0;
#P connect 9 0 10 0;
#P connect 8 0 10 0;
#P connect 10 0 5 0;
#P connect 5 2 6 0;
#P connect 6 0 11 0;
#P pop;
#P hidden newobj 22 84 67 9109513 p save_load;
#P user panel 17 37 122 46;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P hidden connect 3 0 1 0;
#P hidden connect 1 0 6 0;
#P hidden connect 5 0 1 1;
#P pop;

#132202
Jun 2, 2008 at 9:05pm

Quote: ..::RFC::.. wrote on Mon, 02 June 2008 21:49
—————————————————-
> Hi
>
> I’ve use this way on a patch.
>
> just add many cools as you like! It work fine!
>

—————————————————-

wao !

just to clarify:

is “lista audio” the audio file library where the cue lists choose audio file to play ?

what is scriptlist ?

very interesting indeed.

thanx

#132203
Jun 2, 2008 at 10:50pm

#132204
Jun 3, 2008 at 12:51am

Hi again…

Found this! Same thing, but this was to present on school… one hour before while waiting for my time to present, I made some modifications and corrections. Editor half work for example!

Thanks for your interest!

#132205
Jun 3, 2008 at 9:59am

Quote: ..::RFC::.. wrote on Tue, 03 June 2008 00:50
—————————————————-
I’m working in a theatre as a sound technician and I’ve got lot of free time to do that!
—————————————————-

this is a great patch !

Funny thing is that I am working on a player dedicated to theater application as well :-)

There are very few applications for this kind of job.

I started this project from scratch because I need a player with full OSC support to drive a Lemur.

My patch is almost ready to release, only a few tests to run.
For now it is very simple but I planned some of the features you already implemented.

I will let you know when it will be released.

Thanks again and bravo.

#132206
Jun 3, 2008 at 12:06pm

Hi

I’ve made lots of plays were I need many players. I make sound design like many light designers do they sets. I use lots of “sound point” and like to have control on ambience, effects and music. My experience tells me that we can’t have only a set of CD player to that because if you do, you will have lots of limitations… you can’t edit a CD in real time, and theatre is a real time thing. Lots of things can be different from the last show to today’s show. On a real time “happening” you have to control in real-time.

On SCAT6 I’ve tried to respond to that dynamics. But now I see that can be more complicated. My current project tries to respond in a diferent way. The concept is the same but the way as you interact with the software and the patch it self is more like “lego” you can fit some blocks to reach your needs, and the “players engine” is only one of the main blocks…

I’ll let you know about it, but for now, lets made the thing…

There are always lots to talk about… in theatre every day is like the first day! everything can be new and totally diferent!

Good luck for your patch…

#132207

You must be logged in to reply to this topic.