Categories

Audio Resample

Change the sample rate of an audio file (e.g., 44.1kHz to 22.05kHz)

Click to upload file or drag and drop file here

Maximum file size: 120MB Supported formats: audio/mpeg, audio/aac, audio/mp4, audio/x-m4a, audio/ogg, audio/opus, audio/flac, audio/wav, audio/x-wav

Key Facts

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

Overview

The Audio Resample tool allows you to change the sample rate of audio files, such as converting from 44.1kHz to 22.05kHz, to adjust for compatibility, reduce file size, or meet specific technical requirements.

When to Use

  • When you need to make audio files compatible with devices or software that require specific sample rates.
  • To reduce the file size of audio recordings by lowering the sample rate for storage or streaming efficiency.
  • When standardizing audio for professional applications like CD production or video editing that use common sample rates.

How It Works

  • Upload your audio file in a supported format such as MP3, WAV, or AAC.
  • Choose the target sample rate from the available options, ranging from 8kHz to 48kHz.
  • Optionally select the audio channels (mono, stereo, or auto) and decide whether to retain metadata.
  • Process the file and download the resampled audio in the same or a compatible format.

Use Cases

Optimizing audio files for mobile applications where lower sample rates save bandwidth and storage.
Converting studio recordings to standard sample rates like 44.1kHz for CD production.
Preparing audio assets for video projects that require 48kHz sample rate for synchronization.

Examples

1. Reduce File Size for Podcast Distribution

Content Creator
Background
A content creator has podcast episodes in high-quality 48kHz WAV format but needs to distribute them online with smaller file sizes.
Problem
Large audio files lead to slow downloads and high hosting costs.
How to Use
Upload the WAV file, select 22.05kHz as the sample rate, and choose mono channels to minimize size.
Example Config
sampleRate: 22050, channels: 1
Outcome
The resampled audio is significantly smaller, making it easier to distribute and stream without compromising spoken audio clarity.

2. Adapt Audio for Legacy Telephony System

System Administrator
Background
An administrator needs to update audio prompts for an old telephony system that only supports 8kHz sample rate.
Problem
Current audio files are in 44.1kHz, causing compatibility issues with the system.
How to Use
Upload the audio file, set the sample rate to 8kHz, and keep channels as auto to match the original.
Outcome
The audio is converted to 8kHz, ensuring it works seamlessly with the telephony hardware.

Try with Samples

audio, video, file

Related Hubs

FAQ

What audio file formats can I upload?

You can upload MP3, AAC, M4A, OGG, Opus, FLAC, and WAV files.

Will the audio quality change after resampling?

Resampling may affect quality, particularly when reducing the sample rate, but standard algorithms are used to preserve audio integrity.

Can I choose to keep the original audio channels?

Yes, you can set channels to 'Auto' to keep the original, or select Mono or Stereo as needed.

Is there a limit on file size?

Yes, the maximum file size for upload is 125MB.

Does the tool preserve metadata like artist and title?

By default, metadata is kept, but you can uncheck the 'Keep Metadata' option to remove it.

API Documentation

Request Endpoint

POST /en/api/tools/audio-resample

Request Parameters

Parameter Name Type Required Description
audioFile file (Upload required) Yes -
sampleRate select No -
channels select No -
keepMetadata checkbox No -

File type parameters need to be uploaded first via POST /upload/audio-resample 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-resample": {
      "name": "audio-resample",
      "description": "Change the sample rate of an audio file (e.g., 44.1kHz to 22.05kHz)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=audio-resample",
      "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]