Brainwave induction?

I’ve seen articles about brain activity during sleep, in which certain brainwave patterns are observed. Has anyone tried to electromagnetically induce these same patterns, to cause a person to fall asleep? How about other forms of induction, such as with patterns of light, sound, or conceptual constructs?

I’ve seen products that claim to induce the kind of brainwaves indicative of a relaxed and calm state, or indicative of deep sleep, to help you relax or fall/stay asleep. I don’t think they’re doing it with magnetics like an actual transcranial magnetic stimulator would, though. I’m sure there are people here who know more about it who will hopefully be along shortly.