title: Analyze currently playing audio with Python
body: <p>I'd like to build a small Python program that can listen to and analyze currently playing audio on a computer, for example, from any media player. </p>
  
  <p>I know that this is possible with DirectShow on Windows, but I'm not sure how to use it from Python. However, I'd ideally like a cross-platform way that does not use DirectX.</p>