How to concatenate sound files

You can concatenate any combination of AIFF, AIFC, WAV, NeXT/Sun, NIST and FLAC audio files, and other files that you have read into memory.

For instance, if you want to concatenate a 30-minute AIFF file, a 4-minute Kay sound file, and a 60-minute NeXT/Sun file, by saving them into a 94-minute WAV file, you do the following:

  1. Open the AIFF file with Open long sound file... from the Open menu. A LongSound object will appear in the list.
  2. Read the Kay sound file into memory with Read from file.... A Sound object will appear in the list.
  3. Open the AIFF file with Open long sound file... from the Open menu. A second LongSound object will appear in the list.
  4. Select the three objects and choose Save as WAV file... from the Save menu.

This only works if all the sounds have the same sampling frequency and the same number of channels.

## Available formats

The format of the original sound files may be 16-bit linear (with big-endian or little-endian byte order), 8-bit linear (signed or unsigned), 8-bit μ-law, or 8-bit A-law. The format of the resulting sound file is always 16-bit linear, with an appropriate default byte order. The following commands are available in the Save menu if you select any combination of LongSound and/or Sound objects:

  • Save as WAV file... (little-endian)
  • Save as AIFF file... (big-endian)
  • Save as AIFC file... (big-endian)
  • Save as NeXT/Sun file... (big-endian)
  • Save as NIST file... (little-endian)
  • Save as FLAC file...

### Links to this page

- Sounds: Concatenate