Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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!