go-tuner-api
1. How to run π
Running the API using docker-compose
docker-compose up
Running the API without Docker
$ go run cmd/main.go
2. Using the tune endpoint π΅
Easily use the /tune/:frequency
endpoint
# example for retrieving a Note from 440.1Hz
curl http://localhost:3000/tune/440.1
πΆ Sample response:
{
"id": "1",
"name": "A4",
"keyNumber": 49,
"frequency": {
"min": 408.87616512680097,
"max": 456.5655947149062
},
"pitchPerfect": 432
}
Roadmap π:
Status |
Feature |
β
|
Dockerfile |
β
|
Docker-compose |
β
|
K8s deployment |
β
|
Automated deploy |
β
|
Unit tests |
β¬οΈ |
gRPC Adapter |
β¬οΈ |
App (frontend client) (wip) |
Sample client use case π:
- UC01 - Dummy Nextjs client application through browser's
AudioContext
(MediaStreamSource
and FFT
) input