Re: gen~ and sah~ and phase-shifting

Hello Brendan!
Hapy to hear about this topic, since i ran into similar problems recently. I will look at your patch more closely if i have time but i wanted to let you know that i came to the conlcusion that working with the oscilloscope will cause problemse if it’s about single samples that could cause problems. e.g. in your case, you have a spike in the window function because when the phasor goes down, it does not do
y[n]=1, y[n+1]=0, so without anything in bewteen. There is one sample with the value of about 0.5, that’s the reason for the spike.

you can see this if you record your signlas and view them closely with [waveform]( i have pasted it down there.)
Iseem to remember this problem and hope i can write you soon what solution i came up with..

– Pasted Max Patch, click to expand. –


  1. Untitled1.png
Feb 7, 2013 at 9:42am #238956