Which literary device is used in the phrase "the rapping and tapping of rain on the roof?"

imagery

onomatopoeia

allusion

simile