Possible Duplicate:
Tap pressure strength detection using accelerometer
I've found the video introducing iPad2. http://www.youtube.com/watch?v=_nP_hhrkdrE
at 3:40, when you hit on the drum harder, the louder the sound produced.
I've kept search a lot on Apple developer's API and cannot find such techniques, so how to do so?
Thanks!