Is it possible to detect when the system is recording a sound and then perform some action on Python

Posted by Jorge on Stack Overflow See other posts from Stack Overflow or by Jorge
Published on 2010-04-11T06:46:47Z Indexed on 2010/04/11 6:53 UTC
Read the original article Hit count: 314

Filed under:
|
|
|
|

I began learning Python a few days ago, and i was wondering about a practical use for a program.
Then i came up with the following: if my brother is in his room recording himself playing guitar, a led plugged to the usb and wired so it's outside his door lights up, and then i'll know he's recording and i'll take care not to make any noises.
The main questions are:

  • How Python can detect any recording going on in the system?
  • How would i interface with the usb so i can actually turn the led on?

© Stack Overflow or respective owner

Related posts about python

Related posts about led