Forums > MaxMSP

Preset morphs

November 21, 2008 | 12:11 pm

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.


November 21, 2008 | 12:41 pm

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
http://www.cassiel.com
http://www.myspace.com/cassieldotcom
http://www.last.fm/music/cassiel
http://www.reverbnation.com/cassiel
http://www.linkedin.com/in/cassiel
http://www.loadbang.net


November 21, 2008 | 12:42 pm

I think pattr can do this


November 21, 2008 | 1:28 pm

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


November 21, 2008 | 2:36 pm


November 21, 2008 | 2:51 pm

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.


November 21, 2008 | 2:52 pm

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

– Pasted Max Patch, click to expand. –

November 21, 2008 | 3:16 pm

>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


November 21, 2008 | 3:22 pm

Max4 version…



jln
November 21, 2008 | 3:57 pm


November 21, 2008 | 4:25 pm

>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

http://www.myspace.com/sleazeart


November 21, 2008 | 4:32 pm

the recallmulti message does what you are looking for

oli


November 21, 2008 | 4:42 pm

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.


November 21, 2008 | 4:44 pm

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).


November 21, 2008 | 6:43 pm

>> 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.


November 21, 2008 | 6:50 pm

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


November 21, 2008 | 7:13 pm

>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

http://www.myspace.com/sleazeart


November 21, 2008 | 7:55 pm

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


November 22, 2008 | 6:29 am


November 22, 2008 | 7:22 am

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?


November 22, 2008 | 1:26 pm

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


November 22, 2008 | 2:39 pm

> 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


November 22, 2008 | 5:44 pm


November 22, 2008 | 5:59 pm

Hi,

Not sure if anyone if anyone mentioned this:

http://tirl.org/software/colorblobs/

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


November 22, 2008 | 7:02 pm

cool…looking forward to it!

Thanks again,
Michael


November 24, 2008 | 10:04 am

@jan. thanks!


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