Skip to content

A gesture-based piano that lets you play chords using hand movements! Move your hand up/down to switch chords and use open palm to play, closed fist to stop.

Notifications You must be signed in to change notification settings

someoneskilled/Hand-Piano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎹 Gesture-Controlled Piano (Hand Tracking MIDI)

A gesture-based piano that lets you play chords using hand movements! πŸ–οΈπŸŽΆ
Move your hand up/down to switch chords and use open palm to play, closed fist to stop.

✨ Features

  • Hand-Tracked Chord Control – No buttons, just gestures!
  • Smooth Transitions – Move up/down to switch between chords.
  • Easy Playability – Open palm = Play 🎡 | Closed fist = Stop 🎡🚫
  • MIDI Output – Works with digital instruments and DAWs.

🎡 Chords Used (Scale: G, D, C, F, Am)

Hand Position Chord Notes
Top G Major G, B, D
Upper-Mid D Major D, F#, A
Middle C Major C, E, G
Lower-Mid F Major F, A, C
Bottom A Minor A, C, E

πŸ› οΈ Tech Stack

  • Python
  • OpenCV (Hand Tracking)
  • cvzone (Simplified Hand Detection)
  • pygame.midi (MIDI Sound Output)

πŸš€ How to Run

  1. Install dependencies:
    pip install opencv-python cvzone pygame

About

A gesture-based piano that lets you play chords using hand movements! Move your hand up/down to switch chords and use open palm to play, closed fist to stop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages