How can I read an audio file in Python?
The soundfile module is a Python interface to an established cross-platform open source library, libsndfile, that can read a variety of different audio file formats. Install pysoundfile with pip or anaconda, and see the documentation for examples.