Convert SPX to FLAC

Turn SPX recordings into FLAC. Stored as 16-bit FLAC unless audio.bit_depth is given, which keeps the decoded sound exactly but cannot bring back what the Speex lost.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Speech audio in a lossless file.A FLAC file of your Speex recording, at 16-bit unless you choose 24.

  1. What you get

    One FLAC file with the decoded sound of the SPX recording. The conversion keeps that sound exactly as it decodes, and the tags stay in the file.

    The sound is stored at 16 bits unless you set Bit depth. Choose 24 if you plan to edit the audio afterwards.

  2. What it cannot restore

    Speex is lossy, and FLAC cannot bring back what Speex already threw away. The FLAC holds the decoded sound faithfully, but it is not a better recording than the SPX was.

  3. Options

    Set Channels to 1 to mix down to mono, or 2 to keep stereo. Set Sample rate (Hz) to choose how often the sound is measured. A lower rate dulls high sounds.

    Turn on Reduce noise to lower steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.

    Turn on Normalize loudness to play the recording at -16 LUFS. Normalizing also resamples to 44.1 kHz unless you set Sample rate (Hz).

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

  4. When it fails

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

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

  1. 01 · audio.bit_depth

    Bit depth

    The precision of each sample in uncompressed and lossless audio. 16 is CD quality, and 24 leaves room for editing. The input's depth is kept when it is left out.

    16 · 24
  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 8
  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 192000
  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 · FLAC

FLAC Audio

Lossless compressed audio. Exact copies of CDs at about half the size of WAV.

Extensions
.flac
MIME type
audio/flac
Kind
Audio

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

terminal
$ cv convert recording.spx recording.flac
$ cv convert recording.spx recording.flac

Questions.What people ask about SPX to FLAC.

01OF 04

No. The FLAC keeps the decoded sound exactly, but it cannot bring back what the Speex lost.

Yes. Tags stay in the FLAC file.

The file could not be parsed. The conversion stops with this code when it cannot read the SPX.

Yes. Set Sample rate (Hz) to a value from 8000 to 192000. Normalize loudness also resamples to 44.1 kHz unless you set one.

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