Merge MP3 files into one, in the right order
Twelve lessons as one MP3 in lesson order, 1 to 12, with no skips.
A real run on 13 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 08 s in real time.
The short answer.
In the free Audacity, import the files, line them up end to end and export one MP3. From a command line, ffmpeg's concat joins them. Watch the order: sorted by name, Lesson 10 lands before Lesson 2, and files recorded at different settings can glitch when glued together without re-encoding. Stella (stella.sh) joined twelve lessons in true lesson order and evened out the two different recording formats.
Stella does this on Windows, Mac and Linux.
What happened.
One MP3 in about 1 minute 10 seconds. Checked afterwards against an answer key written before the run: a real MP3 as long as all 12 lessons together, decoding without errors, every lesson found inside by its sound and in order 1 to 12, and the lesson files unchanged.
The lessons are synthetic speech made for this run; three were saved at a lower quality on purpose, and the file dates were scrambled so sorting by date wouldn't work either. The work is sped up 2×.
How Stella does it.
- Finds the Spanish for travellers folder in Downloads: 12 lesson MP3s with jumbled file dates
- Orders them by the lesson number in each name, so lessons 10 to 12 come after 9, not after 1
- Notices lessons 10 to 12 were recorded at lower quality (mono, a lower sample rate) than the rest
- Converts them all to one format as it joins them, so the file doesn't skip or change speed at lesson 10, and saves Spanish for travellers - Lessons 1-12 (complete).mp3 in the same folder
- Plays the result through to check for errors, leaves the lesson files alone, and notes they're short samples, 8 to 11 seconds each
The prompt.
Join the 12 lesson files in the 'Spanish for travellers' folder in my Downloads into one MP3 I can play straight through, in lesson order.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
Rename for the right order first
If files are named Lesson 1 … Lesson 12, many tools sort them 1, 10, 11, 12, 2. Rename the first nine to Lesson 01 … Lesson 09 so every tool sees the true order. A bulk renamer, or Stella, does this in one go.
Audacity (Windows, Mac, Linux)
Choose File, Import, Audio and add the files. Check they're in order top to bottom, select all, then Tracks, Align Tracks, Align End to End. Export with File, Export Audio, MP3. Audacity resamples everything to the project rate, so mixed formats join cleanly.
ffmpeg
Make list.txt with one
file 'Lesson 01 - Greetings.mp3'line per lesson in order, then runffmpeg -f concat -safe 0 -i list.txt -ar 44100 -ac 2 -c:a libmp3lame -q:a 2 all.mp3. Re-encoding like this, rather than-c copy, avoids glitches where the formats change.Avoid the copy /b trick
On Windows,
copy /b 1.mp3+2.mp3 all.mp3glues files together byte by byte. It often plays, but the length shown is wrong, seeking jumps, and tags from every file end up inside. Fine in a pinch, not for something you'll keep.Listen to the joins
Skip to each place one lesson ends and the next begins. A click, a jump in speed or a gap means the files had different formats and need re-encoding to one.
Where it stops.
- Joining re-encodes the MP3s once. For spoken lessons you won't hear it; the lesson files stay as they were.
- It ordered the lessons by the numbers in their names. If your files have no numbers, say what order you want.
- File names, lengths and format details go to the AI model you use in Stella; the audio is joined on your computer.
- Recorded on Linux with ffmpeg already installed. On a Mac or Windows PC Stella would usually download ffmpeg first, which isn't shown.
Questions.
Can I merge MP3 files without losing quality?
Only when every file has the same format, using ffmpeg's -c copy. If they differ, as lessons 10 to 12 did here, re-encoding once at a good bitrate is the reliable way.
Why is lesson 10 playing after lesson 1?
Alphabetical sorting compares character by character, so “10” comes before “2”. Pad the numbers (01, 02 …) or use a tool that reads them as numbers.
Can it add chapters so I can skip between lessons?
Yes, as an audiobook file. See make an audiobook with chapters.
Can I do the opposite and split one long file?
Yes: split audio into tracks cuts a recording at the quiet gaps.
Is Stella free for this?
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.
Can I control what Stella changes on my computer?
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.
Checked against these sources on 13 November 2026.