Convert SPX to M4A
Turn SPX recordings into M4A. Re-encoded as AAC at 192 kbit/s 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
Speech audio as an M4A file.Speex audio becomes AAC in an MP4 container, with its tags kept.
What you get
One M4A file, encoded as AAC at 192 kbit/s and at most 48 kHz. M4A is the format Apple Music and iTunes use.
Tags are kept, so the title and other details you set in the SPX file stay with the audio.
What changes
The audio is re-encoded. Speex already lost some detail, and the AAC encoding loses a little more, so the result is not identical to the original.
Set Sample rate (Hz) to choose the rate yourself. Lower values give a smaller file and dull high sounds. Turn on Normalize loudness and the audio is also resampled to 44.1 kHz unless Sample rate (Hz) is set.
Turn on Lossless to store the sound as Apple Lossless (ALAC) instead of AAC, which keeps every sample of what is decoded.
Shaping the sound
Set Channels to 1 to mix the sound down to mono, which halves its size and suits speech. Reduce noise lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door stay in.
Normalize loudness brings quiet and loud recordings to -16 LUFS. Set Speed to play faster or slower while 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. It counts from the start of the original, so it must be later than Start at (s).
SPX and M4A.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 · lossless
Lossless
Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.
- 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 - 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 - 09 · 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
M4A Audio
AAC audio in an MP4 container. What Apple Music and iTunes use.
- Extensions
- .m4a
- MIME type
- audio
/mp4 - Kind
- Audio
In your code.The same SPX to M4A conversion through the API, for your app or your agent.
$ cv convert recording.spx recording.m4a$ cv convert recording.spx recording.m4aQuestions.What people ask about SPX to M4A.
Yes. Tags are kept in the M4A file.
No. The audio is re-encoded as AAC, which loses a little more than the Speex already did.
Yes. Set Start at (s) and Stop at (s). Stop at (s) counts from the start of the original.
The conversion stops with input_corrupted when the file could not be parsed.