Is the iPad sensitive to finger pressure?

Can I detect the force or pressure exerted by the finger of a user (musician)?

+4
source share
4 answers

Not yet.

There is a technical demo showing how to do this. See http://tenonedesign.com/blog/pressure-sensitive-drawing-on-ipad/ . Hope something comes out of this. :)

+3
source

Yes, you can detect an area of ​​the finger that is similar. Indeed! You just do not get the point pressure, which requires a different sensory technology.

You can get a number in which the large radius of your finger in millimeters from each finger individually. This is essentially a processed number associated with the number of pixels that you cover with your finger. Unfortunately, I could not get a direct answer to the question whether this is a problem for delivery in this way, so I have to send it with it disabled. But it does work. It returns a value from 7.0 to 11.0, it varies greatly, and you might want to change the low-pass filter filter to that value.

float vf = 10.0; id valFloat = [thisTouch valueForKey:"pathMajorRadius"]; if(valFloat != nil) { vf = [valFloat floatValue]; } 

As an iPad developer, he completely freaks me out that it has worked since the moment the iPad was sent, now it works in iOS4.2 and is still not authorized. This feature is a basic requirement for many application classes if you want something more than a $ 2 game.

+2
source

You cannot determine the pressure, but you can determine the speed of movement (distance / time), and you can establish a linear relationship between speed and force β†’ volume. You could make the bell louder, for example, with a quick movement of your finger, quickly through the bell and with a quiet, short, slow punch. Probably will work fine with harp strings.

+1
source
0
source

Source: https://habr.com/ru/post/1332549/


All Articles