Hello everyone, I am a beginner at c++. As I learned c++ for a while, I wanted to practice the skills of c++, so I wrote this software. The code is not well, but the soft works well.
Here is the code: https://github.com/fgheng/keysound
Here is some video:
You can define each key with a special sound:
You can use the `piano.json` to play the piano by keyboard, here is some music that I play, I am not good at piano, hahaha:
You can play the piano by rewriting the char: