On 06/10/2010 03:18 PM, Damien Zammit wrote:
> 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'm not sure that it will work for convolution, but this might help:
http://lists.linuxaudio.org/pipermail/linux-audio-dev/2009-November/025738.html
It hides the complexity of buffer management when doing fft+ifft, using a
callback which receives buffers of frequency domain data. The code also deals
with windowing the signal.
-- Olivier _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@email-addr-hidden http://lists.linuxaudio.org/listinfo/linux-audio-devReceived on Thu Jun 10 20:15:03 2010
This archive was generated by hypermail 2.1.8 : Thu Jun 10 2010 - 20:15:03 EEST