Tap pressure strength detection using accelerometer

前端 未结 8 1058
一整个雨季
一整个雨季 2020-11-29 00:05

Yesterday, in the presentation about the new Garageband for iPad 2, Apple demoed an interesting feature: The detection of the tap pressure by using the accelerometer. (See t

8条回答
  •  孤独总比滥情好
    2020-11-29 00:45

    Try it yourself with the AccelerometerGraph sample app. The device and the tabletop have finite stiffness, so you might see little blips in the graph.

    ADDED:

    If you compile Apple's AccelerometerGraph graph sample from source code yourself, you can turn up the gain on the vertical axis and see blips for smaller accelerations.

提交回复
热议问题