Yeah, they both soften the preceding consonant, you're absolutely right.
And they do sound like [ye in yeah] or [ya in yankee] :D at the beginning of words. Well, not EXACTLY that way, but it's for...