I’d start here. AFAIK, librosa is the Python library of choice for audio processing.



 8bitmp3:

Other potentially useful resources:
…

How to Extract Spectrograms from Audio with Python - YouTube
https://github.com/musikalkemist/DeepLearningForAudioWithPython
https://github.com/musikalkemist/AudioSignalProcessingForML



The GitHub repos should have accompanying lessons on YouTube. Hope this helps.