Convert SPX to MP3

Turn SPX recordings into MP3. Re-encoded as MP3 at variable-bitrate quality 2 and at most 48 kHz in mono or stereo, unless audio.bitrate is given, which loses a little more than the Speex already did.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop SPX files on the dialor turn it to pick what to do

Speex speech as an MP3.You get one MP3 that plays on nearly any device, with the tags kept.

  1. What you get

    One MP3 file, re-encoded from the Speex audio. It uses variable-bitrate quality 2 and a sample rate of at most 48 kHz, in mono or stereo.

    Tags are kept, so titles and other tag data stay in the file.

  2. What it changes

    Both formats are lossy, so the conversion loses a little more than the Speex already did. Do not expect the MP3 to match the Speex exactly.

    Set Audio bitrate (kbit/s) to replace the variable-bitrate quality with a bitrate you choose, from 32 to 320. The option text suggests 128 for speech and casual listening. A higher value makes a bigger file.

    Normalize loudness sets the level to -16 LUFS and also resamples to 44.1 kHz. Set Sample rate (Hz) to pick a different rate.

  3. Other options

    Set Channels to 1 to mix down to mono, which halves the size and suits speech. Reduce noise lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.

    Set Start at (s) and Stop at (s) to cut the audio. Stop at counts from the start of the original, so it must be later than Start at. Set Speed to play faster or slower while voices keep their pitch.

  4. When it fails

    A file that cannot be parsed stops with input_corrupted. To go the other way, use MP3 to SPX.

SPX and MP3.What each format is, and the options this conversion takes.

  1. 01 · audio.bitrate

    Audio bitrate (kbit/s)

    How much data each second of sound gets. 128 is fine for speech and casual listening, 192 to 320 for music. Higher makes a bigger file.

    32 to 320
  2. 02 · audio.channels

    Channels

    1 mixes the sound down to mono, which halves its size and suits speech. 2 keeps it stereo.

    1 to 2
  3. 03 · audio.denoise

    Reduce noise

    Lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.

  4. 04 · audio.normalize

    Normalize loudness

    Makes quiet and loud recordings play at the same loudness, -16 LUFS, the level podcasts and streaming services aim for.

  5. 05 · audio.pitch

    Pitch

    Moves the pitch up or down by whole semitones while the speed stays the same. 12 is one octave up and -12 one octave down.

    -12 to 12
  6. 06 · audio.sample_rate

    Sample rate (Hz)

    How many times per second the sound is measured. 44100 is the CD rate and 48000 the video rate. Lower makes a smaller file and dulls high sounds.

    8000 to 48000
  7. 07 · speed

    Speed

    Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.

    0.25 to 4
  8. 08 · trim_end

    Stop at (s)

    Stops at this second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.

    0 to 86400
  9. 09 · trim_start

    Start at (s)

    Cuts this many seconds from the beginning. Decimals such as 1.5 work.

    0 to 86400

The formats

From · SPX

Speex

Speex speech audio in an Ogg container, the predecessor of Opus.

Extensions
.spx
MIME type
audio/x-speex
Kind
Audio
To · MP3

MP3 Audio

The universal lossy audio format. Plays on anything made in the last twenty-five years.

Extensions
.mp3
MIME type
audio/mpeg
Kind
Audio

In your code.The same SPX to MP3 conversion through the API, for your app or your agent.

terminal
$ cv convert recording.spx recording.mp3
$ cv convert recording.spx recording.mp3

Questions.What people ask about SPX to MP3.

01OF 04

Yes. Tags are kept in the MP3.

Yes. The audio is re-encoded as MP3, which loses a little more than the Speex already did.

Yes. Set Audio bitrate (kbit/s) to a value from 32 to 320. Without it, the variable-bitrate quality 2 applies.

The file could not be parsed. The conversion stops with input_corrupted in that case.

More conversions.Other ways in and out of SPX and MP3.