Skip to main content

Play simple notes or MIDI files

Project description


A simple terminal based piano for playing notes and MIDI files. Not TUI/GUI available.


pip install mypiano --user

How to use it

To see the help message,

usage: mypiano [-h] [--midifile MIDIFILE] [--note NOTE] [--duration DURATION]


optional arguments:
  -h, --help            show this help message and exit
  --midifile MIDIFILE, -m MIDIFILE
                        Midi file to play
  --note NOTE, -n NOTE  A note to play
  --duration DURATION, -d DURATION
                        Note duration (use it with --note)

When no option is given mypiano just play the note A1.

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

MyPiano-0.0.1.tar.gz (49.6 MB view hashes)

Uploaded source

Built Distribution

MyPiano-0.0.1-py3-none-any.whl (49.6 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page