Preset morphs

denonblade@hotmail.com's icon

I remember having this idea at university but I was never able to implement it.

Is there anyway you can "slide" between presets. The standard way the preset behaves is like an integer, is there anyway you can have the preset object behave like a floating point. i.e. memory one holds a value of 3, memory 2 holds a value of ten. Using a float, would you somehow be able to hover between the two.

I know you could use ramps or lines for parameter changes but that isnt exactly what i had in mind. Morphing is my aim.

nick rothwell | project cassiel's icon

On 21 Nov 2008, at 12:11, wavecircle wrote:

> Is there anyway you can "slide" between presets.

The pattr machinery (which is much more robust than presets) allows
morphing between settings.

    -- N.

Nick Rothwell / Cassiel.com Limited
www.cassiel.com
www.myspace.com/cassieldotcom
www.last.fm/music/cassiel
www.reverbnation.com/cassiel
www.linkedin.com/in/cassiel
www.loadbang.net

Mike S's icon

I think pattr can do this

oli larkin's icon

int.lib graphical preset interpolator/morpher (not currently Max5 compatible)

also see pMix, built with int.lib

a bit of shameless self promotion :-)

oli

jln's icon
Anthony Palomba's icon

Quote: jeanfrancois.charles wrote on Fri, 21 November 2008 07:36
----------------------------------------------------
> ...and also how to interpolate between any number of
> presets (like 30% of preset 1, 40% of preset 2, 30% of preset 12)
----------------------------------------------------

Really? I did not know you could do this. I thought you could only
interpolate between two presets. I would love to know how you
can interp between multiple presets, can you please post
and example.

Anthony Palomba's icon

Here is a good example the shows preset morphing and
different kinds of interpolation...

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

Kasper's icon

>Here is a good example the shows preset morphing and
>different kinds of interpolation...

arggghhhhhhh!! in max 4 please!!! (readable in 5!) or at least one or
2 words of explaination

kasper

Anthony Palomba's icon

Max4 version...

Kasper's icon

>Max4 version...

many thanks, but wasn't someone just sayin than you can interpolate
between _3_ presets (40% of A 30% of B and 30% of Z) ??

