Forums > MaxMSP

transition time for presetbox parameter change

April 25, 2008 | 11:21 am

Hi,

Is it poosible to let different presets not change abruptly?
It would be great to set transition times that corresponds to bpm,
so parameter values slowly fade between states, synced to the beat.

This is maybe possible with another object than presetbox?

Thanks for your time :=)


April 25, 2008 | 1:02 pm

[line]

something like this
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden message 280 55 14 196617 4;
#P hidden message 259 55 20 196617 60;
#P hidden newex 259 31 48 196617 loadbang;
#P flonum 329 85 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 297 85 34 196617 Beats;
#P flonum 259 85 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 259 179 80 196617 bondo;
#P hidden newex 259 123 29 196617 !/ 1.;
#P hidden newex 259 149 55 196617 * 60000.;
#P hidden newex 259 209 80 196617 * 8;
#P hidden newex 163 179 58 196617 t b i;
#P hidden newex 163 209 27 196617 i;
#P hidden newex 163 238 107 196617 pack 0 0 0;
#P hidden message 163 264 54 196617 $1 , $2 $3;
#P hidden newex 163 291 48 196617 line 1 40;
#P hidden newex 163 149 40 196617 change;
#P hidden message 121 123 39 196617 set $1;
#P number 121 85 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpreset 2;
#X append 1 1 1 123 163 number int 36 ;;
#X append 2 1 1 123 163 number int 189 ;;
#P preset 163 78 47 27;
#P hidden number 163 123 35 9 0 0 128 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 229 86 28 196617 BpM;
#P hidden connect 18 0 19 0;
#P hidden connect 18 0 20 0;
#P hidden connect 20 0 17 0;
#P hidden connect 19 0 15 0;
#P hidden fasten 6 0 3 0 168 321 112 321 112 75 126 75;
#P hidden connect 17 0 14 1;
#P hidden connect 15 0 13 0;
#P hidden connect 11 0 8 2;
#P hidden connect 13 0 12 0;
#P hidden connect 12 0 14 0;
#P hidden connect 14 0 11 0;
#P hidden connect 14 1 11 1;
#P hidden connect 3 0 4 0;
#P hidden connect 3 0 9 1;
#P hidden connect 9 0 8 0;
#P hidden connect 10 0 9 0;
#P hidden connect 10 1 8 1;
#P hidden connect 5 0 10 0;
#P hidden connect 8 0 7 0;
#P hidden connect 7 0 6 0;
#P hidden connect 1 0 5 0;
#P hidden connect 4 0 1 0;
#P hidden connect 2 0 1 0;
#P window clipboard copycount 21;



PKM
April 25, 2008 | 1:03 pm

pattrstorage can interpolate between values

On Fri, Apr 25, 2008 at 12:21 PM, petterdass wrote:

>
> Hi,
>
> Is it poosible to let different presets not change abruptly?
> It would be great to set transition times that corresponds to bpm,
> so parameter values slowly fade between states, synced to the beat.
>
> This is maybe possible with another object than presetbox?
>
>
> Thanks for your time :=)
>


April 25, 2008 | 2:39 pm

Thanks, but i doesnt understand this pattr objects yet…:(

Is this very dufficult?


April 25, 2008 | 4:05 pm

difficult? yes. no.

have a look at the tutorials. it is more about organizing your patch
and deciding what are the important values you want to interpolate. a
bit more time but worth the effort.

Cheers,

carey

On 4/25/08, petterdass wrote:
>
> Thanks, but i doesnt understand this pattr objects yet…:(
>
> Is this very dufficult?
>


April 25, 2008 | 5:03 pm

On Apr 25, 2008, at 7:39 AM, petterdass wrote:
> Thanks, but i doesnt understand this pattr objects yet…:(
>
> Is this very dufficult?

It’s not too hard, for simple things. I have an example, called
PattrKitty on my examples page:

http://xfade.com/max/examples/

-C

Chris Muir
cbm@well.com

http://www.xfade.com


April 25, 2008 | 6:32 pm

Thanks alot, Chris

You write : "Once those objects are set up, the value of any named UI object will be stored by the pattr system."

How do I name numberboxes? ( I mean what to do with numberboxes )


April 25, 2008 | 7:11 pm

On Apr 25, 2008, at 11:32 AM, petterdass wrote:
> How do I name numberboxes? ( I mean what to do with numberboxes )

Object menu->name brings up the name dialog in Max 4, and brings up
the inspector in Max 5 with the scripting name field selected.

-C

Chris Muir
cbm@well.com

http://www.xfade.com


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