<div dir="ltr">Try resetting your accumulator to 0 instead of keeping the overflow, and each cycle will be identical.<div><br></div><div>/mr</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 November 2017 at 16:26, Tim Ressel <span dir="ltr"><<a href="mailto:timr@circuitabbey.com" target="_blank">timr@circuitabbey.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am making a digital oscillator (DCO) and was wondering if there is a way to reduce the jitter one gets at higher frequencies. I understand it comes from round off error (for lack of a better term): as the accumulator reaches the top of the range the remaining amount is less than the value being added, and that fraction changes every cycle. This causes jitter, or is it aliasing? Anyway, is there a clever way to deal with it?<br>
<br>
Thanks!<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
--Tim Ressel<br>
Circuit Abbey<br>
<a href="mailto:timr@circuitabbey.com" target="_blank">timr@circuitabbey.com</a><br>
<br>
______________________________<wbr>_________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/l<wbr>istinfo/synth-diy</a><br>
</font></span></blockquote></div><br></div>