Do you have a baby monitor? We have the same problem and I have found that earplugs work to drown out the barking so I can sleep, but I can still hear my son if he wakes up. You might get some and try it out before bedtime to see if it might work for you. My neighbors must use earplugs, or just don't sleep!!