Python resampy
From wikinotes
Documentation
official docs https://resampy.readthedocs.io/en/latest/
Usage
import numpy import resampy numpy.frombuffer(raw_wav_str, sr_orig=44100, sr_new=16000)
official docs https://resampy.readthedocs.io/en/latest/
import numpy import resampy numpy.frombuffer(raw_wav_str, sr_orig=44100, sr_new=16000)