sound = AudioSegment.from_mp3('some_song.mp3')
chunk_length = len(sound) / 180
loudness_of_chunks = []
for i in range(180):
    start = i * chunk_length
end = chunk_start + chunk_length
chunk = sound[start:end]
loudness_of_chunks.append(chunk.rms)
Создать миниатюру для произвольного аудиофайла