But I'm now thinking that looking at clipping in the frequency domain misses the boat. I think it's a time domain phenom, that needs time domain measurements.
Time domain measurement = frequency domain measurement
The whole time domain and frequency domain is just different ways of showing the data. Btw that Fourier transform? It just takes time domain data and shows it as a sum of sines, which is still time domain when you sum the sines in time domain.
Fourier series is telling you that this wave has the both the 1kHz and 100Hz components reduced by 2.5dB.
Ok, I think I might have gotten the answer to the hidden question
You are thinking that HF gets removed more than LF despite mathematics say both get reduced by the same amount
The answer is, both are true. But the two statements are rules following different trend lines and they only intersect in one location: When HF voltage is the same as LF voltage.
In your example, your LF voltage is noticeably lower than the HF voltage.
Ok, so what happens when we do the same with a wave that is 0.8 LF and 0.2 HF? (Or around -1.94dB LF and -14dB HF)
Audacity returns -4.4dB LF and -20.8 HF. Thus giving us a reduction of -2.5dB LF and -6.8dB HF respectively. Or some might say in English, the HF got reduced more than the LF in this case.
But this is due to the relative original amplitude. If you repeated the process with a wave that is 0.2 LF and 0.8 HF, the reduction follows the pattern.
To summarize:
- If you start with 0.5 LF and 0.5 HF and clip 0.5, you get -2.6dB in both LF and HF
- If you start with 0.8 LF and 0.2 HF and clip 0.5, you get -2.5dB in LF and -6.8dB in HF
- If you start with 0.2 LF and 0.8 HF and clip 0.5, you get -6.8dB in LF and -2.5dB in HF
The conclusions that get drawn from the data:
- Mathematically, HF and LF behave identically
- For the case of lower HF amplitude than LF, the lower signal gets reduced more. Here the visual intuition works, because when you cut the wave, the percentage of LF removed is less than the percentage of HF removed.
The same amount of energy is being removed from both waves, but removing 1 unit of energy from LF versus 1 unit of energy from HF, the HF looks like it got the worse part of the deal.
Yea, science makes things boring.