Convert CAF to SPX

Turn CAF recordings into Speex. Encoded as Speex speech coding in an Ogg file at 8, 16 or 32 kHz in mono or stereo, unless audio.sample_rate or audio.channels say otherwise, and a lossy track loses a little more than it already had.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Speech audio in an Ogg file.CAF becomes Speex at 8, 16 or 32 kHz. It is made for speech, not music.

  1. What you get

    One SPX file: Speex speech coding in an Ogg container. Speex is the predecessor of Opus. The sound is mono or stereo, at 8, 16 or 32 kHz, unless you set Channels or Sample rate (Hz) yourself.

    Tags are kept, so the information stored with the recording stays with it.

  2. What it loses

    Speex is built for speech, so music loses detail. If the CAF is already lossy, the track loses a little more than it already had.

    Set Channels to 1 to mix the sound down to mono. That halves its size and suits speech. Set Sample rate (Hz) between 8000 and 32000. A lower rate dulls high sounds.

  3. Shaping the sound

    Set Reduce noise to lower steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.

    Set Normalize loudness to play quiet and loud recordings at -16 LUFS. Normalizing also resamples to 32 kHz unless you give a sample rate.

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

  4. When it stops

    A file that cannot be parsed stops the conversion with input_corrupted. To go the other way, use SPX to CAF.

CAF 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 · 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 32000
  6. 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
  7. 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
  8. 08 · trim_start

    Start at (s)

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

    0 to 86400

The formats

From · CAF

Core Audio Format

Apple Core Audio Format.

Extensions
.caf
MIME type
audio/x-caf
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 CAF to SPX conversion through the API, for your app or your agent.

terminal
$ cv convert recording.caf recording.spx
$ cv convert recording.caf recording.spx

Questions.What people ask about CAF to SPX.

01OF 04

No. It is made for speech, so music loses detail.

Yes. Tags are kept in the SPX file.

Yes. Set Sample rate (Hz) to a value from 8000 to 32000. Lower values dull high sounds.

The file could not be parsed. The conversion stops with input_corrupted when that happens.

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