Python Forum

Full Version: Analyse audio files, not sure where to start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a tool at my on-line radio station that analyses audio files (wav, mp3, m4a) and returns information about the file such as: number of milliseconds between the start of the file and the start of the audio, and the duration of the audio from its start to the end. The end being determined by the audio level falling to a pre-determined level within a short distance of the end of the file.

This is paid software and not 100% ideal, so I would like to write something similar, to which I can add other functionality.
BUT, I don't know what modules are able to analyse audio in the way I need.

Please point me towards a place to start. Thanks.
I figured this out... thought I'd reply to my own post in case anyone else asks a similar question.
I used VLC bindings for Python to play the files and pydub/AudioSegment to get the info.