Forums > MaxMSP

clicks when using slide to control frequency gain

May 27, 2012 | 2:52 am

I have a project with 16 mic inputs on which I want to manipulate and filter specific frequencies (preferably more than one frequency per input) and have both some problems and questions.
Problem:I am trying to use a timer on a slider to change the gain of a specific frequency and am getting clicks along the way. The click near disappears if I program a sudden change (p 1inFast)but pronounced if I try it over say a 10 seconds (p 10inSlow).
Question/problem: is there a way to preset more than one set of band widths. Every time I try to set a new one it clears part of the preceding ones.
More questions, but the clicking is the big hurdle problem:
Thanks!

– Pasted Max Patch, click to expand. –

May 27, 2012 | 3:00 pm

MSP Tutorial 2 explains the reason you are hearing clicks. In your case you will cause clicks with changes in the gate~ object (matrix~ is more appropriate for quick crossfades between outputs) as well as with the changes in cascade~ coming from filtergraph.

Here’s a couple of examples that might help.
Example 35: Using matrix~ for audio routing and mixing
Example 21: Smooth filter changes


May 27, 2012 | 3:19 pm

I will check out your examples again, thanks.
Just to be clear, I am not having trouble with gate assignments because these are never changed on the fly, but trouble with changing gain on a given frequency.


May 27, 2012 | 3:26 pm

thanks again, example 21 very helpful & will work on today.


Viewing 4 posts - 1 through 4 (of 4 total)