Recorded various light switches in an apartment using a zoom h6 with a xy mic and a foam screen and handheld. Recorded handheld with the light switch in front of the recorder. Recorded for a school project for a sfx library.
There are very old fluorecent lights in our garage and i recorded one of them. The hum was very quiet, so i made that louder in audacity and removed background noise which was also amplified.