(a) Direct Contempt. A direct criminal contempt may be punished summarily if the judge certifies that the judge saw or heard the conduct constituting the contempt and that it was committed in the presence of the judge. Oral notice of the conduct observed must be given by the judge. The contemnor must be given an opportunity to speak and present a defense. The order of contempt shall recite the adjudication and sentence and shall be signed by the judge and entered of record. The disposition, when imposed, shall also be entered on a separately numbered State v. (The Contemnor) file.
(b) Indirect Contempt. An indirect criminal contempt shall be prosecuted with notice. The notice shall state the time and place of hearing, allowing a reasonable time for the preparation of the defense,