METHOD AND DEVICE FOR ENCODING INFORMATION, METHOD AND DEVICE FOR DECODING INFORMATION

Abstract: Input signals are converted into frequency components, the frequency components are separated into first signals composed of tonal components and second signals composed of other components. The first and second signals are respectively encoded and code string to be transmitted or recorded is generated. For example, only the first signals are encoded, and an information substring generated for, e.g., every quantization accuracy information which has a common value and a parameter related to the encoding of the first signals is included in the code string, by using at least either, for example, the number of spectrum components constituting the tonal components which is the parameter related to the separation or, for example, quantization accuracy information which is the parameter related to the encoding of the first signals as reference parameter. Thus, the inputted signals can be encoded more efficiently than conventional.

Description: TECHNICAL FIELD This invention relates to an information encoding method and apparatus for encoding information such as input digital data by high efficiency encoding, an information decoding method and apparatus for decoding encoded information. BACKGROUND ART There exist a variety of high efficiency encoding techniques of audio or speech signals. Examples of these techniques include transform coding in which a frame of digital signals representing the audio signal on the time axis is converted by an orthogonal transform into a block of spectral coefficients representing the audio signal on the frequency axis, and a sub-band coding (SBC) in which the frequency band of the audio signal is divided by a filter bank into a plurality of sub-bands without forming the signal into frames along the time axis prior to coding. There is also known a combination of sub-band coding and transform coding, in which signals representing the audio signal on the time axis are divided into bands by band division and are then transformed into signals on the frequency axis by spectral transform, and frequency components obtained by the spectral transform are encoded each band. Among the filters for dividing a frequency spectrum into a plurality of equal-width frequency ranges include the quadrature mirror filter (QMF) as discussed in R.E. Crochiere, Digital Coding of Speech in Sub-bands, 55 Bell Syst. Tech. J. No.8 (1976). With the QMF filter, the frequency spectrum of the signal is divided into two equal-width bands. With the QMF, aliasing is not produced when the frequency bands resulting from the division are subsequently combined together. In "Polyphase Quadrature Filters - A New Subband Coding Technique", Joseph H. Rothweiler ICASSP 83, Boston, there is shown a technique of dividing the frequency spectrum of the signal into equal-width frequency bands. With the present polyphase QMF, the frequency spectrum of the signals can be divided at a time into plural equal-width frequency bands. There is also known a technique of orthogonal transform including dividing the digital input audio signal into frames of a predetermined time duration, and processing the resulting frames using a discrete Fourier transform (DFT), discrete cosine transform (DCT) and modified DCT for converting the signal from the time axis to the frequency axis. Discussions on MDCT may be found in J.P. Princen and A.B. Bradley, Subband Transform Coding Using Filter Bank Based on Time Domain Aliasing Cancellation", ICASSP 1987. By quantizing the signals divided on the band basis by the filter or spectrum conversion, it becomes possible to control the band subjected to quantization noise and psychoacoustically more efficient coding may be achieved by utilizing the so-called masking effects. If the signal components are normalized from band to band with the maximum value of the absolute values of the signal components, it becomes possible to effect more efficient coding. In a technique of quantizing the spectral coefficients resulting from an orthogonal transform, it is known to use sub-bands that take advantage of the psychoacoustic characteristics of the human auditory system. That is, spectral coefficients representing an audio signal on the frequency axis may be divided into a plurality of critical frequency bands, for example 25 critical bands. The width of the critical bands increase with increasing frequency. In such a quantizing system, bits are adaptively allocated among the various critical bands. For example, when applying adaptive bit allocation to the spectral coefficient data resulting from MDCT, the spectral coefficient data generated by the MDCT within each of the critical bands is quantized using an adaptively allocated number of bits. There are presently known the following two bit allocation techniques. For example, in IEEE Transactions of Acoustics, Speech and Signal Processing, vol. ASSP-25, No.4, August 1977, bit allocation is carried out on the basis of the amplitude of the signal in each critical band. This technique produces a flat quantization noise spectrum and minimizes noise energy, but the noise level perceived by the listener is not optimum because the technique does not effectively exploit the psychoacoustic masking effect. In the bit allocation technique described in M.A. Krassner, The Critical Band Encoder - Digital Encoding of the Perceptual Requirements of the Auditory System, ICASSP 1980, the psychoacoustic masking mechanism is used to determine a fixed bit allocation that produces the necessary signal-to-noise ratio for each critical band. However, if the signal-to-noise ratio of such a system is measured using a sine wave, non-optimum results are obtained because of the fixed allocation of bits among the critical bands. For overcoming these inconveniences, a high efficiency encoding apparatus has been proposed in which the total number of bits available for bit allocation is divided between a fixed bit allocation pattern pre-set for each small block and a block-based signal magnitude dependent bit allocation, and the division ratio is set in dependence upon a signal relevant to the input signal, such that, the smoother the signal spectrum, the higher becomes the division ratio for the fixed bit allocation pattern. With this apparatus, if the energy is concentrated in a particular spectral component, as in the case of a sine wave input, a larger number of bits are allocated to the block containing the spectral component for significantly improving the signal-to-noise ratio characteristics on the whole. Since the human auditory system is highly sensitive to a signal having acute spectral components, such technique may be employed for improving the signal-to-noise ratio for improving not only measured values but also the quality of the sound as perceived by the ear. In addition to the above techniques, a variety of other techniques have been proposed, and the model simulating the human auditory system has been refined, such that, if the encoding device is improved in its ability, the encoding may be made with higher efficiency in light of the human auditory system. Fig.1 shows a basic constitution of a conventional encoding device for encoding acoustic signals as waveform signals on the time axis. Referring to Fig.1, the acoustic signal waveform supplied at a terminal 100 is converted by a conversion circuit 101 into frequency components of acoustic signals which are then encoded by a signal component encoding circuit 102. The codes are arrayed by a code string generating circuit 103 as a code string which is outputted at a terminal 104. Fig.2 shows an illustrative constitution of the conversion circuit 101 shown in Fig.1. Referring to Fig.2, the acoustic signal supplied at a terminal 200, corresponding to the terminal 100 shown in Fig. 1, is divided into four bands by a frequency spectrum dividing circuit 201 which may be the aforementioned polyphase quadrature filter. The acoustic signals of the respective bands, obtained by the frequency spectrum dividing filter 201, are converted into spectral components by forward orthogonal conversion circuits 211 to 214 for effectuating an orthogonal transform, such as MDCT circuits. That is, the acoustic signals inputted to the forward spectrum conversion circuits 211 to 214 are each of a bandwidth equal to one-fourth of the bandwidth of the signal supplied at the terminal 200, such that the acoustic signals supplied via the terminal 200 are sub-sampled at a rate of 1 to 4. Outputs of the forward spectrum conversion circuits 211 to 214 are fed via terminals 221 to 224 to the signal component encoding circuit 102 shown in Fig.1. Of course, the conversion circuit 101 shown in Fig.1 may be modified in desired manner. For example, the input acoustic signal may be directly converted by MDCT into spectral components, while MDCT may be replaced by DFT or DCT. Fig.3 shows an illustrative constitution of the signal component encoding circuit 102 shown in Fig.1. Referring to Fig.3, an output of the signal component encoding circuit 102 supplied to a terminal 300 is normalized by a normalizing circuit 301 on the band basis before being transmitted to a quantization circuit 303. The input signal to the terminal 300 is also fed to a quantization step decision circuit 302. The quantization circuit 303 quantizes the normalized spectral components from the normalizing circuit 301 based on the quantization steps as calculated by the quantization step decision circuit 303 from the spectral components supplied via the terminal 300. The quantized spectral components from the quantization circuit 303 are fed via the terminal 304 to the code string generating circuit 103 of Fig.1. A signal outputted via the terminal 304 contains the normalization coefficient information in the normalization circuit 301 and the quantization step information in the decision circuit 302, in addition to the quantized spectral components from the quantization circuit 303. Fig.4 shows a basic constitution of a signal decoding device for decoding the acoustic signal from the code string generated by the coding device shown in Fig.1, and outputting the decoded acoustic signal. Referring to Fig.4, the codes of the respective signal components are extracted by a signal string resolution circuit 401 from the code string generated by the constitution shown in Fig.1 and supplied via a terminal 400. From these codes, the signal components are restored by the signal component decoding circuit 402. The decoded signal components are processed by an inverse-transform circuit 403 with inverse-transform which is an inverse operation of that executed by the transform circuit 101 of Fig.1. This produces an acoustic waveform signal which is outputted at a terminal 404. Fig.5 shows an illustrative constitution of an inverse transform circuit 403 shown in Fig.4. Fig.5 shows an illustrative constitution of a counterpart circuit of the transform circuit shown in Fig.2. The signals supplied from the signal component decoding circuit 402 via terminals 501 to 504 are processed by inverse spectrum conversion circuits 511 to 514 which execute inverse spectrum transform which is the reverse of the forward spectrum transform shown in Fig.2. The signals of the respective bands produced by the inverse orthogonal transform circuits 511 to 514 are combined by a band combining filter 515 which executes an operation which is the reverse of the frequency spectrum division preformed by the frequency spectrum division filter 201 shown in Fig.2. An output of the band synthesizing filter 515 is outputted at a terminal 521 corresponding to the terminal 404 shown in Fig.4. Fig.6 illustrates an example of a conventional encoding method. In the example shown in Fig.6, the spectral component signals are those produced by the transform circuit shown in Fig.2. In Fig.6, the levels of absolute values of the spectral signals by MDCT as shown after conversion to corresponding dB values. In Fig.6, the input signal is transformed into 64 spectral signals from one pre-set time block to another. These 64 spectral signals are grouped into five pre-set bands, referred to herein as encoding units b 1 to b 5 in Fig.6, so as to be normalized and quantized on the encoding group basis. The bandwidths of the respective encoding units b 1 to b 5 are narrower towards the low range and broader towards the high range in order to permit the control of the generation of the quantization noise conforming to the characteristics of the human auditory system. However, as may be seen from Fig.6, if the normalization is effectuated for each of pre-set bands, signal normalization in the encoding unit b3 containing tonal components is executed on the basis of a larger normalization coefficient value as determined by the tonal components. Using this normalization coefficient value, all the spectral components contained in the encoding unit b 3 are normalized. The noise contained in the tonal acoustic signal is obstructive to the ear. In addition, if the tonal components are not quantized with high accuracy, considerable connection distortion is produced when the tonal components are synthesized with the waveform signals of the neighboring time block. For this reason, the tonal component needs to be quantized with a sufficient number of bits. However, if the quantization step is determined based on pre-set frequency bands, it is necessary to allocate a larger number of bits to a large number of the spectral components in the encoding unit containing the tonal components, thus lowering the coding efficiency. With the above-described conventional method, the frequency bands for quantization of the frequency components with the same quantization step are fixed. For this reason, if the spectral components are concentrated near several specified frequencies, and if these spectral components are to be quantized with sufficiently fine quantization steps, it is necessary to allocate a large number of bits to a large number of spectral components belonging to the same band as that of the spectral components. In general, the noise contained in the tonal acoustic signal in which the spectral energy is concentrated at specified frequencies is more offensive to the ear than the noise contained in the acoustic signal in which the energy is smoothly distributed over a wide frequency range. Such noise is extremely objectionable to the ear. On the other hand, if the spectral components having larger energies, that is tonal components, are not quantized with sufficiently fine quantization steps, block-to-block distortion becomes larger when the spectral components are restored to the waveform signals on the time axis and the resulting waveform signals are synthesized with temporally neighboring blocks. In other words, larger connection distortion is produced when the resulting waveform signals are synthesized with the waveform signals of the neighboring temporal blocks, thus again presenting hindrance to the human auditory system. Thus it has been difficult with the conventional method to raise the coding efficiency for the tonal acoustic signal without deteriorating the signal quality. In order to obviate such inconvenience, the present Assignee proposed in International Filing No. PCT/JP94/00880 (International Publication No. WO94/28633, International Publication Date December 8, 1994) a method for realizing high encoding efficiency by separating the input signal into tonal components in which the signal energy is concentrated in a specified frequency and non-tonal components in which the signal energy is smoothly distributed over a broad frequency range. With the previously proposed method, the encoding may be achieved more efficiently than with the above-mentioned method of quantizing the frequency components based on fixed bands by quantizing the tonal components with fine quantization steps within an extremely narrow range on the frequency axis and by recording the resulting data on the recording medium along with the position on the frequency axis. As an illustrative example of the high efficiency encoding, a method was proposed for normalizing and quantizing a pre-set number of spectral signals centered about a maximum energy spectral component of each of the tonal components, and encoding the resulting spectral signals. However, the method as proposed in PCT/JP94/00880 consists in according the information concerning the quantization steps for quantizing the tonal components to each tonal component or quantizing all of the tonal components wit the same quantization steps. If the former method is employed, it is necessary to use a large number of bits for encoding the information on the same quantization steps, which is not desirable for realizing high efficiency coding. On the other hand, if the latter method is utilized, the quantization steps cannot be set to optimum values for the respective tonal components. WO 89 10661 A teaches that the energy content of voice data does not appear randomly across the audible frequency band and, when the input signal is transformed into frequency components and the frequency components are grouped into a plurality of bands, the important spectral information lies only within a few frequently selected filter bands. Particularly, this document discloses a method for transmitting an information signal over a communication channel in which digitally processed samples produced by a sub-band encoder are modulated onto the communication channel to create channel symbols having a magnitude of modulation proportional to a characteristic of a respective digitally processed sample. EP-A-0 525 809 discloses an encoder apparatus in which spectral coefficients of a digital input signal are grouped into critical bands and the total number of bits available for quantizing the spectral coefficients is allocated among the critical bands, wherein fixed bits are allocated among the critical bands according to a selected one of a plurality of predetermined bit allocation patterns and variable bits are allocated among the critical bands according to the energy in the critical bands. It is an object of the present invention to provide an information encoding method and apparatus, an information decoding method and apparatus, whereby the tonal acoustic signals, above all, can be encoded efficiently and the quantization steps can be optimally set for the respective tonal components. This object is achieved by an encoding method, an encoding apparatus, a decoding method and a decoding apparatus according to the enclosed independent claims. Advantageous features of the present invention are defined in the corresponding subclaims. With the present invention, high efficiency encoding may be achieved by classifying a first signal as the tonal components into partial information strings in accordance with a common information, not coding void ones of the partial information strings, and by jointly encoding the information indicating the encoded partial information strings, that is by separating the tonal components into groups, not encoding the groups not containing the tonal components and encoding the number of the encoded groups. Further, efficient transmission may be achieved by transmitting the information encoded by the information encoding method and apparatus according to the present invention. With the decoding method and apparatus according to the present invention, the information indicating the encoded partial information strings excepting the non-encoded void partial information strings are decoded and, based on the decoded results, decoding is made of the partial information strings consisting in the first signal of the tonal components classed in accordance with the common information. BRIEF DESCRIPTION OF THE DRAWINGS Fig.1 is a block diagram showing a basic arrangement of a conventional encoding apparatus. Fig.2 is a block diagram showing an illustrative arrangement of a transform circuit of a conventional encoding apparatus. Fig.3 is a block diagram showing an illustrative arrangement of a conventional signal component encoding circuit. Fig.4 is a block circuit diagram showing a basic arrangement of a conventional decoding circuit. Fig.5 is a block circuit diagram showing an illustrative arrangement of an inverse transform circuit of a conventional decoding circuit. Fig.6 illustrates an encoding method according to a conventional technique by way of comparison to the present invention. Fig.7 is a block diagram showing an arrangement of an information encoding apparatus embodying the present invention. Fig.8 is a block diagram showing an arrangement of an information decoding apparatus embodying the present invention. Fig.9 illustrates spectral signals containing tonal components. Fig.10 illustrates spectral signals excluding tonal components. Fig.11 is a flow chart for illustrating processing flow for separating tonal components. Fig.12 is a flow chart for illustrating the processing flow for determining the number of spectral signals making up registered tonal components. Fig.13 illustrates an exemplary code string. Fig.14 illustrates a code string produced by the encoding method of the present invention. Fig.15 illustrates another exemplary code string. Fig.16 illustrates still another exemplary code string. Fig.17 is a block circuit diagram showing another example of a restoration unit according to the present invention. Fig.18 is a flow chart showing the processing flow during grouping the tonal components. Fig.19 is a flow chart illustrating the processing flow of the information decoding method according to the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Referring to the drawings, preferred illustrative embodiments of the present invention will be explained in detail. Fig.7 shows an arrangement of an information encoding apparatus embodying the present invention. Referring to Fig.7, an acoustic waveform signal is supplied at a terminal 600. The acoustic waveform signal is transformed by a transform circuit 601 into signal frequency components, which are then routed to a signal component separating circuit 602. In the signal component separating circuit 602, the signal frequency components produced by the transform circuit 601 are separated into tonal components having a steep spectral distribution and remaining signal frequency components, that is noisy components having a flat spectral distribution. Of the resulting frequency components, the tonal components presenting the steep spectral distribution are encoded by a tonal component encoding circuit 603, while the remaining signal frequency components, that is the noisy components, are encoded by a noisy component encoding circuit 604. Output of the tonal component encoding circuit 603 and the nosy component encoding circuit 604 are formed by a code string generating circuit 605 into a code string which is outputted to an ECC encoder 606. The ECC encoder 606 appends error correction codes to the code string outputted by the code string generating circuit 605. An output of the ECC encoder 606 is modulated by an EFM circuit 607 before being transmitted to a recording head 608. The recording head 608 records the output code string of the EFM circuit 607 on a disc 609. The signal component separating circuit 602 outputs the number of the tonal component information data, position information and the information on the number of the spectral components to the code string generating circuit 605. For the transform circuit 601, an arrangement similar to that shown in Fig.2 may be employed. Of course, the constitution other than that shown in Fig.2 may be employed for the transform circuit 601. For example, the input signal may be directly transformed by MDCT into spectral signals or the transform into spectral signals by DFT or DCT may be employed instead of by MDCT. The tonal component encoding circuit 603 and the noisy component encoding circuit 604 may basically be realized by the same arrangement as that shown in Fig.3. Fig.8 shows a constitution of a decoding circuit for decoding the code string obtained by the encoding circuit shown in Fig.7. Referring to Fig.8, the code string reproduced from the disc 609 by the playback head 708 is routed to an EFM circuit 709 which demodulates the input code string. The demodulated code string is routed to an ECC decoder 710 for error correction. Based on the number of the information data on the tonal components contained in the error-corrected code string, a code string resolution circuit 701 recognizes which portion of the code string is the tonal component code and separates the input code string into the tonal component codes and the noisy component codes. On the other hand, the code string separating circuit 701 separates the tonal component position information and the spectral component number information from the input code string and outputs the separated information to a downstream side synthesis circuit 704. The tonal component code and the noisy component code are respectively routed to a tonal component decoding circuit 702 and a noisy component decoding circuit 703 where they are inverse quantized and denormalized for decoding. The decoded signals from the circuits 702 and 703 are routed to a synthesis circuit 704 which performs synthesis which is the reverse operation of the separation by the signal component separating circuit 602 shown in Fig.7. Based on the position information and the spectral component number information, routed from the separating circuit 701, the synthesis circuit 704 adds the decoded tonal component signal at a pre-set position of the decoded noisy component signal for synthesizing the noisy and tonal components on the frequency axis. The synthesized decoded signal is transformed by an inverse transform circuit 705 which performs inverse transform which is the reverse operation of the transform performed by the transform circuit 601 shown in Fig.7 so that the signal is restored from the signal on the frequency axis to acoustic waveform signal on the time axis. An output waveform signal from the inverse transform circuit 705 is outputted at a terminal 707. The operations of inverse transform and synthesis may be reversed, in which case a restoration circuit 711 shown in Fig.8 has a constitution as shown in Fig.17. The inverse transform circuit 712 inverse-transforms the decoded noisy component signal on the frequency axis from the decoding circuit 703 into the noisy component signal on the time axis. The inverse transform circuit 713 arrays the decoded tonal component signal from the tonal component decoding circuit 702 at the position on the frequency axis as specified by the spectral number information and the position information of the tonal component transmitted from the code string separating circuit 701 and inverse-transforms the resulting signal for generating the tonal component signal on the time axis. A synthesis circuit 714 synthesizes the noisy component signal on the time axis from the inverse transform circuit 712 and the tonal component signal on the time axis from the inverse transform circuit 713 for restoring the original acoustic waveform signal. The background of how the information encoding method and the information decoding method are applied in the constitution of the encoding apparatus shown in Fig.7 and the decoding apparatus shown in Fig.8 is hereinafter explained. The manner of separating the tonal components from the frequency components is shown in Fig.9, in which four tonal components TC A , TC B , TC C and TC D have been extracted. The tonal components are distributed in a smaller number of spectral components, as shown in the example of Fig.9. Therefore, if these components are quantized with finer quantization steps, the number of quantization bits on the whole is not increased excessively. Although the tonal components may be normalized and subsequently quantized for raising the encoding efficiency, the normalizing and quantizing processes may also be omitted for simplifying the apparatus, because of the smaller number of the spectral signals constituting the tonal components. In addition, with the example shown in Fig.9, the number of the spectral signals constituting the tonal components is variable among 3, 5 and 7, such that the tonal component TC A is made up of three spectral signals, the tonal component TC B is made up of seven spectral signals and the tonal components TC C and TC D are respectively made up of three spectral signals, centered about the maximum value spectral signal, that is the spectral signal having a locally maximum value. In such case, the encoding may be performed on the assumption that the respective tonal components are made up of three, five or seven spectral signals. It is noted that, in the illustrated example, there is no tonal component made up of five spectral signals. Fig.10 shows an example in which the tonal components are eliminated from the original spectral signals shown in Fig.9 in order to show only the noisy components. Since the tonal components have been eliminated from the original spectral signals in the respective encoding units (bands) b 1 to b 5 in Fig.10, the normalization coefficients in each encoding unit b 1 to b 5 are of smaller values, so that the quantization noise may be reduced even with the use of a smaller number of quantization bits. Fig.11 shows the processing flow for separating the tonal components by the signal component separating circuit 602. In Fig.11, I denotes the serial number of the spectral signals, N denotes the total number of the spectral signals and P, R denote pre-set coefficients. As for the tonal components, if the absolute value of a spectral signal is locally larger than the value of remaining spectral signals and is larger by more than a pre-set value than the maximum value of the absolute values of the spectral signals in the time block for the spectral signals, and also if the sum of the energy of the spectral signals and the energy of neighboring spectral signals, such as tow directly neighboring spectral signals, is related by more than a pre-set ratio to the total energy within a pre-set band containing the spectral signals, the spectral signal and, for example, the two directly neighboring signals, are deemed to be tonal components. The pre-set band as the basis of comparison of the energy distribution ratio may be selected to be narrower and broader towards the low and high frequency ranges in keeping with, for example, the critical bandwidths, in order to take the psychoacoustic characteristics of the human auditory system into account. In Fig.11, a maximum absolute value of the spectral signal is substituted at step S1 for a variable A 0 . At step S2, the serial number I of the spectral signal is set to 1. At step S3, the absolute value of a spectral signal (hereinafter referred to as spectral absolute value) in a time block is substituted for a variable A. At step S4, it is judged whether or not the above absolute value of the spectral signal is locally larger than the values of other spectral signals, that is if it is the spectral signal having the locally maximum absolute value. If the result is NO, that is if the above absolute spectral value is not the spectral component having the locally maximum absolute value, the program transfers to step S10. If otherwise, the program transfers to step S5. At step S5, the magnitude of the ratio of the variable A of the spectral signal having the locally maximum value in the time block containing the spectral signal having the locally maximum absolute value to the variable A 0 of the maximum absolute value of the spectral signal is compared to that of the coefficient P representing a pre-set magnitude (A/A 0 > P). If A/A 0 > P, the program transfers to step S6 and, if otherwise, that is if A/A 0 ≤ P, the program shifts to step S10. At step S6, the energy value of spectral components neighboring to the spectral component having the locally maximum absolute value, such as the sum of the energies of both neighboring spectral components, is substituted for the variable X. At the next step S7, the total energy value within a pre-set band containing the spectral component having the locally maximum absolute value and neighboring spectral components is substituted for a variable Y. At the next step S8, the ratio of the variable X for the energy value to the variable Y of the energy value within the pre-set band is compared to the coefficient R indicating a pre-set ratio (X/Y > R). If the result is YES, that is if X/Y > R, the program shifts to step S9. If the result is NO, that is if X/Y ≤ R, the program shifts to step S10. At step S9, if the ratio of the energy of the spectral signal having the locally maximum absolute value and the neighboring spectral signals to the energy in the pre-set band containing these spectral signals is not less than a pre-set value, the spectral signal having the locally maximum absolute value and the neighboring spectral signals are deemed to be tonal components, and such effect is registered. At the next step S10, it is judged whether or not the number I of the spectral signals registered at step S9 is equal to the total number N of the spectral signals (I = N). I f the result is YES, that is if I = N, the program is terminated. If the result is NO, that is if In is not equal to N, the program shift to step S11, where I is incremented (I = I + 1), that is the number of the spectral signals is incremented by one for each step to return to step S3 for repeating the above process steps. Fig.12 shows the process flow for determining the number of constituent spectral signals of the tonal component registered as tonal component in the example of Fig.9. In Fig.12, the maximum number of the constituent spectral signals of the tonal component is set to 7. If the ratio of the energy of the three or five spectral signals centered about the spectral signal having the locally maximum absolute value to the energy of the seven spectral signals centered about the spectral signal having the locally maximum absolute value exceeds a pre-set ratio, the number of the constituent spectral signals of the tonal component is set to three or five, respectively. Although the registered tonal components are previously classified in the present example, such classification may naturally be performed at the same time as the tonal components are extracted with the number of the spectral signal having the locally maximum absolute value as found at step S9 as the number of the registered tonal components. In Fig.12, the number of the registered tonal components is set at step S21 to a variable M. At step S22, the number I of the tonal component is set to 1. At step S23, the energy value of the seven spectral signals neighboring to the locally maximum spectral component is substituted for variable Y. At step S24, the energy value of the thee spectral signals neighboring to the locally maximum spectral component is substituted for variable X. At step S25, it is judged whether or not the ratio of the energy value of the above seven neighboring spectral signals to the energy value of the three spectral signals (X/Y) exceeds a pre-set ratio P (X/Y > P). If the result is YES, that is if the ratio exceeds P, the program shifts to step S26. If the result is NO, that is if the ratio does not exceed P, the program shifts to step S27. At step S26, the number of the spectral signals of the tonal component is set to three which is registered as three spectral tonal components. The program then shifts to step S31. At step S27, the energy value of the five neighboring spectral signals, centered about the locally maximum spectral signal, is substituted for variable X. At the next step S28, it is judged whether or not the ratio of the energy value of the seven neighboring spectral signals to the energy value of the five spectral signals (X/Y) exceeds a pre-set ratio P (X/Y > P). If the result is YES, that is if the ratio exceeds P, the program shifts to step S29. If the result is NO, that is if the ratio does not exceed P, the program shifts to step S30. At step S29, the number of the spectral signals of the tonal component is set to five which is registered as five spectral tonal components. The program then shifts to step S31. At step S30, the number of the spectral signals of the tonal component is set to seven which is registered as seven spectral tonal components. The program then shifts to step S31. At step S31, it is determined whether or not the number of the tonal components M set at step S21 is equal to the number I of the tonal components (I = M). If the result is YES, that is if I = M, the program is terminated. If the result is NO, that is if I is not equal to M, the program shifts to step S32. At step S32, I is incremented by one for each step (I = I + 1) to return to step S23 for repeating the above process steps. Fig.13 shows an array of information data when the information data separated into the tonal and noisy components as described above are encoded in accordance with the encoding method described in US Patent Application SN 08/306,659 proposed by the present Assignee (filing data, September 15, 1994) for recording or transmission. Since the recording medium may be deemed to be a transmission path, the term "transmission" herein is meant to comprise recording the information on the recording medium. In Fig.13, the tonal components are transmitted by groups each consisting of the same number of the spectral components. That is, in the present example, as the information indicating all of the tonal components having the number of the constituent spectral signals equal to three, the number of the tonal components (as the number of the information data for the three spectral tonal components STC 3 = 3) and the contents of the tonal components TC A , TC C and TC D , that is the tonal component information data tc A , tc C and tc D , are transmitted as the partial tonal component information string LTC 1 . The information indicating all of the tonal components having the number of the constituent spectral components equal to five, and the information indicating all of the tonal components having the number of the constituent spectral components equal to seven, are subsequently transmitted in the similar manner as the partial tonal component information strings LTC 2 and the partial tonal component information string LTC 3 , along with the contents of the tonal components TC B , that is the tonal component information data tc B . If the tonal components are transmitted by groups each having the same number of the constituent spectral signals, it becomes unnecessary to transmit the information concerning the number of spectral signals making up the constituent spectral signals, so that efficient coding becomes possible in case there are a large number of tonal components. The information on the tonal components tc includes the center position information CP indicating the center of spectrum position of the tonal components, such as CP= 31 for the tonal component TC C , the information on the quantization steps indicating the number of quantization bits QP (for example, QP = 6), the information on the normalization coefficients NP and the information on respective signal components indicating the normalized and quantized values of the remaining spectral signals making up the tonal components, such as the information SC 1 , SC 2 , ...SC 3 . The information on the noisy components is recorded or transmitted in the sequence of nc 1 , nc 2 , nc 3 , nc 4 and nc 5 associated with the bands b 1 to b 5 of Fig.10, respectively. The information on the noisy component nc includes the information on the quantization steps QP (QP = 3 in the case of the information nc 1 ), the information on the normalization coefficients NP and the information on respective normalized and quantized signal components, such as the information SC 1 , SC 2 , ...SC 3 . However, in the code string of the present example, it is necessary to transmit the number of spectral signals despite the fact that there is no tonal component constituted by five spectral signals. In the illustrated example, only three different numbers of the spectral signals constituting the tonal components are allowed. However, in the design statement for coding in which the information data need to be encoded by the same encoding method depending on the variable compression ratios and the demanded sound quality level, it is necessary to allow for a large number of spectral signals making up the tonal components in the design statement, while it is not efficient to transmit the number of the information data on the tonal components for the partial string of the tonal component data which is not in use. Fig.14 shows an example of a code string constitution in case the spectral signal shown in Fig.9 according to the transmission method of the present invention, in which the above-mentioned point is taken into account, is encoded. In Fig.14, the number of the partial strings of the information on the tonal components n LTC (in the example of Figs.9 and 14, n LTC = 2) is first transmitted, followed by the a number of partial strings of the information on the tonal components LTC 11 and LTC 12 , as specified therein. In the example of Fig.14, the number N 11 indicating the number of the information data tc for the tonal components in the partial string LTC 11 (in the present example, N 11 = 3), the number of spectral signals making up the spectral components n sp indicating the number of the spectral signals making up the tonal components (in the present example, n sp = 3) and the actual information on the tonal components tc A , tc C and tc D , are transmitted as the partial string LCT 11 . Since the number of any of spectral signals making up the tonal components is not equal to 5 in the present example, such partial information string is not encoded. As the partial string LCT 12 , the number N 12 indicating the number of the information data tc for the tonal components in the partial string LTC 12 (in the present example, N 12 = 3), the number of spectral signals making up the tonal component n sp indicating the number of the spectral signals making up the tonal component (in the present example, n sp = 7) and the actual information on the tonal components tc B are transmitted. Since there is no necessity of transmitting the information on the void partial information string of the tonal component, efficient encoding may be achieved, especially if different kinds of the partial information string need to be allowed for the reason discussed in the foregoing. In the example of Fig.4, the partial information string on the tonal components is produced by grouping based upon the number of the spectral signals constituting the tonal component. However, the method of the present invention may be applied to such a case in which the partial information strings for the tonal components are constituted by grouping the information on the tonal components based on other attributes than the number of the spectral signals constituting the tonal component. Specifically, the grouping may be made based upon the information on the quantization steps. Referring to Figs.9, 15, 17 and 18, an illustrative example of grouping based upon the information on the quantization steps are explained. It is assumed that the signal component separating circuit 602 separates tonal components from frequency components, as shown in Fig.9. In the present example, four tonal components TC A , TC B , TC C and TC D have been extracted, as previously explained. If it is allowed to quantize the spectral components at the quantization steps corresponding to the information on the quantization step QP = 6 or at the quantization steps corresponding to the information on the quantization step QP = 4, the quantization step decision circuit in the tonal component encoding circuit 603 determines the quantization step of the respective tonal components in the following manner. Fig.18 shows an illustrative processing flow for grouping the tonal components depending on the quantization steps by the tonal component encoding circuit 603. In this figure, grouping is made on the tonal components previously extracted and registered by the processing of Fig.11. In the present example, if the ratio of the energy value of five spectral signals centered about the center spectral signal of the tonal component to the energy value in a pre-set band exceeds the value P, the tonal components are grouped as being the tonal components quantized with the information on the quantization steps QP = 6. If otherwise, the tonal components are grouped as being the tonal components quantized with the information on the quantization steps QP = 4. Referring to Fig.18, the registered number of the tonal components is substituted at step S21 for a variable M. At step S22, the number I of the tonal components is set to 1. At the next step S23, the energy value of the pre-set band is substituted for variable Y. At step S24, the energy value of the neighboring five spectral signals is substituted for variable X. At step S25, it is judged whether or not the ratio of the variable X for the energy value of the five neighboring spectral signals to the variable Y of the energy of the pre-set band is larger than the value P (X/Y > P). If the result is YES, that is if X/Y is larger than P, the program sifts to step S26. If the result is NO, that is if X/Y is less than P, the program shifts to step S27. At step S26, the tonal components are grouped or registered as being the tonal components with the quantization step information QP = 6. At step S27, the tonal components are grouped or registered as being the tonal components with the quantization step information QP = 4. The program then shifts to step S28. At step S28, it is judged whether or not the number I of the tonal components is equal to the variable M for the number of the registered tonal components. If the result is YES, the processing comes to a close. If the result is NO, the program shifts to step S29 where the number of the tonal components I is incremented (I = I + 1 ) to return to step S23 for repeating the above process steps. The quantization step for each of the tonal components is determined in this manner by the tonal component encoding circuit 603. For example, TC A , TC C and TC D are quantized with the quantization step corresponding to the information on the quantization step QP = 6 to give tc A , tc C and tc D . In addition to the information on the number of the spectral signals, the information on the tonal components, quantized in the manner described above, the information on the quantization step and the information on the grouping, are supplied to the code string generating circuit 605, which then generates and outputs a code string shown in Fig.15 based on the above data. Fig.15 shows an example in which the partial information string is constituted based upon the information on the quantization step. In the present example, the number of the spectral signals making up the tonal components is assumed to be the same for all of the tonal components. Of course, the number of the spectral signals making up the tonal components may be encoded as being part of the information on the respective tonal components. In the present example of Fig.15, the number of the partial information strings of the tonal components n LTC (in the example of Fig.15, n LTC = 2) is first transmitted, followed by the a number of partial information strings LTC 21 and LTC 22 specified therein. In the example of Fig.15, the number N 21 indicating the number of the tonal components tc in the partial information string LTC 21 , that is the number of the tonal components quantized at the quantization step corresponding to the information on the quantization step QP = 6 (N 21 = 3 herein), the information on the quantization steps QP (QP = 6 herein) and the information on actually quantized tonal components tc A , tc C and tc D , are transmitted in this order as the partial information string for the tonal components LTC 21 . On the other hand, the number N 22 indicating the number of the tonal components tc in the partial information string LTC 22 , that is the number of the tonal components quantized at the quantization step corresponding to the information on the quantization step QP = 4 (N 22 = 1 herein), the information on the quantization steps QP (QP = 4 herein) and the information on actually quantized tonal components tc B , are transmitted in this order as the partial information string for the tonal components LTC 22 . This eliminates the necessity of according the information on the quantization steps to the respective tonal components. For example, the information on the tonal components tc C of Fig.15 may be made up only of the center position information CP, the normalization coefficient information NP and the information on the respective signal components SC. Thus, in the example of Fig.15, the encoding efficiency may be improved especially if there are a large number of tonal components. Of course, the sequence of transmission of the respective information data may be changed from that described above. For example, the information on the quantization step QP = 6, the corresponding number of the information data on the tonal components N 21 = 3, the information on the quantization step QP = 4 and the corresponding number of the information data on the tonal components N 22 = 1, may be first transmitted as a lump and the information on the tonal components indicating the contents of the tonal components tc n may be transmitted subsequently. Fig. 19 shows, in a flow chart, the processing flow in decoding the string of the information of the tonal components corresponding to the code string shown in Fig.15. In the flow chart of Fig.19, the numbers of the tonal components contained in the respective groups and the tonal components encoded in accordance with the information are decoded sequentially. Referring to Fig.19, the number of the information data concerning the tonal components with the information on the quantization step QP = 6 is substituted at step S31 for a variable M1. At the next step S32, the tonal components contained in the group are decoded for constructing M1 information data on the tonal components. At step S33, the number of information data on the tonal components with the information on the quantization step QP = 4 is substituted for a variable M2. At the next step S34, the tonal components contained in this group are decoded for constructing M2 information data on the tonal components. Fig.16 shows another example of a code string produced by encoding in accordance with the method of the present invention. In the present example, the information on the tonal components is grouped based upon the information on the number of the spectral signals of the tonal components and the information on the quantization steps. In such case, the encoding efficiency is increased, since neither the information on the number of the spectral signals making up the tonal components nor the information on the quantization step is the information on the tonal components and it is only sufficient to encode the tonal components from one information partial string on the tonal components to another. In the method shown in Fig.13, the partial information string on the tonal components need to be encoded for all of the combinations of the numbers of the spectral components and the information on the quantization step. In the method of the present invention, since it suffices to encode the partial information strings on the tonal components which are not void strings, the encoding efficiency may be improved significantly. Although the number of the partial information strings on the tonal components is encoded in the above example, it is also possible to utilize the flag information indicating whether or not the partial information string on the respective tonal components is to be encoded. Such arrangement may be comprised within the scope of the present invention. However, it is more efficient to encode the number of the encoded partial information strings, as shown in the above-described embodiments. In the above description, the center position information CP is transmitted as the position information for the tonal components. It is however possible to transmit the lower most spectral signal position for each tonal component, such as 30 for the tonal component TC C , in place of the center position information. Although it is desirable for increasing the encoding efficiency to separate and encode spectral components having spectral energies concentrated in the vicinity of specified frequencies as being the tonal components, signal separation need not necessarily be based on the spectral energy and those spectral components of a specified range encoded with the position information on the frequency axis may be comprised within the tonal components according to the present invention. In addition, although the recording medium is the disc 609 in the above explanation, the disc may also be an optical disc, a magneto-optical disc or a phase transition disc. The recording medium may also be a tape-shaped recording medium employed in an audio cassette or a video cassette, a disc-shaped recording medium, such as a hard disc or a floppy disc or a semiconductor recording medium, such as an IC memory card. The above description has been made mainly in connection with acoustic signals. However, the present invention may also be applied to encoding of waveform signals in general. The present invention may, however, be applied most effectively to the acoustic signals because the information on the tonal components has significant meaning in connection with the human auditory system. Although the respective tonal components are normalized and subsequently quantized for encoding the tonal components, the present invention may also be applied to the tonal components quantized without normalization. However, the encoding efficiency may be improved by first normalizing and subsequently quantizing the tonal components, as in the above-described embodiments. The encoding method for the noisy components of the present invention is not limited to re-quantization followed by encoding but may also be applied to normalization followed by encoding. The present invention provides an illustrative method for efficiently realizing the method described in our copending PCT/JP94/ 00880 and US Patent Application SN 08/ 306659 and may be applied in conjunction with the various methods proposed in these co-pending applications. With the information encoding method and apparatus according to the present invention, high efficiency encoding may be achieved by classifying the first signal as the tonal components into partial information strings in accordance with the common information, not coding void ones of the partial information strings, and by jointly encoding the information indicating the encoded partial information strings, that is by separating the tonal components into groups, not encoding the groups not containing the tonal components and encoding the number of the encoded groups. With the information transmission method and the information recording medium according to the present invention, efficient transmission may be achieved by transmitting the information encoded by the information encoding method and apparatus according to the present invention. With the decoding method and apparatus according to the present invention, the information indicating the encoded partial information strings excepting the non-encoded void partial information strings are decoded and, based on the decoded results, decoding is made of the partial information strings consisting in the first signal of the tonal components classed in accordance with the common information. With the method of the present invention, tonal signals may be efficiently encoded so that high efficiency encoding may be achieved on the whole. The favorable effect of the present invention may be manifested most significantly when the encoding in meeting with various compression ratios and sound quality levels is to be achieved in accordance with the same standard.

