spa-resample
linux
Resample an audio file using the PipeWire resampler. Note: This utility is primarily intended for testing and debugging the resampler.
More info →Options (3)
-r, --ratebooleanResample an audio file to a specific sample rate
Example:
spa-resample {{[-r|--rate]}} {{48000}} {{path/to/input.wav}} {{path/to/output.wav}}-f, --formatbooleanResample an audio file to a specific format
Example:
spa-resample {{[-f|--format]}} {{s8|s16|s32|f32|f64}} {{path/to/input.wav}} {{path/to/output.wav}}-q, --qualitybooleanResample an audio file with a specific quality (0 is lowest, 14 is highest)
Example:
spa-resample {{[-q|--quality]}} {{0..14}} {{path/to/input.wav}} {{path/to/output.wav}}Examples (5)
Resample an audio file
spa-resample path/to/input.wav path/to/output.wavResample an audio file to a specific sample rate
spa-resample [-r|--rate] 48000 path/to/input.wav path/to/output.wavResample an audio file to a specific format
spa-resample [-f|--format] s8|s16|s32|f32|f64 path/to/input.wav path/to/output.wavResample an audio file with a specific quality (0 is lowest, 14 is highest)
spa-resample [-q|--quality] 0..14 path/to/input.wav path/to/output.wavDisplay help
spa-resample -hmade by @shridhargupta | data from tldr-pages