Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dilawar/mypiano
A simple terminal based piano for playing notes (not TUI/GUI)
https://github.com/dilawar/mypiano
Last synced: about 23 hours ago
JSON representation
A simple terminal based piano for playing notes (not TUI/GUI)
- Host: GitHub
- URL: https://github.com/dilawar/mypiano
- Owner: dilawar
- License: gpl-3.0
- Created: 2019-06-10T05:07:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-11T05:20:26.000Z (over 5 years ago)
- Last Synced: 2024-11-09T12:49:33.367Z (about 2 months ago)
- Language: Python
- Size: 120 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![PyPI version](https://badge.fury.io/py/MyPiano.svg)](https://badge.fury.io/py/MyPiano)
# MyPiano
A simple terminal based piano for playing notes and MIDI files. Not TUI/GUI
available.# Install
pip install mypiano --user
# How to use it
To see the help message,
```
usage: mypiano [-h] [--midifile MIDIFILE] [--note NOTE] [--duration DURATION]MyPiano
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`.
# CREDIT
The piano sounds used in this project are from
https://freesound.org/people/TEDAgame/packs/25405/Many Thanks!