A basic guitar tuner TUI with customizable templates
If this install script does not support your platform/architecture, the program will have to be manually built and installed.
MacOS and Linux
curl -sSL https://raw.githubusercontent.com/lxsavage/tuner1/refs/heads/main/scripts/install.sh | bashWindows
irm "https://raw.githubusercontent.com/lxsavage/tuner1/refs/heads/main/scripts/install.ps1" | iexMacOS and Linux
curl -sSL https://raw.githubusercontent.com/lxsavage/tuner1/refs/heads/main/scripts/uninstall.sh | bashWindows
irm "https://raw.githubusercontent.com/lxsavage/tuner1/refs/heads/main/scripts/uninstall.ps1" | iexIn order to build this project, the Golang CLI needs to be installed and on path. For more information on how to do this, check the Golang install guide.
Note for Linux systems: the build depends on the ALSA dev library (e.g.
libasound2-dev on Ubuntu), which will also need to be installed through your
respective package manager.
To build and install, use make install.
The program adds itself under /usr/local/bin/ and creates a template config
under ~/.config/tuner1/standards.txt.
Upgrading from a previous version is as simple as pulling the latest changes,
then running make upgrade.
Uninstallation is just make uninstall.
Note: by default, this will be installed under /usr/local/bin. This can be
changed by adjusting the makefile INSTALL_DIR variable to the intended path
before running any of these make commands.
For most use cases, these commands will be sufficient, but additional features
can be shown with tuner1 -h.
tuner1 -ls: List templates availabletuner1 -tuning +<template name>: Launch using a template by nametuner1 -tuning "<csv of scientific-notation note names from low to high>": Launch using a manually-defined CSV tuning
To change templates, edit standards.txt to add/remove K:V pairs for templates in the format:
<template name>:<csv of scientific-notation note names from low to high>
This file is by default located at:
- MacOS:
~/Library/Application Support/tuner1/standards.txt - Linux:
~/.config/tuner1/standards.txt - Windows:
%APPDATA%\tuner1\standards.txt
Afterwards, call the template with go run . -tuning +<template name>
It is also possible to test a template csv by manually calling the TUI with the template:
tuner1 -tuning "<csv of scientific-notation note names from low to high>"For example, the following is equivalent to the +e-standard template:
tuner1 -tuning "E2,A2,D3,G3,B3,E4"See CONTRIBUTING
