a : the science or art of ordering tones or sounds in succession, in combination, and in temporal relationships to produce a composition having unity and continuity
b : vocal, instrumental, or mechanical sounds having rhythm, melody, or harmony
I am no fan of RAP and it pains me to write this but based on this def. Rap is indeed music.