I'm not entirely sure if this is the right place to ask, but here goes.
From my bedroom window I can hear a faint repeating beeping. Always the same beep, always the same period apart. Sometimes I notice it less because of other noices, but it's always there.
My question is whether or not it is possible (or feasible) to make a recording of this sound and invert it, and then have a small speaker in the window repeat this inverted beep to sort of cancel out the sound. Like a sort of faux active noice cancelling.