(a) Appointing an expert witness. The court may appoint any expert witness agreed upon by the parties or of its own selection. An expert so appointed shall be informed of the expert’s duties by the court in writing, a copy of which shall be filed. An expert so appointed shall advise the court and the parties of the expert’s findings and may thereafter be called to testify by the court or by any party. The expert shall be subject to cross-examination by each party. The court shall determine the reasonable compensation of the expert and direct payment thereof. The parties may call expert witnesses of their own at their own expense. Upon showing that a defendant is financially unable to pay the fees of an expert whose services are necessary for adequate defense, the witness fee shall be paid as if the witness were called on behalf of the prosecution.
(b) Appointing an interpreter. The court may appoint an interpreter of its own selection and shall determine reasonable compensation and direct payment thereof. The court may allow counsel to question the interpreter before the interpreter is sworn to discharge the duties of an interpreter.