Closed Kyle2048 closed 5 years ago
You are correct, the 0.5 factor is an error. This will be corrected in the next release.
This has been corrected in openMHA release 4.9.0.
The effect of the error should be negligible for typical configurations and signals. E.g. we had to adjust our expected output level in mha/mhatest/test_runexample01a.m by 0.06 dB to account for the correction.
That's a good news for me. Thanks for your answer.
Hi
I am someone interested in acoustic algorithm. When I tracked the OpenMHA source code for dc.cpp (dynamic compression), I saw the energy estimation as follows I can understand that in addition to DC bin and Nyquist bin, other bins need to be multiplied by 2. But according to Parseveal's theorem, I think DC bin and Nyquist bin should be multiplied by 1. Can you tell why you decided to multiply by 0.5 for energy estimation?
best regards