title: Remove silence from audio in JavaScript
body: <p>I want to make a web app in JavaScript, where the user records voice from a mic and then the app trims the silent parts of the recording, so just the voice is left. </p>
  
  <p>Note that silent parts may not be completely silent, because the sound is recorded from the mic, so there might be some background noise. But that noise will be much quieter, than the speech. </p>
  
  <p>I need some guidance on how to do this. Some example of something similar would be nice. If not in JavaScript, than in any language, just so I can get an idea.</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> I already handled the recording part using Web Audio API. I just need help with trimming.</p>