This phenomenon is known as
"cocktail party effect".
The cocktail party effect is the marvel of the mind's capacity to concentrate, an impact of specific consideration in the cerebrum, on a specific stimulus while sifting through many other stimuli, as when an individual can center on a solitary discussion in a room full of noise.