Rhythm shooting gallery.

Hello

For a project at college we have to create a shooting gallery with VR in mind. My idea was to create a shooting gallery where you have to shoot to a beat. What im not quite sure about is how i would go about spawning the targets to a beat. I was wondering if anyone had any idea on how i would achieve this? Thanks.