Join Audio Files

Concatenate multiple audio files into one.


Description

JOIN AUDIO FILES is a shortcut to concatenate multiple audio files into one.

How to use it

Just select the audio files from the Files app (using multiple selection), and use the share menu to open them with the shortcut. The shortcut will open the a-Shell mini app and will do the lossless concatenation using ffmpeg, with no loss of quality. You will also be asked if you want to add a cover image to the output audio file. You can select any image format, since the script will automatically convert it to jpg internally. Wait the shortcut to end all the processing, without touching anything, and after a while you will be asked where to save the resulting audio file.

Supported audio formats:

MP3, M4A, M4B, AAC, AIFF, FLAC, OGG, WAV, WEBA, CAF, MKA

Usage notes

  • Audio files are concatenated according to their alphabetical order (filename 01.mp3, filename 02.mp3, etc.). Always check the "sort by name" option before selecting the files. You can rename the files before selecting them so that their alphabetical order correspond to the order of concatenation that you want. In audiobooks the files are usually already named to match the chapters order.
  • Numbers after the filename must be zero-padded to match the same number of characters (example: 001, 002, 003... 010, 011, 012... is right. Instead: 1,2,3...10,11,12... is wrong).
  • All selected audio files must be in the same format.
  • All selected audio files must use the same codec and bitrate. Different bitrates/quality/settings of the source files will generate just noise instead of the original audio. If you need to concatenate mixed audio files, convert them to the same format before doing it.
  • If a cover is selected, the script will try to embed it but it is not guaranteed (some formats and codecs does not support embedding). Any image format would be ok, since the script automatically convert them to jpg internally.
  • Ensure that all the metadata (title, author, date, etc.) are present in the first audio file, because it is from the first file that the metadata of the output audio file is taken.
  • If the first file has already a cover, do not try to embed a new image, because it may not work and may generate an empty file. The cover of the first audio file will be automatically used by the output file if present. If you want to replace the existing cover you can do it anyway, but the results are not guaranteed.
  • Do not touch the device screen while the shortcut is running. Even if it appears being idle, it's probably passing data to the a-Shell app. This requires some time, even some minutes, depending from the number of input files.
  • iCloud Drive Files app does not show thumbnails of the covers for audio files, so to check the result you need to open the file with an app or a player that supports the file audio format.
  • I won't bother adding an updater. It would just bloat the shortcut. Just check the routinehub shortcut page if you want to keep it up to date.
  • Enjoy! :D

Acknowledgments

This shortcut was derived from the "Join Videos" shortcut from gluebyte. Thanks master!

2022-05-26 v1.1.0 u/fremenmuaddib


Latest Release Notes

1.1.0 - May 26, 2022, 12:05 a.m.

- New feature: support for all image formats to use as covers.


Version history