Help - Filtergraph~ output 'current filter'

Mark Durham's icon

I can't seem to find this functionality, but please let me know if it is already there.

It would be nice if filtergraph~ output a number for the current filter that is being changed with the mouse. I'm trying to implement a filter where the user can either set the Freq/Q/Gain settings with live.dials or use the mouse on filtergraph. I need to know which filter is being changed with the mouse - so I can set the dials to follow.

Here's where I'm at:

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

2K's icon

This is what you want?

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

Mark Durham's icon

I don't think so. I want to set the live.dials when the filtergraph is changes using the mouse.
Like this:

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

But I need the filter number being changed to route the number to the right live.dial.

Does that make sense?

Mark Durham's icon

It's weird. Seems like whichever filter you adjust it always changes the edit_filter attribute to 2

Mark Durham's icon

I see - it's actually just outputting all three at every change. Might have it...

Mark Durham's icon

Voila!

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

Thanks @2K - That did actually help

Mark Durham's icon

Then I realised I needed to set each pak too. Here it is actually working - just in case anyone else wants to do this:

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

That ended up being way more complex than I expected...