Convert SPX to M4R
Turn SPX recordings into M4R. Re-encoded as AAC in an iPhone ringtone file 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
A ringtone from a Speex recording.The audio is re-encoded as AAC in an iPhone ringtone file.
What you get
One M4R file in AAC at 192 kbit/s and at most 48 kHz. Tags are kept. Set Sample rate (Hz) to choose a different rate.
The Speex audio was already lossy, and the re-encode loses a little more.
The 40-second limit
Phones take ringtones up to 40 seconds. Longer files need cutting, so set Stop at (s) to end the clip. It counts from the start of the original, so it must be later than Start at (s).
Set Start at (s) to cut seconds from the beginning. Decimals such as 1.5 work. To trim without converting, see trim SPX.
Other options
Set Channels to 1 to mix the sound down to mono, which halves its size and suits speech. Set Reduce noise to lower steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.
Set Speed to play the clip faster or slower, and voices keep their pitch. Normalize loudness brings the clip to -16 LUFS, and it also resamples to 44.1 kHz unless Sample rate (Hz) is given.
SPX and M4R.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
iPhone Ringtone
AAC ringtones for iPhone. The same container as M4A; the phone only accepts clips under 40 seconds.
- Extensions
- .m4r
- MIME type
- audio
/mp4 - Kind
- Audio
In your code.The same SPX to M4R conversion through the API, for your app or your agent.
$ cv convert recording.spx recording.m4r$ cv convert recording.spx recording.m4rQuestions.What people ask about SPX to M4R.
Phones take ringtones up to 40 seconds. Use Stop at (s) to cut longer files.
Yes. Tags in the Speex file are kept in the M4R file.
The file could not be parsed. The conversion stops with input_corrupted when that happens.
Yes. Set Channels to 1 to mix the sound down to mono. Set it to 2 to keep stereo.