Convert and process audio files at scale. REST API for conversion, processing, and batch operations. Complete reference and examples.
Convert your first audio file
curl -X POST https://api.edesy.in/v1/convert \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "[email protected]" \ -F "outputFormat=mp3" \ -F "bitrate=192k" \ -o converted.mp3
import { AudioFormat } from '@edesy/audio-format';
const client = new AudioFormat({
apiKey: process.env.EDESY_API_KEY
});
// Convert audio file
const result = await client.convert({
input: './audio.wav',
outputFormat: 'mp3',
options: {
bitrate: '192k',
sampleRate: 44100,
channels: 2
}
});
// Download converted file
await result.download('./converted.mp3');
console.log('Converted:', result.duration, 'seconds');50+ audio formats supported
Common
Professional
Telephony
Streaming
Core endpoints
/v1/convertConvert audio between formats
/v1/processApply processing (normalize, resample, etc.)
/v1/batchProcess multiple files
/v1/jobs/:idGet job status for async operations
/v1/formatsList all supported formats
Transform your audio
Resample
Change sample rate (8kHz - 192kHz)
sampleRate: 44100Normalize
Adjust volume levels
normalize: 'peak' | 'loudness'Channels
Convert stereo/mono
channels: 1 | 2Bitrate
Adjust quality/size
bitrate: '128k' | '320k'Trim
Cut audio segment
trim: { start: 0, end: 30 }Fade
Add fade in/out
fade: { in: 2, out: 3 }Native libraries
npm install @edesy/audio-formatpip install edesy-audio-formatgo get github.com/edesy/audio-format-goWe support 50+ formats including MP3, WAV, FLAC, OGG, AAC, M4A, AIFF, WMA, and telephony formats like u-law, a-law, GSM. Full list in the format reference.
Standard API supports files up to 2GB. Enterprise plans support larger files with chunked upload. Streaming API has no practical limit.
Yes, streaming conversion is available for real-time applications. WebSocket endpoint for live audio streams. Latency is typically under 100ms.
Resampling (8kHz to 192kHz), normalization (peak/loudness), compression, noise reduction, stereo/mono conversion, bitrate adjustment, and metadata editing.