Python Forum
Analyse audio files, not sure where to start
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Analyse audio files, not sure where to start
#1
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.
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question mypy unable to analyse types of tuple elements in a list comprehension tomciodev 1 481 Oct-17-2023, 09:46 AM
Last Post: tomciodev
  Other modules for reading audio files? jedzz 0 1,607 Mar-25-2020, 11:07 PM
Last Post: jedzz
  Computing correlation in audio files ryanblumenow 0 2,775 Jan-15-2020, 06:11 PM
Last Post: ryanblumenow
  rf64 audio files kerzol81 7 4,248 May-14-2019, 01:21 PM
Last Post: buran
  Analyse sound? mzmingle 1 2,384 Aug-08-2018, 10:19 PM
Last Post: Larz60+
  What's the difference b/w assigning start=None and start=" " Madara 1 2,320 Aug-06-2018, 08:23 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020