stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

OneManOrchestra

  • 1 Devlogs
  • 3 Total hours

A program which taken in Hand gestures to play notes and chords

Ship #1 Pending review

This is a hand gesture controlled synth, i an highkey into music and play a ukulele (coz i dont have a guitar), i saw exactly this on instagram once and never saw it again so i made it, turns out it was a very well documented project.
I learnt a lot of things, like Opencv, this was my first time working with it and got me to learn a good load of stuff about it.
IMPORTANT: Since this is a python script , i couldnt release it on github releases as it just wont support it, TO TEST IT PLEASE FOLLOW THE SETUP MENTIONED IN THE README, its very small process less than 5 minutes. Thank you

  • 1 devlog
  • 3h
Try project → See source code →
Open comments for this post

3h 19m 50s logged

Hand Gesture Synth

Play Music without touching any instrument!! Just make some hand signs and this program does the rest.
Each handsign plays a note or a chord!

How to Use:

There are three different modes:

  • Notes
  • Chords
  • InKey

Going over them one by one:

Notes Mode:

Your right hands plays the 7 base notes while the left hand controls which octave will those notes be played in, so it is basically a piano wihtout the sharp and flat keys!

Chords Mode:

Your right hand determines the key and your left hand determines the scale of the chord to be played, Very fun to use to sing along the song of your liking, all chords are easy to play just need a teensy tiny bit of memorizing.
Use W/S to increase/decrease the octave.

InKey Mode:

Your left hand determines the octave a note should be played in, while your right hand determines the note that should be played, but the difference from the first mode is that you can select a key to play in using j/k to cycle through them.
Any handsign you produce a note that sounds coherent, nothing sounds off, so its good for beginners in music to play around with coz it almost always sounds pleasant.

Handsigns:

All signs for entries left to right wil go like:

Sign Right hand (root) Left hand (chord type) Index C Major Index + middle D Minor Three fingers E 7 Four fingers F 5 Open hand G dim Thumb only A dim7 Thumb + index B aug Thumb + index + middle C# sus2 Thumb + three fingers D# sus4 Pinky only F# maj7 Thumb + pinky G# m7 Index + pinky A# 7sus4

Controls

Key Action M or 1 / 2 / 3 Switch mode J / K Previous / next key (Key mode) T Major / minor (Key mode) W / S Octave up / down (Chords mode) Esc Quit

Setup (Windows)

  1. Install Python 3.12 and tick “Add python.exe to PATH”.
  2. In a terminal inside the project folder:
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python main.py

Sound comes from the Microsoft GS Wavetable Synth built into Windows.

Credits

Built with OpenCV, MediaPipe, and mido and lots of love lol.
Made by Mohd Altaaf

0
0
8

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…