poly~ phasor phase reset weirdness

Artem Malyshev's icon

This is an FM kick for use inside poly. I'm using phasor driven cos~s here instead of cycle~s so that the modulating oscillators remain consistent between bangs. When testing inside the patch phasor phase reset works properly but, using it within poly, phase sometimes seems to fail to reset or resets to a wrong value (the mistake persists for a while).

I wonder what could be the issue here or if there is an alternative method to using phasor->cos?

Max Patch
Copy patch and select New From Clipboard in Max.
Artem Malyshev's icon

Example with poly:

Max Patch
Copy patch and select New From Clipboard in Max.
Roman Thilenius's icon

did you maybe miss that the phase stops running when DSP is off?

Artem Malyshev's icon

It's
t b b
| |
| |
| |
0. mute 0, 1

unmute -> reset phase to 0. Should be alright

Source Audio's icon

I would zero phasor freq as well.

this should perform about the same as

muted/unmuted poly instance

Artem Malyshev's icon

Ok, feeling real stupid right now.
The issue was a phasor self-modulating via s~/r~ pair without a unique number per poly instance. From my understanding it was modulated by other out of sync phasors because the phase reset only occured at dsp on. Changing send/receives to #0 fixes everything.