Piano hat software


I’m having problems running the piano hat. I think I have the software installed correctly but the simple piano does not work. I get a message about missing samples in the sounds directory. I’m sure I’m missing parameters in the command I’m using to launch the program.
The hardware seems to be good as the LED’s are registering key presses.
Could some one give me an example of the commands to properly launch the example programs. And yes I’m a newby


How are you trying to run the examples? The normal process should be:

cd /home/pi/Pimoroni/pianohat
sudo ./simple-piano.py

There should be a directory called sounds alongside simple-piano.py which contains the samples.

Good luck!