A music genre is a conventional category that identifies some pieces of music as belonging to a shared…