controling volume in the terminal

will have a function that inputs the data (that detects the motion) and will change the volume