Controlling a function object in curve mode inside Poly~?

Francesco Cimino's icon

Hi everyone,

I'm putting together a few different simple synth modules for a university final project. For the ADSR part I've decided to rely on function in curve mode. I'm attempting to make this work polyphonically, however, I'm having some issues. Essentially, I have a function (on a top level patch) to control another function which is located inside the poly~. I crossed the forbidden line of using send and receive with Poly~ (I know, bad idea) just to see if it worked and it does. Except when I try making multiple instances. Is there anyone who how best to approach this?

Top level patch

fc.glitchy.maxpat
Max Patch
The top patch

Poly

fc.KickCycle.maxpat
Max Patch
The poly contents

Jean-Francois Charles's icon

Double-click on a send object... Do you see the corresponding receive? No. You're not using the same name, so, it's not going to work. [send] and [receive] may be used for in/out of poly~ (I personally use poly~ inputs, but send & receive will work... if you use the same name for send & receive).

Francesco Cimino's icon

Hi Jean-Francois,

Thank you for the reply, I apologise but I uploaded a version with indeed the incorrect send and receive object names, that was me trying to see whether I could use the #0 solution to avoid one function controlling another. I just followed your approach and it seems that controlling the function via a poly~ input is working. I'd tried this a while ago and kept getting an error in the console from the prepend xyc object I had in the poly~ (must have been another mistake I did). It was because of that error that I was advised to use send and receive. They worked and I stuck to them until I tried making multiple instances of the patches I realised that they were not the best solution for this situation.