libsamplerate

Library for high-quality audio sample rate conversion

brewmacoslinux
Try with needOr install directly
Source

About

Library for sample rate conversion of audio data

Commands

sndfile-resample

Examples

Convert audio file from 44.1kHz to 48kHz$ sndfile-resample -to 48000 input.wav output.wav
Resample with best quality (high converter type)$ sndfile-resample -to 48000 -c 2 input.wav output.wav
Display available converter types and usage info$ sndfile-resample -h