filtergraph interpolation with pattrstorage

Phijel's icon

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

Maurizio Giri's icon

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

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

Emmanuel Jourdan's icon

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.

Phijel's icon

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