Improve sound detection on recorder