Dont be an inconsiderate dog owner. Yes dogs bark. Why do you feel its ok for others to have to hear your dog barking all day? What if these people are kept awake all day by your barking dog, and they have to work nights? Music makes noise also. Does that mean you should be bothered to have to listen to the sound of music that you hate all day or all night?
Sadly for barking dogs, I have heard about people's pets that have been poisoned and killed because inconsiderate owners feel its alright to inflict their barking dogs on others.