What music went before rock and roll?

the music listened to was jazz and pop and swing mostly