Can a Piezo/ Accelerometer pick up both frequency and amplitude?

Ok from some research ive been doing over the last day or so, i think im asking the wrong question. Basically there exists piezo's that are used as microphones, this means they can pick up the vibrations of audio.

The question i now pose is,if i plant a piezo on an instrument, does anyone know how to extract from the vibration of an instrument (didge) the frequency and the amplitude and represent it in numerical form, ie some coding pieces.

frequency will basically be how quickly the cycles are happening and amplitude will be how big they are. anyone know how to code that?