There is a phenomenon in speech called coarticulation, in which certain sounds are produced differently depending on the sounds that come before or after them.
For example, though the letter n is usually pronounced with the tongue pressed near the middle of the mouth's roof (as in the word "ten") but it's pronounced with the tongue forward when it's followed by a –th, as in tenth).
A decade ago, researchers discovered that coarticulation extends to a different kind of communication - American Sign Language. Knowing that hand movements could be affected according to where they fit in during sign language, researchers wondered if there was a similar effect on hands when they were used to produce sound, such as playing the piano.