White Noise Generators

Does anyone else use a white noise generator to fall asleep at night? I don’t as much nowadays, but for years I did because the neighbour had dogs that could get noisy during the day, and I couldn’t relax in bed in case they started. As it turned out, they weren’t too bad later on, but it was the threat of barking or any other noises, including talking from the living room downstairs, right beneath my bed, that kept me on edge. Also, if I ever have to go into the hospital, I make sure to take one or two sources of white noise devices with a headphone socket or a radio that can produce white noise by tuning to static.