Piano Sound Generation using ESP32 and Matrix Keyboard

Hello,

I'm working on a school project where I'm using a piano keyboard and an ESP32 microcontroller to output sound to a speaker via an I2S module (UDA1334A). The piano keyboard is arranged in an 8x7 matrix, and my program successfully reads the matrix input. However, I'm still looking for a way to generate piano sounds, preferably using MIDI notes.

I've already experimented with the Synthesizer Library (GitHub - pschatzmann/arduino-stk: The Synthesis ToolKit in C++ (STK) Library for Arduino) to simulate sound output (for example, with a clarinet sound). Unfortunately, I haven't been able to find a library that allows me to generate piano sounds.

Does anyone have experience with this and can suggest a good approach for generating piano sounds?

Best regards

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.