I
I
imambek2020-04-28 10:52:20
Python
imambek, 2020-04-28 10:52:20

How to record sound from speakers?

Is it possible to record sounds from speakers/headphones using python?
It is necessary to enable recording on command, write to a file.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2020-04-28
@rPman

without python
in the mixer, you must select the stereo mixer as the source (control panel - sound - sound recording)
and after that read the data from the mixer with python or whatever you like
https://docs.python.org/3/library/mm.html

V
Vadim Shatalov, 2020-04-28
@netpastor

https://python-sounddevice.readthedocs.io/en/0.3.1...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question