these distinctions

1) I'm talking with somebody.
2) I'm gonna give you a good talking to! (discipline) or, I have to give them a good talking to. (disuss some problem) or, I'm talking to someone.
3) I feel like she's just talking at me.

So, yeah, AnnaS...dialogue/lecture or dialogue/self-absorbed monologue...pretty much concur.

Notice talking to can become a noun phrase in some cases. The word for that, anyone? Tsuwm?... (and I was just looking at two first-month threads of yours on Q & A called "nouns that become verbs" and "verbs that becomes nouns"...the latter only had one reply!...a tswum thread with one reply, that's a rarity!)