<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Oct 27, 2018 at 9:55 PM Al Thompson <<a href="mailto:althompson58@gmail.com">althompson58@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:'Calibri','sans-serif'"><div dir="ltr">But they do in a sine wave, which is the example given.</div></div></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">They don't exist in the overwhelming majority of sine waves.</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">A true "zero crossing edit" requires that there is a sample of value zero where the edit/cut can be applied.</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Almost all sine waves will instead have a pair of adjacent samples slightly and slightly below zero. How "slightly" depends on the sine wave frequency and the sample rate.</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">If you cut at one of the adjacent samples, you are actually creating a discontinuity in the output, the audible impact of which will depend on a variety of factors. Obviously, the if chosen sample's value is very close to zero, then the effect will be fairly similar to the "true zero crossing" case. <br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Apply this to real world audio, with much more complex signals than a single frequency sine wave... the results of the "zero crossing edit" not actually using a zero value are much more likely to be an audible discontinuity (aka "pop" or "click"). <br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">This is why Ardour doesn't bother with attempting to "find a zero crossing", and instead applies a predictable and controllable fade on each side of the cut. Even this cannot be guaranteed to work - there is always a hypothetical pathological case where it fails - but it is much more reliable than the "zero crossing' woo that somehow made into digital editing lore some years back.<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"></div></div></div></div>