spa-resample(1)

🌸 spa-resample(1) β€” the girlies' guide to the PipeWire resampler 🌸

okay so welcome to spa-resample(1), from the General Commands Manual bestie, you're gonna love her πŸ’–


✨ NAME ✨

spa-resample β€” the PipeWire resampler debugging utility πŸŽ€ like, she exists to debug the resampler, that's her whole thing, no cap


πŸ¦‹ SYNOPSIS πŸ¦‹

spa-resample [OPTIONS] INFILE OUTFILE

πŸ’… DESCRIPTION πŸ’…

So basically: use the PipeWire resampler to resample INFILE into OUTFILE, following whatever options you gave her. Slay. ✨

And like… that's literally it. This is useful only for testing the resampler πŸ”₯ she's a debugging queen, not a main-character audio tool, iykyk. Don't come for me, that's just what the manpage says, fr fr.


πŸ‘‘ OPTIONS πŸ‘‘

  • -r RATE, --rate=RATE β€” sets the output sample rate, periodt 🎡
  • -f FORMAT, --format=FORMAT β€” sets the output sample format, and your options are s8 | s16 | s32 | f32 | f64 (pick one bestie, not all of them πŸ™ˆ)
  • -q QUALITY, --quality=QUALITY β€” the resampler output quality, and it goes from 0-14 β€” yes, fourteen whole levels of quality, she's highkey thorough πŸ’œ
  • -c FLAGS, --cpuflags=FLAGS β€” cpuflags moment πŸ’€ see spa/support/cpu.h for the details, that's where the lore lives
  • -h β€” show help 🫢 use her, she's there for you
  • -v β€” verbose operation πŸ” so you can watch everything happen in real time, obsessed

🌈 EXAMPLES 🌈

here's the iconic one, look at her go:

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

48000 Hz, s32 format, in.wav goes in, out.wav comes out. ate and left no crumbs ⭐


🧚 AUTHORS 🧚

The PipeWire Developers πŸ’–


πŸ’€ SEE ALSO πŸ’€

  • pipewire(1) β€” go read that one next bestie, she's the whole ecosystem 🌸

real talk: this is a resampler testing utility, so don't @ me when it's not your daily-driver converter β€” that's the documented vibe πŸ’…

and that's the page, bestie πŸŽ€ sign-off time: this lil doc came from PipeWire 1.6.8, dated as shown on the original page footer β€” mwah, go resample something πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from