when record, first clear the buffer
Use LED to show recording status