The present invention relates to digital signal processing techniques in a broad sense, and particularly relates to an audio player for performing error-concealment when an error occurs in Q data to be output in reproducing a music CD.
In a music CD, Q data which is different data from audio data is recorded in a sub-coded Q channel. Such Q data is used for reproduction time display and pause detection in dubbing. Conventionally, a system in which in reproducing a music CD, audio data and Q data are synchronized and then output has been known (see Japanese Laid-Open Patent Publication No. 2001-155432).
Assume that an error exists in Q data output when a music CD is reproduced. If the Q data is output as it is, problems arise. For example, reproduction time display momentarily indicates an abnormal value or, during dubbing, depending on external equipment connected thereto, pause detection is wrongly performed and thus a track expected to be dubbed is recorded as an unwanted track.
To avoid such problems, when an error in Q data is detected, it is preferable that the Q data is replaced with data which does not contain an error and then is output. However, a method for outputting Q data depends on product specification, and thus there arises another problem. That is, if an audio player section is incorporated in various different systems, which error processing method is used can not be uniquely determined.
It is therefore an object of the present invention to solve the above-described problems and provide an audio player with general versatility which includes an interface for allowing specifying, for a control section and a reproduction section, a processing method and an output method when an error exists in Q data and thus does not depend on an incorporated system.
To achieve the above-described object, an audio player according to the present invention is configured so as to include a plurality of methods for replacing, when an error exists in Q data in reproducing a music CD, the Q data with another Q data which does not contain an error, or so that as a method for outputting Q data when an error occurs, either one of a method for outputting received data as it is or a method for outputting replaced data can be externally selected.
With the audio player of the present invention, even if Q data contains an error, abnormal display of a reproduction time and misrecording in dubbing can be prevented. Moreover, by making it possible to externally select a Q data output method to be used when an error occurs, an audio player with general versatility which does not depend on an incorporated system can be provided.
Hereafter, embodiments of the present invention will be described with reference to the accompanying drawings.
The reproduction section 30 includes a Q data processing section 31 and an audio processing section 32. When an error exists in the Q data A received from the outside, the Q data processing section 31 basically replaces the Q data A with Q data C which does not contain an error and then outputs the Q data C. Thus, abnormal reproduction time display and misrecording in dubbing can be prevented. The audio processing section 32 decodes audio data B received from the outside and then outputs decoded audio data D. The output Q data C is synchronized with audio data D.
A control section 40 has the function of receiving from the outside Q data replacement method instruction information E, a Q data initial value F and Q data output method instruction information G and transmitting those information to the Q data processing section 31.
In the audio player of this embodiment, information in the DATA region 13 of
If an error exists in the Q data received from the outside, the processing proceeds from Step S1 to Step S4. In Step S4, a method for outputting the Q data is selected according to the Q data output method instruction information G. Then, if proceeding to Step S2 is selected, the received Q data is output as it is. If proceeding from Step S4 to Step S5 is selected, predetermined Q data error processing is performed. By making it possible to externally select an output method to be used when an error exists in Q data, the audio player of this embodiment can be incorporated in a wide range of systems.
If an error exists in Q data received from the outside but the Q data is not initially received data, the processing proceeds from Step S11 to Step S13. In Step S13, judgment according to the Q data replacement method instruction information E is performed. For example, to which region of the Q data prediction and generation are performed is determined. By making it possible to externally select an output method when an error exists in Q data, the audio player of this embodiment can be incorporated in a wide range of systems.
For example, in Step S14, where “Method 1” is selected, normal Q data used for a previous output is output as Q data for current output. Thus, output of Q data containing abnormal data can be prevented.
In Step S15, where “Method 2” is selected, a track number and time information for current Q data are predicted from previous Q data and current Q data is generated on the basis of the prediction. Then, the generated current Q data is output. Thus, a reproduction time and a track number can be displayed with precision in a relatively simple manner without application of a load to a system. In this case, it is preferable that CRC data calculation for the predicted Q data is performed and a calculation result is output as current Q data. Thus, error-free Q data of which CRC data value is ensured can be output.
As has been described, an audio player according to the present invention is so configured that a plurality of error concealment methods used when an error occurs in Q data are provided and an interface for making it possible to externally set which one of the methods is used. Thus, the audio player can normally perform reproduction and dubbing of a music CD without depending on an incorporated system. Therefore, the audio player is useful as an audio player with general versatility.
Number | Date | Country | Kind |
---|---|---|---|
2005-268922 | Sep 2005 | JP | national |