Giter VIP home page Giter VIP logo

cjbayron / audiate Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 2.36 MB

Ear training game using machine learning models in the browser

Home Page: https://cjbayron.github.io/audiate/

License: Apache License 2.0

JavaScript 93.82% HTML 3.69% CSS 2.49%
ear-training-game magenta transcription machine-learning magenta-js music tensorflowjs music-transcription audio-transcription pitch-transcription-model

audiate's Introduction

audiate

Ear training game using machine learning (ML/AI) models in the browser


๐Ÿ† This project is a winning entry to AIPilipinas (AI Philippines) TensorFlow Project Showcase 2020-2021!

About

Audiate, stylized audiate, is a play-what-you-hear type of game wherein you are tasked to repeat the sequence of notes that the app plays, using the instrument of your choice. It aims to test (& train through practice) one's musical memory and relative pitch.

How It Works

This app runs in your web browser and you can interact with it using the sound of your instrument, fed through your device's microphone. The captured audio is fed to a pitch transcription model running in the browser which transcribes the notes you played, and then checked if matches with the reference notes that the app instructed you to play. Using the transcription model eliminates the need for music interfaces such as MIDI as it can extract the pitch information from plain audio.

Watch this for a simple demo :)

Usage Notes

App has been tested to work well in Chrome in Ubuntu. In some tests, Windows 10 and Android Q (yes, on phone) can work too. Note also that the pitch transcription model may not transcribe pitch with 100% accuracy, especially on noisy environments.

You may try the app in the GitHub pages or on your local machine by cloning this repository and serving the app, for example, via python:

$ python -m http.server 5000

Development

This app makes use of a pre-trained pitch tracker model, CREPE. With only 2MB model size, it can run without hogging much of your device's resources.

An earlier version of audiate, called pianotize, is also available in another branch. It makes use of the Onsets & Frames piano transcription model but is a lot slower and less accurate for this type of application.

Libraries used

audiate's People

Contributors

cj-bayron-cg avatar cjbayron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.