My suggestion is to keep soothing music playing or leave the TV on at a low volume. It won't totally block out the sound, but it will buffer it a bit. Keep windows closed, and of course, engage in interactive playtime when you see the anxiety level start to build. During the day when I'm not home, I leave the radio on for my cats until well after firecracker season.
More cat-care and behavior solutions: