Giter VIP home page Giter VIP logo

instrumentalist's Introduction

Instrumentalist

What if we could make music when we mimic instruments? Using ML and paying attention to certain hand gestures maybe we can!

mimic

This is the first stage of such an app, starting off with drums and might expand to other instruments in the future.

Todo

Done

  • Import MediaPipe
  • Getting vision library via cdn @mediapipe/tasks-vision
  • Console logging finger values
  • Checking if left and right hand are present
  • Calculate pinch
  • Update pinch ref
  • Calculate velocity
  • Import Tone or other music library.
  • Tie pinch to trigger drum sample.
  • Velocity pass a certain threshold triggers music.
  • New notes for each hand!
  • Build UI to let people know if theyre hands are triggering.
  • Let people use notes for each hand.
  • Upload to netlify.
  • Debug online production drawing thing? (made my own drawing functions)
  • Add a loading screen takes longer on mobile.
  • Make sure its working on mobile.

For future

  • Make a config.json to store threshold values for app.

  • Refactor refs to be in one state to make it simpler to mutate in child functions

  • Expand app to include piano and guitar guestures.

Personal note

Audio wont work on IOS if phone is in silent mode!

instrumentalist's People

Contributors

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