Minimal, fast CLI tuner for string instruments (currently guitar & bouzouki), written in Go.
Build:
go build -o gotune cmd/tunerRun:
- Guitar:
./gotune
- Bouzouki:
./gotune -i bouzouki
Run all Go tests:
go test ./...The Python implementation in python/ is the reference for pitch detection accuracy.
To run Python tests:
cd python
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python test_mpm.pyThe python/ directory contains a pure Python implementation of the McLeod Pitch Method (MPM), used as a reference for validating the Go port. Use it to compare results, function signatures, and accuracy.
Reference:
- McLeod, P., & Wyvill, G. (2005). A Smarter Way to Find Pitch
- Android support
- Web app
- Add benchmarks
- Support more instruments?
gotune uses: