Convert GSM to SPX

Turn GSM recordings into Speex. Re-encoded as Speex speech coding in an Ogg file at 8, 16 or 32 kHz in mono or stereo, unless audio.channels is given, which loses a little more than the GSM already did.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Telephone audio as Speex.Your GSM recording becomes one SPX file, made for speech.

  1. What you get

    One Speex file in an Ogg container. The audio is re-encoded as Speex speech coding at 8, 16 or 32 kHz, in mono or stereo, unless you set Channels.

    Speex is the predecessor of Opus. The GSM audio came from telephony, so it suits a format built for voices.

  2. What it changes

    The re-encode loses a little more than the GSM already did. Speex is made for speech, so music loses detail.

    Normalize loudness also resamples the audio to 32 kHz. It makes quiet and loud recordings play at the same loudness, -16 LUFS.

  3. Options

    Set Channels to 1 to mix the sound down to mono, which halves its size and 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.

    Set Start at (s) to cut seconds from the beginning, and Set Stop at (s) to end at a given second of the original. Stop at (s) counts from the start of the original, so it must be later than Start at (s). Speed plays the audio faster or slower, and voices keep their pitch.

GSM and SPX.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 2
  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 · 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
  6. 06 · 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
  7. 07 · trim_start

    Start at (s)

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

    0 to 86400

The formats

From · GSM

GSM Audio

GSM 06.10 audio from telephony.

Extensions
.gsm
MIME type
audio/x-gsm
Kind
Audio
To · SPX

Speex

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

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

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

terminal
$ cv convert recording.gsm recording.spx
$ cv convert recording.gsm recording.spx

Questions.What people ask about GSM to SPX.

01OF 04

No. The conversion loses a little more than the GSM already did.

Music loses detail, because Speex is made for speech.

Set Channels to 1. This mixes the sound down to mono and halves its size.

Yes. SPX to GSM converts the other way.

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