Poly~ issues

Callum Stewart's icon

Hi Eveyone.

Been having an issue with the poly~ object. Ive been building sunthesizer, and its in very early stages of development and I've used the poly~ object to make it poly phonic, which is workingfine. THe only issues im having is tah when ipress keys on my MIDI keyboardm 90% of the time I am getting an extra voice that seems to come from nowhere and doesn't shut off when i realease the keys.

PAtches are attacjed below, so if anyone can tell me where the issue ism tha would be aweom.

THanks in advance


Main Patcher

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


Synth_Voice Subpatcher

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

jvkr's icon

The pak object has two hot inlets and will trigger both when velocity and pitch are received. Use pack or join instead.

Callum Stewart's icon

Hey everyone,

Still have issues with the poly object. NOw the issue is I added ADSR~ and only the lowest note that i play is affected by the envelope, while the rest just play at the velocity.

Main Synth

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

synth_Voice

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

Delay_Mdoule (having issue before this was addedm but its a little extra)

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

tmhglnd's icon

You have to make sure you target all the voices. One way to do that is with [loadmess target 0] to the poly~ object. 0 means all voices (any other number would mean just a specific voice). I would also suggest you connect the mute-outlet from [adsr~] to [thispoly~], then the voice will be muted after it is done playing and will save cpu (more relevant with big voice amounts, but good practice nonetheless).