The present disclosure relates to error concealment for transmission of audio packets through an IP network or a mobile communication network and, more specifically, relates to an audio encoding device, an audio encoding method, an audio encoding program, an audio decoding device, an audio decoding method, and an audio decoding program for highly accurate packet loss concealment signal generation to implement error concealment.
In the transmission of audio and acoustic signals (which are collectively referred to hereinafter as “audio signal”) through an IP network or a mobile communication network, the audio signal is encoded into audio packets at regular time intervals and transmitted through a communication network. At the receiving end, the audio packets are received through the communication network and decoded into a decoded audio signal by server, a MCU (Multipoint Control Unit), a terminal or the like.
The audio signal is generally collected in digital format. Specifically, it is measured and accumulated as a sequence of numerals whose number is the same as a sampling frequency per second. Each element of the sequence is called a “sample”. In audio encoding, each time a predetermined number of samples of an audio signal is accumulated in a built-in buffer, the audio signal in the buffer is encoded. The above-described specified number of samples is called a “frame length”, and a set of the same number of samples as the frame length is called “frame”. For example, at the sampling frequency of 32 kHz, when the frame length is 20 ms, the frame length is 640 samples. Note that the length of the buffer may be more than one frame.
When transmitting audio packets through a communication network, a phenomenon (so-called “packet loss”) can occur where some of the audio packets are lost, or an error can occur in part of information written in the audio packets due to congestion in the communication network or the like. In such a case, the audio packets cannot be correctly decoded at the receiving end, and therefore a desired decoded audio signal cannot be obtained. Further, the decoded audio signal corresponding to the audio packet where packet loss has occurred is detected as noise, which significantly degrades the subjective quality to a person who listens to the audio.
Packet loss concealment technology can be used as a way to interpolate a part of the audio/acoustic signal that is lost by packet loss. There are two types of packet loss concealment technology: “packet loss concealment technology without using side information” where packet loss concealment is performed only at the receiving end and “packet loss concealment technology using side information” where parameters that help packet loss concealment are obtained at the transmitting end and transmitted to the receiving end, where packet loss concealment is performed using the received parameters at the receiving end.
The “packet loss concealment technology without using side information” can generate an audio signal corresponding to a part where packet loss has occurred by copying a decoded audio signal contained in a packet that has been correctly received in the past on a pitch-by-pitch basis and then multiplying the decoded audio signal by a predetermined attenuation coefficient, such as, for example, as described in ITU-T G.711 Appendix I. Because the “packet loss concealment technology without using side information” can be based on an assumption that the properties of the part of the audio where packet loss has occurred are similar to those of the audio immediately before the occurrence of loss, the concealment effect may be unsatisfactory when the part of the audio where packet loss has occurred has different properties from the audio immediately before the occurrence of loss, or when there is a sudden change in power.
On the other hand, the “packet loss concealment technology using side information” can include a technique that encodes parameters required for packet loss concealment at the transmitting end and transmits them for use in packet loss concealment at the receiving end, such as, for example, as described in ITU-T G.711 Appendix I.
In an example from ITU-T G.711 Appendix I, the audio is encoded by two encoding methods: main encoding and redundant encoding. The redundant encoding encodes the frame immediately before the frame to be encoded by the main encoding at a lower bit rate than the main encoding (see the example of
The receiving end waits for the arrival of two or more temporally successive packets and then decodes the temporally earlier packet and obtains a decoded audio signal. For example, to obtain a signal corresponding to the Nth frame, the receiving end waits for the arrival of the (N+1)th packet and then performs decoding. In the case where the Nth packet and the (N+1)th packet are correctly received, the audio signal of the Nth frame is obtained by decoding the audio code contained in the Nth packet (see the example of
According to the example described by the method of ITU-T G.711 Appendix I, after a packet to be decoded arrives, it is necessary to wait to perform decoding until one or more packet arrives, and algorithmic delay increases by one packet or more. Accordingly, in the example described by the method of ITU-T G.711 Appendix I, although the audio quality can be improved by packet loss concealment, the algorithmic delay increases to cause the degradation of the voice communication quality.
Further, in the case of applying the above-described packet loss concealment technology to CELP (Code Excited Linear Prediction) encoding, another issue could arise due to the characteristics of the operation of CELP. Because CELP is an audio model based on linear prediction and is able to encode an audio signal with high accuracy and with a high compression ratio, it is used in many international standards.
In CELP, an audio signal can be synthesized by filtering an excitation signal e(n) using an all-pole synthesis filter. Specifically, an audio signal s(n) is synthesized according to the following equation:
where a(i) is a linear prediction coefficient (LP coefficient), and a value such as P=16, for example, is used as a degree.
In CELP, the excitation signal can be accumulated in a buffer called an adaptive codebook. When synthesizing the audio for a new frame, an excitation signal is newly generated by adding an adaptive codebook vector read from the adaptive codebook and a fixed codebook vector representing a change in excitation signal over time based on position information called a pitch lag. The newly generated excitation signal can be accumulated in the adaptive codebook and can also be filtered by the all-pole synthesis filter, and thereby a decoded signal is synthesized.
In CELP, an LP coefficient is calculated for all frames. In the calculation of the LP coefficient, a look-ahead signal of about 10 ms can be used. Specifically, in addition to a frame to be encoded, a look-ahead signal can be accumulated in the buffer, and then the LP coefficient calculation and the subsequent processing can be performed (see the example of
In an example of CELP coding, encoding and decoding are performed based on the assumption that both the encoding end and the decoding end have adaptive codebooks, and those adaptive codebooks are always synchronized with each other. Although the adaptive codebook at the encoding end and the adaptive codebook at the decoding end can be synchronized under conditions where packets are correctly received and decoded, once packet loss has occurred, the synchronization of the adaptive codebooks may not be achieved.
For example, if a value that is used as a pitch lag is different between the encoding end and the decoding end, a time lag occurs between the adaptive codebook vectors. Because the adaptive codebook is updated with those adaptive codebook vectors, even if the next frame is correctly received, the adaptive codebook vector calculated at the encoding end and the adaptive codebook vector calculated at the decoding end do not coincide, and the synchronization of the adaptive codebooks may not be recovered. Due to such inconsistency of the adaptive codebooks, the degradation of the audio quality can occur for several frames after the frame where packet loss has happened.
In the packet loss concealment in CELP encoding, an example of a more advanced technique is described in Japanese Unexamined Patent Application Publication No. 2010-507818. An index of a transition mode codebook can be transmitted instead of a pitch lag or an adaptive codebook gain in a specific frame that is largely affected by packet loss, such as, described in the example of Japanese Unexamined Patent Application Publication No. 2010-507818. The example technique of Japanese Unexamined Patent Application Publication No. 2010-507818 focuses attention on a transition frame (transition from a silent audio segment to a sound audio segment, or transition between two vowels) as the frame that is largely affected by packet loss. By generating an excitation signal using the transition mode codebook in this transition frame, it is possible to generate an excitation signal that is not dependent on the past adaptive codebook and thereby recover from the inconsistency of the adaptive codebooks due to the past packet loss.
However, because the example method of Japanese Unexamined Patent Application Publication No. 2010-507818 does not use the transition frame codebook in a frame where a long vowel continues, for example, it is not possible to recover from the inconsistency of the adaptive codebooks in such a frame. Further, in the case where the packet containing the transition frame codebook is lost, packet loss affects the frames after the loss. This is the same when the next packet after the packet containing the transition frame codebook is lost.
Although it is feasible to apply a codebook to all frames that is not dependent on the past frames, such as the transition frame codebook, because the encoding efficiency is significantly degraded, it is not possible to achieve a low bit rate and high audio quality under these circumstances.
After the arrival of a packet to be decoded, decoding may not be started before the arrival of the next packet, such as, for example, as described in Japanese Unexamined Patent Application Publication No. 2010-507818. Therefore, although the audio quality is improved by packet loss concealment, the algorithmic delays increases, which can cause the degradation of the voice communication quality.
In the event of packet loss in CELP encoding, the degradation of the audio quality can occur due to the inconsistency of the adaptive codebooks between the encoding unit and the decoding unit. Although the method as described in the example of Japanese Unexamined Patent Application Publication No. 2010-507818 can allow for recovery from the inconsistency of the adaptive codebooks, the method is not sufficient to allow recovery when a frame different from the frame immediately before the transition frame is lost.
An audio coding system to solve the above problems can include an audio encoding device, an audio encoding method, an audio encoding program, an audio decoding device, an audio decoding method, and an audio decoding program that recover audio quality without increasing algorithmic delay in the event of packet loss in audio encoding.
Embodiments of the audio coding system can include an audio encoding device for encoding an audio signal, which includes an audio encoding unit configured to encode an audio signal, and a side information encoding unit configured to calculate side information from a look-ahead signal and encode the side information.
The side information may be indicative of a pitch lag in a look-ahead signal, indicative of a pitch gain in a look-ahead signal, or indicative of to a pitch lag and a pitch gain in a look-ahead signal. Further, the side information may contain information indicative of availability of the side information.
The side information encoding unit may calculate side information for a look-ahead signal part and encode the side information, and also generate a concealment signal, and the audio encoding device may further include an error signal encoding unit configured to encode an error signal between an input audio signal and a concealment signal output from the side information encoding unit, and a main encoding unit configured to encode an input audio signal.
Further, embodiments of the audio coding system can include an audio decoding device for decoding an audio code and outputting an audio signal, which includes an audio code buffer configured to detect packet loss based on a received state of an audio packet, an audio parameter decoding unit configured to decode an audio code when an audio packet is correctly received, a side information decoding unit configured to decode a side information code when an audio packet is correctly received, a side information accumulation unit configured to accumulate side information obtained by decoding a side information code, an audio parameter missing processing unit configured to output an audio parameter when audio packet loss is detected, and an audio synthesis unit configured to synthesize a decoded audio from an audio parameter.
The side information may be indicative of a pitch lag in a look-ahead signal, indicative of a pitch gain in a look-ahead signal, or indicative of a pitch lag and a pitch gain in a look-ahead signal. Further, the side information may contain information indicative of the availability of side information.
The side information decoding unit may decode a side information code and output side information, and may further output a concealment signal related to a look-ahead part by using the side information, and the audio decoding device may further include an error decoding unit configured to decode a code indicative of an error signal between an audio signal and a concealment signal, a main decoding unit configured to decode a code indicative of an audio signal, and a concealment signal accumulation unit configured to accumulate a concealment signal output from the side information decoding unit.
When an audio packet is correctly received, a part of a decoded signal may be generated by adding a concealment signal read from the concealment signal accumulation unit and a decoded error signal output from the error decoding unit, and the concealment signal accumulation unit may be updated with a concealment signal output from the side information decoding unit.
When audio packet loss is detected, a concealment signal read from the concealment signal accumulation unit may be used as a part, or a whole, of a decoded signal.
When audio packet loss is detected, a decoded signal may be generated by using an audio parameter predicted by the audio parameter missing processing unit, and the concealment signal accumulation unit may be updated by using a part of the decoded signal.
When audio packet loss is detected, the audio parameter missing processing unit may use side information read from the side information accumulation unit as a part of a predicted value of an audio parameter.
When audio packet loss is detected, the audio synthesis unit may correct an adaptive codebook vector, which is one of the audio parameters, by using side information read from the side information accumulation unit.
The audio coding system can also provide an audio encoding method performed by an audio encoding device for encoding an audio signal, which includes an audio encoding step of encoding an audio signal, and a side information encoding step of calculating side information from a look-ahead signal and encoding the side information.
The audio coding system can also provide an audio decoding method performed by an audio decoding device for decoding an audio code and outputting an audio signal, which includes an audio code buffer step of detecting packet loss based on a received state of an audio packet, an audio parameter decoding step of decoding an audio code when an audio packet is correctly received, a side information decoding step of decoding a side information code when an audio packet is correctly received, a side information accumulation step of accumulating side information obtained by decoding a side information code, an audio parameter missing processing step of outputting an audio parameter when audio packet loss is detected, and an audio synthesis step of synthesizing a decoded audio from an audio parameter.
The audio coding system may also execute an audio encoding program that causes a computer (processor) to function as an audio encoding unit to encode an audio signal, and a side information encoding unit to calculate side information from a look-ahead signal and encode the side information.
The audio coding system may also execute an audio decoding program that causes a computer to function as an audio code buffer to detect packet loss based on a received state of an audio packet, an audio parameter decoding unit to decode an audio code when an audio packet is correctly received, a side information decoding unit to decode a side information code when an audio packet is correctly received, a side information accumulation unit to accumulate side information obtained by decoding a side information code, an audio parameter missing processing unit to output an audio parameter when audio packet loss is detected, and an audio synthesis unit to synthesize a decoded audio from an audio parameter.
With the audio coding system described herein, it is possible to recover audio quality without increasing algorithmic delay in the event of packet loss in audio encoding. Particularly, in CELP encoding, using the audio coding system, it is possible to reduce degradation of an adaptive codebook that occurs when packet loss happens and thereby improve audio quality in the event of packet loss.
Embodiments of the audio coding system are described hereinafter with reference to the attached drawings. Note that, where possible, the same elements are denoted by the same reference numerals and redundant description thereof is omitted.
An embodiment of the audio coding system relates to an encoder and a decoder that implement “packet loss concealment technology using side information” that encodes and transmits side information calculated on the encoder side for use in packet loss concealment on the decoder side.
In the embodiments of the audio coding system, the side information that is used for packet loss concealment is contained in a previous packet.
Because the side information is contained in a previous packet, it is possible to perform decoding without waiting for a packet that arrives after a packet to be decoded. Further, when packet loss is detected, because the side information for a frame to be concealed is obtained from the previous packet, it is possible to implement highly accurate packet loss concealment without waiting for the next packet.
In addition, by transmitting parameters for CELP encoding in a look-ahead signal as the side information, it is possible to reduce the inconsistency of adaptive codebooks even in the event of packet loss.
The embodiments of the audio coding system can include an audio signal transmitting device (audio encoding device) and an audio signal receiving device (audio decoding device). A functional configuration example of an audio signal transmitting device (such as an audio encoding device) is shown in
As shown in
The audio signal transmitting device encodes an audio signal for each frame and can transmit the audio signal by the example procedure shown in
The audio encoding unit 111 can calculate audio parameters for a frame to be encoded and output an audio code (Step S131 in
The side information encoding unit 112 can calculate audio parameters for a look-ahead signal and output a side information code (Step S132 in
It is determined whether the audio signal ends, and the above steps can be repeated until the audio signal ends (Step S133 in
The audio signal receiving device decodes a received audio packet and outputs an audio signal by the example procedure shown in
The audio code buffer 121 waits for the arrival of an audio packet and accumulates an audio code. When the audio packet has correctly arrived, the processing is switched to the audio parameter decoding unit 122. On the other hand, when the audio packet has not correctly arrived, the processing is switched to the audio parameter missing processing unit 123 (Step S141 in
<When Audio Packet is Correctly Received>
The audio parameter decoding unit 122 decodes the audio code and outputs audio parameters (Step S142 in
The side information decoding unit 125 decodes the side information code and outputs side information. The outputted side information is sent to the side information accumulation unit 126 (Step S143 in
The audio synthesis unit 124 synthesizes an audio signal from the audio parameters output from the audio parameter decoding unit 122 and outputs the synthesized audio signal (Step S144 in
The audio parameter missing processing unit 123 accumulates the audio parameters output from the audio parameter decoding unit 122 in preparation for packet loss (Step S145 in
The audio code buffer 121 determines whether the transmission of audio packets has ended, and when the transmission of audio packets has ended, stops the processing. While the transmission of audio packets continues, the above Steps S141 to S146 are repeated (Step S147 in
<When Audio Packet is Lost>
The audio parameter missing processing unit 123 reads the side information from the side information accumulation unit 126 and carries out prediction for the parameter(s) not contained in the side information and thereby outputs the audio parameters (Step S146 in
The audio synthesis unit 124 synthesizes an audio signal from the audio parameters output from the audio parameter missing processing unit 123 and outputs the synthesized audio signal (Step S144 in
The audio parameter missing processing unit 123 accumulates the audio parameters output from the audio parameter missing processing unit 123 in preparation for packet loss (Step S145 in
The audio code buffer 121 determines whether the transmission of audio packets has ended, and when the transmission of audio packets has ended, stops the processing. While the transmission of audio packets continues, the above Steps S141 to S146 are repeated (Step S147 in
In this example of a case where a pitch lag is transmitted as the side information, the pitch lag can be used for generation of a packet loss concealment signal at the decoding end.
The functional configuration example of the audio signal transmitting device is shown in
<Transmitting End>
In the audio signal transmitting device, an input audio signal is sent to the audio encoding unit 111.
The audio encoding unit 111 encodes a frame to be encoded by CELP encoding (Step 131 in
The side information encoding unit 112 calculates a side information code using the parameters calculated by the audio encoding unit 111 and the look-ahead signal (Step 132 in
The LP coefficient calculation unit 151 calculates an LP coefficient using the ISF parameter calculated by the audio encoding unit 111 and the ISF parameter calculated in the past several frames (Step 161 in
First, the buffer is updated using the ISF parameter obtained from the audio encoding unit 111 (Step 171 in
where ωi(−j) is the ISF parameter, stored in the buffer, which is for the frame preceding by j-number of frames. Further, ωiC is the ISF parameter during the speech period that is calculated in advance by learning or the like. β is a constant, and it may be a value such as 0.75, for example, though not limited thereto. Further, α is also constant, and it may be a value such as 0.9, for example, though not limited thereto. ωiC, α and β may be varied by the index representing the characteristics of the frame to be encoded as in the ISF concealment described in ITU-T G.718, for example.
In addition, the values of i are arranged so that {dot over (ω)}i satisfies 0<{dot over (ω)}0<{dot over (ω)}1< . . . {dot over (ω)}14, and the values of {dot over (ω)}i can be adjusted so that the adjacent {dot over (ω)}i is not too close. As a procedure to adjust the value of {dot over (ω)}i, ITU-T G.718 (Equation 151) may be used, for example (Step 173 in
After that, the ISF parameter {dot over (ω)}i is converted into an ISP parameter and interpolation can be performed for each sub-frame. As an example method of calculating the ISP parameter from the ISF parameter, the method described in the section 6.4.4 in ITU-T G.718 may be used, and as a method of interpolation, the procedure described in the section 6.8.3 in ITU-T G.718 may be used (Step 174 in
Then, the ISP parameter for each sub-frame is converted into an LP coefficient {dot over (α)}ij (0<i≤P, 0≤j<Mla). The number of sub-frames contained in the look-ahead signal is Mla. For the conversion from the ISP parameter to the LP coefficient, in an example, the procedure described in the section 6.4.5 in ITU-T G.718 may be used (Step 175 in
The target signal calculation unit 152 calculates a target signal x(n) and an impulse response h(n) by using the LP coefficient {dot over (α)}ij (Step 162 in
First, a residual signal r(n) of the look-ahead signal Sprel (n)(0≤n<L′) is calculated using the LP coefficient according to the following equation (Step 181 in
Note that L′ indicates the number of samples of a sub-frame, and L indicates the number of samples of a frame to be encoded spre(n)(0≤n<L). Then, sprel(n−p)=spre(n+L−p) is satisfied.
In addition, the target signal x(n)(0≤n<L′) is calculated by the following equations (Step 182 in
where an perceptual weighting filter γ=0.68. The value of the perceptual weighting filter may be a different value according to the design policy of audio encoding.
Then, the impulse response h(n)(0≤n<L′) is calculated by the following equations (Step 183 in
The pitch lag calculation unit 153 calculates a pitch lag for each sub-frame by calculating k that maximizes the following equation (Step 163 in
Note that yk(n) is obtained by convoluting the impulse response with the linear prediction residual. Int(i) indicates an interpolation filter. The details of an example of an interpolation filter are described in the section 6.8.4.1.4.1 in ITU-T G.718. As a matter of course, v′(n)=u(n+Nadapt−Tp+i) may be employed without using the interpolation filter.
Although the pitch lag can be calculated as an integer by the above-described calculation method, the accuracy of the pitch lag may be increased to after the decimal point accuracy by interpolating the above Tk.
A procedure to calculate the pitch lag after the decimal point by interpolation can be performed, such as by the processing method described in the section 6.8.4.1.4.1 in ITU-T G.718.
The adaptive codebook calculation unit 154 calculates an adaptive codebook vector v′(n) and a long-term prediction parameter from the pitch lag Tp and the adaptive codebook u(n) stored in the adaptive codebook buffer 156 according to the following equation (Step 164 in
For the details of an example of the procedure to calculate the long-term parameter, the method described in the section 5.7 in 3GPP TS26-190 may be used.
The excitation vector synthesis unit 155 multiplies the adaptive codebook vector v′(n) by a predetermined adaptive codebook gain gpC and outputs an excitation signal vector according to the following equation (Step 165 in
e(n)=gpC·v′(n) Equation 15
Although the value of the adaptive codebook gain gpC may be 1.0 or the like, for example, a value obtained in advance by learning may be used, or it may be varied by the index representing the characteristics of the frame to be encoded.
Then, the state of the adaptive codebook u(n) stored in the adaptive codebook buffer 156 is updated by the excitation signal vector according to the following equations (Step 166 in
u(n)=u(n+L)(0≤n<N−L) Equation 16
u(n+N−L)=e(n)(0≤n<L) Equation 17
The synthesis filter 157 synthesizes a decoded signal according to the following equation by linear prediction inverse filtering using the excitation signal vector as an excitation source (Step 167 in
The above-described Steps 162 to 167 in
The pitch lag encoding unit 158 encodes the pitch lag Tp(j) (0≤j<Mla) that is calculated in the look-ahead signal (Step 169 in
Encoding may be performed by a method such as one of the following methods, for example, although any method may be used for encoding.
For scalar quantization and vector quantization, a codebook determined empirically or a codebook calculated in advance by learning may be used. Further, a method that performs encoding after adding an offset value to the above pitch lag may also be included.
<Decoding End>
As shown in
The audio code buffer 121 determines whether a packet is correctly received or not. When the audio code buffer 121 determines that a packet is correctly received, the processing is switched to the audio parameter decoding unit 122 and the side information decoding unit 125. On the other hand, when the audio code buffer 121 determines that a packet is not correctly received, the processing is switched to the audio parameter missing processing unit 123 (Step 141 in
<When Packet is Correctly Received>
The audio parameter decoding unit 122 decodes the received audio code and calculates audio parameters required to synthesize the audio for the frame to be encoded (ISP parameter and corresponding ISF parameter, pitch lag, long-term prediction parameter, adaptive codebook, adaptive codebook gain, fixed codebook gain, fixed codebook vector etc.) (Step 142 in
The side information decoding unit 125 decodes the side information code, calculates a pitch lag {circumflex over (T)}p(j) (0≤j<Mla) and stores it in the side information accumulation unit 126. The side information decoding unit 125 decodes the side information code by using the decoding method corresponding to the encoding method used at the encoding end (Step 143 in
The audio synthesis unit 124 synthesizes the audio signal corresponding to the frame to be encoded based on the parameters output from the audio parameter decoding unit 122 (Step 144 in
An LP coefficient calculation unit 1121 converts an ISF parameter into an ISP parameter and then performs interpolation processing, and thereby obtains an ISP coefficient for each sub-frame. The LP coefficient calculation unit 1121 then converts the ISP coefficient into a linear prediction coefficient (LP coefficient) and thereby obtains an LP coefficient for each sub-frame (Step 11301 in
An adaptive codebook calculation unit 1123 calculates an adaptive codebook vector by using the pitch lag, a long-term prediction parameter and an adaptive codebook 1122 (Step 11302 in
The adaptive codebook vector is calculated by interpolating the adaptive codebook u(n) using FIR filter Int(i). The length of the adaptive codebook is Nadapt. The filter Int(i) that is used for the interpolation is the same as the interpolation filter of
This is the FIR filter with a predetermined length 2 l+1. L′ is the number of samples of the sub-frame. It is not necessary to use a filter for the interpolation, whereas at the encoder end a filter is used for the interpolation.
The adaptive codebook calculation unit 1123 carries out filtering on the adaptive codebook vector according to the value of the long-term prediction parameter (Step 11303 in
v′(n)=0.18v′(n−1)+0.64v′(n)+0.18v′(n+1) Equation 21
On the other hand, when the long-term prediction parameter has a value indicating no filtering is needed, filtering is not performed, and v(n)=v′(n) is established.
An excitation vector synthesis unit 1124 multiplies the adaptive codebook vector by an adaptive codebook gain gp (Step 11304 in
e(n)=gp·v′(n)+gc·c(n) Equation 22
A post filter 1125 performs post processing such as pitch enhancement, noise enhancement and low-frequency enhancement, for example, on the excitation signal vector.
An example of details of techniques such as pitch enhancement, noise enhancement and low-frequency enhancement are described in the section 6.1 in 3GPP TS26-190. (Step 11307 in
The adaptive codebook 1122 updates the state by an excitation signal vector according to the following equations (Step 11308 in
u(n)=u(n+L)(0≤n<N−L) Equation 23
u(n+N−L)=e(n)(0≤n<L) Equation 24
A synthesis filter 1126 synthesizes a decoded signal according to the following equation by linear prediction inverse filtering using the excitation signal vector as an excitation source (Step 11309 in
An perceptual weighting inverse filter 1127 applies an perceptual weighting inverse filter to the decoded signal according to the following equation (Step 11310 in
ŝ(n)=ŝ(n)+β·ŝ(n−1) Equation 26
The value of β is typically 0.68 or the like, though not limited to this value.
The audio parameter missing processing unit 123 stores the audio parameters (ISF parameter, pitch lag, adaptive codebook gain, fixed codebook gain) used in the audio synthesis unit 124 into the buffer (Step 145 in
<When Packet Loss is Detected>
The audio parameter missing processing unit 123 reads a pitch lag {circumflex over (T)}p(j) (0≤j<Mla) from the side information accumulation unit 126 and predicts audio parameters. The functional configuration example of the audio parameter missing processing unit 123 is shown in the example of
An ISF prediction unit 191 calculates an ISF parameter using the ISF parameter for the previous frame and the ISF parameter calculated for the past several frames (Step 1101 in
First, the buffer is updated using the ISF parameter of the immediately previous frame (Step 171 in
where ωi(−j) is the ISF parameter, stored in the buffer, which is for the frame preceding by j-number of frames. Further, ωiC, α and β are the same values as those used at the encoding end.
In addition, the values of i are arranged so that {dot over (ω)}i satisfies 0<{dot over (ω)}0<{dot over (ω)}1< . . . {dot over (ω)}14, and values of {dot over (ω)}i are adjusted so that the adjacent {dot over (ω)}i is not too close. As an example procedure to adjust the value of {dot over (ω)}i, ITU-T G.718 (Equation 151) may be used (Step 173 in
A pitch lag prediction unit 192 decodes the side information code from the side information accumulation unit 126 and thereby obtains a pitch lag {circumflex over (T)}p(i) (0≤i<Mla). Further, by using a pitch lag {circumflex over (T)}p(−j) (0≤j<J) used for the past decoding, the pitch lag prediction unit 192 outputs a pitch lag {circumflex over (T)}p(i) (Mla≤i<M). The number of sub-frames contained in one frame is M, and the number of pitch lags contained in the side information is Mla. For the prediction of the pitch lag {circumflex over (T)}p(i) (Mla≤i<M), the procedure described in, for example, section 7.11.1.3 in ITU-T G.718 may be used (Step 1102 in
An adaptive codebook gain prediction unit 193 outputs an adaptive codebook gain gp(i) (Mla≤i<M) by using a predetermined adaptive codebook gain gpC and an adaptive codebook gain gp(j) (0≤j<J) used in the past decoding. The number of sub-frames contained in one frame is M, and the number of pitch lags contained in the side information is Mla. For the prediction of the adaptive codebook gain gp(i) (Mla≤i<M), the procedure described in, for example, section 7.11.2.5.3 in ITU-T G.718 may be used (Step 1103 in
A fixed codebook gain prediction unit 194 outputs a fixed codebook gain gc(i) (0≤i<M) by using a fixed codebook gain gc(j) (0≤j<J) used in the past decoding. The number of sub-frames contained in one frame is M. For the prediction of the fixed codebook gain gc(i) (0≤i<M), the procedure described in the section 7.11.2.6 in ITU-T G.718 may be used, for example (Step 1104 in
A noise signal generation unit 195 outputs a noise vector, such as a white noise, with a length of L (Step 1105 in
The audio synthesis unit 124 synthesizes a decoded signal based on the audio parameters output from the audio parameter missing processing unit 123 (Step 144 in
The audio parameter missing processing unit 123 stores the audio parameters (ISF parameter, pitch lag, adaptive codebook gain, fixed codebook gain) used in the audio synthesis unit 124 into the buffer (Step 145 in
Although the case of encoding and transmitting the side information for all sub-frames contained in the look-ahead signal is described in the above example, the configuration that transmits only the side information for a specific sub-frame may be employed.
As an alternative example of the previously discussed example 1, an example that adds a pitch gain to the side information is described hereinafter. A difference between the alternative example 1-1 and the example 1 is the operation of the excitation vector synthesis unit 155, and therefore description of the other parts is omitted.
<Encoding End>
The procedure of the excitation vector synthesis unit 155 is shown in the example of
An adaptive codebook gain gpC is calculated from the adaptive codebook vector v′(n) and the target signal x(n) according to the following equation (Step 1111 in
where y(n) is a signal y(n)=v(n)*h(n) that is obtained by convoluting the impulse response with the adaptive codebook vector.
The calculated adaptive codebook gain is encoded and contained in the side information code (Step 1112 in
By multiplying the adaptive codebook vector by an adaptive codebook gain ĝp obtained by decoding the code calculated in the encoding of the adaptive codebook gain, an excitation vector is calculated according to the following equation (Step 1113 in
e(n)=ĝp·v′(n) Equation 30
<Decoding End>
The excitation vector synthesis unit 155 multiplies the adaptive codebook vector v′(n) by an adaptive codebook gain ĝp obtained by decoding the side information code and outputs an excitation signal vector according to the following equation (Step 165 in
e(n)=ĝp·v′(n) Equation 31
As an alternative example of the example 1, an example that adds a flag for determination of use of the side information to the side information is described hereinafter.
<Encoding End>
The functional configuration example of the side information encoding unit is shown in
The side information output determination unit 1128 calculates segmental SNR of the decoded signal and the look-ahead signal according to the following equation, and only when segmental SNR exceeds a threshold, sets the value of the flag to ON and adds it to the side information.
On the other hand, when segmental SNR does not exceed a threshold, the side information output determination unit 1128 sets the value of the flag to OFF and adds it to the side information (Step 1131 in
<Decoding End>
The side information decoding unit decodes the flag contained in the side information code. When the value of the flag is ON, the audio parameter missing processing unit calculates a decoded signal by the same procedure as in the example 1. On the other hand, when the value of the flag is OFF, it calculates a decoded signal by the packet loss concealment technique without using side information (Step 1151 in
In this example, the decoded audio of the look-ahead signal part is also used when a packet is correctly received. For purposes of this discussion, the number of sub-frames contained in one frame is M sub-frames, and the length of the look-ahead signal is M′ sub-frame(s).
<Encoding End>
As shown in the example of
The error signal encoding unit 214 reads a concealment signal for one sub-frame from the concealment signal accumulation unit 213, subtracts it from the audio signal and thereby calculates an error signal (Step 221 in
The error signal encoding unit 214 encodes the error signal. As a specific example procedure, AVQ described in the section 6.8.4.1.5 in ITU-T G.718, can be used. In the encoding of the error signal, local decoding is performed, and a decoded error signal is output (Step 222 in
By adding the decoded error signal to the concealment signal, a decoded signal for one sub-frame is output (Step 223 in
The above Steps 221 to 223 are repeated for M′ sub-frames until the end of the concealment signal.
An example functional configuration of the main encoding unit 211 is shown in
The ISF encoding unit 2011 obtains an LP coefficient by applying the Levinson-Durbin method to the frame to be encoded and the look-ahead signal. The ISF encoding unit 2011 then converts the LP coefficient into an ISF parameter and encodes the ISF parameter. The ISF encoding unit 2011 then decodes the code and obtains a decoded ISF parameter. Finally, the ISF encoding unit 2011 interpolates the decoded ISF parameter and obtains a decoded LP coefficient for each sub-frame. The procedures of the Levinson-Durbin method and the conversion from the LP coefficient to the ISF parameter are the same as in the example 1. Further, for the encoding of the ISF parameter, the procedure described in, for example, section 6.8.2 in ITU-T G.718 can be used. An index obtained by encoding the ISF parameter, the decoded ISF parameter, and the decoded LP coefficient (which is obtained by converting the decoded ISF parameter into the LP coefficient) can be obtained by the ISF encoding unit 2011 (Step 224 in
The detailed procedure of the target signal calculation unit 2012 is the same as in Step 162 in
The pitch lag calculation unit 2013 refers to the adaptive codebook buffer and calculates a pitch lag and a long-term prediction parameter by using the target signal. The detailed procedure of the calculation of the pitch lag and the long-term prediction parameter is the same as in the example 1 (Step 226 in
The adaptive codebook calculation unit 2014 calculates an adaptive codebook vector by using the pitch lag and the long-term prediction parameter calculated by the pitch lag calculation unit 2013. The detailed procedure of the adaptive codebook calculation unit 2014 is the same as in the example 1 (Step 227 in
The fixed codebook calculation unit 2015 calculates a fixed codebook vector and an index obtained by encoding the fixed codebook vector by using the target signal and the adaptive codebook vector. The detailed procedure is the same as the procedure of AVQ used in the error signal encoding unit 214 (Step 228 in
The gain calculation unit 2016 calculates an adaptive codebook gain, a fixed codebook gain and an index obtained by encoding these two gains using the target signal, the adaptive codebook vector and the fixed codebook vector. A detailed procedure which can be used is described in, for example, section 6.8.4.1.6 in ITU-T G.718 (Step 229 in
The excitation vector calculation unit 2017 calculates an excitation vector by adding the adaptive codebook vector and the fixed codebook vector to which the gain is applied. The detailed procedure is the same as in example 1. Further, the excitation vector calculation unit 2017 updates the state of the adaptive codebook buffer 2019 by using the excitation vector. The detailed procedure is the same as in the example 1 (Step 2210 in
The synthesis filter 2018 synthesizes a decoded signal by using the decoded LP coefficient and the excitation vector (Step 2211 in
The above Steps 224 to 2211 are repeated for M-M′ sub-frames until the end of the frame to be encoded.
The side information encoding unit 212 calculates the side information for the look-ahead signal M′ sub-frame. A specific procedure is the same as in the example 1 (Step 2212 in
In addition to the procedure of the example 1, the decoded signal output by the synthesis filter 157 of the side information encoding unit 212 is accumulated in the concealment signal accumulation unit 213 in the example 2 (Step 2213 in
<Decoding Unit>
As shown in
The audio code buffer 231 determines whether a packet is correctly received or not. When the audio code buffer 231 determines that a packet is correctly received, the processing is switched to the audio parameter decoding unit 232, the side information decoding unit 235 and the error signal decoding unit 237. On the other hand, when the audio code buffer 231 determines that a packet is not correctly received, the processing is switched to the audio parameter missing processing unit 233 (Step 241 in
<When Packet is Correctly Received>
The error signal decoding unit 237 decodes an error signal code and obtains a decoded error signal. As a specific example procedure, a decoding method corresponding to the method used at the encoding end, such as AVQ described in the section 7.1.2.1.2 in ITU-T G.718 can be used (Step 242 in
A look-ahead excitation vector synthesis unit 2318 reads a concealment signal for one sub-frame from the concealment signal accumulation unit 238 and adds the concealment signal to the decoded error signal, and thereby outputs a decoded signal for one sub-frame
(Step 243 in
The above Steps 241 to 243 are repeated for M′ sub-frames until the end of the concealment signal.
The audio parameter decoding unit 232 includes an ISF decoding unit 2211, a pitch lag decoding unit 2212, a gain decoding unit 213, and a fixed codebook decoding unit 2214. The functional configuration example of the audio parameter decoding unit 232 is shown in
The ISF decoding unit 2211 decodes the ISF code and converts it into an LP coefficient and thereby obtains a decoded LP coefficient. For example, the procedure described in the section 7.1.1 in ITU-T G.718 is used (Step 244 in
The pitch lag decoding unit 2212 decodes a pitch lag code and obtains a pitch lag and a long-term prediction parameter (Step 245 in
The gain decoding unit 2213 decodes a gain code and obtains an adaptive codebook gain and a fixed codebook gain. An example detailed procedure is described in the section 7.1.2.1.3 in ITU-T G.718 (Step 246 in
An adaptive codebook calculation unit 2313 calculates an adaptive codebook vector by using the pitch lag and the long-term prediction parameter. The detailed procedure of the adaptive codebook calculation unit 2313 is as described in the example 1 (Step 247 in
The fixed codebook decoding unit 2214 decodes a fixed codebook code and calculates a fixed codebook vector. The detailed procedure is as described in the section 7.1.2.1.2 in ITU-T G.718 (Step 248 in
An excitation vector synthesis unit 2314 calculates an excitation vector by adding the adaptive codebook vector and the fixed codebook vector to which the gain is applied. Further, an excitation vector calculation unit updates the adaptive codebook buffer by using the excitation vector (Step 249 in
A synthesis filter 2316 synthesizes a decoded signal by using the decoded LP coefficient and the excitation vector (Step 2410 in
The above Steps 244 to 2410 are repeated for M-M′ sub-frames until the end of the frame to be encoded.
The functional configuration of the side information decoding unit 235 is the same as in the example 1. The side information decoding unit 235 decodes the side information code and calculates a pitch lag (Step 2411 in
The functional configuration of the audio parameter missing processing unit 233 is the same as in the example 1.
The ISF prediction unit 191 predicts an ISF parameter using the ISF parameter for the previous frame and converts the predicted ISF parameter into an LP coefficient. The procedure is the same as in Steps 172, 173 and 174 of the example 1 shown in
The adaptive codebook calculation unit 2313 calculates an adaptive codebook vector by using the pitch lag output from the side information decoding unit 235 and an adaptive codebook 2312 (Step 2413 in
The adaptive codebook gain prediction unit 193 outputs an adaptive codebook gain. A specific procedure is the same as in Step 1103 in
The fixed codebook gain prediction unit 194 outputs a fixed codebook gain. A specific procedure is the same as in Step 1104 in
The noise signal generation unit 195 outputs a noise, such as a white noise as a fixed codebook vector. The procedure is the same as in Step 1105 in
The excitation vector synthesis unit 2314 applies gain to each of the adaptive codebook vector and the fixed codebook vector and adds them together and thereby calculates an excitation vector. Further, the excitation vector synthesis unit 2314 updates the adaptive codebook buffer using the excitation vector (Step 2417 in
The synthesis filter 2316 calculates a decoded signal using the above-described LP coefficient and the excitation vector. The synthesis filter 2316 then updates the concealment signal accumulation unit 238 using the calculated decoded signal (Step 2418 in
The above steps are repeated for M′ sub-frames, and the decoded signal is output as the audio signal.
<When a Packet is Lost>
A concealment signal for one sub-frame is read from the concealment signal accumulation unit and is used as the decoded signal (Step 2419 in
The above is repeated for M′ sub-frames.
The ISF prediction unit 191 predicts an ISF parameter (Step 2420 in
The pitch lag prediction unit 192 outputs a predicted pitch lag by using the pitch lag used in the past decoding (Step 2421 in
The operations of the adaptive codebook gain prediction unit 193, the fixed codebook gain prediction unit 194, the noise signal generation unit 195 and the audio synthesis unit 234 are the same as in the example 1 (Step 2422 in
The above steps are repeated for M sub-frames, and the decoded signal for M-M′ sub-frames is output as the audio signal, and the concealment signal accumulation unit 238 is updated by the decoded signal for the remaining M′ sub-frames.
A case of using glottal pulse synchronization in the calculation of an adaptive codebook vector is described hereinafter.
<Encoding End>
The functional configuration of the audio signal transmitting device is the same as in example 1. The functional configuration and the procedure are different only in the side information encoding unit, and therefore only the operation of the side information encoding unit is described below.
The side information encoding unit includes an LP coefficient calculation unit 311, a pitch lag prediction unit 312, a pitch lag selection unit 313, a pitch lag encoding unit 314, and an adaptive codebook buffer 315. The functional configuration of an example of the side information encoding unit is shown in
The LP coefficient calculation unit 311 is the same as the LP coefficient calculation unit in example 1 and thus will not be redundantly described (Step 321 in
The pitch lag prediction unit 312 calculates a pitch lag predicted value {circumflex over (T)}p using the pitch lag obtained from the audio encoding unit (Step 322 in
Then, the pitch lag selection unit 313 determines a pitch lag to be transmitted as the side information (Step 323 in
First, a pitch lag codebook is generated from the pitch lag predicted value {circumflex over (T)}p and the value of the past pitch lag {circumflex over (T)}p−j) (0≤j<J) according to the following equations (Step 331 in
The value of the pitch lag for one sub-frame before is {circumflex over (T)}p(−1). Further, the number of indexes of the codebook is I. δj is a predetermined step width, and p is a predetermined constant.
Then, by using the adaptive codebook and the pitch lag predicted value {circumflex over (T)}p, an initial excitation vector u0(n) is generated according to the following equation (Step 332 in
The procedure of calculating the initial excitation vector can be, for example, similar to equations (607) and (608) in ITU-T G.718.
Then, glottal pulse synchronization is applied to the initial excitation vector by using all candidate pitch lags {circumflex over (T)}Cj (0≤j<J) in the pitch lag codebook to thereby generate a candidate adaptive codebook vector uj(n)(0≤j<I) (Step 333 in
For the candidate adaptive codebook vector uj(n)(0≤j<I), a rate scale is calculated (Step 334 in
Instead of performing inverse filtering, segmental SNR may be calculated in the region of the adaptive codebook vector by using a residual signal according to the following equation.
In this case, a residual signal r(n) of the look-ahead signal s(n)(0≤n<L′) is calculated by using the LP coefficient (Step 181 in
An index corresponding to the largest rate scale calculated in Step 334 is selected, and a pitch lag corresponding to the index is calculated (Step 335 in
<Decoding End>
The functional configuration of the audio signal receiving device is the same as in the example 1. Differences from the example 1 are the functional configuration and the procedure of the audio parameter missing processing unit 123, the side information decoding unit 125 and the side information accumulation unit 126, and only those are described hereinbelow.
<When Packet is Correctly Received>
The side information decoding unit 125 decodes the side information code and calculates a pitch lag {circumflex over (T)}Cidx and stores it into the side information accumulation unit 126. The example procedure of the side information decoding unit 125 is shown in
In the calculation of the pitch lag, the pitch lag prediction unit 312 first calculates a pitch lag predicted value {circumflex over (T)}p by using the pitch lag obtained from the audio decoding unit (Step 341 in
Then, a pitch lag codebook is generated from the pitch lag predicted value {circumflex over (T)}p, and the value of the past pitch lag {circumflex over (T)}p(−j) (0≤j<J), according to the following equations (Step 342 in
The procedure is the same as in Step 331 in
Then, by referring to the pitch lag codebook, a pitch lag {circumflex over (T)}Cidx corresponding to the index idx transmitted as part of the side information is calculated and stored in the side information accumulation unit 126 (Step 343 in
<When Packet Loss is Detected>
Although the functional configuration of the audio synthesis unit is also the same as in the example 1 (which is the same as in
The audio parameter missing processing unit 123 reads the pitch lag from the side information accumulation unit 126 and calculates a pitch lag predicted value according to the following equation, and uses the calculated pitch lag predicted value instead of the output of the pitch lag prediction unit 192.
{circumflex over (T)}p={circumflex over (T)}p(−1)+κ·({circumflex over (T)}Cidx−{circumflex over (T)}p(−1)) Equation 42
where κ is a predetermined constant.
Then, by using the adaptive codebook and the pitch lag predicted value {circumflex over (T)}p, an initial excitation vector u0(n) is generated according to the following equation (Step 332 in
Then, glottal pulse synchronization is applied to the initial excitation vector by using the pitch lag {circumflex over (T)}Cidx to thereby generate an adaptive codebook vector u(n). For the glottal pulse synchronization, the same procedure as in Step 333 of
Hereinafter, an audio encoding program 70 that causes a computer having a processor to execute at least part of the above-described processing by the audio signal transmitting device is described. As shown in
The audio encoding program 70 includes functionality for an audio encoding module 700 and a side information encoding module 701. The functions implemented by executing the audio encoding module 700 and the side information encoding module 701 with a processor and/or other circuitry can be the same as at least some of the functions of the audio encoding unit 111 and the side information encoding unit 112 in the audio signal transmitting device described above, respectively.
Note that a part or the whole of the audio encoding program 70 may be transmitted through a transmission medium such as a communication line, received and stored (including being installed) by another device. Further, each module of the audio encoding program 70 may be installed in computer readable medium, not in one computer but in any of a plurality of computers. In this case, the above-described processing of the audio encoding program 70 is performed by a computer system composed of the plurality of computers and corresponding processors.
Hereinafter, an audio decoding program 90 that causes a computer having a processor to execute at least part of the above-described processing by the audio signal receiving device is described. As shown in
The audio decoding program 90 includes functionality for an audio code buffer module 900, an audio parameter decoding module 901, a side information decoding module 902, a side information accumulation module 903, an audio parameter missing processing module 904, and an audio synthesis module 905. The functions implemented by executing the audio code buffer module 900, the audio parameter decoding module 901, the side information decoding module 902, the side information accumulation module 903, an audio parameter missing processing module 904 and the audio synthesis module 905 with a processor and/or other circuitry can be the same as at least some of the functions of the audio code buffer 231, the audio parameter decoding unit 232, the side information decoding unit 235, the side information accumulation unit 236, the audio parameter missing processing unit 233 and the audio synthesis unit 234 described above, respectively.
Note that a part or the whole of the audio decoding program 90 may be transmitted through a transmission medium such as a communication line, received and stored (including being installed) by another device. Further, each module of the audio decoding program 90 may be installed in computer readable medium, not in one computer but in any of a plurality of computers. In this case, the above-described processing of the audio decoding program 90 is performed by a computer system composed of the plurality of computers and corresponding processors.
An example that uses side information for pitch lag prediction at the decoding end is described hereinafter.
<Encoding End>
The functional configuration of the audio signal transmitting device is the same as in the example 1. The functional configuration and the procedure are different only in the side information encoding unit 112, and therefore the operation of the side information encoding unit 112 only is described hereinbelow.
The functional configuration of an example of the side information encoding unit 112 is shown in
The LP coefficient calculation unit 511 is the same as the LP coefficient calculation unit 151 in example 1 shown in
The residual signal calculation unit 512 calculates a residual signal by the same processing as in Step 181 in example 1 shown in
The pitch lag calculation unit 513 calculates a pitch lag for each sub-frame by calculating k that maximizes the following equation (Step 163 in
The adaptive codebook calculation unit 514 calculates an adaptive codebook vector v′(n) from the pitch lag Tp and the adaptive codebook u(n). The length of the adaptive codebook is Nadapt(Step 164 in
v′(n)=u(n+Nadapt−Tp) Equation 44
The adaptive codebook buffer 515 updates the state by the adaptive codebook vector v′(n) (Step 166 in
u(n)=u(n+L′)(0≤n<N−L′) Equation 45
u(n+N−L′)=v′(n)(0≤n<L) Equation 46
The pitch lag encoding unit 516 is the same as that in example 1 and thus not redundantly described (Step 169 in
<Decoding End>
The audio signal receiving device includes the audio code buffer 121, the audio parameter decoding unit 122, the audio parameter missing processing unit 123, the audio synthesis unit 124, the side information decoding unit 125, and the side information accumulation unit 126, just like in example 1. The procedure of the audio signal receiving device is as shown in
The operation of the audio code buffer 121 is the same as in example 1.
<When Packet is Correctly Received>
The operation of the audio parameter decoding unit 122 is the same as in the example 1.
The side information decoding unit 125 decodes the side information code, calculates a pitch lag {circumflex over (T)}p(j) (0≤j<Mla) and stores it into the side information accumulation unit 126. The side information decoding unit 125 decodes the side information code by using the decoding method corresponding to the encoding method used at the encoding end.
The audio synthesis unit 124 is the same as that of example 1.
<When Packet Loss is Detected>
The ISF prediction unit 191 of the audio parameter missing processing unit 123 (see
An example procedure of the pitch lag prediction unit 192 is shown in
In the prediction of the pitch lag {circumflex over (T)}p(i) (Mla≤i<M), the pitch lag prediction unit 192 may predict the pitch lag {circumflex over (T)}p(i) (Mla≤i<M) by using the pitch lag {circumflex over (T)}p(−j)(1≤j<J) used in the past decoding and the pitch lag {circumflex over (T)}p(i) (0≤i<Mla). Further, {circumflex over (T)}p(i)<{circumflex over (T)}p(M
Further, the pitch lag prediction unit 192 may establish {circumflex over (T)}p(i)={circumflex over (T)}p(M
The adaptive codebook gain prediction unit 193 and the fixed codebook gain prediction unit 194 are the same as those of the example 1.
The noise signal generation unit 195 is the same as that of the example 1.
The audio synthesis unit 124 synthesizes, from the parameters output from the audio parameter missing processing unit 123, an audio signal corresponding to the frame to be encoded.
The LP coefficient calculation unit 1121 of the audio synthesis unit 124 (see
The adaptive codebook calculation unit 1123 calculates an adaptive codebook vector in the same manner as in example 1. The adaptive codebook calculation unit 1123 may perform filtering on the adaptive codebook vector or may not perform filtering. Specifically, the adaptive codebook vector is calculated using the following equation. The filtering coefficient is fi.
v(n)=f−1v′(n−1)+f0v′(n)+f1v′(n+1) Equation 47
In the case of decoding a value that does not indicate filtering, v(n)=v′(n) is established (adaptive codebook calculation step A).
The adaptive codebook calculation unit 1123 may calculate an adaptive codebook vector in the following procedure (adaptive codebook calculation step B).
An initial adaptive codebook vector is calculated using the pitch lag and the adaptive codebook 1122.
v(n)=f−1v′(n−1)+f0v′(n)+f1v′(n+1) Equation 48
v(n)=v′(n) may be established according to a design policy.
Then, glottal pulse synchronization is applied to the initial adaptive codebook vector. For the glottal pulse synchronization, a similar procedure as in the case where a pulse position is not available as described, for example, in section 7.11.2.5 in ITU-T G.718 can be used. Note that, however, u(n) in ITU-T G.718 can correspond to: v(n) in the described embodiment(s), and extrapolated pitch corresponds to {circumflex over (T)}p(M−1) in the described embodiment(s), and the last reliable pitch(Tc) corresponds to {circumflex over (T)}p(M
Further, in the case where the pitch lag prediction unit 192 outputs the above-described instruction information for the predicated value, when the instruction information indicates that the pitch lag transmitted as the side information should not be used as the predicated value (NO in Step 4082 in
The excitation vector synthesis unit 1124 outputs an excitation vector in the same manner as in example 1 (Step 11306 in
The post filter 1125 performs post processing on the synthesis signal in the same manner as in the example 1.
The adaptive codebook 1122 updates the state by using the excitation signal vector in the same manner as in the example 1 (Step 11308 in
The synthesis filter 1126 synthesizes a decoded signal in the same manner as in the example 1 (Step 11309 in
The perceptual weighting inverse filter 1127 applies an perceptual weighting inverse filter in the same manner as in the example 1.
The audio parameter missing processing unit 123 stores the audio parameters (ISF parameter, pitch lag, adaptive codebook gain, fixed codebook gain) used in the audio synthesis unit 124 into the buffer in the same manner as in the example 1 (Step 145 in
In this embodiment, a configuration is described in which a pitch lag is transmitted as side information only in a specific frame class, and otherwise a pitch lag is not transmitted.
<Transmitting End>
In the audio signal transmitting device, an input audio signal is sent to the audio encoding unit 111.
The audio encoding unit 111 in this example calculates an index representing the characteristics of a frame to be encoded and transmits the index to the side information encoding unit 112. The other operations are the same as in example 1.
In the side information encoding unit 112, a difference from the examples 1 to 4 is only with regard to the pitch lag encoding unit 158, and therefore the operation of the pitch lag encoding unit 158 is described hereinbelow. The configuration of the side information encoding unit 112 in the example 5 is shown in
The procedure of the pitch lag encoding unit 158 is shown in the example of
When the number of bits to be assigned to the side information is 1 bit (No in Step 5022 in
On the other hand, when the number of bits to be assigned to the side information is B bits (Yes in Step 5022 in
<Decoding End>
The audio signal receiving device includes the audio code buffer 121, the audio parameter decoding unit 122, the audio parameter missing processing unit 123, the audio synthesis unit 124, the side information decoding unit 125, and the side information accumulation unit 126, just like in example 1. The procedure of the audio signal receiving device is as shown in
The operation of the audio code buffer 121 is the same as in example 1.
<When Packet is Correctly Received>
The operation of the audio parameter decoding unit 122 is the same as in example 1.
The procedure of the side information decoding unit 125 is shown in the example of
On the other hand, when the side information index indicates transmission of the side information, the side information decoding unit 125 further performs decoding of B−1 bits and calculates a pitch lag {circumflex over (T)}p(j) (0≤j<Mla) and stores the calculated pitch lag in the side information accumulation unit 126 (Step 5033 in
The audio synthesis unit 124 is the same as that of example 1.
<When Packet Loss is Detected>
The ISF prediction unit 191 of the audio parameter missing processing unit 123 (see
The procedure of the pitch lag prediction unit 192 is shown in the example of
<When the Side Information Index is a Value Indicating Transmission of Side Information>
In the same manner as in example 1, the side information code is read from the side information accumulation unit 126 to obtain a pitch lag {circumflex over (T)}p(i) (0≤i<Mla) (Step 5043 in
Further, the pitch lag prediction unit 192 may establish {circumflex over (T)}p(i)={circumflex over (T)}p(M
<When the Side Information Index is a Value Indicating Non-Transmission of Side Information>
In the prediction of the pitch lag {circumflex over (T)}p(i) (Mla≤i<M), the pitch lag prediction unit 192 predicts the pitch lag {circumflex over (T)}p(i) (0≤i<M) by using the pitch lag {circumflex over (T)}p(−j)(1≤j<J) used in the past decoding (Step 5048 in
Further, the pitch lag prediction unit 192 may establish {circumflex over (T)}p(i)={circumflex over (T)}p(−1) only when the reliability of the pitch lag predicted value is low (Step 5049 in
The adaptive codebook gain prediction unit 193 and the fixed codebook gain prediction unit 194 are the same as those of example 1.
The noise signal generation unit 195 is the same as that of the example 1.
The audio synthesis unit 124 synthesizes, from the parameters output from the audio parameter missing processing unit 123, an audio signal which corresponds to the frame to be encoded.
The LP coefficient calculation unit 1121 of the audio synthesis unit 124 (see
The procedure of the adaptive codebook calculation unit 1123 is shown in the example of
v(n)=f−1v′(n−1)+f0v′(n)+f1v′(n+1) Equation 49
Note that v(n)=v′(n) may be established according to the design policy.
By referring to the pitch lag instruction information, when the reliability of the predicted value is high (NO in Step 5052 in
First, the initial adaptive codebook vector is calculated using the pitch lag and the adaptive codebook 1122 (Step 5053 in
v(n)=f−1v′(n−1)+f0v′(n)+f1v′(n+1) Equation 50
v(n)=v′(n) may be established according to the design policy.
Then, glottal pulse synchronization is applied to the initial adaptive codebook vector. For the glottal pulse synchronization, a similar procedure can be used as in the example of the case where a pulse position is not available in section 7.11.2.5 in ITU-T G.718 (Step 5054 in
The excitation vector synthesis unit 1124 outputs an excitation signal vector in the same manner as in the example 1 (Step 11306 in
The post filter 1125 performs post processing on the synthesis signal in the same manner as in example 1.
The adaptive codebook 1122 updates the state using the excitation signal vector in the same manner as in the example 1 (Step 11308 in
The synthesis filter 1126 synthesizes a decoded signal in the same manner as in example 1 (Step 11309 in
The perceptual weighting inverse filter 1127 applies an perceptual weighting inverse filter in the same manner as in example 1.
The audio parameter missing processing unit 123 stores the audio parameters (ISF parameter, pitch lag, adaptive codebook gain, fixed codebook gain) used in the audio synthesis unit 124 into the buffer in the same manner as in example 1 (Step 145 in
60, 80 . . . storage medium, 61, 81 . . . program storage area, 70 . . . audio encoding program, 90 . . . audio decoding program, 111 . . . audio encoding unit, 112 . . . side information encoding unit, 121, 231 . . . audio code buffer, 122, 232 . . . audio parameter decoding unit, 123, 233 . . . audio parameter missing processing unit, 124, 234 . . . audio synthesis unit, 125, 235 . . . side information decoding unit, 126, 236 . . . side information accumulation unit, 151, 511, 1121 . . . LP coefficient calculation unit, 152, 2012 . . . target signal calculation unit, 153, 513, 2013 . . . pitch lag calculation unit, 154, 1123, 514, 2014, 2313 . . . adaptive codebook calculation unit, 155, 1124, 2314 . . . excitation vector synthesis unit, 156, 315, 515, 2019 . . . adaptive codebook buffer, 157, 1126, 2018, 2316 . . . synthesis filter, 158, 516 . . . pitch lag encoding unit, 191 . . . ISF prediction unit, 192 . . . pitch lag prediction unit, 193 . . . adaptive codebook gain prediction unit, 194 . . . fixed codebook gain prediction unit, 195 . . . noise signal generation unit, 211 . . . main encoding unit, 212 . . . side information encoding unit, 213, 238 . . . concealment signal accumulation unit, 214 . . . error signal encoding unit, 237 . . . error signal decoding unit, 311 . . . LP coefficient calculation unit, 312 . . . pitch lag prediction unit, 313 . . . pitch lag selection unit, 314 . . . pitch lag encoding unit, 512 . . . residual signal calculation unit, 700 . . . audio encoding module, 701 . . . side information encoding module, 900 . . . audio parameter decoding module, 901 . . . audio parameter missing processing module, 902 . . . audio synthesis module, 903 . . . side information decoding module, 1128 . . . side information output determination unit, 1122, 2312 . . . adaptive codebook, 1125 . . . post filter, 1127 . . . perceptual weighting inverse filter, 2011 . . . ISF encoding unit, 2015 . . . fixed codebook calculation unit, 2016 . . . gain calculation unit, 2017 . . . excitation vector calculation unit, 2211 . . . ISF decoding unit, 2212 . . . pitch lag decoding unit, 2213 . . . gain decoding unit, 2214 . . . fixed codebook decoding unit, 2318 . . . look-ahead excitation vector synthesis unit
Number | Date | Country | Kind |
---|---|---|---|
2012-251646 | Nov 2012 | JP | national |
This application is a continuation of U.S. patent application Ser. No. 15/854,416, filed Dec. 26, 2017, which is a continuation of U.S. patent application Ser. No. 15/385,458, filed Dec. 20, 2016, now U.S. Pat. No. 9,881,627, issued Jan. 30, 2018, which is a continuation of U.S. patent application Ser. No. 14/712,535, filed May 14, 2015, now U.S. Pat. No. 9,564,143, issued Feb. 7, 2017, which is a continuation of PCT/JP2013/080589, filed Nov. 12, 2013, which claims the benefit of the filing date pursuant to 35 U.S.C. § 119(e) of JP2012-251646, filed Nov. 15, 2012, all of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5327520 | Chen | Jul 1994 | A |
6862567 | Gao | Mar 2005 | B1 |
7092885 | Yamaura | Aug 2006 | B1 |
7752038 | Laaksonen | Jul 2010 | B2 |
7895046 | Andersen et al. | Feb 2011 | B2 |
8843798 | Sung | Sep 2014 | B2 |
9564143 | Tsutsumi | Feb 2017 | B2 |
9564343 | Lee et al. | Feb 2017 | B2 |
9881627 | Tsutsumi | Jan 2018 | B2 |
10553231 | Tsutsumi | Feb 2020 | B2 |
20020126222 | Choi et al. | Sep 2002 | A1 |
20070192666 | Song et al. | Aug 2007 | A1 |
20080294429 | Su et al. | Nov 2008 | A1 |
20090116486 | Zhan et al. | May 2009 | A1 |
20090119098 | Zhan et al. | May 2009 | A1 |
20090177465 | Johansson | Jul 2009 | A1 |
20090240490 | Kim et al. | Sep 2009 | A1 |
20090292542 | Zhan et al. | Nov 2009 | A1 |
20090316598 | Zhan et al. | Dec 2009 | A1 |
20100125454 | Zopf et al. | May 2010 | A1 |
20110077940 | Vos | Mar 2011 | A1 |
20110200198 | Grill et al. | Aug 2011 | A1 |
20120265523 | Greer et al. | Oct 2012 | A1 |
20150228291 | Greer et al. | Aug 2015 | A1 |
20160196827 | Greer et al. | Jul 2016 | A1 |
20170148448 | Greer et al. | May 2017 | A1 |
20170337925 | Greer et al. | Nov 2017 | A1 |
20200126577 | Tsutsumi et al. | Apr 2020 | A1 |
Number | Date | Country |
---|---|---|
1288915 | Mar 2003 | EP |
1 746 580 | Jan 2007 | EP |
2 056 291 | May 2009 | EP |
07-271391 | Oct 1995 | JP |
2002-268696 | Sep 2002 | JP |
2003-249957 | Sep 2003 | JP |
2003-533916 | Nov 2003 | JP |
2004-138756 | May 2004 | JP |
2010-507818 | Mar 2010 | JP |
10-2009-0046713 | May 2009 | KR |
10-2009-0100494 | Sep 2009 | KR |
10-2012-0115961 | Oct 2012 | KR |
WO 0186637 | Nov 2001 | WO |
WO 2008049221 | May 2008 | WO |
WO 2012046685 | Apr 2012 | WO |
WO 2012070370 | May 2012 | WO |
Entry |
---|
Japanese Office Action with translation, dated Aug. 25, 2020, pp. 1-8, issued in Japanese Patent Application No. P2019-215587, Japanese Patent Office, Tokyo, Japan. |
Japanese Office Action with English translation, dated Sep. 8, 2020, pp. 1-10, issued in Japanese Patent Application No. 2019-220205, Japanese Patent Office, Tokyo, Japan. |
International Search Report with English translation, dated Jan. 21, 2014, pp. 1-5, issued in PCT/JP2013/080589, Japanese Patent Office, Tokyo, Japan. |
ITU-T G.711, Appendix 1, A high quality low-complexity algorithm for packet loss concealment with G.711, Series G: Transmission Systems and Media, Digital Systems and Networks, Digital transmission systems—Terminal equipments—Coding of analogue signals by pulse code modulation, dated Sep. 1999, pp. 1-26, International Telecommunication Union. |
ITU-T G.718, Series G: Transmission Systems and Media, Digital Systems and Networks, Digital terminal equipments—Coding of voice and audio signals, Frame error robust narrow-band and wideband embedded vaiable bit-rate coding of speech and audio from 8-32 kbit/s, dated Jun. 2008, pp. 1-257, International Telecommunication Union. |
3GPP TS 26.190 V12.0.0, 3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Speech codec speech processing functions; Adaptive Multi-Rate-Wideband (AMR-WB) speech codec; Transcoding functions (Release 12), Sep. 2014, pp. 1-51, 3rd Generation Partnership Project, 35PP Organizational Partners. |
3GPP TS 26.191 V12.0.0, 3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Speech codec speech processing functions; Adaptive Multi-Rate-Wideband (AMR-WB) speech codec; Error concealment of erroneous or lost frames (Release 12), Sep. 2014, pp. 1-14, 3rd Generation Partnership Project, 35PP Organizational Partners. |
Taiwanese Office Action with English translation, dated Sep. 23, 2015, pp. 1-4, issued in Taiwan Patent Application No. 102141676, Taiwanese Patent Office, Taipei, Taiwan. |
Japanese Office Action with English translation, dated Oct. 20, 2015, pp. 1-6, issued in Japanese Patent Application No. P2014-546993, Japanese Patent Office, Tokyo, Japan. |
Korean Office Action with English translation, dated Nov. 20, 2015, pp. 1-7, issued in Korean Patent Application No. 10-2015-7009567, Korean Intellectual Property Office, Daejeon, Republic of Korea. |
Extended European Search Report, pp. 1-10, dated Jun. 8, 2016, issued in European Patent Application No. 13854879.7, European Patent Office, The Hague, The Netherlands. |
Editor G.729.1 Amd.3, “Draft new G.729.1 Amendment 3 G.729-based embedded variable bit-rate coder: An 8-32 kbit/s scalable wideband coder bitstream interoperable with G.729: Extension of the G.729.1 low-delay mode functionality to 14 kbit/s, and corrections to the main body and Annex B,” dated Jun. 26, 2007, pp. 1-99, International Telecommunication Union, Telecommunication Standardization Sector, Study Period 2005-2008, Study Group 16, TD 279 (WP 3/16); ITU-T SG 16 Meeting, Geneva, Switzerland, XP030100454. |
Deutsche Thomson-Brandt et al., “Proposed Annex C to Draft Rec. G.723—Dual Rate Speech Coder for Multimedia Communications Transmitting at 5.3 & 6.3 kbit/s,” dated at least as early as Jan. 9, 1996, pp. 1-9, ITU Low Bitrate Coding Group), 12. LBC Meeting Jan. 9, 1996 to Jan. 12, 1996, Santa Josā, CR, No. LBC-96-030, XP030028725. |
Korean Office Action with English translation, dated Jun. 15, 2016, pp. 1-7, issued in Korean Patent Application No. 10-2015-7009567, Korean Intellectual Property Office, Daejeon, Republic of Korea. |
ITU-T G.718, dated Jun. 2008, pp. 209-211, ITU-T, Jan. 2011, Ed.1.3, E34308, retrieved from the Internet on May 9, 2016, at URL: http://www.itu.int/rec/T-REC-G.718-200806-I. |
Japanese Office Action, dated May 24, 2016, pp. 1-7, issued in Japanese Patent Application No. P2014-546993, Japanese Patent Office, Tokyo, Japan. |
Mexican Office Action with English translation, dated Jun. 3, 2016, pp. 1-7, issued in Mexican Patent Application No. MX/a/2015/005885 PCT, Mexican Institute of Industrial Property, Mexico City, Mexico. |
Canadian Office Action, dated Apr. 3, 2017, pp. 1-5, issued in Canadian patent application No. 2,886,140, Canadian Intellectual Property Office, Gatineau, Quebec, Canada. |
Japanese Office Action, dated Jun. 6, 2017, pp. 1-4, issued in Japanese Patent Application No. 2016-135137, Japanese Patent Office, Tokyo, Japan. |
Geiser et al., “Steganographic Packet Loss Concealment for Wireless VoIP,” ITG Conference on Voice Communication [8. ITG-Fachtagung], Year: 2008, pp. 1689-1692. |
Korean Office Action, dated February Jan. 26, 2018, pp. 1-9, Korean Application No. 10-2017-7036234, Korean Intellectual Property Office, Daejeon, Republic of Korea. |
Australian Examination Report No. 1, dated Jun. 13, 2018, pp. 1-3, issued in Australian Patent Application No. 2017208369, Offices of IP Australia, Woden ACT, Australia. |
Korean Office Action, dated Jul. 16, 2018, pp. 1-9, Korean Application No. 10-2017-7036234, Korean Intellectual Property Office, Daejeon, Republic of Korea. |
India Office Action, dated Oct. 31, 2018, pp. 1-6, issued in India Patent Application No. 2595/DELNP/2015, Intellectual Property India, New Delhi, India. |
Korean Office Action with English translation, dated Dec. 28, 2018, pp. 1-9, issued in Korean Patent Application No. 10-2018-7029586, Korean Intellectual Property Office, Daejeon, Republic of Korea. |
Indonesian Office Action with English translation, issued in Indonesian Patent Application No. P00201503548, dated Feb. 14, 2019, pp. 1-4, the Directorate General of Intellectual Property Rights of Indonesia, Jakarta Selatan, Indonesia. |
Sasaki, Shigeaki, “Study on Broadband Audio Coding at around 16 kbit/s,” Examination ITU-T Standard Candidate Algorithm, Acoustical Society of Japan Research Presentation Meeting Lecture, Collected Papers, Mar. 2001, pp. 1-8 with English translation. |
Japanese Office Action with English translation, dated Mar. 5, 2019, pp. 1-6, issued in Japanese Application No. 2018-044180, Japanese Patent Office, Tokyo, Japan. |
Japanese Office Action with English translation, dated May 21, 2019, pp. 1-6, issued in Japanese Patent Application No. 2019-027042, Japanese Patent Office, Tokyo, Japan. |
Japanese Office Action with English translation, dated Jul. 30, 2019, pp. 1-6, issued in Japanese Patent Application No. 2018-044180, Japanese Patent Office, Tokyo, Japan. |
Japanese Office Action with English translation, dated Sep. 10, 2019, pp. 1-4, issued in Japanese Patent Application 2019-027042, Japanese Patent Office, Tokyo, Japan. |
Korean Office Action with English translation, dated Aug. 27, 2019, pp. 1-7, issued in Korean Patent Application No. 10-2018-7029586, Korean Intellectual Property Office, Daejeon, South Korea. |
Canadian Office Action, dated Nov. 6, 2019, pp. 1-5, issued in Canadian Patent Application No. 2,886,140, Canadian Intellectual Property Office, Gatineau, Quebec, Canada. |
Australian Examination Report No. 1, dated Nov. 28, 2019, pp. 1-3, issued in Australian Patent Application No. 2019202186, Offices of IP Australia, Woden, ACT, Australia. |
Japanese Office Action with translation, dated May 12, 2020, pp. 1-6, issued in Japanese Patent Application No. 2018-44180, Japanese Patent Office, Tokyo, Japan. |
Canadian Office Action, dated Jul. 13, 2020, pp. 13, issued in Canadian Patent Application No. 3,044,983, Canadian Intellectual Property Office, Gatineau, Quebec, Canada. |
Office Action in Indonesia Application No. P00201904038, dated Mar. 15, 2021, 4 pages. |
Notice of Allowance in U.S. Appl. No. 16/717,822 dated Jul. 26, 2021, 7 pages. |
Notice of Allowance in U.S. Appl. No. 16/717,837 dated Jul. 21, 2021, 7 pages. |
Office Action in Russia Application No. 2020137611, dated Apr. 20, 2021, 12 pages. |
Office Action in U.S. Appl. No. 16/717,822, dated Feb. 17, 2021, 27 pages. |
Berouti et al, “Reducing Signal Delay in Multipulse coding at 16 kb”, 1986, p. 3043-p. 3046, Bell-Northern Research Montreal Canada, obtained/downloaded on Feb. 12, 2021, 4 pages. |
Japanese Office Action dated Dec. 8, 2020, pp. 1-8, issued in Japanese Patent Application No. 2019-220205, Japanese Patent Office, Tokyo, Japan. |
Korean Office Action with English Translation, dated Jan. 5, 2021, pp. 1-10, issued in Korean Patent Application No. 10-2020-7030410, Korean Patent Office, Daejeon, Republic of Korea. |
Office Action in U.S. Appl. No. 16/717,837, dated Mar. 16, 2021, 28 pages. |
Korean Office Action with English Translation, dated Jan. 18, 2021, pp. 1-10, issued in Korean Patent Application No. 10-2020-7030913, Korean Patent Office, Daejeon, Republic of Korea. |
Office Action/Communication Pursuant to Article 94(3) EPC, in Europe Patent Application No. 19185490.0, dated Sep. 22, 2021, 4 pages. |
Number | Date | Country | |
---|---|---|---|
20200126576 A1 | Apr 2020 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15854416 | Dec 2017 | US |
Child | 16717806 | US | |
Parent | 15385458 | Dec 2016 | US |
Child | 15854416 | US | |
Parent | 14712535 | May 2015 | US |
Child | 15385458 | US | |
Parent | PCT/JP2013/080589 | Nov 2013 | US |
Child | 14712535 | US |