Forums > MaxMSP

metro -> static choice

December 3, 2008 | 2:02 pm


December 3, 2008 | 2:11 pm

Have a look at the [onebang] and [change] objects. You might do something like this.

lh

– Pasted Max Patch, click to expand. –

December 3, 2008 | 6:42 pm

thanx luke !

I found what I need ! here’s a 4.6 example because i don’t know how to
generate the text of the patch with 5.0.5. ? When I have text, it’s a source
!

max v2;
#N vpatcher 14 59 614 459;
#P button 95 296 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 101 259 54 196617 onebang 1;
#P button 99 222 15 0;
#P number 192 278 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 177 233 40 196617 change;
#P newex 99 171 88 196617 t b b;
#P newex 97 130 58 196617 metro 500;
#P number 194 136 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 194 100 53 196617 r position;
#P newex 177 207 27 196617 i;
#P toggle 96 93 15 0;
#P connect 9 0 10 0;
#P connect 0 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 8 0;
#P connect 8 0 9 0;
#P connect 6 0 9 1;
#P connect 5 1 1 0;
#P connect 1 0 6 0;
#P connect 6 0 7 0;
#P connect 2 0 3 0;
#P connect 3 0 1 1;
#P pop;


December 3, 2008 | 6:45 pm

2008/12/3 jerome Lesueur

> thanx luke !
>
> I found what I need ! here’s a 4.6 example because i don’t know how to
> generate the text of the patch with 5.0.5. ? When I have text, it’s a
> source !
>
> max v2;
> #N vpatcher 14 59 614 459;
> #P button 95 296 15 0;
> #P window setfont "Sans Serif" 9.;
> #P newex 101 259 54 196617 onebang 1;
> #P button 99 222 15 0;
> #P number 192 278 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 177 233 40 196617 change;
> #P newex 99 171 88 196617 t b b;
> #P newex 97 130 58 196617 metro 500;
> #P number 194 136 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 194 100 53 196617 s position;
> #P newex 177 207 27 196617 i;
> #P toggle 96 93 15 0;
> #P connect 9 0 10 0;
> #P connect 0 0 4 0;
> #P connect 4 0 5 0;
> #P connect 5 0 8 0;
> #P connect 8 0 9 0;
> #P connect 6 0 9 1;
> #P connect 5 1 1 0;
> #P connect 1 0 6 0;
> #P connect 6 0 7 0;
> #P connect 2 0 3 0;
> #P connect 3 0 1 1;
> #P pop;
>
>


Jerome Lesueur
Membre du Forum Ircam ID : 3733
Auditeur au CNAM

smalllotus@gmail.com


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