The provisions of this act shall apply to proceedings in both civil and criminal cases.