I'm making a max instrument device and I'm trying to change the number of voice threads for poly~ by sending a voice message triggered by a live.menu. Also, in my main patch I've got an amplitude envelope set with live sliders to the subpatch via the send object with --- to create a unique id for the current device.
The problem is that sending the voices message appears to break send and receive messages from my main patch to my sub patch. Removing --- works, but then my sliders affect all instances of my device. Also, I don't get a new loadbang to send my amplitude envelope and other live ui parameters to the newly allocated subpatches from the voices message. I noticed this may have been removed due to this thread https://cycling74.com/forums/bug-loadbang-twice-when-creating-poly-via-scripting
I also noticed that when editing and previewing the patch, send and receive works, although I still don't get the loadbang after the voices message.
This seems like a bug to me, although I am new to max...