You have some old electric piano / keyboard with a few octaves of keys. However, it is pretty outdated and the sw does not allow you to even loop your melody, because it was a cheap low-end buy? Remove the original mcu hw and add your own!
Add tactile interface to keys, even if your piano has no sensors for it.
## Tactile interface
### Sensor
– Need to look inside other pianos what they have as the sensor of key emphasis.
### Brain
Train neural network on real piano.
Input: 1 + num of pedals – position of individual pedals and piano key in time
Output: Frequency of the string oscillation.
Then simulate the neural network on mcu:
Input: position of piano keys and pedals
Output: DA converter