Poly~ problems

gavin peters's icon

I'm having a tough time wrapping my head around poly~ after the simplicity of PD's clone. I have something working,
where I use [poly] to send information into the [poly~], but for some reason only the note on messages are transferred through to the voices. The 0 velocity messages are being stripped by max?

schlam's icon

it seems strange... could you maybe post your patch so we can have a look..?

gavin peters's icon

Here is the main patch

Max Patch
Copy patch and select New From Clipboard in Max.

And here the poly~ patch:

Max Patch
Copy patch and select New From Clipboard in Max.

I've tested the note inlet on the subpatch, and note velocity + pitch is coming through, but the note off messages (zero velocity) are not coming.

gavin peters's icon

Actually I didn't solve this problem, now I have a working patch, but it's monophonic.

Max Patch
Copy patch and select New From Clipboard in Max.


Subpatch/poly:

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon

i don´t see the error.

but if you are going to use only the note number, why do you do all that hassle with poly, midievent and stripnote? i would move the expr out of the poly~ patcher and then prepend target messages.

Source Audio's icon

You should study poly~ help file and reference to understand voice management.
In simple words one goes either midinote route, or targeting one.
In both cases thispoly~ must be properly controlled.
Using poly in front of poly~ would mean using poly voice number for target message
this is proper way to do both :

recreate this as polygroove.maxpat

I removed groove start & end time messages because they make no sense
the way they were sent ( float 0. - 1.)


second patch is too messy for me to look at....