waveform_analysis
waveform_analysis copied to clipboard
Functions and scripts for analyzing waveforms, primarily audio. This is currently somewhat disorganized and unfinished.
Should deprecate the old names and use lowercase for the new names following PEP8, and then that will also allow for outputting multiple things and not just the number.
https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
I'm having trouble getting a good THD / THD+N calculation from either THD() or THDN(). If you have a moment, could you take a look at this sample code/data and...
They are OK, but could be better? ``` audiocheck.net_thd_1000_0.wav 0.0 Computed THDN: 0.00005, Expected THDN: 0.00000 audiocheck.net_thd_1000_0001.wav 0.001 Computed THDN: 0.00005, Expected THDN: 0.00001 audiocheck.net_thd_1000_0005.wav 0.005 Computed THDN: 0.00009, Expected...
Removed circle CI to reduce complexity
THD = sum([abs(f[i*x]) for x in range(2, 15)]) / abs(f[i]) THD shall be the root-mean-square value of all harmonics?