endolith / waveform-analysis

Functions and scripts for analyzing waveforms, primarily audio. This is currently somewhat disorganized and unfinished.
MIT License
255 stars 82 forks source link

Add test for THD vs THDN of noisy signal #1

Open endolith opened 14 years ago

endolith commented 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.

endolith commented 2 months ago

Fixed in https://github.com/endolith/waveform-analysis/commit/922da8d1e6c359378e349c415d3517f32f1c5fbc

endolith commented 2 months ago

Should read the same thing even if you add noise to a given wave.

Should add a test for this, though.