Page 1 of 1

Zero Crossing

Posted: Fri Oct 20, 2017 3:12 pm
by dslocum
Sorry if this may has been asked before.

If I want to reduce noise by only performing a function at zero crossing, my understanding is that I use SKP ZRO. I'm assuming that the value in the ACC must be exactly ZERO for this to work. Thus during sampling, I might get a value that is not EXACTLY zero that may be important to me.

But what about a value that is "close enough" to zero? Has anyone got some experience with this?

Thanks

Posted: Fri Oct 20, 2017 6:32 pm
by frank
You might consider "skp zrc" which is true if the sign of ACC and PACC are different so keep the old sample value so you can load it into ACC then load the new sample into ACC which pushes ACC into PACC.