Re: [PD] converting accelerometer & gyro to positive values

2011-06-17 Thread Pagano, Patrick
Thanks frank, you rule

pp

On 6/17/11 10:37 AM, "Frank Barknecht"  wrote:

>On Thu, Jun 16, 2011 at 09:21:53AM -0400, Pagano, Patrick wrote:
>> I am still fooling around with rjdj and I was wondering what way
>> people are using to turn r #acceleromter & r #gyro to positive values.
>> I usually use a mccallum abstraction d-scale for stuff like this but I
>> am not sure it will work with vanilla/rjlib, so I am wondering what
>> others may suggest.
>
>You can use the [m_scale] abstraction in rj to rescale values between
>various ranges, also using non-linear translations.
>
>If you are interested in the magnitude of the accelerometer
>settings you can also use the [m_accel_magnitude] abstraction, which
>whill give you the magnitude in all directions (i.e. how hard someone is
>shaking the device).
>
>Ciao
>-- 
>Frank
>
>___
>Pd-list@iem.at mailing list
>UNSUBSCRIBE and account-management ->
>http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] converting accelerometer & gyro to positive values

2011-06-17 Thread Frank Barknecht
On Thu, Jun 16, 2011 at 09:21:53AM -0400, Pagano, Patrick wrote:
> I am still fooling around with rjdj and I was wondering what way
> people are using to turn r #acceleromter & r #gyro to positive values.
> I usually use a mccallum abstraction d-scale for stuff like this but I
> am not sure it will work with vanilla/rjlib, so I am wondering what
> others may suggest.

You can use the [m_scale] abstraction in rj to rescale values between
various ranges, also using non-linear translations.

If you are interested in the magnitude of the accelerometer
settings you can also use the [m_accel_magnitude] abstraction, which
whill give you the magnitude in all directions (i.e. how hard someone is
shaking the device).

Ciao
-- 
Frank

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] converting accelerometer & gyro to positive values

2011-06-16 Thread Pagano, Patrick
Hi

I am still fooling around with rjdj and I was wondering what way people are 
using to turn r #acceleromter & r #gyro to positive values. I usually use a 
mccallum abstraction d-scale for stuff like this but I am not sure it will work 
with vanilla/rjlib, so I am wondering what others may suggest.

cheers~

PT
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list