I have a folder filled with songs. I would like to make ONE mp3 file containing a mashup of 10 seconds of each song.
I have found that FFMPEG is an easy software to do so.
I found how to cut a single file : ffmpeg -ss 0 -t 10 -i file.mp3 file.wav
And how to write a loop for multiple steps : for i in *.mp3; do ...
But I am not sure how to mix the two into only 1 file. If it's not possible, I guess I can also make a separate 10 sec file for each and then regroup.