title: Muting/unmutting & changing volume via Web Audio API in JavaScript
body: <p>I have a few quick questions regarding the Web Audio API.   I am developing in JavaScript (AngularJS).</p>
  
  <p>A great demo app that I am using is at:
  <a href="https://webaudiodemos.appspot.com/AudioRecorder/index.html" rel="nofollow noreferrer">https://webaudiodemos.appspot.com/AudioRecorder/index.html</a></p>
  
  <p>Once I grant access to my audio microphone in my Chrome browser, using the Audio API, is there a way to:</p>
  
  <ol>
  <li>Mute and un-mute the microphone?</li>
  <li>Manually changing the microphone volume from JavaScript?</li>
  <li>An Audio API function returning a Boolean flag (or any object)
  letting me know if the microphone is inaccessible (not working)?</li>
  </ol>
  
  <p>I have found a few links on StackOverflow, but they have not given me the key information that I can use for my need:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/33129754/volume-control-with-web-audio-api">Volume control with Web Audio API</a></li>
  <li><a href="https://stackoverflow.com/questions/34482708/mute-microphone-in-speakers-but-still-be-able-to-analyze-createanalyser-with-w">Mute microphone in speakers but still be able to analyze (createAnalyser) with Web Audio Api?</a></li>
  <li><a href="https://stackoverflow.com/questions/14044761/how-to-mute-all-sound-in-a-page-with-js">How to mute all sound in a page with JS?</a></li>
  </ul>