CN103165134A - Coding and decoding device of audio signal high frequency parameter - Google Patents

Coding and decoding device of audio signal high frequency parameter Download PDF

Info

Publication number
CN103165134A
CN103165134A CN2013101127575A CN201310112757A CN103165134A CN 103165134 A CN103165134 A CN 103165134A CN 2013101127575 A CN2013101127575 A CN 2013101127575A CN 201310112757 A CN201310112757 A CN 201310112757A CN 103165134 A CN103165134 A CN 103165134A
Authority
CN
China
Prior art keywords
frequency
module
high frequency
signal
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101127575A
Other languages
Chinese (zh)
Other versions
CN103165134B (en
Inventor
胡瑞敏
杭波
李登实
李馨
涂卫平
王晓晨
李彩荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201310112757.5A priority Critical patent/CN103165134B/en
Publication of CN103165134A publication Critical patent/CN103165134A/en
Application granted granted Critical
Publication of CN103165134B publication Critical patent/CN103165134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention provides a coding and a decoding device of audio signal high frequency parameter. The coding and decoding device uses a plurality of modes to recover high frequency signals which can not pass a core layer code, thereby high frequency signals are rebuilt efficiently to improve output audio signal quality. The coding device of audio signal high frequency parameter comprises a frequency dividing module, a low frequency coding module, a time-frequency transforming module, a high frequency pumping module, a gain calculating module, a gain factor quantization module, a high frequency signal reconstructing module, a signal to noise ratio calculating module, a mode selecting module and a parameter coding module. The decoding device of audio signal high frequency parameter comprises a parameter allocation module, a low frequency decoding module, a decoding time-frequency transforming module, a high frequency pumping rebuilding module, an energy factor calculating module, a high frequency field signal rebuilding module and an inverse time-frequency transforming module.

Description

Sound signal high-frequency parameter coding and decoding device
Technical field
The invention belongs to the Audiotechnica field, particularly relate to sound signal high-frequency parameter coding and decoding device.
Background technology
To studies show that of human auditory system, people's ear is higher for the low frequency signal susceptibility, and the patient quantization error of institute is less, and lower for the susceptibility of high-frequency signal, tolerable quantization error is larger.This characteristic is widely used in audio compression techniques.In the situation that limited code check, audio coder can be distributed to available bits low frequency part and ignore HFS, represented the sophistication of sound due to the radio-frequency component in sound signal, lose radio-frequency component and can make sound sound that heavy vexed ﹑ is not bright, thereby the radio-frequency component in sound signal is the requisite important component of high quality audio that people pursue.Yet because the feature of the HFS of signal with different type is different, so also difference to some extent of the encoding and decoding technique that applies to.If the input signal band is wider than the frequency band range of core layer coding, signal frequency can't be encoded by core layer higher than the high-frequency signal of core layer coding range.For high-frequency signal can efficiently be rebuild, be necessary to study the high-frequency parameter encoding and decoding technique.
Summary of the invention
The object of the invention is the high-frequency signal for existing signal with different type, sound signal high-frequency parameter under particular demands coding and decoding device is provided, can utilize various modes to recover the high-frequency signal that to encode by core layer when making digital audio decode, thereby can efficiently rebuild high-frequency signal.
Technical scheme provided by the invention is a kind of sound signal high-frequency parameter code device, comprises following part:
Frequency division module is used for the original wideband signal frequency split of input is become low frequency time-domain signal and high frequency time-domain signal;
The low frequency coding module is used for encoding according to the low frequency time-domain signal that distribution module obtains, output low frequency parameter and low-frequency excitation time-domain signal, and wherein low-frequency parameter outputs to code stream;
The time-frequency conversion module is used for the high frequency time-domain signal is made time-frequency conversion, obtains the high frequency frequency-region signal; The low-frequency excitation time-domain signal is made time-frequency conversion, obtain the low-frequency excitation frequency-region signal; The white noise time-domain signal is made time-frequency conversion, obtain the white noise frequency-region signal;
The high frequency pumping module, be used for obtaining respectively four kinds of reconstruction high frequency pumping frequency-region signals and corresponding incentive mode index according to default reconstruct mode and four kinds of mapping relations between the incentive mode index, comprise that the high frequency that folds in whole or in part with time-frequency conversion module gained low-frequency excitation frequency-region signal obtains a kind of reconstruction high frequency pumping frequency-region signal, corresponding incentive mode index is I 0The high frequency of moving in whole or in part of time-frequency conversion module gained low-frequency excitation frequency-region signal is obtained a kind of reconstruction high frequency pumping frequency-region signal, and corresponding incentive mode index is I 1With with time-frequency conversion module gained white noise frequency-region signal as a kind of reconstruction high frequency pumping frequency-region signal, corresponding incentive mode index is I 2With the optimum reconstructed high frequency frequency-region signal of the mode selection module gained former frame a kind of reconstruction high frequency pumping frequency-region signal as present frame, corresponding incentive mode index is I 3
Gain calculation module, be used for rebuilding high frequency pumping frequency-region signal and time-frequency conversion module gained high frequency frequency-region signal according to four kinds of high frequency pumping module gained, evenly or anisotropically be divided into respectively n subband and calculate four groups of high-frequency gain factors, n is preset value;
The gain factor quantization modules is used for according to four groups of high-frequency gain factors of gain calculation module gained, obtains four groups and quantizes the rear high-frequency gain factor and four gain index;
The high-frequency signal reconstructed module, after being used for quantizing according to gain factor quantization modules gained, the high-frequency gain factor and four kinds of reconstruction high frequency pumping frequency-region signals of high frequency pumping module gained, obtain four kinds of reconstructed high frequency frequency-region signals;
The snr computation module is used for according to time-frequency conversion module gained high frequency frequency-region signal and four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module gained, obtains four snr values;
Mode selection module, be used for according to four snr values of snr computation module gained and four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module gained, by the corresponding gain index of maximal value in snr value and incentive mode index corresponding to high frequency pumping module gained, obtain optimum gain index, optimal excitation mode index and optimum reconstructed high frequency frequency-region signal;
The parameter coding module is used for encoding according to optimum gain index and optimal excitation mode index that mode selection module obtains, and is input to code stream.
The present invention is also corresponding provides a kind of sound signal high-frequency parameter decoding device, comprises following part:
The parametric distribution module is used for isolating optimum gain index and optimal excitation mode index at code stream;
The low frequency decoder module is used for the low-frequency parameter that code stream obtains is carried out the low frequency decoding, obtains rebuilding the low-frequency excitation time-domain signal;
Decoding time-frequency conversion module is used for that low frequency decoder module gained is rebuild the low-frequency excitation time-domain signal and makes time-frequency conversion, obtains rebuilding the low-frequency excitation frequency-region signal; The white noise time-domain signal is made time-frequency conversion, obtain the white noise frequency-region signal;
High frequency pumping is rebuild module, is used for according to parametric distribution module gained optimal excitation mode index, and obtains corresponding reconstruction high frequency pumping frequency-region signal according to four kinds of mapping relations between incentive mode index and reconstruct mode, if comprise that the incentive mode index is I 0, the time-frequency conversion module of decoding gained reconstruction low-frequency excitation frequency-region signal folds into high frequency and obtains rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 1, the time-frequency conversion module of decoding gained reconstruction low-frequency excitation frequency-region signal is moved high frequency and is obtained rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 2, with decoding time-frequency conversion module gained white noise frequency-region signal as rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 3, rebuild the optimum of module gained former frame with the high frequency frequency-region signal and rebuild the high frequency frequency-region signal as the reconstruction high frequency pumping frequency-region signal of present frame;
The energy factors computing module is used for obtaining energy factors according to parametric distribution module gained optimum gain index;
The high frequency frequency-region signal is rebuild module, be used for rebuilding the module gained according to high frequency pumping and rebuild high frequency pumping frequency-region signal and energy factors computing module gained energy factors, synthetic obtain rebuilding the high frequency frequency-region signal, this is rebuild high frequency frequency-region signal and rebuilds the high frequency frequency-region signal as the optimum of present frame;
Inverse time is conversion module frequently, is used for rebuilding module according to high frequency pumping and rebuilds the high frequency frequency-region signal and do inverse time frequency conversion and obtain rebuilding the high frequency time-domain signal.
The invention provides a kind of sound signal high-frequency parameter coding and decoding scheme under particular demands, comprise coding side device and decoding end device.Calculate four kinds of reconstructed high frequency frequency-region signals and high frequency frequency-region signal snr value at coding side, the corresponding optimum gain index of maximal value and the corresponding optimal excitation mode index of getting are wherein put into code stream; The decoding end device can lead to extraction optimum gain index and optimal excitation mode index, and reconstruction high frequency pumping frequency-region signal corresponding according to the optimal excitation mode index and obtain rebuilding the high frequency frequency-region signal by optimum gain index gained energy factors, remake inverse time conversion frequently and obtain rebuilding the high frequency time-domain signal.The present invention utilizes the exclusive feature of high-frequency signal, by the high-frequency signal of more multiple reconstruct mode generation and the correlativity of high-frequency signal, and selects the mode of correlativity maximum to obtain high-quality reconstruction high frequency time-domain signal.
Description of drawings
Fig. 1 is the structured flowchart of embodiment of the present invention code device;
Fig. 2 is the structured flowchart of embodiment of the present invention decoding device.
Embodiment
Referring to Fig. 1, the high-frequency parameter encoding and decoding technique scheme that the embodiment of the present invention provides comprises a kind of sound signal high-frequency parameter code device, comprises following part:
Frequency division module is used for the original wideband signal frequency split of input is become low frequency time-domain signal and high frequency time-domain signal;
The low frequency coding module is used for encoding according to the low frequency time-domain signal that distribution module obtains, output low frequency parameter and low-frequency excitation time-domain signal, and wherein low-frequency parameter outputs to code stream; During concrete enforcement, the low frequency coding module can adopt any existing low frequency encoder techniques to realize, partly is combined with the high-frequency coding of the present invention's design; According to the low frequency encoder techniques of concrete use, the low-frequency excitation time-domain signal of output is one of following four kinds,
1, non-quantized low frequency time-domain signal, namely the low frequency coding module is directly exported the low frequency time-domain signal of frequency division module gained as the low-frequency excitation time-domain signal;
2, the low frequency coding module output time-domain signal of any low frequency scrambler realization, the low frequency time-domain signal acquired results after low frequency coding module coding that is about to the frequency division module gained as the output of low-frequency excitation time-domain signal, comprises one of following three kinds of situations:
2.1 rebuild the low frequency time-domain signal;
2.2 do not quantize low frequency residual error time-domain signal;
2.3 low frequency residual error time-domain signal after quantizing;
The time-frequency conversion module is used for the high frequency time-domain signal is made time-frequency conversion, obtains the high frequency frequency-region signal; The low-frequency excitation time-domain signal is made time-frequency conversion, obtain the low-frequency excitation frequency-region signal; The white noise time-domain signal is made time-frequency conversion, obtain the white noise frequency-region signal; The high frequency pumping module, be used for obtaining respectively four kinds of reconstruction high frequency pumping frequency-region signals and corresponding incentive mode index according to default reconstruct mode and four kinds of mapping relations between the incentive mode index: the high frequency that folds in whole or in part of time-frequency conversion module gained low-frequency excitation frequency-region signal is obtained a kind of reconstruction high frequency pumping frequency-region signal, and corresponding incentive mode index is I 0The high frequency of moving in whole or in part of time-frequency conversion module gained low-frequency excitation frequency-region signal is obtained a kind of reconstruction high frequency pumping frequency-region signal, and corresponding incentive mode index is I 1With with time-frequency conversion module gained white noise frequency-region signal as a kind of reconstruction high frequency pumping frequency-region signal, corresponding incentive mode index is I 2With the optimum reconstructed high frequency frequency-region signal of the mode selection module gained former frame a kind of reconstruction high frequency pumping frequency-region signal as present frame, corresponding incentive mode index is I 3, (the first frame signal does not adopt this reconstruct mode); Gain calculation module, be used for rebuilding high frequency pumping frequency-region signal and time-frequency conversion module gained high frequency frequency-region signal according to four kinds of high frequency pumping module gained, evenly or anisotropically be divided into respectively n subband and calculate four groups of high-frequency gain factors, n is preset value, can be specified in advance as the case may be by those skilled in the art during enforcement;
The gain factor quantization modules is used for according to four groups of high-frequency gain factors of gain calculation module gained, obtains four groups and quantizes the rear high-frequency gain factor and four gain index;
The high-frequency signal reconstructed module, after being used for quantizing according to gain factor quantization modules gained, the high-frequency gain factor and four kinds of reconstruction high frequency pumping frequency-region signals of high frequency pumping module gained, obtain four kinds of reconstructed high frequency frequency-region signals;
The snr computation module is used for according to time-frequency conversion module gained high frequency frequency-region signal and four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module gained, obtains four snr values;
Mode selection module, be used for according to four snr values of snr computation module gained and four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module gained, by the corresponding gain index of maximal value in snr value and incentive mode index corresponding to high frequency pumping module gained, obtain optimum gain index, optimal excitation mode index and optimum reconstructed high frequency frequency-region signal, wherein the optimum reconstructed high frequency frequency-region signal of present frame will obtain as the high frequency pumping module a kind of foundation of rebuilding the high frequency pumping frequency-region signal of next frame; The parameter coding module is used for encoding according to optimum gain index and optimal excitation mode index that mode selection module obtains, and is input to code stream.
Wherein, the high frequency time-domain signal of frequency division module output is input to the time-frequency conversion module, and the low frequency time-domain signal is input to the low frequency coding module; Low frequency coding module output low frequency parameter is to code stream; The low-frequency excitation time-domain signal of low frequency coding module output can be the low frequency time-domain signal, or the low frequency time-domain signal of rebuilding after low frequency coding module coding, or do not quantize low frequency residual error time-domain signal, or low frequency residual error time-domain signal after quantizing, and the white noise time-domain signal is input to the time-frequency conversion module; The low-frequency excitation frequency-region signal of time-frequency conversion module output, the optimum reconstructed high frequency frequency-region signal of the former frame of white noise frequency-region signal and mode selection module output is input to the high frequency pumping module; Rebuild the high frequency pumping frequency-region signal and be input to gain calculation module for four kinds of the high frequency frequency-region signal of time-frequency conversion module output and the output of high frequency pumping module; Four groups of high-frequency gain factors of gain calculation module output are input to the gain factor quantization modules; The high-frequency gain factor and four gain index after four groups of quantifications of gain factor quantization modules output, wherein four groups of four kinds of reconstruction high frequency pumping frequency-region signals that quantize the rear high-frequency gain factor and the output of high frequency pumping module are input to the high-frequency signal reconstructed module; Four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module output and the high frequency frequency-region signal of time-frequency conversion module output are input to the snr computation module; Four snr values and four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module gained, four kinds of incentive mode index of high frequency pumping module gained, the gain factor quantization modules gained gain index of snr computation module output are input to mode selection module; Optimum gain index and corresponding optimal excitation mode index and optimum reconstructed high frequency frequency-region signal that mode selection module output maximum signal to noise ratio value is corresponding, optimum gain index and the optimal excitation mode index of mode selection module output are input to the parameter coding module, and the parameter coding module is encoded and is input to code stream for transmission optimum gain index and optimal excitation mode index.
As table 1
Table 1 reconstruct mode and incentive mode index corresponding relation
Gain calculation module is used for rebuilding the high frequency pumping frequency-region signal according to four kinds of high frequency pumping module gained, according to the time-frequency conversion module
Each module specific implementation is prior art; during concrete enforcement; except sound signal high-frequency parameter code device is provided with hardware mode, adopt software mode to belong to by the following flow process of computer realization and be equal to alternative, also should be in the claimed scope of the present invention.
The coding work flow process comprises the following steps:
Step 1 obtains low frequency time-domain signal and high frequency time-domain signal to the wideband audio signal frequency division of inputting;
Step 2, gained high frequency time-domain signal in step 1 is carried out the time-frequency conversion, obtain the high frequency frequency-region signal, gained low frequency time-domain signal in step 1 is carried out the low frequency coding, obtain low-frequency parameter and low-frequency excitation time-domain signal, wherein the low-frequency excitation time-domain signal can be non-quantized low frequency time-domain signal, or rebuild the low frequency time-domain signal after low frequency coding module coding, do not quantize low frequency residual error time-domain signal, quantize after low frequency residual error time-domain signal;
Step 3 outputs to code stream with gained low-frequency parameter in step 2; To the low-frequency excitation time-domain signal, and the white noise time-domain signal carries out respectively time-frequency conversion and obtains low-frequency excitation frequency-region signal and white noise frequency-region signal;
Step 4, by gained low-frequency excitation frequency-region signal in step 3, the optimum reconstructed high frequency frequency-region signal of white noise frequency-region signal and last execution in step 9 gained former frame obtains four kinds by high frequency pumping and rebuilds high frequency pumping frequency-region signal and corresponding incentive mode index, concrete operations are as follows: if the high frequency that folds in whole or in part of low-frequency excitation frequency-region signal is obtained rebuilding the high frequency pumping frequency-region signal, corresponding incentive mode index is I 0If the high frequency of moving in whole or in part of low-frequency excitation frequency-region signal is obtained rebuilding the high frequency pumping frequency-region signal, corresponding incentive mode index is I 1If as rebuilding the high frequency pumping frequency-region signal, corresponding incentive mode index is I with the white noise frequency-region signal 2If with the optimum reconstructed high frequency frequency-region signal of the former frame reconstruction high frequency pumping frequency-region signal as this frame, corresponding incentive mode index is I 3, the first frame signal does not adopt this reconstruct mode;
Step 5 is rebuild high frequency frequency domain pumping signals by four kinds of gained in the high frequency frequency-region signal of gained in step 2 and step 4, calculates four groups of high-frequency gain factors by gain;
Step 6 is quantized by gain factor by four groups of high-frequency gain factors of gained in step 5, obtains four groups and quantizes the rear high-frequency gain factor and four gain index;
Step 7 is rebuild the high frequency pumping frequency-region signals by four kinds of gained in the high-frequency gain factor and step 4 after four groups of quantifications of gained in step 6 and is obtained four kinds of reconstructed high frequency frequency-region signals by high-frequency signal reconstruct;
Step 8 by four kinds of reconstructed high frequency frequency-region signals of gained in gained high frequency frequency-region signal and step 7 in step 2, obtains four snr values by the snr computation module;
Step 9, by four kinds of reconstructed high frequency frequency-region signals of gained in four snr values of gained in step 8 and step 7 by model selection, select four maximal values in snr value, by wherein the corresponding gain index of maximal value and corresponding step 4 gained incentive mode index obtain optimum gain index, optimal excitation mode index and optimum reconstructed high frequency frequency-region signal;
Step 10 is carried out parameter coding by gained optimum gain index in step 9 and optimal excitation mode index, and is input in code stream.
Referring to Fig. 2, the sound signal high-frequency parameter decoding device that the embodiment of the present invention provides comprises following part:
The parametric distribution module is used for isolating optimum gain index and optimal excitation mode index at code stream;
The low frequency decoder module, be used for the low-frequency parameter that code stream obtains is carried out the low frequency decoding, obtain rebuilding the low-frequency excitation time-domain signal, the low-frequency excitation time-domain signal of rebuilding low-frequency excitation time-domain signal and sound signal high-frequency parameter code device end is corresponding, when the low-frequency excitation time-domain signal was selected not quantize the low frequency time-domain signal or rebuild the low frequency time-domain signal, it can only be to rebuild the low frequency time-domain signal after low frequency decoder module coding that decoding end is rebuild the low-frequency excitation time-domain signal; When low-frequency excitation for do not quantize low frequency residual error time-domain signal or quantize after during low frequency residual error time-domain signal, the decoding end correspondence can only be low frequency residual error time-domain signal after quantizing;
Decoding time-frequency conversion module is used for that low frequency decoder module gained is rebuild the low-frequency excitation time-domain signal and makes time-frequency conversion, obtains rebuilding the low-frequency excitation frequency-region signal; The white noise time-domain signal is made time-frequency conversion, obtain the white noise frequency-region signal;
High frequency pumping is rebuild module, is used for according to parametric distribution module gained optimal excitation mode index, and obtains corresponding reconstruction high frequency pumping frequency-region signal according to four kinds of mapping relations between incentive mode index and reconstruct mode: if the incentive mode index is I 0, the time-frequency conversion module of decoding gained reconstruction low-frequency excitation frequency-region signal folds into high frequency and obtains rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 1, the time-frequency conversion module of decoding gained reconstruction low-frequency excitation frequency-region signal is moved high frequency and is obtained rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 2, with decoding time-frequency conversion module gained white noise frequency-region signal as rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 3, to rebuild the optimum of module gained former frame with the high frequency frequency-region signal and rebuild the high frequency frequency-region signal as the reconstruction high frequency pumping frequency-region signal of present frame, the first frame signal does not adopt this reconstruct mode;
The energy factors computing module is used for obtaining energy factors according to parametric distribution module gained optimum gain index;
The high frequency frequency-region signal is rebuild module, be used for rebuilding the module gained according to high frequency pumping and rebuild high frequency pumping frequency-region signal and energy factors computing module gained energy factors, synthesize and obtain rebuilding the high frequency frequency-region signal, this is rebuild the high frequency frequency-region signal and rebuilds the high frequency frequency-region signal as the optimum of present frame, will rebuild module for high frequency pumping and obtain reconstruction high frequency pumping frequency-region signal corresponding to next frame; Inverse time is conversion module frequently, is used for rebuilding module according to high frequency pumping and rebuilds the high frequency frequency-region signal and do inverse time frequency conversion and obtain rebuilding the high frequency time-domain signal.
Wherein, code stream input parameter distribution module and low frequency decoder module; Low frequency decoder module gained is rebuild the low-frequency excitation time-domain signal, can be the reconstruction low frequency time-domain signal after low frequency decoder module coding, or low frequency residual error time-domain signal after quantizing, and the white noise time-domain signal is input to decoding time-frequency conversion module; The reconstruction low-frequency excitation frequency-region signal of the optimal excitation mode index of parametric distribution module output and the time-frequency conversion module output of decoding, the optimum of the former frame of white noise frequency-region signal and the output of high frequency frequency-region signal reconstruction module is rebuild the high frequency frequency-region signal and is input to high frequency pumping reconstruction module; The optimum gain index of parametric distribution module output is input to the energy factors computing module; High frequency pumping is rebuild the reconstruction high frequency pumping frequency-region signal of module output and the energy factors of energy factors computing module output is input to high frequency frequency-region signal reconstruction module; The reconstruction high frequency frequency-region signal that the high frequency frequency-region signal is rebuild module output is input to inverse time frequency conversion module, and the high frequency time-domain signal is rebuild in inverse time conversion module output frequently.
Each module specific implementation is prior art; during concrete enforcement; except sound signal high-frequency parameter decoding device is provided with hardware mode, adopt software mode to belong to by the following flow process of computer realization and be equal to alternative, also should be in the claimed scope of the present invention.
The decoding workflow comprises the following steps:
Step 1, isolate optimum gain index and optimal excitation mode index from code stream by parametric distribution, the low-frequency parameter that obtains in code stream is carried out the low frequency decoding obtain rebuilding the low-frequency excitation time-domain signal, can be to rebuild the low frequency time-domain signal after low frequency decoder module coding, or low frequency residual error time-domain signal after quantizing;
Step 2 is rebuild low-frequency excitation time-domain signal and white noise time-domain signal with step 1 gained and is input to and carries out respectively time-frequency conversion and rebuild low-frequency excitation frequency-region signal and white noise frequency-region signal;
Step 3, by gained optimal excitation mode index in step 1, rebuild the low-frequency excitation frequency-region signal with gained in step 2, the optimum of white noise frequency-region signal and last execution in step 5 gained former frame is rebuild the high frequency frequency-region signal and is rebuild by high frequency pumping, obtains corresponding reconstruction high frequency pumping frequency-region signal;
Step 4 calculates energy factors by step 1 gained optimum gain index by energy factors;
Step 5 is rebuild the high frequency pumping frequency-region signal by gained energy factors in step 4 and step 3 gained and is obtained rebuilding the high frequency frequency-region signal;
Step 6 obtains rebuilding the high frequency time-domain signal by the reconstruction high frequency frequency-region signal that obtains in step 5 by inverse time conversion frequently.
For the ease of implementing, the invention provides the concrete implementation step detailed description of embodiment for your guidance.AVS-S input signal sampling rate is 16kHz, and signal bandwidth is 8kHz, and the frequency band range of AVS-S core layer coding is below 6.4kHz, and the high-frequency signal of 6.4-8kHz can't be encoded by core layer.Described sound signal high-frequency parameter coding and decoding device is applied to the high-frequency signal coding of AVS-S, can efficiently rebuild the high-frequency signal of 6.4-8kHz.Details are as follows for specific implementation process:
(1) sound signal high-frequency parameter coding
At coding side, the wideband audio signal of input obtains 0~6.4kHz low frequency time-domain signal and 6.4~12.8kHz high frequency time-domain signal by frequency division module, its medium-high frequency time-domain signal is done 288 FFT conversion by the time-frequency conversion module, be four subbands with the frequency band division after conversion, the high frequency frequency-region signal of only getting low 72 6.4~8kHz deals with object, is designated as HF_ori; Low-frequency excitation time-domain signal and the white noise time-domain signal of 4.8~6.4kH after low frequency coding module coding are passed through respectively the FFT time-frequency conversion, gained 4.8~6.4kH low-frequency excitation frequency-region signal and white noise frequency-region signal, and the optimum reconstructed high frequency frequency-region signal of 6.4~8kHz former frame of high frequency frequency-region signal reconstruction module output obtains by the high frequency pumping module reconstruction high frequency pumping frequency-region signal HF_reb[i that four kinds of frequency band ranges are 6.4~8kHz] (i=0,1,2,3), reach corresponding 2bit incentive mode index n i(i=0,1,2,3).As table 2:
Reconstruct mode and incentive mode index corresponding relation in table 2 embodiment
Figure BDA00003004044200091
Index coding 11,01,10,00 represents respectively incentive mode index I 0, I 1, I 2, I 3
To rebuild respectively high frequency pumping frequency-region signal HF_reb[i by gain calculation module] (i=0,1,2,3) and high frequency frequency-region signal HF_ori be divided into equably 8 subbands, the energy ratio of calculating both is high-frequency gain factor gain[i] (i=0,1,2,3), and the vector that is divided into two groups of four-dimension by the gain factor quantization modules, obtain four groups and quantize rear high-frequency gain factor gain_q[i] (i=0,1,2,3) and four gain index g_index[i] (i=0,1,2,3);
The gain factor quantization modules is obtained four groups quantize after high-frequency gain factor gain_q[i] (i=0,1,2,3) rebuild high frequency pumping frequency-region signal HF_reb[i for four kinds that obtain with the high frequency pumping module respectively] (i=0,1,2,3) multiply each other by the high-frequency signal reconstructed module obtain four kinds of reconstructed high frequency frequency-region signal HF_reb_new[i] (i=0,1,2,3);
Calculate high frequency frequency-region signal HF_ori and four kinds of reconstructed high frequency frequency-region signal HF_reb_new[i by the snr computation module] (i=0,1,2,3) signal to noise ratio snr [i] (i=0,1,2,3) value, select the corresponding optimum gain index of maximal value g_index[i by mode selection module 0] and corresponding optimal excitation mode index
Figure BDA00003004044200092
Carry out parameter coding with 14bits and 2bits respectively, then reach bit stream multiplexer.I in the first frame 0Be I 0, I 1, I 2One of, i afterwards 0Be I 0, I 1, I 2, I 3One of.
(2) sound signal high-frequency parameter decoding device
4.8~6.4kH after low frequency decoder module coding is rebuild the low-frequency excitation time-domain signal, the white noise time-domain signal is by the FFT time-frequency conversion, obtain 4.8~6.4kH and rebuild the low-frequency excitation frequency-region signal, white noise frequency-region signal and high frequency frequency-region signal are rebuild the optimum of 6.4~8kHz former frame of module output and are rebuild the high frequency frequency-region signal.Isolated optimum gain index g_index[i from the high frequency code stream by the parametric distribution module 0] and the optimal excitation mode index
Figure BDA00003004044200101
With the optimal excitation mode index
Figure BDA00003004044200102
Rebuild incentive mode index that module provides and the four kinds of mapping relations (as table 3) between reconstruct mode by high frequency pumping, obtain corresponding reconstruction high frequency pumping frequency-region signal HF_reb[i 0].I in the first frame 0Be I 0, I 1, I 2One of, i afterwards 0Be I 0, I 1, I 2, I 3One of.
The corresponding relation of incentive mode index and reconstruct mode in table 3 embodiment
Figure BDA00003004044200103
Optimum gain index by the extraction of parametric distribution module
Figure BDA00003004044200104
Obtain energy factors gain[i by the energy factors computing module 0], will rebuild high frequency pumping frequency-region signal HF_reb[i 0] and energy factors gain[i 0] obtain rebuilding high frequency frequency-region signal HF_new_f by high frequency frequency-region signal reconstruction module; Obtain rebuilding high frequency time-domain signal HF_new by contrary FFT conversion module.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various modifications or replenish or adopt similar mode to substitute described specific embodiment, but can't depart from spirit of the present invention or surmount the defined scope of appended claims.

Claims (2)

1. sound signal high-frequency parameter code device is characterized in that: comprise following part,
Frequency division module is used for the original wideband signal frequency split of input is become low frequency time-domain signal and high frequency time-domain signal;
The low frequency coding module is used for encoding according to the low frequency time-domain signal that distribution module obtains, output low frequency parameter and low-frequency excitation time-domain signal, and wherein low-frequency parameter outputs to code stream;
The time-frequency conversion module is used for the high frequency time-domain signal is made time-frequency conversion, obtains the high frequency frequency-region signal; The low-frequency excitation time-domain signal is made time-frequency conversion, obtain the low-frequency excitation frequency-region signal; The white noise time-domain signal is made time-frequency conversion, obtain the white noise frequency-region signal;
The high frequency pumping module, be used for obtaining respectively four kinds of reconstruction high frequency pumping frequency-region signals and corresponding incentive mode index according to default reconstruct mode and four kinds of mapping relations between the incentive mode index, comprise that the high frequency that folds in whole or in part with time-frequency conversion module gained low-frequency excitation frequency-region signal obtains a kind of reconstruction high frequency pumping frequency-region signal, corresponding incentive mode index is I 0The high frequency of moving in whole or in part of time-frequency conversion module gained low-frequency excitation frequency-region signal is obtained a kind of reconstruction high frequency pumping frequency-region signal, and corresponding incentive mode index is I 1With with time-frequency conversion module gained white noise frequency-region signal as a kind of reconstruction high frequency pumping frequency-region signal, corresponding incentive mode index is I 2With the optimum reconstructed high frequency frequency-region signal of the mode selection module gained former frame a kind of reconstruction high frequency pumping frequency-region signal as present frame, corresponding incentive mode index is I 3
Gain calculation module, be used for rebuilding high frequency pumping frequency-region signal and time-frequency conversion module gained high frequency frequency-region signal according to four kinds of high frequency pumping module gained, evenly or anisotropically be divided into respectively n subband and calculate four groups of high-frequency gain factors, n is preset value;
The gain factor quantization modules is used for according to four groups of high-frequency gain factors of gain calculation module gained, obtains four groups and quantizes the rear high-frequency gain factor and four gain index;
The high-frequency signal reconstructed module, after being used for quantizing according to gain factor quantization modules gained, the high-frequency gain factor and four kinds of reconstruction high frequency pumping frequency-region signals of high frequency pumping module gained, obtain four kinds of reconstructed high frequency frequency-region signals;
The snr computation module is used for according to time-frequency conversion module gained high frequency frequency-region signal and four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module gained, obtains four snr values;
Mode selection module, be used for according to four snr values of snr computation module gained and four kinds of reconstructed high frequency frequency-region signals of high-frequency signal reconstructed module gained, by the corresponding gain index of maximal value in snr value and incentive mode index corresponding to high frequency pumping module gained, obtain optimum gain index, optimal excitation mode index and optimum reconstructed high frequency frequency-region signal;
The parameter coding module is used for encoding according to optimum gain index and optimal excitation mode index that mode selection module obtains, and is input to code stream.
2. sound signal high-frequency parameter decoding device is characterized in that: comprise following part,
The parametric distribution module is used for isolating optimum gain index and optimal excitation mode index at code stream;
The low frequency decoder module is used for the low-frequency parameter that code stream obtains is carried out the low frequency decoding, obtains rebuilding the low-frequency excitation time-domain signal;
Decoding time-frequency conversion module is used for that low frequency decoder module gained is rebuild the low-frequency excitation time-domain signal and makes time-frequency conversion, obtains rebuilding the low-frequency excitation frequency-region signal; The white noise time-domain signal is made time-frequency conversion, obtain the white noise frequency-region signal;
High frequency pumping is rebuild module, is used for according to parametric distribution module gained optimal excitation mode index, and obtains corresponding reconstruction high frequency pumping frequency-region signal according to four kinds of mapping relations between incentive mode index and reconstruct mode, if comprise that the incentive mode index is I 0, the time-frequency conversion module of decoding gained reconstruction low-frequency excitation frequency-region signal folds into high frequency and obtains rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 1, the time-frequency conversion module of decoding gained reconstruction low-frequency excitation frequency-region signal is moved high frequency and is obtained rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 2, with decoding time-frequency conversion module gained white noise frequency-region signal as rebuilding the high frequency pumping frequency-region signal; If the incentive mode index is I 3, rebuild the optimum of module gained former frame with the high frequency frequency-region signal and rebuild the high frequency frequency-region signal as the reconstruction high frequency pumping frequency-region signal of present frame;
The energy factors computing module is used for obtaining energy factors according to parametric distribution module gained optimum gain index;
The high frequency frequency-region signal is rebuild module, be used for rebuilding the module gained according to high frequency pumping and rebuild high frequency pumping frequency-region signal and energy factors computing module gained energy factors, synthetic obtain rebuilding the high frequency frequency-region signal, this is rebuild high frequency frequency-region signal and rebuilds the high frequency frequency-region signal as the optimum of present frame;
Inverse time is conversion module frequently, is used for rebuilding module according to high frequency pumping and rebuilds the high frequency frequency-region signal and do inverse time frequency conversion and obtain rebuilding the high frequency time-domain signal.
CN201310112757.5A 2013-04-02 2013-04-02 Coding and decoding device of audio signal high frequency parameter Active CN103165134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310112757.5A CN103165134B (en) 2013-04-02 2013-04-02 Coding and decoding device of audio signal high frequency parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310112757.5A CN103165134B (en) 2013-04-02 2013-04-02 Coding and decoding device of audio signal high frequency parameter

Publications (2)

Publication Number Publication Date
CN103165134A true CN103165134A (en) 2013-06-19
CN103165134B CN103165134B (en) 2015-01-14

Family

ID=48588158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310112757.5A Active CN103165134B (en) 2013-04-02 2013-04-02 Coding and decoding device of audio signal high frequency parameter

Country Status (1)

Country Link
CN (1) CN103165134B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714822A (en) * 2013-12-27 2014-04-09 广州华多网络科技有限公司 Sub-band coding and decoding method and device based on SILK coder decoder
WO2015043151A1 (en) * 2013-09-26 2015-04-02 华为技术有限公司 High-frequency excitation signal prediction method and device
CN106023999A (en) * 2016-07-11 2016-10-12 武汉大学 Encoding and decoding method and system for improving three-dimensional audio spatial parameter compression ratio
CN108417219A (en) * 2018-02-22 2018-08-17 武汉大学 A kind of audio object decoding method being adapted to Streaming Media

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987406A (en) * 1997-04-07 1999-11-16 Universite De Sherbrooke Instability eradication for analysis-by-synthesis speech codecs
CN101089951A (en) * 2006-06-16 2007-12-19 徐光锁 Band spreading coding method and device and decode method and device
CN101192409A (en) * 2006-11-21 2008-06-04 华为技术有限公司 Method and device for selecting self-adapting codebook excitation signal
CN101458930A (en) * 2007-12-12 2009-06-17 华为技术有限公司 Excitation signal generation in bandwidth spreading and signal reconstruction method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987406A (en) * 1997-04-07 1999-11-16 Universite De Sherbrooke Instability eradication for analysis-by-synthesis speech codecs
CN101089951A (en) * 2006-06-16 2007-12-19 徐光锁 Band spreading coding method and device and decode method and device
CN101192409A (en) * 2006-11-21 2008-06-04 华为技术有限公司 Method and device for selecting self-adapting codebook excitation signal
CN101458930A (en) * 2007-12-12 2009-06-17 华为技术有限公司 Excitation signal generation in bandwidth spreading and signal reconstruction method and apparatus

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015043151A1 (en) * 2013-09-26 2015-04-02 华为技术有限公司 High-frequency excitation signal prediction method and device
CN104517611A (en) * 2013-09-26 2015-04-15 华为技术有限公司 High-frequency excitation signal prediction method and apparatus
CN104517611B (en) * 2013-09-26 2016-05-25 华为技术有限公司 A kind of high-frequency excitation signal Forecasting Methodology and device
US9685165B2 (en) 2013-09-26 2017-06-20 Huawei Technologies Co., Ltd. Method and apparatus for predicting high band excitation signal
RU2637885C2 (en) * 2013-09-26 2017-12-07 Хуавэй Текнолоджиз Ко., Лтд. Method and device for predicting signal of excitation of upper band
US10339944B2 (en) 2013-09-26 2019-07-02 Huawei Technologies Co., Ltd. Method and apparatus for predicting high band excitation signal
US10607620B2 (en) 2013-09-26 2020-03-31 Huawei Technologies Co., Ltd. Method and apparatus for predicting high band excitation signal
CN103714822A (en) * 2013-12-27 2014-04-09 广州华多网络科技有限公司 Sub-band coding and decoding method and device based on SILK coder decoder
CN103714822B (en) * 2013-12-27 2017-01-11 广州华多网络科技有限公司 Sub-band coding and decoding method and device based on SILK coder decoder
CN106023999A (en) * 2016-07-11 2016-10-12 武汉大学 Encoding and decoding method and system for improving three-dimensional audio spatial parameter compression ratio
CN106023999B (en) * 2016-07-11 2019-06-11 武汉大学 For improving the decoding method and system of three-dimensional audio spatial parameter compression ratio
CN108417219A (en) * 2018-02-22 2018-08-17 武汉大学 A kind of audio object decoding method being adapted to Streaming Media

Also Published As

Publication number Publication date
CN103165134B (en) 2015-01-14

Similar Documents

Publication Publication Date Title
JP6518361B2 (en) Audio / voice coding method and audio / voice coder
KR101143225B1 (en) Complex-transform channel coding with extended-band frequency coding
CN101521014B (en) Audio bandwidth expansion coding and decoding devices
WO2009029036A1 (en) Method and device for noise filling
EP2863388B1 (en) Bit allocation method and device for audio signal
CN102396024A (en) Encoding/decoding method for audio signals using adaptive sine wave pulse coding and apparatus thereof
CN103165134B (en) Coding and decoding device of audio signal high frequency parameter
CN104978970A (en) Noise signal processing and generation method, encoder/decoder and encoding/decoding system
JP6388624B2 (en) Method, encoder, decoder, and mobile device
KR20150070398A (en) Audio signal encoding/decoding method and audio signal encoding/decoding device
CN102194458B (en) Spectral band replication method and device and audio decoding method and system
CN101281748B (en) Method for filling opening son (sub) tape using encoding index as well as method for generating encoding index
CN106463133A (en) High-band encoding method and device, and high-band decoding method and device
CN105745703A (en) Signal encoding method and apparatus and signal decoding method and apparatus
CN101105940A (en) Audio frequency encoding and decoding quantification method, reverse conversion method and audio frequency encoding and decoding device
US20130006644A1 (en) Method and device for spectral band replication, and method and system for audio decoding
US9830919B2 (en) Acoustic signal coding apparatus, acoustic signal decoding apparatus, terminal apparatus, base station apparatus, acoustic signal coding method, and acoustic signal decoding method
RU2633097C2 (en) Methods and devices for signal coding and decoding
CN110120228A (en) Audio general steganalysis method and system based on sonograph and depth residual error network
JP5308519B2 (en) Multi-mode scheme for improved audio coding
CN105957533B (en) Voice compression method, voice decompression method, audio encoder and audio decoder
EP2690622A1 (en) Audio decoding device and audio decoding method
CN104380377B (en) For the method and apparatus of scalable low encoding complexity/decoding
CN103503065B (en) For method and the demoder of the signal area of the low accuracy reconstruct that decays
CN103489450A (en) Wireless audio compression and decompression method based on time domain aliasing elimination and equipment thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant