How to edit audio at the level of individual samples?

A linear volume ramp will not cause (add least not add significant) distortion in my understanding of the matter, as you are multiplying samples with increasing or decreasing factors between 0.0 and 1.0. Looking at a larger set of samples along this ramp (easily a couple to dozens of 10k samples or more at regular 48kHz sample rate for sub-second to multi-second ramps), the signal stays mostly the same only being slightly louder/softer on either side.

Steep volume jumps (i.e. non-linearities) can however cause transient distortion (the “click” you can hear cutting from silence to a loud signal or turning a loud signal off to perfect silence in an instant). Which brings us back to the point of the OP: Trying to alter individual sample values to create a “Zero Crossing”, you will almost for sure create a transient signal with so many high-order harmonics you will easily break Nyquist frequency limits, and thus create clicks.

2 Likes

Going back to the OP…

I will just interject and nitpick by saying that it would still be nice to be able to zoom-in even further on the waveform. (-No destruction required, obviously.) Many times I just want to inspect then align waveforms at near-sample-specific points in time, and this is made more tedious (and many times impossible) with a one-sample-per-pixel representation or the like. -Again, nitpicking.


[Edit: As we all know, obviously a time-shifting difference of ±5 samples makes-or-breaks a record. I’m trying to focus on what REALLY matters here, haha. :man_facepalming:]