FFT Convolution

D's icon

Hi, Im relatively new to max and I was looking through the MSP tutorial 26. I know a little about the effects convolution can have but when putting two signals through this it is very noisy and not very pleasing to the ear. I was wondering if they are any techniques i can use to improve my results. I have considered normalising or silencing any bins with amplitudes below a cetrain threshold

Any advice on this would greatly be appreciated.

Regards

AD

mzed's icon

> Hi, Im relatively new to max and I was looking through the MSP tutorial 26. I know a little about the effects convolution can have but when putting two signals through this it is very noisy and not very pleasing to the ear. I was wondering if they are any techniques i can use to improve my results. I have considered normalising or silencing any bins with amplitudes below a cetrain threshold
>
> Any advice on this would greatly be appreciated.
>
> Regards
>
> AD
----------------------------------------------------

Hi AD-

Obviously, the output of convolution has a lot to do with the inputs. I try to use one "noisy" sound and one no so noisy.

You can make a quick and dirty noise gate like this:

Max Patch
Copy patch and select New From Clipboard in Max.

But, it probably won't sound very good. (I think there's a similar example in the tutorial).

You should look at the vectral~ object for a more sophisticated behavior.

mz

Roman Thilenius's icon

>> Obviously, the output of convolution has a lot to do with
>> the inputs. I try to use one "noisy" sound and one no so
>> noisy.

the problem is always that
tighter (no overlap) or of a nicer sound (higher overlap).

so you can try things like combining different settings of
the fft stuff and mix them against each other, for example
accoring to the power of the carrier input.

Steven Miller's icon

While I'm not sure that I'd contrast 'tighter' with 'nicer
sound' (that's a pretty subjective way of characterizing a fairly
complex set of trade-offs) it is true that there is a number of
choices to be made in selecting parameter settings based on input
material and desired output. In general, the most important choices
come down to time resolution vs. frequency resolution (number of fft
frequency bins), windowing type/shape, window size (length), and
window overlap. There's no easy way to state the various trade-offs
in terms of 'how to choose settings' for general use, but a decent
discussion of the overall situation can be found in such books as
Curtis Roads' 'Computer Music Tutorial' (MIT Press), and Dodge &
Jerse's 'Computer Music' (Schirmer Boooks), among other sources.

On Nov 26, 2006, at 11:45 AM, Roman Thilenius wrote:

>
>
>>> Obviously, the output of convolution has a lot to do with
>>> the inputs. I try to use one "noisy" sound and one no so
>>> noisy.
>
>
> the problem is always that
> tighter (no overlap) or of a nicer sound (higher overlap).
>
> so you can try things like combining different settings of
> the fft stuff and mix them against each other, for example
> accoring to the power of the carrier input.
>

----
Steven M. Miller

Associate Professor of Contemporary Music
College of Santa Fe
Contemporary Music Program
1600 St. Michaels Drive
Santa Fe NM 87505
http://pubweb.csf.edu/~smill
(505) 473-6197

SFIFEM                Atrium Sound Space        OVOS
http://sfifem.csf.edu    http://atrium.csf.edu        http://pubweb.csf.edu/
~smill/ovos.html

Roman Thilenius's icon

> In general, the most important choices
> come down to time resolution vs. frequency resolution (number of fft
> frequency bins), windowing type/shape, window size (length), and
> window overlap. There's no easy way to state the various trade-offs
> in terms of 'how to choose settings' for general use

not for general use, what i am suggesting is to offer
flexible settings as user parameters, not finding the
perfect settings.

D's icon

thanks for suggestions, the input is appreciated

AD

Steven Miller's icon

I'm not sure that I follow your reply, but as far as I do, it seems
like we're saying the same thing here. My point is simply that
'perfect settings' (or some close approximation) are probably what
most folks would like to find for the work they are doing, and these
will vary on a case-by-case basis - again depending on the
characteristics of the input file and the desired output.

On Nov 27, 2006, at 6:00 AM, Roman Thilenius wrote:

>
>> In general, the most important choices
>> come down to time resolution vs. frequency resolution (number of fft
>> frequency bins), windowing type/shape, window size (length), and
>> window overlap. There's no easy way to state the various trade-offs
>> in terms of 'how to choose settings' for general use
>
>
> not for general use, what i am suggesting is to offer
> flexible settings as user parameters, not finding the
> perfect settings.

----
Steven M. Miller

Associate Professor of Contemporary Music
College of Santa Fe
Contemporary Music Program
1600 St. Michaels Drive
Santa Fe NM 87505
http://pubweb.csf.edu/~smill
(505) 473-6197

SFIFEM                Atrium Sound Space        OVOS
http://sfifem.csf.edu    http://atrium.csf.edu        http://pubweb.csf.edu/
~smill/ovos.html

Roman Thilenius's icon

Quote: smill wrote on Mon, 27 November 2006 10:25
----------------------------------------------------
> I'm not sure that I follow your reply, but as far as I do, it seems
> like we're saying the same thing here. My point is simply that
> 'perfect settings' (or some close approximation) are probably what
> most folks would like to find for the work they are doing, and these
> will vary on a case-by-case basis - again depending on the
> characteristics of the input file and the desired output.

those are the _presets in this scenario.

one for "snaredrum" and one for "atmopshere"

:)