I don't know about other people, but I have always heard what I'm writing in my head before I type it out. Sometimes, especially if I'm a little distracted, this produces misspelled words that would be pronounced correctly or homonyms like "hear" instead of "here".
On the chance that it might help, I think the funnel is something like:
-ideas/shapes which are always moving around->selecting the appropriate/better/good enough one out of these by focusing on it more. this always feels kind of like a sorter appraising different things bubbling up and sinking on the surface of a pool.
-this selected one at the fore gets structured to be said probably more precisely that feeling right before you actually say something. if this is going well, little is lost between the thought and what comes out of the structuring, but sometimes the thoughts are much worse from the process.
-this structured thing gets more concrete as I touch type it and somehow grammar and punctuation get in there.
-this gets a look over as it is coming out for errors. is it gibberish or not, is the grammar correct, do I like it.
Depending on what I'm concerned with different amounts of effort are going into those different sections. I think the error gets put in pretty close to when it gets typed out.