I would like to concatenate all .mp3s in one directory with pydub. The files are numbered consecutively file0.mp3, file1.mp3 etc.
this code from the example code:
playlist_songs = [AudioSegment.from_mp3(mp3_file) for mp3_file in glob("*.mp3")]
gives me all files and now I would like to concatenate, like in pseudocode:
for i in playlist_songs:
append i to finalfile
Is there a way to achieve this or am I approaching it wrong ?
Thanks for the help !