title: Music file encoding in Javascript or PHP
body: <p>I'm trying to figure out how to encode an audio file in javascript.</p>
  
  <p>I would like to do something like</p>
  
  <p>play sound > wait 1 second > play another sound > wait one second.</p>
  
  <p>Then take all of that and turn it into a wav file or even better an mp3.</p>
  
  <p>Anyone know how I can go about doing that? Is it even possible?</p>
  
  <p>Or do I need to use a server side php language like PHP? </p>
  
  <p>If so why, and how would I do it with PHP?</p>