title: How can I get microphone dB level in a script?
body: <p>I would like to get microphone input level in spark ar script for an AR filter I'm developing.</p>
  
  <ul>
  <li>It looks like this existed at this link at some point but the page is empty now: <a href="https://sparkar.facebook.com/ar-studio/learn/documentation/tutorials-and-samples/audio-analyzer-and-energy-meter/" rel="nofollow noreferrer">https://sparkar.facebook.com/ar-studio/learn/documentation/tutorials-and-samples/audio-analyzer-and-energy-meter/</a></li>
  <li>I tried to create a bit crusher patch and connect its output to a value patch and pass that to script but spark ar shows an error: "Please check the patch graph and try again" 
  Also I have no idea what type that would be so I can't read it on the script.</li>
  </ul>