Trying (for probably the 4th time) to refactor my system to use the poly~ object but I just can't figure out how routing is supposed to work. I was looking at a tutorial I found on how to build a polyphonic synth but there were aspects that made no sense to me.
For example, I see one prepends "midinote" to a note message but I assume I need to construct VST "midievent" messages and then prepend "midinote" to that. Is that correct?
I also don't understand what it means to have multiple "in" objects with the same index value. What's the purpose of that?
I believe that I'm supposed to just have 1 voice for the poly~ and depend on the encapsulated VST~ for polyphony. Will that work?
I had a lot of trouble just getting off the ground because, unlike abstractions in bpatchers, the poly~ patcher did not refresh after I inserted [in] or [out] objects to the abstraction until I forced the poly to reload its argument.
My current abstraction for managing VSTs ultimately sends audio signals via [send~] but if I do that, will I still get the benefit of poly~ when a particular vst~ is not active?
If anyone has a simple example of how to manage/control a vst~ from inside a poly~, I'd really appreciate a peek at it.