Sample application to record audio