Handling multiple signals through VST~ with modulating parameters

GVA1994's icon

Hi all,

I've browsed around on the forums, couldn't find my answer. I'm using Max for real-time SFX synthesis for a video game. We can have multiple in-game objects simultaneously calling Max to process a sound through the same signal chain. My problem is, if two signals at the same time want to go through my signal chain, they will simultaneously try to modulate parameters (using their own values each) on a VST. I'm guessing this is not possible, and since performance is a big deal, I'd like to get your input on how I could approach this best.

Thanks!

Roman Thilenius's icon

i had to read three times but i think i now understand.

you could put the whole DSP into a poly~ , including the vst objects, then modulations to the vst effect will be "polyphonic".

while in theory this works great, you have to be careful about how to load the VST plug-ins e.g. 4 times. if you find it is not working stable, use delays on initialisation.

Roman Thilenius's icon

i simply wasnt aware of mc.vst~ or i would have recommended it, too.

how would it receive messages for different voices?

Roman Thilenius's icon

`...there is no max 8 online reference?

Roman Thilenius's icon

oh and btw. in case we are limiting the total number of voices to 4, it might be easier to just copy the patch 3 times and cycle input data throught these 4 voices.

Roman Thilenius's icon

isnt controlling things per voice that what you do first when using a multicore audio stream?

ok so they have specific objects for that. might be great or not, we will see.

i have a HD with windows 10 here somewhere, so maybe i try myself in the next days.

GVA1994's icon

Sorry for the late response. Thanks for the suggestions! I'm going to look into it and get back here if other questions come up.. :)