I am trying to have each LED correspond to a certain key on a piano and light up to show different simple songs on a piano and different chords. Which arduino microcontroller will be the most suitable for this, but is also not too expensive (preferably one of the cheaper ones).
This is for a school project, so I simplified it down so it won't need to detect the keys pressed, it will just indicate which key(s) you need to press to make a chord or play a song.
You can use genereic ESP32-based board (google for ESP32-WROOM32 or ESP32-DevKit).
It has all required libraries, and you don't have to think about memory or speed limitations.
Probably, for your school project it will be overkill, but.. It is very cheap. And you'll get a hardware which is suitable for anything - from drones to face recognition.