Touch/Tap - is there a way to emulate the concept of 'pressure'?

Anyone have any ideas on how to emulate the pressure of a touch/tap

Time the event?
Get the size of a tap?

Trying to make a light touch/tap audio driven event be quieter than a heavy tap.

Kinda like a real piano…
[import]uid: 9070 topic_id: 21931 reply_id: 321931[/import]

just check the duration of the tap … the longer the tap the longer the pressure?
c [import]uid: 24 topic_id: 21931 reply_id: 87181[/import]

That was my first thought too…

I know it’s not in the API, but the area of the tap (if we could get it) that might be better. [import]uid: 9070 topic_id: 21931 reply_id: 87188[/import]

Applications which emulate the hit of piano keys and respond depending on how hard you hit usually use the accelerometer to detect harder/softer hits and adjust the output based on that.


One of GarageBand’s neatest tricks is its ability to detect how hard you’re hitting a note based on the iPad’s accelerometer. For the virtual piano, it feels natural, almost like the real thing.

http://technologizer.com/2011/03/10/some-quick-thoughts-on-garageband-for-ipad/

I don’t think there is any way to detect the SIZE of an area tapped on iOS. [import]uid: 10389 topic_id: 21931 reply_id: 87190[/import]

Thanks for the lead - using the accelerometer… I’ll do some prototyping.

As to the size of the tap - yeah I know it isn’t in the API, but hey - you never know!
[import]uid: 9070 topic_id: 21931 reply_id: 87331[/import]