Recorder stops recording when it identifies a speech endpoint. Saves the
audio to a file "rec.wav"