What is SPX? Speex Audio Format Explained

SPX is the Speex audio format, an open, patent-free speech codec from Xiph.Org designed for voice and VoIP, now obsoleted by Opus.

Free online file converter tool. Works in Chrome Firefox Safari Edge Opera and other modern browsers on Windows macOS Linux Android and iOS. No software installation or sign-up required. All conversions run directly in your browser, so your files never leave your device. Free to use with no account needed.

Audio

What is SPX? Speex Audio Format Explained

Xiph.Org's open, patent-free speech codec for voice and VoIP, now superseded by Opus.

Last updated:

Year Created2002
CompressionSpeech audio codec
Primary UseVoice and VoIP

What is SPX?

SPX is the file extension for Speex, an open-source, patent-free audio compression format designed specifically for speech. The Speex project was initiated in 2002 by Jean-Marc Valin to provide a free speech codec unencumbered by patents, and it is associated with the Xiph.Org Foundation.

Speex is tuned for human voice rather than music, supporting narrowband (8 kHz), wideband (16 kHz), and ultra-wideband (32 kHz) sampling with bitrates from about 2 to 44 kbps. Speex audio is commonly carried in the Ogg container, and RFC 5574 defines its RTP payload format for VoIP. Following the standardization of Opus in 2012, Xiph.Org declared Speex obsolete in favor of Opus.

How Speex Works

Speex is based on Code-Excited Linear Prediction (CELP), a technique that models the human vocal tract and is well suited to the characteristics of speech.[3] It supports variable and average bitrate modes, voice activity detection, and noise suppression, and can embed multiple sampling rates so a single codec covers narrowband telephony through ultra-wideband audio.[1]

Standardization and VoIP Use

The IETF documented Speex for real-time transport in RFC 5574, which defines its RTP payload format and MIME registration for use in VoIP and conferencing systems.[2] Its patent-free, royalty-free status made it attractive for open-source telephony before newer codecs emerged.[1]

Obsolescence and Limitations

Because Speex is tuned for voice, it performs poorly on music and general audio.[3] Xiph.Org now considers it obsolete and recommends Opus, which delivers better quality across a wider range of bitrates and content types within a single codec.[1]

MKV Technical Specifications

DeveloperJean-Marc Valin / Xiph.Org Foundation[1]
File Extension.spx[1]
MIME Typeaudio/speex[1]
Released2002[1]
TypeSpeech audio codec[1]

SPX vs Other Audio Formats

FeatureSPXOpusMP3
CompressionLossy[1]LossyLossy
Optimized forSpeech[1]Speech & musicMusic
DeveloperXiph.Org[3]Xiph.Org / IETFFraunhofer / MPEG
LicenseOpen, royalty-free[2]Open, royalty-freePatented (now free)
StatusDeprecated by OpusActiveActive
Best forLegacy VoIPModern voice/musicGeneral music

Speex pioneered free speech compression but has been superseded by Opus, which handles both voice and music more efficiently.

Advantages & Disadvantages

Advantages

Free and patent-free | FileFormer

Open-source under a BSD license with no patent royalties, easing adoption.

Optimized for speech | FileFormer

Specifically designed to compress voice efficiently at low bitrates.

VoIP features | FileFormer

Includes capabilities such as variable bitrate and acoustic echo handling suited to internet telephony.

Flexible sampling rates | FileFormer

Supports narrowband, wideband, and ultra-wideband speech.

Disadvantages

Obsoleted by Opus | FileFormer

Xiph.Org now considers Speex obsolete, recommending Opus instead.

Poor for music | FileFormer

Designed for voice, it performs badly on music and general audio.

Limited support | FileFormer

Few mainstream players or devices handle .spx files natively.

Common Use Cases

SPX/Speex was built for voice communication and recordings.

VoIP applications | FileFormer

Encoding voice for internet telephony at low bandwidth.

Voice recordings | FileFormer

Compressing spoken-word content such as voicemail or dictation.

Network speech streaming | FileFormer

Delivering speech audio efficiently over constrained connections.

Convert SPX Files Free

Use our free online audio converter to convert SPX and other formats - no signup, no watermarks.

Try Audio Converter Free

Frequently Asked Questions

What is an SPX file?

It is a Speex audio file, an open, patent-free speech codec usually stored in the Ogg container.

Who developed Speex?

It was started in 2002 by Jean-Marc Valin and is associated with the Xiph.Org Foundation.

Is Speex still recommended?

No, Xiph.Org considers it obsolete and recommends Opus for new applications.

Can Speex compress music?

It is designed for speech and performs poorly on music; use a general codec for that.

How do I play SPX files?

VLC and Xiph-aware tools can decode Speex, or you can convert it to a more common format.

References

  1. Speex: a free codec for free speech - Xiph.Org
  2. RFC 5574: RTP Payload Format for the Speex Codec - IETF
  3. Speex - Wikipedia