[sdiy] resampling wav files
Eric Brombaugh
ebrombaugh1 at cox.net
Thu Apr 19 19:53:45 CEST 2018
On 04/19/2018 10:44 AM, Gordonjcp wrote:
> On Thu, Apr 19, 2018 at 10:29:22AM -0700, 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?
>
> You could just use sox.
Also a great suggestion. When I was building the original wave tables
for the Synthtec E350, the files I got from Robert Rich needed to be
massaged to properly fit into the dsPIC flash memory. I made heavy use
of sox and perl scripts to get the 192 waveform files into proper format
for the dsPIC assembler.
The main downside of sox for me is that I've got to spend fair amount of
time fiddling around with command line options to get it to do exactly
what I want. On the other hand, I know Matlab / Octave scripting by
heart so there's a lot less time spent on the front end for me. Of
course YMMV.
Eric
More information about the Synth-diy
mailing list