There are provided a method and apparatus for repairing samples included in container files having lost packets. The arrangement comprises means for coding the heart beat interval information stored in the storing means into music, the coding means comprising means for selecting the rhythm of the music on the basis of the measured heart beat intervals. Furthermore, when reset processing is performed by attachmentdetachment of the optical disk recordingreproducing apparatus during the recording operation of the signal onto the disk, the host apparatus outputs a command signal for identifying the optical disk recordingreproducing apparatus.