I know how to interpolate between 2 (even non adjacent) presets, but
how could you between 3 (or 4 which seems a little easier since you
could use 2 axes, x & y, even if I don't know how to do it) ?

thanks a lot

kasper
--
Kasper T. Toeplitz
noise, composition, bass, computer
http://www.sleazeArt.com

oli larkin's icon

the recallmulti message does what you are looking for

oli

Anthony Palomba's icon

Yes, that patch was for Denon...

It too would like to know how to interpolate between 3 presets
(40% of A 30% of B and 30% of Z) ?? pattrstorage help files do
not seem to show how to do this.

Anthony Palomba's icon

Quote: oli larkin wrote on Fri, 21 November 2008 09:32
----------------------------------------------------
> the recallmulti message does what you are looking for
>
> oli
----------------------------------------------------

Ahhh there it is...

recallmulti: normalized-weight-pair [list] The word recallmulti, followed by at least 2 numeric arguments, permits weighted recall of multiple presets. Each argument determines the (normalized) weight of a particular preset in the final output. If the argument is an integer, the weight is 100%. If the argument is a floating point number, the integer part of the number determines the preset number, and the floating point part of the number determines the weight. For instance, recallmulti 1.3 2.3 5.4 would weight preset 1 at 30%, preset 2 at 30% and preset 5 at 40%. Since weights are normalized, the total weight can be higher than 100%; for instance, recallmulti 1.5 3.5 6.8 would calculate correct weights (27.77%, 27.77% and 44.44% respectively), and recallmulti 1 2 3, recallmulti 1.5 2.5 3.5 and recallmulti 1.99 2.99 3.99 all result in the same output (33.33% for each member).

Jean-Francois Charles's icon

>> the recallmulti message does what you are looking for
>> oli
>
> Ahhh there it is...
>
> recallmulti: normalized-weight-pair [list]

Yes, recallmulti (just back to my computer :)
Jean-Francois.

Chris Muir's icon

On Nov 21, 2008, at 7:16 AM, Kasper T Toeplitz wrote:

> arggghhhhhhh!! in max 4 please!!! (readable in 5!) or at least one
> or 2 words of explaination

My advice is to get used to it. More and more advice is going to come
in the form of Max 5 patchers.

Fredrik Olofsson's SuperCollider-based Max 5 to Max 4 conversion tool
is not too hard to use.
http://www.fredrikolofsson.com/pages/code-sc.html

-C

Chris Muir
cbm@well.com    
http://www.xfade.com

Kasper's icon

>On Nov 21, 2008, at 7:16 AM, Kasper T Toeplitz wrote:
>
>>arggghhhhhhh!! in max 4 please!!! (readable in 5!) or at least one
>>or 2 words of explaination
>
>
>My advice is to get used to it. More and more advice is going to
>come in the form of Max 5 patchers.
>
>Fredrik Olofsson's SuperCollider-based Max 5 to Max 4 conversion
>tool is not too hard to use.
>http://www.fredrikolofsson.com/pages/code-sc.html

sure sure

but since max4 is readable in max5..............

(and did i not read somewhere that max 5 text-files will be human
readable??? after years, a look at a simle max4 patch in text gives
you an idea of (at least) the objects used in it - but looking at a
max5 text.......... or maybe i am not THAT kind of human... !!!)

best

kasper
--
Kasper T. Toeplitz
noise, composition, bass, computer
http://www.sleazeArt.com

Chris Muir's icon

On Nov 21, 2008, at 11:13 AM, Kasper T Toeplitz wrote:

>> On Nov 21, 2008, at 7:16 AM, Kasper T Toeplitz wrote:
>>
>>> arggghhhhhhh!! in max 4 please!!! (readable in 5!) or at least one
>>> or 2 words of explaination
>>
>>
>> My advice is to get used to it. More and more advice is going to
>> come in the form of Max 5 patchers.
>>
>> Fredrik Olofsson's SuperCollider-based Max 5 to Max 4 conversion
>> tool is not too hard to use.
>> http://www.fredrikolofsson.com/pages/code-sc.html
>
> sure sure
>
> but since max4 is readable in max5..............

Yeah, but at least for me, I generally post things when they're either
simple enough for me to code up in a minute, or they are a close
variation of something I have laying around. Things I have laying
around are all in Max 5 for the last year or so. I generally have Max
5 open, and I prefer it as an environment, so going back to Max 4 is
not something that I choose to do too much. Plus, going back to Max 4
means going to a different machine (or at least grabbing the iLok
dongle off of that machine).

> (and did i not read somewhere that max 5 text-files will be human
> readable??? after years, a look at a simle max4 patch in text gives
> you an idea of (at least) the objects used in it - but looking at a
> max5 text.......... or maybe i am not THAT kind of human... !!!)

Well, the compressed version that is used on the mailing list is only
robot readable. The Max 5 file format itself (.maxpat) is considerably
more human readable than the Max 4 format, IMO.

-C

Chris Muir
cbm@well.com    
http://www.xfade.com

jan.jdo's icon
MikEyhaTsis's icon

Quote: oli larkin wrote on Fri, 21 November 2008 06:28
----------------------------------------------------
> int.lib graphical preset interpolator/morpher (not currently Max5 compatible)
>
> http://www.olilarkin.co.uk/index.php?p=max#il
>
> also see pMix, built with int.lib
>
> http://www.olilarkin.co.uk/index.php?p=pmix
>
>
> a bit of shameless self promotion :-)
>
> oli
----------------------------------------------------
Thanks for these...

any timeframe for these objects to be max 5 compatible?

Michele Verità's icon

wow multirecall is an amazing feature! did'nt know it!..i would like to interpolate between 4 presets using a pictslider..i'm having some difficulties with scaling horizontal and vertical values..can someone show me how to do it... max 4 here
all the best
michele

oli larkin's icon

> any timeframe for these objects to be max 5 compatible?

i have it almost ready, but there are still a few things not working. hopefully within a few weeks

oli

pencilina's icon

Hi,

Not sure if anyone if anyone mentioned this:

Its a little broken in 5 but usable for morphing multiple presets - check out the with-jit example as it seems to work the best

rock
b

MikEyhaTsis's icon

cool...looking forward to it!

Thanks again,
Michael

Michele Verità's icon

@jan. thanks!