How do I smooth out max data for vst~ parameter control

Jeshua's icon

Trying to figure out a problem with controlling VST instrument parameters via Max data. I have tried using a float box from 0. -> 1. or scaling a dial 0-127 to 0. -> 1 with a line object to lag the numbers.

Unfortunately both attempts caused zippering noise in the vst instruments output. Is there a way to interpolate the data for vst~ to make smooth precise control?

Thanks for your time & help!

VST-Control-Tests.maxpat
Max Patch
Source Audio's icon

The reason for zippering noise might be the vst plugin itself.
There are ways and ways to make ramps from 0. - 1.
but as first one has to make sure that vst plugin
can handle realtime parameter control, without
hickups.

bas's icon

Hi Jeshua, I had the same problem and sad I couldn't find an answer. But sort of solved it without knowing why, but changing the params runs without any lag now:

[vst~ @valuemode 0] or @valuemode 1, doesn't matter, setting 1 gives the changed value defined by the vst so in seconds, dB, %, etc coming from the 4th outlet.

Don't need a line or delay.