def set_output_volume(volume):
    cmd = 'osascript -e "set volume output volume {0}"'.format(volume)
    call = __salt__['cmd.run_all'](
        cmd,
        output_loglevel='debug',
        python_shell=False
    )
    _check_cmd(call)

    return get_output_volume()
Set the volume of sound.
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_desktop.py/set_output_volume