Closed kangcp closed 4 years ago
I also think there is something wrong. But maybe it should be "noisescalar = rmsclean / (10 ** (snr / 20)) / rmsnoise", as the "rmsclean" and "rmsnoise" have been square root.
Recomputed rmsclean and rmsnoise after scaling. Should be good now.
I think in audiolib file, line 66 code: noisescalar = np.sqrt (rmsclean / (10 ** (snr / 20)) / rmsnoise), snr should be divided by 10, not 20.