×

We are still shipping! However, order processing may take longer than usual and we cannot guarantee same day shipments due to staffing guidelines from the CDC. Please see all COVID-19 updates here. Thank you for your continued support.

Piano HAT

Added to your shopping cart

Unlock your inner Mozart with Piano HAT, a mini musical companion for your Raspberry Pi! Play music in Python, control software synths on your Pi, and take control of hardware synthesizers!

Software

Pimoroni made an ever-so-thorough Python library to control Piano HAT, with a bunch of nifty examples to let you explore its functionality.

There's a learn to play example that let's you play along as Piano HAT's LEDs show you which keys to press. In no time, you'll be a Chopin for the 21st century.

They've included a MIDI example that lets you play music with Sunvox, Yoshimi and other software synths, a PyGame example with glorious piano and drum samples and even a true 8-bit synth written in pure Python!

You can even make Piano HAT output regular MIDI commands via a USB to MIDI adapter and use Piano HAT as a tiny, cheap MIDI controller for your Minimoog Model D (you have one right?).

Piano HAT Python Library

  • 16 capacitive touch pads (link each to their own Python function!)
  • 13 piano keys (a full octave)
  • Octave up/down buttons
  • Instrument cycle button (great for use with synthesizers)
  • 16 bright white LEDs (let them light automagically, or take control with Python)
  • 2x Microchip CAP1188 capacitive touch driver chips
  • Use it to control software or hardware synths over MIDI
  • Piano HAT pinout
  • Compatible with all 40-pin header Raspberry Pi models
  • Python library Comes fully assembled

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

5 out of 5

Based on 1 ratings:

Currently viewing all customer reviews.

Endless possibilities

I'm super impressed, the build quality feels so sturdy and the buttons are impressively responsive. The layout is intuitive, and compared to a real midi controller just plugged into the usb on the raspberry pi, this has substantially lower latency. Running the example simple piano script on python is easy and offers literal endless customization possibilities.