Help with cascade~

Deru's icon

Hey Yall,

Do you if it's possible to have cascade~ output the different cutoff values for whatever filter you happen to be mouse clicking on? Say you have it set up as a parametric EQ (like in the help file example) is there a way to have it output the cutoff values for more than just the first filter?

Thanks!!

Kristian Nymoen's icon
Deru's icon

Oh man Kristian,
thank you SO MUCH.
that is exactly what i was looking for.

thanks man. i owe you one. not sure if i'll ever be able to pay you back, but that's another story.

:)

THANKS!

Ben

Deru's icon

hey Kristian,

now I have a similar question if you don't mind.
i want to be able to modify some of the data and then pack it back up (if need be i guess) and send it to a different filtergraph~.

basically i'm trying to get two filtergraphs~ to behave in the exact opposite ways. so same freq and Q, but opposite gain.

i'm not sure how to "tell" the other filtergraph which filter i've just modified in the first one.

thanks man!

ben

Kristian Nymoen's icon

try this:

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

The params-message followed by four numbers sets the filter-number,
frequency, gain and Q of the filter you want to control.

Kristian

----Original Message Follows----
From: ben
Subject: [maxmsp] Re: Help with cascade~
Date: Thu, 2 Nov 2006 18:37:48 -0700

hey Kristian,

now I have a similar question if you don't mind.
i want to be able to modify some of the data and then pack it back up (if
need be i guess) and send it to a different filtergraph~.

basically i'm trying to get two filtergraphs~ to behave in the exact
opposite ways. so same freq and Q, but opposite gain.

i'm not sure how to "tell" the other filtergraph which filter i've just
modified in the first one.

thanks man!

ben

MSN Spaces http://spaces.msn.com/?mkt=nb-no Vis hvem du er og hva du vil

Deru's icon

oh man brother...
what can i say except,
THANK YOU SO MUCH!

with gratitude,

BEN

:)

Stefan Tiedje's icon

Kristian Nymoen wrote:
> You'ld want to do get filtergraph~ output the values, not cascade~.
>
> you can do it like this:

Interesting solution, but delayed... ;-)
There is an extra outlet for the filter index, I do it that way:

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

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

Deru's icon

Hey Stefan,

Awesome. Thanks for your help! Hmmmm.
Yeah man, they both work great.

Knowledge is half the battle.

:)

Thanks..

Ben

Deru's icon

hey guys,

once again i implore you. if you're over it i understand.
:)

so i have the plug (it's going to end up a pluggo) built but i am having a really hard time figuring out how to get my pp values back into the filtergraph. they're turing out to be unreliable when recalled for some reason that i can't diagnose. my best guess is that it's a timing issue having to due with all the information arriving at the first inlet to the filtergraph at the same time, particularly the number of filters information along with the information for the 6 individual filters. it seems like, as the number of filters is variable, maybe the pp data for the individual filters is getting there before the filter turns or whatever. that's my best guess at this point. i've tried troubleshooting with that in mind and what i came up with didn't work. i made a simple patch here with comments. hopefully it makes sense.

thanks in advance!!

ben

jml's icon

are you having issues once you've made the plugin, or before?
(shouldn't matter, necessarily)
not sure why this wouldn't work for you:

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

jl

Deru's icon

hey jl,

yeah, that one pp does work. the issue comes once you combine that with the pp's for the individual filter parameters. then once you try to recall the settings, the settings are unreliable.

thanks!!

ben

jml's icon

try plugmultiparam.

jl

Deru's icon

hey jl,

i'm having a hard time finding plugmultiparam.
could you be more specific?

thanks man!!

b

jml's icon

plugmultiparam is an external included in the standard distribution of maxmsp.
what version are you running?

did you give plugmultiparam arguments?
if not, you'll get an error in the max window.
for further info on the object, consult the help file.

hth,
jl

Deru's icon

hey JL,

right you were. i wasn't specifying an argument so i was getting the error. it seems promising, but i can't quite seem to figure out how to hook it up. was this what you were intending?

thanks again man!!

ben

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


jml's icon

i think you've already got more than enough to go on, here.
you might want to think about having a fixed number of filters.
see example:

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

jl

Deru's icon

hey JL,

thanks for taking the time to show me this!
i'll mull it over and get to better understand it.

THANK YOU!

Ben