The /audio/concat Robot

Our /audio/concat robot

Transloadit offers a variety of features to reduce audio size while maintaining quality, as well as add effects like loops or watermarks.

The /audio/concat Robot concatenates several audio files together.

The /audio/concat Robot's Parameters

Name Type Default Description
preset String "mp3" Performs conversion using pre-configured settings. If you specify your own FFmpeg parameters using the Robot's ffmpeg parameter and you have not specified a preset, then the default mp3 preset is not applied. This is to prevent you from having to override each of the MP3 preset's values manually. For a list of audio presets, see audio presets.
bitrate Integer Auto Bit rate of the resulting audio file, in bits per second. If not specified will default to the bit rate of the input audio file
sample_rate Integer Auto Sample rate of the resulting audio file, in Hertz. If not specified will default to the sample rate of the input audio file

Example use cases featuring the /audio/concat robot

See the robot in action with some live demos and code samples right here on our website:

Concatenate two audio files

Here you can see a quick example of the Assembly Instructions required to create this encoding pipeline. More information is available in the Live demo

{
 "steps": {
    "imported_preroll": {
      "robot": "/http/import",
      "url": "http://s3.amazonaws.com/fixture.transloadit.com/file/Rewinder.mp3"
    },
    "concat": {
      "use": {
        "steps": [
          {
            "name": "imported_preroll",
            "as": "audio_1"
          },
          {
            "name": ":original",
            "fields": "test-file",
            "as": "audio_2"
          }
        ]
      },
      "robot": "/audio/concat",
      "result": true,
      "ffmpeg_stack": "v2.2.3"
    }
  }
}


Did you know?

You can easily combine Robots to create powerful workflows, unique to your business.

This is the power of Transloadit.