airpiano
Project description
What is airpiano?
takefuji (2022) airpiano for playing piano in the air [Source Code]. https://doi.org/10.24433/CO.8862673.v1
This is under review.
airpiano has been downloaded by 23337 downloads worldwide as of Feb.12, 2024.
When the paper is accepted, the contents of the air piano will be disclosed. airpiano is a Python program to play airpiano composed of 123 lines code. You can play 10 music notes by th right hand of five fingers. airpiano is based on the-state-of-the-art hand gesture recognition using mediapipe. airpiano uses musicalbeeps for generating music sounds by five fingers. The paper on airpiano is under submission. If the paper is accepted, the source code will be disclosed.
Hand landmarks detected by MediaPipe are composed of 21 points in 2D image coordinates.
https://mediapipe.dev/images/mobile/hand_landmarks.png
airpiano DEMO
"twinkle twinkle little star" https://youtu.be/7KCmVyRpSCo
"Mary had a little lamb" https://youtu.be/3J5xjW66MP8
"Tulip" https://youtu.be/H7lwHb69ZgM
"buzz buzz buzz" https://youtu.be/oG3_ZsW3XrQ
"The Cuckoo" https://youtu.be/evyfpph-WOY
How to install airpiano
Python3.7 or Python3.8 is recommended for running airpiano. In order to run airpiano, the following libraries must be installed.
$ pip install musicalbeeps
$ pip install mediapipe
$ pip install airpiano
$ pip install airpiano --force-reinstall --no-cache-dir --no-binary :all:
How to play airpiano
Moving thumb finger plays C5 note.
Moving index finger plays D5 note.
Middle finger plays E5 note.
Ring finger plays F5 note.
Little finger plays G5 note.
Moving thumb finger deeply plays A5 note.
Moving thumb finger deeply and index finger plays B5 note.
Moving thumb finger deeply and middle finger plays C6 note.
Moving thumb finger deeply and ring finger plays D6 note.
Moving thumb finger deeply and little finger plays E6 note.
$ airpiano
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airpiano-0.0.8.tar.gz
.
File metadata
- Download URL: airpiano-0.0.8.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b94f6fa69df5b8d1f08f79eafcf3876d1ca8cd6e08a505b9a1d7a7d25178d59 |
|
MD5 | 85beee37f4d3ee95fc8d736f80863ffa |
|
BLAKE2b-256 | 393a86c2f6c3365bb5ef73bfc60ff219936f845f0cb8846d27d77c8c2c1fc0c0 |
File details
Details for the file airpiano-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: airpiano-0.0.8-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63e518f4ae2c6413da1f8ee0721c8c64d3362bfeef3c82986f58314a1ed38588 |
|
MD5 | ccafca3db95a4637297f56ca2910112a |
|
BLAKE2b-256 | 7cc769b05e055aa7d2e7e40e76a0a51e15f3740300c5fda9128b125dbfcef825 |