title: Saving Audio to localStorage for Playback
body: <p>I am trying to create a function in which an mp3 file is pulled from</p>
  
  <pre><code>&lt;input type="file" id="sound" accept="audio/*"/&gt;
  </code></pre>
  
  <p>and stored in localStorage within Chrome. (I know localStorage is limited in size, but the audio files that I will be working with will be under 2mb.) Once this audio file is stored, it will be played with:</p>
  
  <pre><code>var audio = new Audio('audioFile');
  audio.play();
  </code></pre>
  
  <p>I am still new to web development, so any pointers would be great!</p>
  
  <p>NOTE: This is not a duplicate of <a href="https://stackoverflow.com/questions/16413063/html5-record-audio-to-file">HTML5 record audio to file</a>. I am trying to take a preexisting mp3 file from my HDD and storing it into localStorage so that it can be played back.</p>