[LAD] Jack buffer management for block convolution

Damien Zammit damien.zammit at gmail.com
Thu Jun 10 13:18:01 UTC 2010


Hi,

I have written a FFTW based block convolution jack client, but I am
having difficulty processing the last jackframes%L samples of the jack
buffer.  I have read that it might be an idea to collect the samples
into a second buffer and process them independently of the jack
process callback, but I have no clue how to implement that.  Any
suggestions would be appreciated.

I want to use the Parks-McClellin algorithm to generate some FIR
filter coefficents with some user configurable parameters and have it
process the filters using block convolution.  Possibly as an addon for
calf?

So far my jack client works, and the block convolution overlap-add
algorithm works as per Oppenheim and Schafer, but the last few samples
of each jack buffer are zeroes.

It would be nice to be able to have FIR filters longer than the size
of the jack buffer too.  Any ideas?

---
Damien Zammit



More information about the Linux-audio-dev mailing list