Ok so I’m a bit of a noob here. I’ve manage to get my accelerometer in my iphone with TouchOSC to control a slider
however it seems that both the X and the Y movement of the accelerometer are controling the slider.
How can i have the X control one slider? and the Y control another slider??
many thanks in advance
Looks like the accelerometer is sending out a list comprised of three numbers (x y z). If you use "unpack" each member of the list should come out of a different outlet.
This a very basic example:
[route /accxyz ]
[unpack 0. 0. 0.]
| | |
| | |
Attach the outlets of the [unpack ] object to flonum boxes (float number boxes). Or, you can attach the outlets to sliders or whatever.
Hope this helps,
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.