Do you like to play piano? It was invented in 1700 by Bartolomeo Cristifori
I do like the piano!  1700? wow that late?
Apparently. The one in the 1700s had a quieter sound and a small sound range. I like them but I prefer modern musci still, like Hip Hop
So what came before the Piano...? is there a comparable musical instrument that is modern?
there were likely some experimental instruments created from household items, but nothing like modern guitars or anything like that
Do you think the modern keyboard with its ability to mix and record sounds is used in hip hop and edm?
I think it is several instruments, like the turntables, DJs scratching them, and other things such as bass and electronic synthesizers. It has created a subculture
Can you imagine what mozart or Bach would create useing a modern synthesizer?  I bet it would be amazing.