Forums > MaxMSP

smooth phase offset subtraction like Props Subtractor

September 23, 2010 | 10:51 am

Hi,

I guess I need to do something with sah~ to get tweaking the phase smooth.

– Pasted Max Patch, click to expand. –

September 23, 2010 | 5:00 pm

I would avoid sah~ for this as it would require feedback and hence a vector of delay from a send~receive~ pair.

Something like this is simpler, and will sound smoother than doing it with sah~, because it will let you control the phase offset at audio rate.

– Pasted Max Patch, click to expand. –

Also, if this is for a synth, consider using saw~ instead of phasor~ as it is already band-limited, so will sound better (less aliasing). And to spice things up, you could try adding a tiny amount of band-limited noise to the oscillator frequency and the phase offset, to keep the phase interaction of the sum moving constantly, which you might like……..perhaps a little more "analogue-esq" if you get the scaling right ;) Also, because you’re subtracting the two oscillators, you need to limit the phase offset so it never reaches exactly 1, or you’ll get no signal.


September 23, 2010 | 7:22 pm

You might want to add the phase offset to the sum of the oscillators, to remove the DC-offset it creates. Also, I just noticed that what you’re creating is essentially pulse-width modulation of a square wave. You can do it more easily with train~. If you then do want the DC-offset back, just subtract the phase-offset from the output of train.

– Pasted Max Patch, click to expand. –

Viewing 3 posts - 1 through 3 (of 3 total)