[sdiy] resampling wav files

Eric Brombaugh ebrombaugh1 at cox.net
Thu Apr 19 19:45:22 CEST 2018


Install a copy of Gnu Octave:

https://www.gnu.org/software/octave/

Write a quick script to read a .wav file, resample and write it out. Use 
these functions:

y = wavread (filename)

[y, h] = resample (x, p, q)

wavwrite (y, filename)

Done.



On 04/19/2018 10:29 AM, Tim Ressel wrote:
> Hi,
> 
> Looks like there's some DSP in my future. I need to resample wave files 
> to get them from 600 samples down to 256 samples. Unless there is a 
> groovy toll out there that can do that, I gotta write an app for it. As 
> far as I can tell I need to interpolate 32x and then decimate 75x, with 
> all the attendant filters that these processes need. I know just enough 
> DSP to be dangerous.
> 
> Thoughts?
> 




More information about the Synth-diy mailing list