Or just used earplugs. They can take some getting used to, but are worth it noisy disturbances are affecting your sleep.
If the goal was to have fun, that's great. If the goal was to solve a problem, I'm reminded of when engineers build over-engineered solutions, when a simple solution is available.