Have you tried one of these?
https://www.bigdweb.com/product/code/FABCU1.do?gclid=CjwKCAjw87PNBRBAEiwA0XAIr7dQtGJXAg Y2JnKVV17ohe44HNLzaPVm-1NRvTREryR-UsOL1s_i5xoCAmcQAvD_BwE
We have one for our little dogs. It really works! Once they associated the noise with we only have to get it off the shelf and show it to them and they quiet down.
Our neighbor had two BIG dogs that he left outside and they barked incessantly. I hung the bark box on the fence when I wanted to enjoy being outside they would shut up immediately.