the GIs learned to flip and empty clip to make the sound and when the enemy stuck their head up to shoot....BAM.
Good old low tech American ingenuity.