Pydub obtiene la longitud de audio en segundos
# credit to Stack Overflow oser in the source link
from pydub import AudioSegment
file_path = "/path/to/your/file.wav"
audio = AudioSegment.from_file(file_path)
print(audio.duration_seconds)
wolf-like_hunter