librosa It's a very powerful one python Third party Library of speech signal processing .
Learn to librosa It will never be used again python To implement those complex algorithms , It can be easily implemented in one sentence .
Reference material :
Python And librosa Library speech signal processing