The acoustic transmission from the external to the middle ear (and to the internal ear too) is entirely mechanical. The vibration of the tympanic membrane triggers the vibration of the hammer that then causes the incus to vibrate. The incus then causes the stapes to vibrate.