Upon the filing of such an affidavit and application, the court shall appoint, order or designate one of the following persons before whom such deposition shall be taken:
Such order shall specifically name such person and the time when and place where such deposition shall be taken. Failure of a witness to respond thereto, shall be punishable by contempt by the court. Such deposition shall be oral or written, as the court shall direct.
Tex. Code Crim. Proc. § 39.03