title: Play audio file from string in JavaScript
body: <p>I have the contents of an mp3 file saved as a variable, (this isn't meant to be practical, just for a little project of mine), and I wish to play the contents of this variable as an audio file. This would be a simple task with something like node, but unfortunately I must do this entirely client side. </p>
  
  <p>Please note I can not just save the content of the string as an mp3 file, I need to be able to play it from a variable.</p>
  
  <p>I have looked into this, but from what I have found, it appears that this can not be done. If any of you have a solution, I would appreciate hearing it. </p>