Skip to content

A (simple) throttling UDP server for volume control with the ALSA C library (Linux-only), with (simple) example clients in C and Node.js.

Notifications You must be signed in to change notification settings

angstyloop/volumectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 

BRIEF
    A (simple) throttling UDP server for volume control with the ALSA C library.

    Linux only.

SERVER

    make

ALL CLI TOOLS

    make dev

REMOVE BINARIES

    make clean

INSTALL volumectl SERVICE

    1. Modify the volumectl.service file, using a real username instead of the
       placeholder <YOUR-USER-NAME>.

    2. Then run:

           make install

DESCRIPTION OF COMMAND-LINE TOOLS

    * server - UDP server (volumectl) controls volume with ALSA

    * client - UDP client, updates the volume by messaging the volumectl server

    * set_volume - set the volume using ALSA

    * msleep - sleep for a number of milliseconds

    * You can also message the server with the Node.js UDP volumectl client
      by running:

          node client.js <VOLUME>

      to update the volume.

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

About

A (simple) throttling UDP server for volume control with the ALSA C library (Linux-only), with (simple) example clients in C and Node.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published