Using send with poly~
I’m having a hard time turning a multiple parameter additive synth, similar to the one in the tutorial, into a polyphonic synth. I initially tried to get all of may envelopes to poly~ by using the in object. Works ok but it becomes a concern when I want to have numerous partials and have to create an object with say 20 inputs. Is there a good work around with this? I thought about using send but my concern here is with poly~ failing to recognize which voice I’m trying to send the envelopes to I might run into problems. Sorry I have no patch at the moment to show. After work I will post what I’ve tried to do so far. This question really extends towards the problem of sending lots of control parameters to poly~. What are some efficent ways to build a polyphonic additive synth?
will [route] help you?
a single route object can direct incoming messages to many different parameters.
[route pitch amp env filter]
to send a message to the amp output you’d send "amp 0.5" into [route] and it would send "0.5" out of the amp output. obviously you can name the outputs however you want…
This is a good idea. Can I route lists or is there another object that functions like route but handles lists? The problem being that I want to send multiple functions to shape the envelopes for each partial.
yes you can send lists. [route] is a very handy object for poly~s.
> Can I route lists….
Of course. When the route object gets a set of messages, it looks for the first item and checks to see if it matches any of the arguments. If it does, the object "strips" the first of the set of messages off and sends the rest of the incoming set of messages through as they are (e.g. fee fi fo fum > fi fo fum if there’s a "fee" arg to the route object). If there’s only one message, it gets stripped off and a bang is sent out the outlet (e.g. fee > bang).
Joshua Jarvis schrieb:
> Can I route lists….
This kind of question is answered by the help patches in general. You
can modify them to your hearts content and pose all kinds of questions,
they will give you fast and reliably an answer…
Thank you. I know that this was kind of a basic question. I tried route out and it worked fine. I have used route before but for whatever reason I thought that it was kind of anal about taking in lists.
Forums > MaxMSP