PCM to MP3
AI-generatedSummary
Convert Base64-encoded raw PCM audio data (mono, 16-bit signed integer) into an MP3 audio file encoded with a specified sample rate and bitrate.
Inputs
- Base64 PCM Data (required) — A Base64 string representing the raw PCM audio data to be converted.
- Sample Rate (Hz) (required) — The sample rate of the input PCM audio, for example 8000, 16000, or 44100 Hz.
- Canais (Channels) (required) — Number of audio channels; currently only Mono (1 channel) is supported.
- Bit Depth (Profundidade de Bits) (required) — The PCM bit depth; must be 16-bit signed integer as required by lamejs.
- MP3 Bitrate (kbps) — The output MP3 bitrate determining the quality, e.g. 64, 128, or 192 kbps (default is 128).
Output shape
a single binary file containing the MP3 audio data
The output MP3 data is provided as a binary property named 'data' with the MIME type audio/mpeg. Processing is done per input item; errors halt execution unless 'Continue on Fail' is enabled, in which case error details are returned in JSON.