Convert SPX to OGG

Turn SPX recordings into OGG. Re-encoded as Vorbis at variable-bitrate quality 5 and at most 48 kHz, unless audio.sample_rate 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 Ogg Vorbis audio.The sound is re-encoded as Vorbis, and tags are kept. A little more quality is lost.

  1. What you get

    One OGG file, re-encoded as Vorbis at variable-bitrate quality 5. The sample rate is at most 48 kHz unless you set Sample rate (Hz).

    Tags are kept, so titles and other labels in the SPX file are still there in the OGG.

  2. What it costs

    Speex is already a lossy format, and Vorbis is lossy too. Encoding the audio again loses a little more than the Speex already did.

    Set Sample rate (Hz) to choose the rate yourself. A lower rate dulls high sounds.

  3. Options

    Set Channels to 1 to mix the sound down to mono, which suits speech. Set it to 2 to keep stereo.

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

    Normalize loudness makes quiet and loud recordings play at -16 LUFS, the level podcasts and streaming services aim for. It also resamples the audio to 44.1 kHz unless you set Sample rate (Hz).

    Set Speed to play the audio faster or slower, from 0.25 to 4. Voices keep their pitch.

    Set Start at (s) to cut seconds from the beginning, and Stop at (s) to end at a second of the original. Stop at (s) counts from the start of the original, not from where trimming starts, so it must be later than Start at (s).

  4. When it fails

    A file that cannot be parsed stops the conversion with input_corrupted.

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

  1. 01 · audio.channels

    Channels

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

    1 to 8
  2. 02 · audio.denoise

    Reduce noise

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

  3. 03 · audio.normalize

    Normalize loudness

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

  4. 04 · 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
  5. 05 · 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
  6. 06 · 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
  7. 07 · 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
  8. 08 · 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 · OGG

Ogg Audio

Ogg Vorbis audio, the open lossy format used in games and Wikipedia.

Extensions
.ogg .oga
MIME type
audio/ogg
Kind
Audio

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

terminal
$ cv convert recording.spx recording.ogg
$ cv convert recording.spx recording.ogg

Questions.What people ask about SPX to OGG.

01OF 04

Yes. Tags in the SPX file are kept in the OGG.

Yes, a little. The Speex was already lossy, and the new Vorbis encoding loses a little more.

Yes. Set Start at (s) and Stop at (s) to keep the part between them. Both count seconds from the start of the original.

Yes. OGG to SPX converts in the other direction.

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