/CPP

Python implementation of Cepstral Peak Prominence (CPP)

Primary LanguageJupyter Notebook

CPP

Python implementation of Cepstral Peak Prominence (CPP)

Demo

  • cpp_demo.ipynb Open In Colab is the demo for using the python implementation of CPP
  • cpp_single_window.ipynb Open In Colab is the demo for using the python implementation for CPP (using only a single window)

Function

  • cpp.py is the function for getting CPP

Matlab implementation

cpp_matlab_implementation folder contains the matlab implementation of CPP. It contains:

Demos for using other methods to get cepstrum

  • cpp_vfp_demo.ipynb Open In Colab is the demo for single window CPP using a different method to get cepstrum and comparing results with praat
  • cepstrum_methods.ipynb Open In Colab demonstrates different ways of getting cepstrums (and therefore CPPs)

Other folders

  • audio_files folder contains all the audio files used in the demos
  • images folder contains the plots from matlab and praat for all the audio files
  • files folder contains CPP_example_values.csv which has the matlab implementation cpp values for all the audio files

References

  1. Fraile, R., & Godino-Llorente, J. I. (2014). Cepstral peak prominence: A comprehensive analysis. Biomedical Signal Processing and Control, 14, 42-54.
  2. Murton, O., Hillman, R., & Mehta, D. (2020). Cepstral peak prominence values for clinical voice evaluation. American Journal of Speech-Language Pathology, 29(3), 1596-1607.
  3. https://github.com/covarep/covarep/blob/master/glottalsource/cpp.m