Microphone access in Python
-
10-07-2019 - |
Question
Can I access a users microphone in Python?
Sorry I forgot not everyone is a mind reader: Windows at minimum XP but Vista support would be VERY good.
Solution
Best way to go about it would be to use the ctypes library and use WinMM from that. mixerOpen will open a microphone device and you can read the data easily from there. Should be very straightforward.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow