conv:conv
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
conv:conv [2008/01/24 12:35] – deva | conv:conv [2008/01/24 13:32] – deva | ||
---|---|---|---|
Line 3: | Line 3: | ||
The basic "Input Side" is way too slow (convolution implemented with two for loops), so we will be experimenting with a dft-multiply-idft algorithm (sometimes called "The Overlap-and-Save algorithm" | The basic "Input Side" is way too slow (convolution implemented with two for loops), so we will be experimenting with a dft-multiply-idft algorithm (sometimes called "The Overlap-and-Save algorithm" | ||
To do the actual fft we will use the fftw3 library (http:// | To do the actual fft we will use the fftw3 library (http:// | ||
- | The next step is to implement at test the " | + | Currently we have implemented and tested convolution in the frequency domain |
====Group==== | ====Group==== | ||
Line 28: | Line 28: | ||
As it is seen on the graphs the speed improves with the buffer size increasing, up to 1024 samples. At this point the iteration time starts fluctuating. This may be caused by internal cache size on the given CPU. | As it is seen on the graphs the speed improves with the buffer size increasing, up to 1024 samples. At this point the iteration time starts fluctuating. This may be caused by internal cache size on the given CPU. | ||
- | ====Links==== | + | ====Literature==== |
- | * http://www.fftw.org - The fftw library. | + | * T. G. Stockham Jr. High-speed convolution and correlation. AFIPS Proc. 1966 Spring Joint Computer Conf., Vol 28, Spartan Books, 1966, pp. 229 - 233. |
- | * http:// | + | * The Scientist and Engineer' |
- | * http:// | + | * Real-time partitioned convolution |
- | * http://www.dspguide.com - A very good online book about audio convolution. | + | Further online references can be found in the links section. |
- | * http:// | + | |
- | * http:// | + | |
- | * http://www.aurora-plugins.it/ | + | |
- | * http://www.linuxdevcenter.com/ | + | |
====Code==== | ====Code==== | ||
Line 51: | Line 47: | ||
The input and filter files must be mono wav files. | The input and filter files must be mono wav files. | ||
+ | |||
+ | ====Examples==== | ||
+ | Here are a dry input file called '' | ||
+ | Get impulse responses here [[http:// | ||
+ | **NOTE**: Remember to convert them into mono before usage. Running the application on stereo files has undefined results. | ||
+ | |||
+ | ====Realtime LADSPA plugin==== | ||
+ | We have experimented with implementing our code as a realtime ladspa plugin.\\ | ||
+ | This however is a very fragile implementation that only works on a hardcoded filter file and jack buffersize.\\ | ||
+ | If still interested, it can be fetched here: {{: | ||
+ | |||
+ | ====Links==== | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ |
conv/conv.txt · Last modified: 2008/09/04 12:09 by deva