GithubHelp home page GithubHelp logo

psavelis / go-tuner-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 302 KB

Pitch Perfect Tuner API using Golang and Hexagonal Architecture / Ports & Adapters

License: MIT License

Go 97.02% Dockerfile 2.98%
adapters go golang golang-api golang-application golang-library golang-package guitar hexagonal hexagonal-architecture

go-tuner-api's Introduction

go-tuner-api

Golang AudioProcessing Ports and Adapters

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

sample client

go-tuner-api's People

Contributors

psavelis avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

firewav-studio

go-tuner-api's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.