vst~ 4th outlet revisited

Oct 9, 2007 at 7:55am

vst~ 4th outlet revisited

Hi

I’ve had troubles with the 4th outlet of vst~ before. And now I
discovered a new issue that I think must have been introduced with my
switch from MaxMSP 4.5 on PPC to MaxMSP 4.6 on intelmac.

The problem is that when a new preset program are selected inside the
user interface of a Plugggo vst plug-in, no parameter values are
reported out the 4th outlet of the vst~ object. I need this
functionality for a multiuser system where we exchange data from the vst
parameter values over udp network. (Things are OK when sliders etc. are
moved inside the plug, and I have a workaround to get the values when
new program presets are selected outside the plug-in.)

My setup is:
MacBook Pro, 2.2 GHz Intel Core 2 Duo, Max OS X 10.4.10.
MaxMSP 4.6.3, Jitter 1.6, Pluggo 3.6.1

This patch should illustrate the problem:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 339 181 30 196617 t b s;
#P number 73 430 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 90 403 62 196617 prepend set;
#P newex 19 67 180 196617 loadmess plug “Average Injector.vst”;
#P message 271 21 33 196617 clear;
#P window linecount 3;
#P comment 484 324 158 196617 BUT when a new preset program are selected
inside the plug-in , no parameter values are reported;
#P window linecount 1;
#P newex 297 232 49 196617 delay 10;
#P user ubumenu 271 42 118 196617 0 1 1 0;
#X add “Average Injector.vst”;
#X add Chamberverb.vst;
#X add “Feedback Network.vst”;
#X add FilterTaps.vst;
#X add “Generic Effect.vst”;
#X add “HF Ring Mod.vst”;
#X add Jet.vst;
#X add Limi.vst;
#X add Nebula.vst;
#X add Resonation.vst;
#X add Resosweep.vst;
#X add “Spectral Filter.vst”;
#X prefix_set 0 1 /Library/Audio/Plug-Ins/VST/Pluggo/ 0;
#P newex 269 70 66 196617 prepend plug;
#P newex 349 283 49 196617 delay 25;
#P comment 137 433 27 196617 < --;
#P window linecount 4;
#P comment 170 416 185 196617 ekstra system to get parameter values out
of 4th outlet of vst~ when pluggo program is changed from the outside
the plug-in (ubumenu);
#P window linecount 1;
#P newex 103 480 62 196617 prepend get;
#P newex 73 456 40 196617 uzi;
#P newex 90 379 48 196617 route -4;
#P message 524 365 30 196617 open;
#P newex 349 253 27 196617 + 1;
#P window setfont “Sans Serif” 14.;
#P newex 71 227 50 196622 print;
#B color 5;
#P window setfont “Sans Serif” 9.;
#P newex 349 204 78 196617 prepend append;
#P user ubumenu 349 231 100 196617 0 1 1 0;
#X add Vibrato;
#X add Flange;
#X add Chorus;
#X add “White Chorus”;
#X add Double;
#X add Takeoff;
#X add “Cheap Spring”;
#X add “Squeeze Flange”;
#X add “Machine Gun Vibrato”;
#X add “from the planet Xorx”;
#X add “more from Xorx”;
#X add “Subtle Depression”;
#X add “Distorted Flange”;
#X add Bulbous;
#X add “Large Bathroom”;
#X add “Mind of its Own”;
#X add “Percussive Xorx”;
#X add “Xorx Fabric Softener”;
#X add “Mellow Xorx”;
#X add “Mistuned AM Radio”;
#X prefix_set 0 0 0;
#P message 443 205 33 196617 clear;
#P message 227 118 56 196617 pgmnames;
#P newex 269 94 40 196617 t b s b;
#N vst~ loaduniqueid 0;
#P newobj 284 159 79 196617 vst~;
#P newex 588 72 31 196617 dac~;
#P newex 588 44 111 196617 loadmess startwindow;
#P window linecount 5;
#P comment 484 222 158 196617 when changing the preset program here ,
no parameter values are printet. So the extra system is needed to get
the values.;
#P window linecount 1;
#P comment 455 233 27 196617 < --;
#P message 297 325 38 196617 get -4;
#P fasten 6 2 8 0 304 117 448 117;
#P connect 6 1 5 0;
#P connect 20 0 6 0;
#P fasten 25 0 6 0 24 93 274 93;
#P fasten 6 0 7 0 274 114 232 114;
#P fasten 5 5 28 0 354 179 344 179;
#P fasten 28 1 10 0 364 201 354 201;
#P connect 28 0 22 0;
#P connect 5 3 11 0;
#P fasten 19 0 27 0 78 376;
#P connect 26 0 27 0;
#P connect 27 0 15 0;
#P fasten 5 3 14 0 328 183 95 310;
#P connect 14 0 26 0;
#P connect 15 2 16 0;
#P fasten 21 1 20 0 330 64 274 64;
#P connect 24 0 21 0;
#P fasten 12 0 5 0 354 274 263 274 263 154 289 154;
#P fasten 7 0 5 0 232 138 289 138;
#P fasten 13 0 5 0 529 391 222 391 222 146 289 146;
#P fasten 0 0 5 0 302 350 233 350 233 150 289 150;
#P fasten 16 0 5 0 108 504 23 504 23 143 289 143;
#P connect 22 0 0 0;
#P fasten 8 0 9 0 448 226 354 226;
#P connect 10 0 9 0;
#P connect 9 0 12 0;
#P connect 12 0 19 0;
#P connect 3 0 4 0;
#P window clipboard copycount 29;

__________________________________

Jakob Riis
New! jr.abstractions for MaxMSP
http://www.sonicescape.net/maxmsp/
__________________________________

#34047

You must be logged in to reply to this topic.