I am making a project related to smart computers in which I have to change volume of my PC when I raise my left or right hand in front of the webcam. I have figured out the procedure for sensing when and which hand is raised but I have no idea how to change the volume. I am not saying about volume of a media player but of the system, the master volume of the system.
Please tell how can I change the master volume of my PC.
I am doing it in Java and my PC has Windows 10.