spa-resample(1) General Commands Manual spa-resample(1)

# [NAME](#NAME)

spa-resample - The PipeWire resampler debugging utility

# [SYNOPSIS](#SYNOPSIS)

**spa-resample** \[*OPTIONS*] *INFILE* *OUTFILE*

# [DESCRIPTION](#DESCRIPTION)

Use the PipeWire resampler to resample input file to output file, following the given options.

This is useful only for testing the resampler.

# [OPTIONS](#OPTIONS)

**-r RATE | --rate=RATE**

Output sample rate.

**-f FORMAT | --format=FORMAT**

Output sample format (s8 | s16 | s32 | f32 | f64).

**-q QUALITY | --quality=QUALITY**

Resampler output quality (0-14).

**-c FLAGS | --cpuflags=FLAGS**

See **spa/support/cpu.h**.

**-h**

Show help.

**-v**

Verbose operation.

# [EXAMPLES](#EXAMPLES)

**spa-resample** -r 48000 -f s32 in.wav out.wav

# [AUTHORS](#AUTHORS)

The PipeWire Developers &lt;https://gitlab.freedesktop.org/pipewire/pipewire/issues&gt;; PipeWire is available from &lt;https://pipewire.org&gt;

# [SEE ALSO](#SEE_ALSO)

[**pipewire(1)**](/man/os/pipewire/pipewire.1)

1.6.11 PipeWire

---

Document: spa-resample(1) from pipewire 1.6.11-r2 (Chainguard OS)
Source: https://gitlab.freedesktop.org/pipewire/pipewire
