Open endolith opened 14 years ago
It should be possible to calculate THD from the peaks in the spectrum, as opposed to THD+N which includes noise, too. Should read the same thing even if you add noise to a given wave.
Fixed in https://github.com/endolith/waveform-analysis/commit/922da8d1e6c359378e349c415d3517f32f1c5fbc
Should read the same thing even if you add noise to a given wave.
Should add a test for this, though.
It should be possible to calculate THD from the peaks in the spectrum, as opposed to THD+N which includes noise, too. Should read the same thing even if you add noise to a given wave.