alsa-monitor

Monitor ALSA things with node.js

Usage no npm install needed!

<script type="module">
  import alsaMonitor from 'https://cdn.skypack.dev/alsa-monitor';
</script>

README

ALSA Monitoring build status

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:

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

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