Csound Csound-dev Csound-tekno Search About

Re: convolution

Date1998-02-17 22:30
FromRichard Dobson
SubjectRe: convolution
This is an interesting point. The convolution algorithm is,in principle, very
easy. but in Csound, in the absence of high level loop constructs, coding a long
convolution would be hugely tedious. So perhaps some kind soul will write
another opcode for it?

Richard Dobson

Hans Pelleboer wrote:

> Hello Richard and fellow csounders
>
> >> Is there a way in Csound to perform dynamic convolution with an external
> >> file that contains a concatenated set of filter coefficients?
> >>
> >It would be good to have a time-domain convolution - the convolve opcode
> >needs a spectral domain (FFT) file. Perhaps, if your data set is small, you
> >could read it into a table from a file via Gen1. You would need to be able
> >to create that file, of course - I suppose you could use Csound for that
> >too?
>
> For very short convolutions, I might even cook up a simple `delay
> + multiplication' script, without altering or adding anything to the code.
> Trouble is that I would like to do LONG convolutions, like recorded
> reverberation responses, for example. It is possible, of course, to use
> an external application, solely devoted to that one task, but it would be
> much more elegant to have it incorporated in csound itself.
> Any suggestions?
>
> Hans Pelleboer