A man practised shooting with headphones as gunfire rang.