title: is there a way to record audio in mp4 using ruby on rails / web / html5
body: <p>I would like to find a way to record audio (not video) in mp4 format on the web. </p>
  
  <p>Reason for this is ios/android are both generating in this format, and I want to be able to be consistent with the audio format. (android mediarecorder for example does not do mp3, thats the reason why this is the preferred format)</p>
  
  <p>Is there a recorder that records mp4 audio for web/html5/rails?</p>
  
  <p>UPDATE:</p>
  
  <p>I found out recorderjs
  <a href="https://github.com/mattdiamond/Recorderjs" rel="nofollow">https://github.com/mattdiamond/Recorderjs</a></p>
  
  <p>Im guessing if I could change encodeWAV to encodeMPEG4 in here:
  <a href="https://webaudiodemos.appspot.com/AudioRecorder/js/recorderjs/recorderWorker.js" rel="nofollow">https://webaudiodemos.appspot.com/AudioRecorder/js/recorderjs/recorderWorker.js</a></p>
  
  <p>This is the target audio outcome Im trying to achieve:</p>
  
  <p>Type: Audio</p>
  
  <p>Codec: MPEG AAC Audio (mp4a)</p>