"currently selected filter" message in cascade?

Dec 1, 2008 at 7:19pm

"currently selected filter" message in cascade?

Greetings,

I’m using filtergraph~ in cascade mode with 6 filters. Is there a message to filtergraph~ that will allow me to change which filter is selected without clicking on filtergraph~? This would correspond to the “currently selected filter” option in the filtergraph~ inspector.

I’m using Max 4.6.

Thanks

#41130
Dec 1, 2008 at 7:44pm

I think that the “selectfilt” message is the one you’re looking for.

lh

#146210
Dec 1, 2008 at 7:50pm

weird.
“selectfilt $1″ moves crosshairs to the desired filter, but doesn’t highlight it in red. so when i adjust the cutoff, gain, etc., it’s not the desired filter that gets changed, it’s the originally highlighted one.

#146211
Dec 1, 2008 at 8:05pm

Try using the “params” message in conjunction with “mode” and “whichfilt” this should allow you to set the filter, mode, cutoff, gain and q factor.

lh

#146212
Apr 20, 2010 at 5:57pm

It’s still the same problem with Max5…
“selectfilt” doesn’t replace mouse’s action to select the desired filter;
Is there any correction to come next? It could be good for midi control only.

#146213
Apr 20, 2010 at 7:01pm

does it work while the mouse is over the graph object?

#146214
Apr 20, 2010 at 11:29pm

yes, it works with the mouse over a filter and a click to select it,
and “selectfilt” doesn’t change is behaviour while the mouse is over the graph.
What I would like to find is a way to recall a numbered filter without mouse action. “selectfilt + [filter-index]” seems to be a simple and direct way to realize this, but it does the half work by not replace completely the presence of mouse over the graph.
Have I to find a solution as with Max 4.6… like Luke Hall suggested one year ago, or do I miss something new with Max 5?

#146215
Sep 27, 2010 at 7:35pm

yippi :)

it finally works, using the attributes “edit_filter [int]” and “edit_mode [int]“.

(Max 5.1.5)

BTW, there’s an error in the documentation. it says:
“Filters are numbered from 1.” (for the edit_filter attribute).
The counting actually starts from 0.

#146216

You must be logged in to reply to this topic.