[music-dsp] streaming resampled buffers seamlessly

vesa norilo warder at dlc.fi
Thu Feb 26 03:18:27 EST 2004


Pol,

Sounds like you're filtering with a non-causal filter that's looking 
"ahead" of time.
Implement it so that it's only looking back in time. For example if 
you've used input[t], input[t-1] and input [t+1] to generate the output 
just use input[t-2] input[t-1]and input[t]. Compensate the introduced 
delay if necessary when you're done with the whole batch and know there 
are no more buffers to come.

Vesa

pol wrote:

>Hi guys,
>
>this problem is driving me nuts over here.
>
>I'm working on a streaming resampling method that
>resamples buffers in sequence, when i reach the end of
>an input buffer i zeropad it (enough for the
>anti-alisaing filter), generate the output buffer, and
>i'm done.
>  
>




More information about the music-dsp mailing list