Socket
Socket
Sign inDemoInstall

pyanoboard

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyanoboard

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


Maintainers
1

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

ArgumentMeaning
-verboseEnables verbose logging
-devicesShows 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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc