How to grab system audio to python?

Refresh

6 days ago

Views

40 time

4

I want to process audio being played by the OS before it is played by the sound device.
I am trying to detect audio from files like mp3 and wav.
I do not want to read the binary data of the files using methods like fread() directly.
Is it possible in Python to set up a listener that can grab the audio from OS in real-time?

0 answers