Claims: A method for encoding an input signal comprising the steps of: transforming (601) the input signal into frequency components; separating (602) the frequency components into a first signal composed of tonal components (TC A ..TC D ) having a steep energy distribution and a second signal composed of other components; encoding (603) said first signal by way of first encoding; encoding (604) said second signal by way of second encoding; and generating (605) a first code string for transmission or recording based on encoded signals produced by said first encoding, wherein said first code string includes partial strings (LTC) of tonal component data in which tonal component data (tc A ..tc D ) having same values of at least one of parameters (n sp , QP) for signal separation (602) and first encoding (603) are grouped. The method as claimed in claim 1, wherein the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (n sp ) indicating the number of the spectral signals making up the tonal components (TC A ..TC D ) separated by the signal separation (602). The method as claimed in claim 1 or 2, wherein the first encoding step (603) includes a quantization step (303) of quantizing said first signal and the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (QP) indicating information of the quantization (303). The method as claimed in claim 3, wherein the parameter (QP) indicates the quantization step. The method as claimed in anyone of claims 1 to 4, wherein the first code string contains information (STC 3 , STC 5 , STC 7 ; nLTC) indicating the constitution of the partial strings (LTC). The method as claimed in claim 5, wherein the information (nLTC) indicating the constitution of the partial strings indicates the number of the partial strings (LTC). The method as claimed in anyone of claims 1 to 6, further comprising the steps of: generating (605) a second code string based on said second signal; and transmitting (605) said first and second code string. The method as claimed in anyone of claims 1 to 7, wherein said other components are noise spectra. The method as claimed in claim 8, wherein said frequency components are grouped into bands (b1..b5) and said second code string is composed of noisy components (nc 1 ..nc 5 ) associated with said bands (b1..b5). A method for decoding a code string composed of encoded signals, comprising the steps of: decoding (701) an encoded signal corresponding to a first signal made up of tonal components (TC A ..TC D ) having a steep energy distribution for generating first decoded signals by way of first decoding; decoding (701) an encoded signal corresponding to a second signal made up of other components for generating second decoded signals by way of second decoding; and synthesizing (704) said first and second decoded signals for restoring an original signal, wherein a first code string includes partial strings (LTC) of tonal component data in which tonal component data (tc A ..tc D ) having same values of at least one of parameters (n sp , QP) for signal separation (602) and first encoding (603) are grouped; and said first decoding (701) or said restoring employing the parameter (n sp , QP) for decoding or restoring of plural encoded signals. The method as claimed in claim 10, wherein the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (n sp ) indicating the number of the spectral signals making up the tonal components (TC A ..TC D ) separated by the signal separation (602). The method as claimed in claim 10, wherein the first decoding (702) includes inverse quantization of inverse-quantizing said first signal and the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (n sp ) indicating information of the quantization. The method as claimed in claim 12, wherein the parameter (QP) indicates the quantization step. The method as claimed in anyone of claims 10 to 13, wherein the first code string contains information (STC 3 , STC 5 , STC 7 ; nLTC) indicating the constitution of the partial strings (LTC). The method as claimed in anyone of claims 14, wherein the information (nLTC) indicating the constitution of the partial strings indicates the number of the partial strings (LTC). The method as claimed in anyone of claims 10 to 15, wherein said other components are noise spectra. The method as claimed in claim 16, wherein said frequency components are grouped into bands (b1..b5) and a second code string is composed of noisy components (nc 1 ..nc 5 ) associated with said bands (b1..b5). An apparatus for encoding an input signal comprising means (601) for transforming the input signal into frequency components; means (602) for separating the frequency components into a first signal composed of tonal components (TC A ..TC D ) having a steep energy distribution and a second signal composed of other components; means (603) for encoding said first signal by way of first encoding; means (604) for encoding said second signal by way of second encoding; and means (605) for generating a first code string for transmission or recording based on encoded signals produced by said first encoding and the second encoding, wherein said first code string includes partial strings (LTC) of tonal component data in which tonal component data (tc A ..tc D ) having same values of at least one of parameters (n sp , QP) for signal separation (602) and first encoding (603) are grouped. The apparatus as claimed in claim 18, wherein the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (n sp ) indicating the number of the spectral signals making up the tonal components (TC A ..TC D ) separated by the signal separation (602). The apparatus as claimed in claim 18, wherein the first encoding (603) includes a quantization (303) of quantizing said first signal and the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (QP) indicating information of the quantization (303). The apparatus as claimed in claim 20, wherein the parameter (QP) indicates the quantization step. The apparatus as claimed in anyone of claims 18 to 21, wherein the code string contains information (STC 3 , STC 5 , STC 7 ; nLTC) indicating the constitution of the partial strings (LTC). The apparatus as claimed 22, wherein the information (nLTC) indicating the constitution of the partial strings indicates the number of the partial strings (LTC). The apparatus as claimed in anyone of claims 18 to 23, wherein said other components are noise spectra. The apparatus as claimed in claim 24, wherein said frequency components are grouped into bands (b1..b5) and a second code string is composed of noisy components (nc 1 ..nc 5 ) associated with said bands (b1..b5). An apparatus for decoding a code string composed of encoded signals, comprising: first decoding meant (701) for decoding the encoded signal corresponding to a first signal made up of tonal components having a steep energy distribution for generating first decoded signals by way of first decoding; second decoding means (701) for decoding the encoded signal corresponding to a second signal made up of other components for generating second decoded signals by way of second decoding; and means (704) for synthesizing said first and second decoded signals for restoring an original signal, wherein a first code string includes partial strings (LTC) of tonal component data in which tonal component data (tc A ..tc D ) having same values of at least one of parameters (n sp , QP) for signal separation (602) and first encoding (603) are grouped; and said first decoding means (701) or said restoring means employing the parameter (n sp , QP) for decoding or restoring of plural encoded signals. The apparatus as claimed in claim 26, wherein the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (n sp ) indicating the number of the spectral signals making up the tonal components (TC A ..TC D ) separated by the signal separation (602). The apparatus as claimed in claim 26, wherein the first decoding (702) includes inverse quantization of inverse-quantizing said first signal and the tonal component data (tc A ..tc D ) in said partial strings (LTC) are grouped according to the parameter (n sp ) indicating information of the quantization. The apparatus as claimed in claim 28, wherein the parameter (QP) indicates the quantization step. The apparatus as claimed in anyone of claims 26 to 29, wherein the code string contains information (STC 3 , STC 5 , STC 7 ; nLTC) indicating the constitution of the partial strings (LTC). The apparatus as claimed in claim 30, wherein the information (nLTC) indicating the constitution of the partial strings indicates the number of the partial strings (LTC). The apparatus as claimed in anyone of claims 26 to 31, wherein said other components are noise spectra. The apparatus as claimed in claim 32, wherein said frequency components are grouped into bands (b1..b5) and a second code string is composed of noisy components (nc 1 ..nc 5 ) associated with said bands (b1..b5).

Inventors: SHIMOYOSHI OSAMU, SONOHARA MITO, TSUTSUI KYOYA, SHIMOYOSHI, OSAMU, SONOHARA, MITO, TSUTSUI, KYOYA, SHIMOYOSHI, Osamu Sony Corporation, SONOHARA, Mito Sony Corporation, TSUTSUI, Kyoya Sony Corporation
Applicants: SONY CORP, SONY CORPORATION
Application year: 1995
Main classification: H03M7
IPC codes: G10L11, G11B20, H04B1