Giter Club home page Giter Club logo

piano-chords-ai-recognition-webpack's Introduction

Piano Chords AI Recognition

This app uses audio captured by phone/laptop microphone and predicts the piano chords which user plays. It uses Teachable Machine to train the model and ml5.js for predicting the results. Webpack is used for bundling the application and Monaca for mobile deployment.

piano_chords_preview.mp4

Figma wireframe.

Tutorial

There is a tutorial available in Medium via this link.

How to start

  1. Download the project.
  2. Run npm install in the directory.
  3. Run npm run dev to start the project.
  4. If the browser opens url 0.0.0.0:8080, change it to localhost:8080.

How to use

  1. Wait until the model loads.
  2. When the predicting page appears, play the chord written on the card.
  3. If you do not know the chord, tap the card or Reveal button to see image of chord.
  4. After successful play of chord, the card will turn green and next one will appear.

Important files

JS

  • hybridFunctions.js - functions for starting microphone and predictions

Vue

  • LoadingPage.vue - first screen that user sees while loading the model
  • PredictingPage.vue - main screen where predicting is happening

WebPack

There is a webpack bundler setup. It compiles and bundles all "front-end" resources. You should work only with files located in /src folder. Webpack config located in script/webpack.config.js.

Webpack has specific way of handling static assets (CSS files, images, audios). You can learn more about correct way of doing things on official webpack documentation.

Documentation & Resources

piano-chords-ai-recognition-webpack's People

Contributors

domsas avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

yong-asial

piano-chords-ai-recognition-webpack'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.