This merge requests adds some docstrings, adds some customization to the spectrogram calculation (by allowing for pre-emphasis, and making the normalization of the signal be an optional parameter).
Furthermore, instead of manually specifying limits based on dtypes, I'm now using np.iinfo and np.finfo as needed. For spectrogram clipping, i made use to np.finfo.eps so more data is preserved.
This merge requests adds some docstrings, adds some customization to the spectrogram calculation (by allowing for pre-emphasis, and making the normalization of the signal be an optional parameter).
Furthermore, instead of manually specifying limits based on dtypes, I'm now using
np.iinfo
andnp.finfo
as needed. For spectrogram clipping, i made use tonp.finfo.eps
so more data is preserved.