support for finding end of sound