A basic guitar tuner TUI with customizable templates
Note
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.
Important
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.
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.
Upgrading from a previous version is as simple as pulling the latest changes,
then running make upgrade.
Uninstallation is just make uninstall.
Tip
Additional features can be shown with tuner1 -h
tuner1 -ls: List templates availabletuner1 -tuning +<template name>: Launch using a template by name
To change templates, use tuner1 -edit-standards to open the standards file in
your default editor. These templates are in the format:
<template name>:<csv of scientific-notation note names from low to high>
There should be at most one template per-line, with empty lines ignored. After
you are done editing, call the template with tuner1 -tuning +<template name>.
Tip
The configuration file location is dependent on your OS:
- MacOS:
~/Library/Application Support/tuner1/standards.txt - Linux:
~/.config/tuner1/standards.txt - Windows:
%APPDATA%\tuner1\standards.txt
Tip
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
