I have heard of sonic devices which send out high pitched alarms which stop a barking dog.
Our dog is outside has shelter and food and is walked regularly but the barking is becoming a nuisance I`m sure to the neighbours.
I accept a certain level of barking is normal, but I dont wish to receive complaints for noise pollution !