During which step of the early "transmission model" of communication does encoding take place?

During which step of the early​ “transmission model” of communication does encoding take​ place?