Updated to record 10 seconds of audio.