Skip to content
A basic sampler / sequencer for the Raspbperry Pi Piano HAT
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Sampler / Sequencer

A very basic sampler / sequencer for the Raspbperry Pi Piano HAT. This python program reads key input from the Pimoroni Piano Hat on your raspberry pi.

  • Piano keys play samples
  • Octave keys switch between sound banks
  • The instrument key switches recording-mode on or off (and erases the recording when switching off)


When recording is ON, the keys you press are remembered for the position that the LED is currently indicating. The corresponding sound will be played back when the LED reaches that position again. You can play multiple sounds in the same slot.


  • Remember the sound bank for each recorded sound, not just the first
  • When recording, a sound can unintentionally play twice (once for pressing it, and once for being in the recording)
You can’t perform that action at this time.