Forums > MaxMSP

Pict slider sensitivity.

May 20, 2007 | 7:22 pm

Hi there,
I have created a patch that will be controlled by an accelerometer. The accelerometer is linked to a pict slider object. The problem I am having is the incoming data is moving the pict slider object to freely. I am searching for a way to slow (scale) down the incoming data. So far I have tried all types of options combining prepend set and the line object but am having no luck. Any advice would be greatly appreciated. thanks, Mike.


May 21, 2007 | 3:41 pm

input —> pack f 200 —> line 0. should definitely slow it down more
than enough. What are you using for a time value to line?

Peter McCulloch

http://www.petermcculloch.com


May 22, 2007 | 11:37 pm

Thanks for the reply Peter but I’m not sure what you mean by your instructions. Could you explain further. Thanks for the help, Mike.


May 23, 2007 | 4:51 pm

I think Peter means this (made in 2 ways):

ciao,
ric

max v2;
#N vpatcher 14 59 614 459;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 389 142 43 196617 $1 200;
#P flonum 389 209 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 389 171 40 196617 line 0.;
#P flonum 389 117 51 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 447 116 100 196617 your input;
#P flonum 97 206 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 97 168 40 196617 line 0.;
#P newex 97 139 58 196617 pack f 200;
#P flonum 97 114 51 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 155 113 100 196617 your input;
#P comment 265 162 100 196617 or;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 7 0 10 0;
#P connect 10 0 8 0;
#P connect 8 0 9 0;
#P pop;

Il giorno 23/mag/07, alle ore 01:37, Mike Andrews ha scritto:

>
> Thanks for the reply Peter but I’m not sure what you mean by your
> instructions. Could you explain further. Thanks for the help, Mike.


May 23, 2007 | 5:06 pm

Excellent. That works perfectly tanks fo the help.


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