os-volume-controll
Version:
Node.js module to manage system's volume
25 lines (20 loc) • 537 B
Markdown
# OS Volume Controll
Part of [Presentation Remote](https://github.com/amiraslanaslani/presentation-remote) project.
## Supported Operating Systems
- Mac OS
- Gnu/Linux
- MS Windows
## Usage
After loading module you can do this actions:
- Mute with `.mute()`
- Unmute with `.unmute()`
- Increase volume with `.incVol()`
- Decrease volume with `.decVol()`
For example:
```
var osvc = require("os-volume-controll");
osvc.mute(); # Mute
osvc.unmute(); # Unmute
osvc.incVol(); # Increase volume
osvc.decVol(); # Decrease volume
```