The court may appoint a master to hear testimony on all or some issues, except issues of custody and paternity, and return the record and a transcript of the testimony together with a report and recommendation as prescribed by general rules, or a judge of the court in chambers may appoint a master to hold a nonrecord hearing and to make recommendations and return the same to the court, in which case either party may demand a hearing de novo before the court.
23 Pa.C.S. § 3321