code: function gotBuffers(wav) {
      if (channels == 1) {
          audioRecorder.exportMonoWAV(doneEncoding, wav);
      }
      else {
          audioRecorder.exportWAV(doneEncoding, wav);
      }
  }
docs: callback from recorder invoked when recordin is finished