filtergraph interpolation with pattrstorage

Sep 7, 2009 at 1:24pm

filtergraph interpolation with pattrstorage

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

#45367
Sep 7, 2009 at 2:06pm

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. –
#163524
Sep 7, 2009 at 2:32pm

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.

#163525
Sep 7, 2009 at 2:58pm

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

#163526

You must be logged in to reply to this topic.