VST from Juce to Max

toddwelti's icon

I'm using a VST in Juce audiopluginhost environment. I'd like to migrate to Max. There are some input/output parameters that you can set in audiopluginhost (by right clicking and selecting "Configure audio IO") that seem to affect parameter choices allowed in the VST. If I set the output number high enough in the filtergraph in audiopluginhost, I see additional options in the VST settings. In Max I cant seem to make this sort of "global" setting, so these options don't show up. Is there a way to do it? I'd LOVE to do all of this in Max!

Roman Thilenius's icon


which parameter choices is that what depends on the host? example?

toddwelti's icon

It is a in-house VST, which I did not code. It has a number of different speaker configs you can chose from, like 5.1 7.1 and so on. WHen I just load it in Max I can only see the configs up to 7.1. There are a bunch more that show up in Audiopluginhost when I right click on it and set the number of inputs to , say, 26 (Lebedev array)

Roman Thilenius's icon


somehow i suspected that it is about output channels. :)

it might be that vst~ does not support requesting a dynamic number of channels from the host by the plug-in, like traditional host also dont do for #reasons. maybe it does not even check for that via canDo.

but you can easily make a simple custom VST abstraction patcher (around here called a "wrap"), where the vst~ externals are initialised with 64 outputs - and then you either just dont use the unneeded ones or even remove them by ->scripting.

alternatively you could use different abstractions for different number of channels (or different samplingrates, or different midi controllers)

max is some 33% more low level than juce host, bidule, audiomulch etc. or in other words, the modern vst~ object might have a GUI representation, but it is not a user program.

toddwelti's icon

I wondered about some sort of wrapper but it is above my coding level. I just got the person who wrote the original vst to make a custom one for me with desired input channels available!