A coworker saw it not long ago. We were talking about a party or something I was at. He's white guy that loves movies, D&D, and so on. We walk past two, black coworkers cutting up. I keep talking with stories about the party. He stops to ask me, "Did you just start talking really black because you walked past a black person?" Black schools teach people to recover quickly and dismiss when hit with something like that. I recall basically doing just that then focusing the guy back to the party while talking whiter haha.
Later, I thought about it. I knew I consciously did that sort of thing when I was around different people. I know my language is even a blend. Still, looking back, I did in fact change how I was wording things, increased gestures, and went for more energetic presentation the second my peripherals spotted blacks who I normally acted that way toward. Just switched in mid conversation without me even realizing it.
I'm thinking some confused looks in conversations with rednecks could've had something to do with that. I'm a little more self-conscious of it now. Try to stick with one style or the blend I use that works well enough in diverse crowds. Except Standard English speakers and academics. I can't speak 30 seconds around them before an interruption unless they're unusually understanding or non-judgmental.
It's mostly unconscious. If I'm in Memphis, TN and someone on the street asks for me change, I'd probably respond "I ain't got none." If I were in Richmond, VA and someone asks me for change, I'd probably respond "I don't have any."
I learned "proper" English quickly because the dialect spoken in my home wasn't far removed from it, and a result I had a much easier time with grammar than my peers. I also have far less trouble communicating with a broader audience online.