Detecting the amplitude of waves on water