Use your computer keyboard as a "piano".
Switch branches/tags
Nothing to show
Clone or download
Zulko Merge pull request #8 from dudektria/master
Convert float indices (issue #7)
Latest commit e8ac802 Apr 9, 2018


This repository contains a minimal code to play on your computer keyboard like if it was a piano, an instrument that I call the Pianoputer (yeah I am not very good at names).

Here is a video of the program in action

To play you first need to install Python, and the Python libraries Numpy, Scipy and Pygame. Agreed, the dependencies are a little heavy.

Then you just unzip everything in a folder and run this line:


Note that the keyboard configuration (stored in the file typewriter.kb) is for AZERTY french keyboards. You can change the configuration so that it matches your keyboard. An easy way to do this is to run


This will let you press the keys in the order that you want, and create a new keyboard configuration file (just follow the instructions).

Enjoy !