Strange problem with the poly~object

Arthur Chevalier's icon

Hi !

I am currently trying to build a double FM polyphonic synth with the poly~ object, but I've got a problem in my patch that I can't resolve since few hours :

- When I load my patch, the FM synthesis doesn't work (actually the synth makes sound but not the one it's supposed to)
- I have to open my poly~ patch and save it to make it work.
- But if I want to use another preset of my synth, it doesn't work again, and I have to save the poly~ patch again, each time I want to change the preset

I wonder if the problem does not come from the different instance of the patch, because when I save the patch, the "(1)" meaning that the window is the one of the first voice disappears.

Another issue is that when I hold a chord an release one note, all the notes stop playing, but I think those 2 problems are linked

I hope my explanation was clear, and I hope somebody has an idea of what I did wrong...

Thanks a lot !

Devoir_2.maxpat
Max Patch
the main patch

exofmsynth.maxpat
Max Patch
the poly patch

Roman Thilenius's icon


- you have 2 out~ 1 objects in the poly patcher

- you re currently muting the poly whenever there is a 0. in the sound.

- i wouldnt use a signal from inside at all to start thispoly because there are no signals before it is turned on. use messages. (third outlet of that volume adsr~ which is currently the longest one - you could accumulate their outputs and send "mute 1" when "2" is reached)

- you are using send and receive inside the poly. the way you are doing it, voice 1 and voice 2 are sending messages to each other. you dont want that.

and that is only the major issues. :)

Arthur Chevalier's icon

Thank you !!! it works way better now, I still have some issues but thanks a lot !!