AllenDowney / ThinkDSP

Think DSP: Digital Signal Processing in Python, by Allen B. Downey.
https://allendowney.github.io/ThinkDSP/
3.97k stars 3.23k forks source link

Correct the frequency of the low alias #40

Closed barafael closed 4 years ago

barafael commented 6 years ago

In the spectrum, there is a spike at 300Hz, but the spike at 100Hz is stronger and lower, thus better perceived as the first fundamental

AllenDowney commented 4 years ago

You are right. The problem is that the alias at 100 Hz was not audible on my not-very-good speakers. I changed the example so the aliased fundamental is at 500 Hz and the example is much clearer.

Thanks!