Categories

Audio Channel Mapper

Remap audio channels to different outputs

Flexible channel remapper using FFmpeg pan. Choose an output layout (stereo, quad, 5.1) and provide a pan expression (e.g., c0=FR|c1=FL to swap stereo). Useful for correcting routing, creating stems, or custom speaker layouts.

Click to upload file or drag and drop file here

Maximum file size: 200MB Supported formats: audio/*

Key Facts

Category
Media
Input Types
file, select, textarea
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The Audio Channel Mapper lets you remap audio channels to different outputs using FFmpeg's pan filter. It supports layouts like mono, stereo, quad, and 5.1, enabling precise channel routing with custom pan expressions.

When to Use

  • When correcting audio channel routing errors in recordings or mixes.
  • When creating individual audio stems for mixing or post-production.
  • When designing custom speaker layouts for surround sound systems.

How It Works

  • Upload an audio file in a supported format (e.g., MP3, WAV).
  • Select the desired output layout from options like mono, stereo, quad, or 5.1.
  • Enter a pan expression to define how input channels map to output channels (e.g., c0=FR|c1=FL to swap stereo).
  • Choose an output format and process the file to generate the remapped audio.

Use Cases

Correcting left-right channel swaps in podcast or interview recordings.
Extracting individual instrument stems from a multi-channel audio mix.
Creating custom surround sound configurations for home theater systems.

Examples

1. Swap Stereo Channels in Podcast

Podcast Producer
Background
A podcast episode has the host's audio on the right channel and the guest's on the left, contrary to standard practice.
Problem
Listeners hear the audio reversed, which is disorienting.
How to Use
Upload the audio file, select stereo output, and set the pan expression to 'c0=FR|c1=FL' to swap the channels.
Outcome
The audio is remapped with host on left and guest on right, aligning with listener expectations.

2. Convert Stereo to 5.1 Surround Mix

Audio Engineer
Background
An audio engineer needs to upmix a stereo music track to 5.1 surround for a film soundtrack.
Problem
The stereo file lacks the spatial distribution required for immersive surround sound.
How to Use
Upload the stereo file, select 5.1 output layout, and enter a pan expression like 'c0=FL|c1=FR|c2=FC|c3=LFE|c4=SL|c5=SR' to assign channels.
Example Config
c0=FL|c1=FR|c2=FC|c3=LFE|c4=SL|c5=SR
Outcome
The stereo track is converted to a 5.1 surround mix with proper channel placement for front, center, LFE, and surround speakers.

Try with Samples

audio, file

Related Hubs

FAQ

What audio file formats can I upload?

You can upload any audio format supported by FFmpeg, such as MP3, WAV, AAC, or FLAC.

How do I write a pan expression?

Pan expressions use FFmpeg syntax, like 'c0=FL|c1=FR' to map channel 0 to front left and channel 1 to front right. Refer to FFmpeg pan documentation for advanced options.

Can I remap to surround sound formats like 5.1?

Yes, select the 5.1 output layout and define a pan expression for multi-channel mapping.

Is there a limit on audio file size?

Yes, the audio file must be under 200 MB.

What is the default pan expression?

The default is 'c0=FL|c1=FR', which maps the first two channels to stereo left and right.

API Documentation

Request Endpoint

POST /en/api/tools/audio-channel-mapper

Request Parameters

Parameter Name Type Required Description
audioFile file (Upload required) Yes -
outputLayout select No -
panExpression textarea Yes -
outputFormat select No -

File type parameters need to be uploaded first via POST /upload/audio-channel-mapper to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-audio-channel-mapper": {
      "name": "audio-channel-mapper",
      "description": "Remap audio channels to different outputs",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=audio-channel-mapper",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]