Skip to main content

What is airpiano?

Open in Code Ocean

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.

hand_landmarks

https://mediapipe.dev/images/mobile/hand_landmarks.png

Watch the video

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

Metadata

Release files for airpiano 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airpiano 0.0.8
File Size Uploaded Provenance
airpiano-0.0.8.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for airpiano 0.0.8
File Interpreter ABI Platform
airpiano-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / airpiano-0.0.8.tar.gz

Download URL airpiano-0.0.8.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3b94f6fa69df5b8d1f08f79eafcf3876d1ca8cd6e08a505b9a1d7a7d25178d59
BLAKE2b-256 checksum
How to use checksums
393a86c2f6c3365bb5ef73bfc60ff219936f845f0cb8846d27d77c8c2c1fc0c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.12

Release files / airpiano-0.0.8-py3-none-any.whl

Download URL airpiano-0.0.8-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63e518f4ae2c6413da1f8ee0721c8c64d3362bfeef3c82986f58314a1ed38588
BLAKE2b-256 checksum
How to use checksums
7cc769b05e055aa7d2e7e40e76a0a51e15f3740300c5fda9128b125dbfcef825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.12

Security for airpiano 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page