0
Volume
I know that this won't work on sololearn or on smartphones,but I'm guessing that it might work on PCs or laptops.So, here's the question: is there a PYTHON code to increase and decrease volume of the PC,or a laptop.
7 ответов
+ 2
What do you mean by volume? Taking what you say literally, you are asking how to use Python to make your laptop bigger. Are you talking about storage, or RAM...? You're question is very confusing.
+ 2
Oh!!!
😂
That's not what I was thinking of...
"increase the volume of my laptop? why does he think he can make his laptop bigger using a code?"
Okay, I see what you mean now, sorry.
+ 2
from subprocess import call
call(["amixer", "-D", "pulse", "sset", "Master", "0%"])
works on linux, don't know if it works on MS Windows.
0
I'm talking about the speakers
0
by volume I mean the sound from the speakers
0
do you have a code for this?
0
thanks