Looking for noise sensor that will work well with HA

I’ve had a need for sometime to monitor my equipment out in the garage. Because of how the equipment is laid out and existing shelving in front of air lines that run around the garage, some areas are not accessible. So as a way to keep my neighbors and wife happy, I want to install some sort of noise sensor in the garage and if noise is detected from the air compressor between certain hours then i can kill the power to that outlet and not have my wife slapping me to wake up and go turn it off at 2am.

I have a arduino sound sensor, which may work, but if there is already a smart home sensor that works with HA that i could research and see if its worth the cost. I dont mind making my own using the boards i have, just looking for something quick.

Just looking for ideas and suggestions.
thank you

While it is not a smart noise sensor, I am using a simple MEMS microphone in my esp32 sensor nodes around the house, inspired by this - maybe you can even detect the specific noise from the air compressor like this

I also know that there is an enviro hat for the raspberry pi, but never used it myself

but since you can also kill off the power to that outlet remotely, why not simply turn it off either way at specific hours?

Very true, i could just kill the power to the outlet each night after a certain time. That would be the simplest way. I have somewhere these relays to handle the 220 outlet ( SSR-25 DA DC-AC 25A Solid State Relay (SSR-25 DA)) and in the past have built RF controlled 110 outlets to help with controlling.

I appreciate the links and suggestions… ill post back what i decide to go with and use if successful.