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

Ask THD+N function #16

Closed ipevo-PeterLiao closed 2 months ago

ipevo-PeterLiao commented 6 years ago

line 61: Why do you need to minus the average?

endolith commented 6 years ago

That's removing the DC component https://github.com/endolith/waveform_analysis/blob/master/waveform_analysis/thd.py#L61

endolith commented 6 years ago

@spidermomo

Is there anything else you need from me or can I close this?