Added a utility function for extracting a sound signal's spectral envelope
Why
Visualizing results from EQ transforms in PhaseVocoder (as e.g. done in Ponsot JASA 2018) requires to extract the signal's spectral enveloppe. This currently isn't a utility offered in cleese, and there is no easy alternative in the community (e.g. librosa etc.)
How
Added a new function in engines/phase_vocoder/utils.py and linked it as a static method in the PhaseVocoder class. The function implements LPC spectral envelope estimation (code by @pmblanc) using scipy.signal and scipy.linalg libraries.
What
Added a utility function for extracting a sound signal's spectral envelope
Why
Visualizing results from EQ transforms in PhaseVocoder (as e.g. done in Ponsot JASA 2018) requires to extract the signal's spectral enveloppe. This currently isn't a utility offered in cleese, and there is no easy alternative in the community (e.g. librosa etc.)
How
Added a new function in
engines/phase_vocoder/utils.py
and linked it as a static method in thePhaseVocoder
class. The function implements LPC spectral envelope estimation (code by @pmblanc) using scipy.signal and scipy.linalg libraries.Testing