Forums

Resampling algorithm for limited hardware

Started by bitrex September 28, 2015
Suppose I have a waveform stored in flash memory on a fairly limited 
microprocessor, say an AVR 8 bit or something, and I'm sending it out to 
analog via one of the high-speed PWM channels.

Is there a interpolation algorithm of some type that will allow 
bandlimited frequency transposition of this waveform in real time over a 
significant range on such limited hardware?  Links to any example code 
would be appreciated.
On 9/28/2015 1:46 AM, bitrex wrote:
> Suppose I have a waveform stored in flash memory on a fairly limited > microprocessor, say an AVR 8 bit or something, and I'm sending it out to > analog via one of the high-speed PWM channels. > > Is there a interpolation algorithm of some type that will allow > bandlimited frequency transposition of this waveform in real time over a > significant range on such limited hardware? Links to any example code > would be appreciated.
Found an old thread that I think might be helpful, using a phase accumulator for linear interpolation: http://music.columbia.edu/pipermail/music-dsp/2012-May/070778.html