gopherxlr

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: EUPL-1.2 Imports: 13 Imported by: 0

README

GopherXLR

[!CAUTION] GopherXLR is still under development and a bit experimental. It should work and since it doesn't control the GoXLR itself should be entirely harmless to it.

A Go library and daemon to interact with the GoXLR-Utility application, for the TC-Helicon GoXLR or GoXLR Mini, through its HTTP API.

You can use tiny scripts written in Expr to automatically perform actions when the mixer state changes. Each script is passed the previous and current state and can decide if it wants to do something.

Example

The reason I wrote this tool is to be able to toggle playback in Spotify when I mute/unmute a certain channel on a mixer. The scripts in examples show how to use it. Make sure to replace the MIXER_ID and set the right value for fader.

Running

A systemd unit file is included. You can install this in $HOME/.config/systemd/user or /lib/systemd/user. After a daemon-reload you can start it with systemctl --user start gopherxlr.service.

If you also systemctl --user enable it, it'll start automatically when you login.

The unit file expects to find the binary in $HOME/.local/bin and the scripts in $HOME/.config/gopherxlr. You can adjust the paths in the unit file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL