Wiktionary
cocktail party effect
n. the ability (or the difficulty) of focusing one's attention on a single auditory source in a jumble of noises
Wikipedia
Cocktail party effect
The cocktail party effect is the phenomenon of being able to focus one's auditory attention on a particular stimulus while filtering out a range of other stimuli, much the same way that a partygoer can focus on a single conversation in a noisy room. This effect is what allows most people to "tune into" a single voice and "tune out" all others. It may also describe a similar phenomenon that occurs when one may immediately detect words of importance originating from unattended stimuli, for instance hearing one's name in another conversation.