How do I extract the following features as from wav files in Python -
- Voicing rate (Voice rate) - frequency of phonemes while speaking, and represents the pace of a conversation
- Number of autocorrelation peaks
- Pitch, pitch bandwidth
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.
Sign up to join this communityHow do I extract the following features as from wav files in Python -
This project Speech Signal Processing Toolkit (SPTK) provides several features you are looking for. Here is a good wrapper around it https://github.com/r9y9/pysptk This wrapper is using a slightly different version of SPTK, but installation is straightforward.
pip install pysptk
1) I would use kaldi or another speech recognition package on phones output and a VAD system to compute the voicing rate.
2) For autocorrelation, convert the waveform to mel-cepstrum with the function mcep then compute the autocorrelation with c2acr
3) Here is an example to compute the Pitch http://nbviewer.jupyter.org/github/r9y9/pysptk/blob/master/examples/pysptk%20introduction.ipynb