C74 Acclerometer data

Apr 23, 2011 at 8:05pm

C74 Acclerometer data

Anyone know of/have a patch that can get acceleromter data out of the c74 app? No idea on how to achieve this and very little documentation online.
Thanks Guys
N

#56540
Apr 23, 2011 at 8:21pm

Nick, What is your sensor ? what is your problem? I have many things on different sensors but I do you want to do, So many ressources online like Gdif, Dot or Jamoma can help you to achieve your project. For me it’s necessary to understand what do you want to do?

#202740
Apr 23, 2011 at 8:33pm

hey mortimer, I simply want to be able to get accelerometer data (streaming numbers) our of the c74 app on iphone to be able to trigger midi events – I can find no resources or way to do it in the example patch though. Any help you might offer would be great.

Nick

#202741
Apr 23, 2011 at 8:53pm

hi nick,
i dont know about c74 iphone app+max object cos is mac only, but if the c74 app dont send the iphone accl data you can use touchosc or msa remote iphone apps and udpreceive and osc cnmat max objects.
best!

#202742
Apr 23, 2011 at 9:04pm

Thanks Carsol, I’m having such weird problems. I’m trying now to use TouchOSC and their example patches and I seem to be able to send bangs from my computer to iphone but not the other way around after I connect them… I have no idea what to do….

#202743
Apr 24, 2011 at 1:08pm

hi nick,
here you have what i use to communicate both ways with iphone touchosc
you need OpenSoundControl external from CNMAT and change ips/ports and osc variable names to match your setting…

hope this helps..

– Pasted Max Patch, click to expand. –
#202744
Apr 24, 2011 at 5:58pm

Regarding your OP, here’s the c74 patch, just connect to the same wifi network as your iPhone/iPad (or go through a local network), load the c74 app on your phone, and launch this patch.

– Pasted Max Patch, click to expand. –

It’s actually quite simple.

#202745
May 14, 2011 at 11:43pm

Thanks for this guys, helpful stuff!

#202746
Aug 2, 2011 at 4:19am

Now, a question on how to make these data usable.

Even with the iPhone sitting still on the table, values are still being put out continuously (with changes happening in the hundredths and smaller digits.) Also, what’s determining the reference point for “negative” space – is it the iPhone’s orientation when first connected? x and y will often be consistently negative at rest.

Anyone have any experience in application of the accelerometer?

#202747

You must be logged in to reply to this topic.