I have a filter of say length n and a soundfile of length m.
When I want to convolve them using FFT, I need to zero-pad both to length n+m-1 (if I've understood correctly), before FFT'ing.
How would I go about doing that?
I've seen sig~ can be used to generate a stream from a number. But i dont know how to specify a place in an array to write to. As I see it I make a new array of length n+m-1 then first copy the input array and further fill up with zeros?
Or I could save them to files and add the zeros using an audioeditor, but i have quite a few filters and soundrecordings.