how animals detect sound