XML Feeds

.

[pluggo] Re: saving text with a preset

Jabbo jacopo at lan-muzic.com
Sat Dec 8 04:19:46 MST 2007


I use this "compromise".
It makes it necessary to save things in the same folder, but since it is data from a coll it gets easier.
And I only need 32 params. So i actually store a lot of things in the coll.
Once the coll is loaded it starts all the rest...
Though the stupid thing is to load the plugin correctly I have to use these 32 params with index 1, confusing for the user.
For sure there is another way.
And I know(again) about the ddg objects (which are great!) but, you know, it is always good to try it out on your own, even if you land on the same island!





max v2;
#N vpatcher 202 44 1165 627;
#P window setfont "Sans Serif" 9.;
#P window linecount 5;
#P comment 179 95 89 196617 converts atoi and adds 0s when blank spaces to reach list length of 32 \;;
#P window linecount 3;
#P comment 24 55 108 196617 delayed loadbang to re-load file name/path \;;
#P window linecount 2;
#P comment 8 263 108 196617 if no data is present in Host then load default>;
#P window linecount 1;
#N plugconfig;
#C useviews 0 1 1 1;
#C numprograms 64;
#C preempt 1;
#C sigvschange 1;
#C sigvsdefault 32;
#C windowsize;
#C defaultview Interface 0 0 0;
#C dragscroll 1;
#C noinfo;
#C package ????;
#C uniqueid 52 241 2;
#C initialpgm 1;
#P newobj 560 412 55 196617 plugconfig;
#P button 227 49 15 0;
#P message 185 447 33 196617 clear;
#P newex 185 464 62 196617 prepend set;
#P window setfont "Sans Serif" 10.;
#P message 117 486 677 196618 "Macintosh HD:/Library/Application Support/C74 Plug-in Support/Pluggo Support/fake path/FAKE";
#P window linecount 0;
#P message 288 221 495 196618;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 288 197 62 196617 prepend set;
#P newex 117 219 82 196617 route list select;
#P message 40 333 33 196617 FAKE;
#B color 12;
#P newex 117 251 417 196617 unpack 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;
#P newex 117 349 21 196617 t l;
#P newex 117 272 57 196617 route -1 0;
#P newex 50 111 50 196617 del 1000;
#P newex 50 35 48 196617 loadbang;
#P window linecount 3;
#P newex 117 303 417 196617 sprintf %c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c;
#P window linecount 1;
#P newex 117 388 51 196617 tosymbol;
#P newex 288 149 51 196617 tosymbol;
#P newex 117 444 51 196617 tosymbol;
#P button 50 136 15 0;
#P newex 288 176 73 196617 prepend write;
#P newex 117 465 62 196617 prepend set;
#P window linecount 2;
#P newex 117 412 253 196617 sprintf "Macintosh HD:/Library/Application Support/C74 Plug-in Support/Pluggo Support/fake path/%s";
#P window linecount 1;
#P newex 117 193 164 196617 plugmultiparam 1 32 -1 255 fixed;
#P objectname not;
#P newex 117 117 50 196617 deferlow;
#P newex 117 137 61 196617 zl group 32;
#P newex 117 96 60 196617 spell 32 -1;
#P newex 161 71 40 196617 t s s s;
#P window linecount 2;
#P newex 288 114 253 196617 sprintf "Macintosh HD:/Library/Application Support/C74 Plug-in Support/Pluggo Support/fake path/%s";
#P window linecount 1;
#P newex 161 50 59 196617 dialog bank;
#P button 40 307 15 0;
#P window setfont "Sans Serif" 12.;
#P window linecount 8;
#P comment 580 28 255 196620 This works for me because I store everything (pattrstorage filename \, audio file \, relative fixed data \, etc.) in a coll. The path of the coll has a fixed folder that MUST be in the pluggo support folder. So when I save something in the Host app I need to save ONLY the name of the coll \;;
#P fasten 19 1 1 0 145 294 45 294;
#P fasten 19 0 1 0 122 294 45 294;
#P connect 1 0 22 0;
#P connect 17 0 18 0;
#P connect 18 0 12 0;
#P fasten 4 0 5 0 166 91 122 91;
#P connect 5 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 8 0;
#P fasten 12 0 8 0 55 160 122 160;
#P connect 8 0 23 0;
#P connect 23 0 21 0;
#P connect 21 0 19 0;
#P fasten 19 2 16 0 168 296 122 296;
#P connect 16 0 20 0;
#P connect 22 0 20 0;
#P connect 20 0 15 0;
#P connect 15 0 9 0;
#P connect 9 0 13 0;
#P connect 13 0 10 0;
#P connect 27 0 26 0;
#P connect 10 0 26 0;
#P connect 21 1 16 1;
#P connect 21 2 16 2;
#P connect 21 3 16 3;
#P connect 29 0 2 0;
#P connect 2 0 4 0;
#P connect 21 4 16 4;
#P connect 21 5 16 5;
#P connect 28 0 27 0;
#P connect 21 6 16 6;
#P connect 21 7 16 7;
#P connect 21 8 16 8;
#P connect 21 9 16 9;
#P connect 21 10 16 10;
#P connect 21 11 16 11;
#P connect 21 12 16 12;
#P connect 21 13 16 13;
#P fasten 4 2 3 0 196 91 293 91;
#P connect 3 0 14 0;
#P connect 14 0 11 0;
#P connect 11 0 24 0;
#P connect 24 0 25 0;
#P connect 21 14 16 14;
#P connect 21 15 16 15;
#P connect 21 16 16 16;
#P connect 21 17 16 17;
#P connect 21 18 16 18;
#P connect 21 19 16 19;
#P connect 21 20 16 20;
#P connect 21 21 16 21;
#P connect 21 22 16 22;
#P connect 21 23 16 23;
#P connect 21 24 16 24;
#P connect 21 25 16 25;
#P connect 21 26 16 26;
#P connect 21 27 16 27;
#P connect 21 28 16 28;
#P connect 21 29 16 29;
#P connect 21 30 16 30;
#P connect 21 31 16 31;
#P pop;



More information about the pluggo mailing list