Definition of rap:
(n) :
a sharp blow with something hard; blame (for something)
"the teacher gave the wayward pupil a rap across the knuckles with her ruler."
(v) :
to strike something sharply with one's
knuckles; to speak lyrics in the style of rap music
"he rapped three times on the door."