Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Air-Piano🎹

Air-Piano is a hand-tracking MIDI controller that lets you play chords in the D scale using just your fingers and a webcam. It uses OpenCV, MediaPipe, and Pygame's MIDI module to detect hand gestures and play corresponding musical notes.

🎯 Features

Hand Tracking: Detects fingers using OpenCV & cvzone.

MIDI Output: Sends MIDI signals to simulate piano sounds.

Automatic Sustain: Notes sustain for 2 seconds before stopping.

D Scale Chords: Plays chords mapped to different finger positions.

TLDR : This project uses computer vision and MIDI synthesis to play D-scale chords based on hand gestures. It employs OpenCV, cvzone, and pygame.midi to detect finger positions and trigger corresponding chords, sustaining them for 2 seconds before stopping automatically. Finger Plays This Chord Thumb D Major (d_major.wav) Index E Minor (e_minor.wav) Middle F# Minor (f_sharp_minor.wav) Ring G Major (g_major.wav) Pinky A Major (a_major.wav)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages