The invention relates to encoding a signal, in which frequency and amplitude information of at least one sinusoidal component are determined and sinusoidal parameters representing the frequency and amplitude information are transmitted.
U.S. Pat. No. 5,664,051 discloses a speech decoder apparatus for synthesizing a speech signal from a digitized speech bit-stream of the type produced by processing speech with a speech encoder. The apparatus includes an analyzer for processing the digitized speech bit stream to generate an angular frequency and magnitude for each of a plurality of sinusoidal components representing the speech processed by the speech encoder, the analyzer generating the angular frequencies and magnitudes over a sequence of times; a random signal generator for generating a time sequence of random phase components; a phase synthesizer for generating a time sequence of synthesized phases for at least some of the sinusoidal components, the synthesized phases being generated from the angular frequencies and random phase components; and a synthesizer for synthesizing speech from the time sequences of angular frequencies, magnitudes and synthesized phases. This document discloses that a great improvement in the quality of synthesized speech can be achieved by not encoding the phase of harmonics in voiced (i.e., composed primarily of harmonics) portions of the speech, and instead synthesizing an artificial phase for the harmonics at the receiver. By not encoding this harmonic phase information, the bits that would have been consumed in representing the phase are available for improving the quality of the other components of the encoded speech (e.g. pitch, harmonic magnitudes). In synthesizing the artificial phase, the phase and frequencies of the harmonics within the segments are taken into account. In addition, a random phase component, or jitter, is added to introduce randomness in the phase. More jitter is used for speech segments in which a greater fraction of the frequency bands are unvoiced. The random jitter improves the quality of the synthesized speech, avoiding the buzzy, artificial quality that can result when phase is artificially synthesized.
An object of the invention is to provide advantageous coding. To this end, the invention provides a method of encoding a signal, a method of decoding an encoded signal, an audio coder, an audio player, an audio system, an encoded signal and a storage medium as defined in the independent claims. Advantageous embodiments are defined in the dependent claims. The invention provides an advantageous way of applying phase jitter by transmitting a phase jitter parameter from the encoder to the decoder to indicate the amount of phase jitter that should be applied in the decoder during synthesis. Sending a phase jitter parameter has, inter alia, the advantage that a relation between the amount of phase jitter applied in the decoder and the original signal is established. In this way, more natural sound of a reconstructed audio signal is obtained, which better corresponds to the original audio signal. Further, the amount of phase jitter to be applied can be determined faster and more reliable, because it is not necessary to determine locally in the decoder the amount of phase jitter to be applied to generate a natural sounding signal.
By including the phase jitter parameter in the encoded bit-stream, the bit-rate is increased. However, the increase bit-rate can be minimal since these phase jitter parameters can have a very low update-rate, e.g. once per track. A track is a sinusoidal component with a given frequency and amplitude, i.e. a complete set of sinusoid segments. Preferably, the phase jitter parameter is transmitted approximately together with the frequency and the amplitude of the sinusoid at a first instance of a track. In that case, all required information is available at an early stage in the decoding.
An alternative solution to this problem would be to transmit the original phase, or phase differences at various time instances such that the frequency can be adapted during synthesis to match this original phase at the respective time instances. Sending these original phase parameters result in a better quality but requires a higher bit-rate.
In a preferred embodiment, it is assumed that phase-jitter applied to harmonically related frequencies bears the same harmonic relation as the related frequencies. It than suffices to transmit one phase jitter parameter per group of harmonically related frequencies.
The phase jitter parameters are preferably derived from statistical deviations measured in the original phase. In a preferred embodiment, a difference between an original phase of the signal and a predicted phase is determined, which predicted phase is calculated from the transmitted frequency parameters and a phase continuation requirement, and the phase jitter parameter is derived from said difference. With continuous phase, only a first instance of a sinusoid in each track may include a phase parameter, consecutive segments of the sinusoid must match, i.e. calculate, their phase parameters in such a way that they align with the phase of the current sinusoid segment. Reconstructed phases based on a continuous phase criterion lost their relation to original phases. As explained in the prior art, reconstructed signals with a constant frequency and amplitude in conjunction with continuous phases, sound somewhat artificial.
In general, it is not required that the phase jitter parameters indicate an exact amount of phase jitter. The decoder may perform a certain predetermined calculation based on the value of the phase jitter parameter and/or characteristics of the signal.
In an extreme case, the phase jitter parameter consists of one bit only. In this case, e.g. a zero indicates that no phase jitter should be applied and a one indicates that phase jitter should be applied. The phase jitter to be applied in the decoder may be a predetermined amount or may be derived in a pre-determined manner from characteristics of the signal.
The aforementioned and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter.
In the drawings:
The drawings only show those elements that are necessary to understand the invention.
The invention is preferably applied in a general sinusoidal coding scheme, not only in speech coding schemes, but also in sinusoidal audio coding schemes. In a sinusoidal coding scheme, an audio signal to be encoded is represented by a plurality of sinusoids of which a frequency and an amplitude are determined in an encoder. Often, the phase is not transmitted, but the synthesis is performed in such a way that the phase between two subsequent segments is continuous. This is done to save bit-rate. In a typical sinusoidal coding scheme sinusoidal parameters for a number of sinusoidal components are extracted. The sinusoidal parameter set for one component at least consists of a frequency and an amplitude. More sophisticated coding schemes also extract information on the course of the frequency and/or amplitude as a function of time. In the simplest case, the frequency and amplitude are assumed to be constant within a certain amount of time. This time is denoted as the update interval and typically ranges from 5 ms-40 ms. During synthesis, the frequencies and amplitudes of consecutive frames have to be connected. A tracking algorithm can be applied to identify frequency tracks. Based on this information, a continuous phase can be calculated such that the sinusoidal components corresponding to a single track properly connect. This is important because it prevents phase discontinuities, which are almost always audible. Since the frequencies are constant over each update interval, the continuously reconstructed phase has lost its relation to the original phase.
An alternative way of determining the phase jitter parameter is to monitor fluctuations in the original frequency.
An embodiment comprising an audio player 4 according to the invention is shown in
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word ‘comprising’ does not exclude the presence of other elements or steps than those listed in a claim. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a device claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
In summary, encoding a signal is provided, wherein frequency and amplitude information of at least one sinusoidal component in the signal is determined, and sinusoidal parameters representing the frequency and amplitude information are transmitted, and wherein further a phase jitter parameter is transmitted, which represents an amount of phase jitter that should be added during restoring the sinusoidal component from the transmitted sinusoidal parameters.
Number | Date | Country | Kind |
---|---|---|---|
00202144 | Jun 2000 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
3754101 | Daspit et al. | Aug 1973 | A |
4271499 | Leveque | Jun 1981 | A |
4523311 | Lee et al. | Jun 1985 | A |
4646173 | Kammeyer et al. | Feb 1987 | A |
4654861 | Godard | Mar 1987 | A |
4682343 | Pfiffner | Jul 1987 | A |
4771465 | Bronson et al. | Sep 1988 | A |
4789948 | von der Embse | Dec 1988 | A |
5054072 | McAulay et al. | Oct 1991 | A |
5216747 | Hardwick et al. | Jun 1993 | A |
5226084 | Hardwick et al. | Jul 1993 | A |
5226108 | Hardwick et al. | Jul 1993 | A |
5404377 | Moses | Apr 1995 | A |
5621775 | Etienne | Apr 1997 | A |
5664051 | Hardwick et al. | Sep 1997 | A |
5774837 | Yeldener et al. | Jun 1998 | A |
5787387 | Aguilar | Jul 1998 | A |
6081776 | Grabb et al. | Jun 2000 | A |
6219635 | Coulter et al. | Apr 2001 | B1 |
6233550 | Gersho et al. | May 2001 | B1 |
6311154 | Gersho et al. | Oct 2001 | B1 |
6349277 | Kamai et al. | Feb 2002 | B1 |
6430243 | White | Aug 2002 | B1 |
6453287 | Unno et al. | Sep 2002 | B1 |
6475245 | Gersho et al. | Nov 2002 | B2 |
6490562 | Kamai et al. | Dec 2002 | B1 |
6504838 | Kwan | Jan 2003 | B1 |
6549587 | Li | Apr 2003 | B1 |
6611555 | Smith et al. | Aug 2003 | B2 |
7222070 | Stachurski et al. | May 2007 | B1 |
7272556 | Aguilar et al. | Sep 2007 | B1 |
Number | Date | Country | |
---|---|---|---|
20020007268 A1 | Jan 2002 | US |