"currently selected filter" message in cascade?

    Dec 01 2008 | 7:19 pm
    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.

    • Dec 01 2008 | 7:44 pm
      I think that the "selectfilt" message is the one you're looking for.
    • Dec 01 2008 | 7:50 pm
      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.
    • Dec 01 2008 | 8:05 pm
      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.
    • Apr 20 2010 | 5:57 pm
      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.
    • Apr 20 2010 | 7:01 pm
      does it work while the mouse is over the graph object?
    • Apr 20 2010 | 11:29 pm
      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?
    • Sep 27 2010 | 7:35 pm
      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.