[pluggo] bpatcher offset via pp, problem in Live
Dan Nigrin
dan at defectiverecords.com
Sun Jun 3 16:43:21 MDT 2007
- Previous message: [pluggo] pluggo problem with protools 7
- Next message: [pluggo] bpatcher offset via pp, problem in Live
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a pluggo that uses a pp parameter, loaded from the plugin's default program, to set the initial offset of an object located within a bpatcher off the main patch. In Ableton Live (on both Mac and PC), when loading the pluggo with Auto-open Plugin windows set to ON, the patch is initialized correctly, with the pp parameter offseting the bpatcher contents correctly. If one switches the Auto-open Plugin windows to OFF however, and then manually opens the plugin window, the bpatcher's contents are not offset correctly. I've reproduced the problem in a very stripped down set of two patches below. The first is the main patch, which must be compiled to a Pluggo. The second is the bpatcher that is loaded, name it "text". When the plugin is opened, the pp is supposed to set the text into the upper right corner of the bpatcher. When opened manually, you'll see that it's instead located in the lower right. Any ideas on how to address this, such that the correct offset is applied when the plugin window is actually opened? Thanks, Dan MAIN PATCH, NAME IT WHATEVER YOU WANT max v2; #N vpatcher 84 197 525 434; #P origin 0 15; #P window setfont "Sans Serif" 9.; #P newex 175 171 70 9109513 s ---thelocation; #P bpatcher 41 33 365 53 0 0 text.pat 1; #P number 175 140 35 9 50 300 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P message 101 139 53 9109513 capture 1; #N pp 1 "Text Position" 50 300; #P newobj 222 138 120 9109513 pp 1 "Text Position" 50 300; #N plugconfig; #C useviews 0 1 0 1; #C numprograms 1; #C preempt 1; #C sigvschange 1; #C sigvsdefault 32; #C windowsize; #C defaultview Interface 0 0 1; #C dragscroll 1; #C infotext Testing; #C package wxyz; #C setprogram 1 Default 0 1.; #C uniqueid 99 99 99; #C hintfg 65021 50886 15420; #C initialpgm 1; #P newobj 101 159 55 9109513 plugconfig; #P connect 2 0 0 0; #P fasten 1 0 3 0 227 163 346 163 346 120 180 120; #P connect 3 0 5 0; #P fasten 3 0 1 0 180 161 216 161 216 132 227 132; #P pop; PATCH LOADED INTO MAIN PATCH'S BPATCHER, CALL IT "text" max v2; #N vpatcher 539 193 977 519; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 125 137 68 9109513 r ---thelocation; #P message 125 161 116 9109513 script move thetext \$1 40; #N thispatcher; #Q end; #P newobj 125 185 61 9109513 thispatcher; #P window linecount 3; #P comment 299 40 100 9109513 This text should be on right of bpatcher after pp sends the data; #P objectname thetext; #P connect 3 0 2 0; #P connect 2 0 1 0; #P pop; -- Dan Nigrin Defective Records 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major Malfunction http://www.defectiverecords.com http://www.jackosx.com
- Previous message: [pluggo] pluggo problem with protools 7
- Next message: [pluggo] bpatcher offset via pp, problem in Live
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
