Forums > MaxMSP

acceleration slider

September 13, 2011 | 6:51 pm

Hello,
I’m trying to figure out how to get acceleration data from moving a slider.
Does anyone know how to do this?

Dave



MIB
September 13, 2011 | 9:02 pm

did you do a search on this first?? seems to be a ton of stuff out there already….

here is one of the first ones I found:

http://cycling74.com/forums/topic.php?id=26433


September 13, 2011 | 10:04 pm

Hi Dave

MIB is right – choose the right keywords, and a forum search is your quickest route to a solution for most, or at least many, questions.

Having said that: connect your slider to a [-] via [t i i], delay the left hand stream via a [pipe 50] (vary this delay value to get the result you want) the result is your ‘delta’.

Brendan


September 14, 2011 | 6:41 am

Ah, sorry.
I already found an example using bucket, but didn’t really understand how that worked.
I don’t really get the bucket object.
But Brendan’s solution is really straightforward.
I knew it shouldn’t be that difficult.

Thanks.


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