---
name: "spa-resample"
section: "1"
platform: "linux"
package: "pipewire-audio"
version: "1:1.6.10-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/spa-resample"
---

# spa-resample(1)

The PipeWire resampler debugging utility

## NAME

spa-resample - The PipeWire resampler debugging utility

## SYNOPSIS

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

## 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

**-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

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

## AUTHORS

The PipeWire Developers \<https://gitlab.freedesktop.org/pipewire/pipewire/issues\>; PipeWire is available from \<https://pipewire.org\>

## SEE ALSO

**[pipewire(1)](/pipewire/1.md)**
