我正在搜索库/以某种方式获取Windows系统的当前音频电平(幅度)。
[最好有一个函数currentAudioLevel()
,它返回0到100之间的值,其中0表示没有音频在播放,而100表示正在播放大声。
您将在这里找到答案:Read and/or Change Windows 8 Master Volume in Python或在这里Programmatically changing system-wide speaker balance on Windows 7
第一个答案非常详细地解释了这个主题