Forums > MaxMSP

filtergraph interpolation with pattrstorage

September 7, 2009 | 1:24 pm

Hello,

I have a patch where i interpolate between different presets using pattrstorage + autopattr. My question(s) is (are):

1) It works fine for most of the objects, number boxes, multisliders, gain~, etc… but my filtergraph keeps jumping from one preset to another without interpolation, creating a significant break in the sound.

2) Another corollary question : is there a way to feed a cascade~ with multiple filtercoeff~ or does cascade~ only work with filtergraph~ ?

I suppose I can link several biquad~ in a chain, each one having his own filtercoeff~, but I was searching for a simpler way.

3) ok, while I’m at it : a third question, is there a way to interpolate between 2 non consecutive presets in pattrstorage ? (I mean, WITHOUT going though all intermediate presets, for example interpolating from 1 to 5, but without going through 2 – 3 – 4)

Thanks a zillion in advance

Philippe


September 7, 2009 | 2:06 pm

1) just interpolate number boxes connected to filtergraph~ (see attached patch)

2) AFAIK no. filtercoeff~ produces signals, and cascade~ wants lists of floats.

3) use the message [recall 1 5 $1] to interpolate between presets 1 and 5 (for instance)

m

– Pasted Max Patch, click to expand. –

September 7, 2009 | 2:32 pm

As far as I can tell the interpolation works fine when you have the same number of filters, that is latest Max version. If it’s not the case, please provide an example.


September 7, 2009 | 2:58 pm

strange thing : I turned Overdrive OFF and then back again ON, and now interpolation works ?! (with audio interrupt ON)

But I noticed I also have a patcher called "line" in my search path, I guess this didn’t help [line] for interpolation in this context…

Thanks for your replies

Philippe


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