Speech is prior to writing in modern linguistics.
Modern linguistics regards the spoken language as primacy, not the written. Firstly, the spoken form is prior to the written form and most writing systems are derived from the spoken form of language. The writing system is invented when needed. Secondly, the spoken form plays a greater role than writing in daily communication in terms of the amount of information conveyed and it serves a wider range of purposes. And today there are languages which can only be spoken but not written. Thirdly, the spoken form is the medium through which we acquire our mother tongue.