I only sing while hiking when I know there are bears around. I know that no person has been harmed by a black bear in Nova Scotia since 1834 (really: I looked it up a few years back), but in spring, when they are hungry and have young cubs, and later when I'm pickin' berries and have seen sign, I see no downside to belting out whatever song comes to mind.