spiricom / LEAF

Lightweight Embedded Audio Framework
MIT License
178 stars 27 forks source link

fix oversampler #5

Closed spiricom closed 5 years ago

spiricom commented 5 years ago

test if it currently works (I think it lowpasses too far)

switch to fir implementation

think about how oversampled processes are handled (does the oversampler take an array of two samples and then you manipulate them?) or do you pass a function pointer?

Is it possible to have a generic upsample object that can have the ratio passed in?

make an array of possible fir filter coefficients for different sample ratios?

maybe use arm functions for interpolating and decimating?? https://www.keil.com/pack/doc/CMSIS/DSP/html/group__FIR__Interpolate.html https://www.keil.com/pack/doc/CMSIS/DSP/html/group__FIR__decimate.html

mattmora commented 5 years ago

implemented with arm function code from CMSIS DSP Library