(a) The court may permit the victim of any crime, his or her parent or guardian if the victim is a minor, or the next of kin of the victim if the victim has died, to file with the court a written, audiotaped, or videotaped statement, or statement stored on a CD-ROM, DVD, or any other recording medium acceptable to the court, expressing his or her views concerning the crime, the person responsible, and the need for restitution, in lieu of or in addition to the person personally appearing at the time of judgment and sentence. The court shall consider the statement filed with the court prior to imposing judgment and sentence. Whenever an audio or video statement or statement stored on a CD-ROM, DVD, or other medium is filed with the court, a written transcript of the statement shall also be provided by the person filing the statement, and shall be made available as a public record of the court after the judgment and sentence have been imposed.