My end goal is to create a music visualizer, however the resources I have found online use the microphone or audio files as audio input. However I would like for the audio input be any audio from the system. Such as audio from youtube or audio from a game etc.
Asked
Active
Viewed 286 times
1
-
What OS are you running on? – Green Cloak Guy May 18 '21 at 02:56
-
im running windows – keepcs May 18 '21 at 03:15
-
For Windows, these two Q&A's may help: https://stackoverflow.com/questions/23295920/loopback-what-u-hear-recording-in-python-using-pyaudio and https://stackoverflow.com/questions/26573556/record-speakers-output-with-pyaudio – ViennaMike May 18 '21 at 03:19
1 Answers
0
The problem is, those are not "audio inputs". Those are "audio outputs". There is no built-in way to capture what's being sent to the speakers. If you are using Linux, it's possible to use "loopback recording" to capture what's going to the speakers. https://wiki.ubuntu.com/record_system_sound
If you're running Windows, it's harder.

Tim Roberts
- 48,973
- 4
- 21
- 30