When the vibration passes through the middle ear to the cochlea, the oval window moves in and out, causing the pressure in the outer chamber to increase and decrease in a rapid sequence.
The alternating high and low pressure in the outer chamber produces ripples in the basilar membrane. This movement bends the hair cells, causing them to generate neural impulses.