Skip to content

jakeChal/gotune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoTune

Minimal, fast CLI tuner for string instruments (currently guitar & bouzouki), written in Go.

🎬 Demo

Made with VHS

🚀 Quick Start

Build:

go build -o gotune cmd/tuner

Run:

  • Guitar:
    ./gotune
  • Bouzouki:
    ./gotune -i bouzouki

🧪 Running Tests

Go tests

Run all Go tests:

go test ./...

Python reference tests

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.py

📖 Reference Implementation

The 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:

🛣️ Roadmap

  • Android support
  • Web app
  • Add benchmarks
  • Support more instruments?

🛞 Under the hood

gotune uses:

About

A real-time tuner for string instruments, written in Go

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors