Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/illegalprime/alsa-monitor-node

Monitor ALSA things in node.js
https://github.com/illegalprime/alsa-monitor-node

Last synced: about 1 month ago
JSON representation

Monitor ALSA things in node.js

Awesome Lists containing this project

README

        

# ALSA Monitoring ![build status](https://api.travis-ci.org/illegalprime/alsa-monitor-node.svg)

A simple library to notify users when ALSA properties change.

### Currently

Currently the only implemented feature is triggering events when the volume
changes.

## API

The API is straightforward:

```javascript
const alsa_monitor = require("alsa-monitor");

alsa_monitor.volume.on("change", () => {
console.log("Someone changed the volume!");
});
```