I own a yappy breed with a bark that slices through your cranium like a dentist drill. I couldn't tolerate barking from my dog for these reasons.
I use clicker training for all my training with him. When someone would come to the door, or if we were entering an area with other dogs/people he would bark. I would tell him "quiet" or "enough" and distract him-getting his focus on me. As soon as we was quiet I click the cliker, give him a treat and tell him "good quiet". After a few weeks of this I have a very quiet dog. I am personally very surprised how well it worked and there was no real punishment invovled.
Of course your dog has to be food motivated and using the clicker is almost a must so you'd have to look into this. There are a ton of websites on it and it is fast becoming the method of choice with training professionals. It is a very positive method as you reward desired behviours and only ignore undesired ones.
For barking you must be VERY diligent. Do not leave them unattended in the yard to bark aimlessly, give the quiet command and reward the dog VERY often. If I could silence a Keeshond...anyone acan do this!
Good luck and may you find peace and QUIET in your home!