Convert SPX to M4B
Turn SPX recordings into M4B. Re-encoded as AAC in an audiobook file at 96 kbit/s and at most 48 kHz with up to 7.1 channels, unless audio.sample_rate or audio.channels say otherwise, 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 M4B audiobook.The audio is re-encoded as AAC at 96 kbit/s, and the tags stay.
What you get
One M4B file, the AAC audiobook format that Apple Books and most audiobook apps play. The audio is re-encoded as AAC at 96 kbit/s and at most 48 kHz, with up to 7.1 channels.
Tags from the Speex file are kept.
What changes
Speex is already compressed, and the AAC encode compresses it again. This loses a little more than the Speex already did, so the result is not identical to the original.
Normalizing also changes the sample rate. Turn on Normalize loudness and the audio is resampled to 44.1 kHz, unless you set Sample rate (Hz) yourself. It brings quiet and loud recordings to -16 LUFS, the level podcasts and streaming services aim for.
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.
Set Sample rate (Hz) to choose how often the sound is measured. Lower values make a smaller file and dull high sounds.
Reduce noise lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.
Set Speed to play faster or slower, from 0.25 to 4. Voices keep their pitch.
Set Start at (s) to cut seconds from the beginning. Set Stop at (s) to end at a second of the original. Stop at counts from the start of the original, not from where trimming starts, so it must be later than Start at.
When it stops
If the Speex file cannot be parsed, the conversion stops with
input_corrupted.
SPX and M4B.What each format is, and the options this conversion takes.
- 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 - 02 · audio.denoise
Reduce noise
Lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.
- 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.
- 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 - 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 96000 - 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 - 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 - 08 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400
The formats
Speex
Speex speech audio in an Ogg container, the predecessor of Opus.
- Extensions
- .spx
- MIME type
- audio
/x -speex - Kind
- Audio
M4B Audiobook
AAC audiobooks in an MP4 container with chapters. What Apple Books and most audiobook apps play.
- Extensions
- .m4b
- MIME type
- audio
/mp4 - Kind
- Audio
In your code.The same SPX to M4B conversion through the API, for your app or your agent.
$ cv convert recording.spx recording.m4b$ cv convert recording.spx recording.m4bQuestions.What people ask about SPX to M4B.
Yes. Tags from the Speex file are kept.
No. The audio is encoded again as AAC, which loses a little more than the Speex already did.
Yes. Set Speed, for example to 2 for twice as fast. Voices keep their pitch.
The file could not be parsed. The conversion stops with input_corrupted when that happens.