A sensor which can measure the vibration of a material
What you plan seems very difficult to achieve. You are talking about different vibrations when you hit different places. What do you think will be different? Sound loudness level or sound frequency? If you go with frequency, then a microphone would be your device. Measuring sound loudness differences in a hard material is very hard to achieve, because it is a very tiny difference.