Noise cancelling window gadget

I live in an area where I am under the flight path and also my garden backs onto a train line.  I love my house, but sometimes....just sometimes the noise is a little annoying.  On the flip side, it does drown out the chaos of our family life.....two energetic boys!

This gadget would be perfect in our house.  It would really help.....maybe I can fix it to my husbands mouth to stop his loud snoring!! :)
I would love to put this to the test.