title: PyAudio is not picking up audio
body: <p>I'm running a python program and i'm using PyAudio to pick up my voice. My volume is on and I even tried it with airpods but it's not picking up anything. This is the code that i am running.</p>
  <pre><code>r=sr.Recognizer()
  
  with sr.Microphone() as source:
  
  print(&quot;Listening...&quot;)
          
  r.pause_threshold = 1 #use for recognizer hold
         
   
  r.energy_threshold = 1000
          
  audio = r.listen(source)
  
  try :
  
  print(&quot;Recognizing...&quot;)
  
  query = r.recognize_google(audio, Language = 'en-us')
  
  print(f&quot;user said: {query}\n&quot;)
  
  speak(&quot;okay&quot;)
  
  except Exception as e:
          
  print(&quot;Say that again please&quot;)
          
  return &quot;None&quot;
      
  return query
  </code></pre>
  <p>The output i get is</p>
  <pre><code>Listening...
  Recognizing...
  Say that again please
  </code></pre>
  <p>If anyone can point me in the right direction as to how to fix this I would appreciate it!</p>