Skip to main content

Pyanoboard is a simple piano to keyboard emulator, allowing you to use any MIDI enabled device as a virtual keyboard.

Project description

Pyanoboard

Pyanoboard is a simple piano to keyboard emulator, allowing you to use any MIDI enabled device as a virtual keyboard.

Pyanoboard actually simulates key events rather than sending characters to be typed, which means you can use it for anything such as gaming and not just typing.

Installation

Either

  1. Clone this repository, and use pyanoboard.py from the pyanoboard directory
    • You must have pygame installed
  2. Install the package via pip pip install pyanoboard

Prerequisites

  • MIDI enabled device such as a digital piano
  • MIDI to USB cable
  • python
  • Windows

Usage

To use this package, enter

python -m pyanoboard config

Where config is the path to your configuration file using the JSON format. An example configuration file has been included under example/config.json

example config

{
    "device_id": 1,
    "bindings": [
        {
            "note": "C3",
            "key": "h"
        }
    ]
}

pyanoboard can also take the following arguments

Argument Meaning
-verbose Enables verbose logging
-devices Shows a list of the connected MIDI devices instead of starting pyanoboard

In order to find the device_id of your device, use the -devices argument

python -m pyanoboard -devices

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

pyanoboard-1.1.0.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file pyanoboard-1.1.0.tar.gz.

File metadata

  • Download URL: pyanoboard-1.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.0

File hashes

Hashes for pyanoboard-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b7395a8bdfb7a6181de6deb50e00cfad165902097e57cc8d89d8e821984decee
MD5 6fe2fec413c904ab2a1849c79270d3aa
BLAKE2b-256 646d903f40c9bdeef4f23e927f59a545616cd66f34f0ff6900998e5bd67f274c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page