how to control volume with python3?

非 Y 不嫁゛ 提交于 2019-12-12 04:42:08

问题


I wanted to write an alarm program, for waking up in mornings. I want it to play sound as loud as possible, so it needs to raise up volume to 100%. I also asked how to change volume with python?. @macmoonshine suggest me to use 'AppleScript'. it was good and worked for me, but it works only on python2(error on python3) and(not sure) only works for apple. how can I write a program that can control volume in python3 without using AppleScript? I'd appreciate your help(;

来源:https://stackoverflow.com/questions/45780836/how-to-control-volume-with-python3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!