Or, you can just talk to your neighbors about it ahead of time and come to some agreement. I know this relies on having sane, reasonable neighbors which is not a given.
I built a single engine airplane in my suburban garage over the course of six years, and it involved lots of specialized (and loud) tools. Air compressors, rivet guns and other pneumatic tools. Before starting, I visited both neighbors and gave them a heads up to see if they had any problems with it. We agreed on night and weekend curfews for the air compressor and tools and that was that.
I swear, 90% of our laws we wouldn't even need if people weren't total assholes.