Improve sound duration accuracy