Earplugs are more effective than pink noise in mitigating the effects of nighttime environmental noise on sleep.