Forums > MaxMSP

capturing snapshots during continuous (line) values

December 11, 2007 | 8:59 pm

Hello ,

my problem:
I would like to capture (isolate) singles values
from a continous flow of values (gived by a line), and I wonder if it it exist a max object to achieve that.
(If not I guess that it can be feasible with some max patch)

any ideas ?

I hope my demand is clear

thank you

Eryck


December 11, 2007 | 9:19 pm

max v2;
#N vpatcher 10 59 610 459;
#P button 169 224 15 0;
#P window setfont "Sans Serif" 9.;
#P number 169 295 42 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 169 263 27 196617 i;
#P number 215 263 42 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 167 151 61 196617 1000 2000;
#P message 142 132 43 196617 0 2000;
#P newex 215 236 40 196617 line;
#B color 5;
#P comment 108 226 59 196617 to capture;
#P connect 7 0 5 0;
#P connect 5 0 6 0;
#P connect 1 0 5 1;
#P fasten 3 0 1 0 172 191 220 191;
#P fasten 2 0 1 0 147 191 220 191;
#P connect 1 0 4 0;
#P pop;


December 11, 2007 | 9:25 pm

oh of course!!! int do that, so simple
it was evident (but not for me tonight)

many thanks Don

best

Eryck


December 12, 2007 | 2:31 am

You can store values from the line into the right inlet of the float
or int object, and then retrieve the most recent value by sending a
bang. Also, check out the value object.

Peter McCulloch

On Dec 11, 2007, at 4:19 PM, don malone wrote:

>
> max v2;
> #N vpatcher 10 59 610 459;
> #P button 169 224 15 0;
> #P window setfont "Sans Serif" 9.;
> #P number 169 295 42 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P window linecount 1;
> #P newex 169 263 27 196617 i;
> #P number 215 263 42 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 167 151 61 196617 1000 2000;
> #P message 142 132 43 196617 0 2000;
> #P newex 215 236 40 196617 line;
> #B color 5;
> #P comment 108 226 59 196617 to capture;
> #P connect 7 0 5 0;
> #P connect 5 0 6 0;
> #P connect 1 0 5 1;
> #P fasten 3 0 1 0 172 191 220 191;
> #P fasten 2 0 1 0 147 191 220 191;
> #P connect 1 0 4 0;
> #P pop;
>
> –
> it takes all of us
> LoneMonad
> http://faculty.roosevelt.edu/malone/default.htm


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