from pydub import AudioSegment
sound = AudioSegment.from_mp3('/path/to/file.mp3')
halfway_point = len(sound) / 2
second_half = sound[halfway_point:]
second_half_3_times = second_half + second_half + second_half
second_half_3_times.export('/path/to/new/file.mp3', format='mp3')
Библиотека Python для разделения и объединения файлов mp3