I have a Python script that produces a soundwave in the form of a list of floats.
However, the sample rate is 25kHz (or some other arbitrary number): I need to resample at 44.1kHz
One solution path is to export as WAV and then use Sox to upsample from the commandline.
Another solution path is to do everything in Python.
How can I do this?
(PS as usual I will edit the question and/or provide an answer myself if I figure it out)
EDIT: resampling, interpolating matrix
EDIT: http://urinieto.com/2011/05/audio-resampling-in-python/
(I'm still trying to figure out how/if I can use scipy.signal.resample)