CN101552005A - Encoding method, decoding method, system and device - Google Patents

Encoding method, decoding method, system and device Download PDF

Info

Publication number
CN101552005A
CN101552005A CNA2008100898635A CN200810089863A CN101552005A CN 101552005 A CN101552005 A CN 101552005A CN A2008100898635 A CNA2008100898635 A CN A2008100898635A CN 200810089863 A CN200810089863 A CN 200810089863A CN 101552005 A CN101552005 A CN 101552005A
Authority
CN
China
Prior art keywords
harmonic
harmonic structure
interval
characteristic information
reference position
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.)
Pending
Application number
CNA2008100898635A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2008100898635A priority Critical patent/CN101552005A/en
Priority to PCT/CN2009/071123 priority patent/WO2009121298A1/en
Publication of CN101552005A publication Critical patent/CN101552005A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/08Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters
    • G10L19/093Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters using sinusoidal excitation models
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/08Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters
    • G10L19/09Long term prediction, i.e. removing periodical redundancies, e.g. by using adaptive codebook or pitch predictor

Abstract

The embodiment of the invention discloses an encoding method, comprising obtaining characteristic information of a harmonic structure through fundamental tone information of a narrow band signal portion, encoding the characteristic information of the harmonic structure in quantification and transmitting the information to a decoding terminal. The embodiment of the invention further discloses a decoding method, comprising receiving the characteristic information of the harmonic structure from an encoding terminal, and reconstructing the harmonic structure according to the characteristic information of the harmonic structure and the sonant gain of the narrow band signal portion. The embodiment of the invention further discloses a corresponding codec system, the encoding terminal and the decoding terminal. The reconstruction of the harmonic structure can be realized through the invention.

Description

Coding method, coding/decoding method, system and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of coding method, coding/decoding method, system and device.
Background technology
Along with the development of bearing technology, people more and more are not content with the quality of narrowband speech codec, so audio coder ﹠ decoder (codec) is progressively to broadband, ultra broadband expansion.(the ITU of International Telecommunications Union (ITU) for example, International Telecommunication Union) released G.722, G.722.1, G.722.2, G.729.1 waited broadband encoding and decoding speech standard, 3GPP has released this broadband voice encoding and decoding standard of AMR-WB, and 3GPP2 has then released VMR-WB.G.729.1﹠amp ITU has proposed again recently in addition; G.EV.VBR unites ultra broadband, G.711WB﹠amp; G.722 unite ultra broadband etc.Wherein, the scope of arrowband is generally 0~4kHz frequency band, and the scope in broadband is generally 0~8kHz frequency band, and the scope of ultra broadband is generally 0~16kHz frequency band.
These standards all expand from the arrowband, in these standards, according to the common sampling rate 8khz that adopts of signal, 16kHz, 32kHz, signal band can be divided into three parts, narrow band signal part (0~4kHz), broadband signal part (4~8kHz) and ultra-broadband signal (8~16kHz) parts, (0~3.5kHz) is called the narrow band signal part but incite somebody to action usually in the encoding-decoding process of sound signal, (4~7kHz) are called the broadband signal part, (8~14kHz) are called the ultra broadband part signal, the signal in 7~8kHz frequency band can be put into ultra broadband continuously for frequency band and partly handle together.Wherein, narrow band signal partly is also referred to as core layer, be generally Code Excited Linear Prediction (CELP, Code-Excited Linear-Prediction) coding, and broadband/ultra-broadband signal partly uses transition coding, as the discrete cosine transform of revising (MDCT, Modified Discrete Cosine Transform), technology such as TCX.
It is fewer partly to can be used in the bit number that the ultra-broadband signal part signal encodes at ultra-broadband signal, usually can only encode to temporal envelope, spectrum envelope, these key parameters of partial spectrum coefficient of ultra-broadband signal part, carry out the bandwidth expansion in decoding end by these parameters then, the signal of reconstruct ultra-broadband signal part.
In research and practice process to prior art, the inventor finds that there is following problem in prior art:
Under the situation of ultra-broadband signal part resource-constrained, usually can only encode to temporal envelope, spectrum envelope, these key parameters of partial spectrum coefficient of ultra-broadband signal part, some other information, as the parameter such as harmonic interval, harmonic wave reference position that characterizes the harmonic structure feature has all been lost in cataloged procedure, can not recover the harmonic information that these describe the ultra-broadband signal part signal in decoding end, bring certain infringement can for final auditory effect.
Summary of the invention
The technical matters that the embodiment of the invention will solve provides a kind of coding method, coding/decoding method, system and device, can rebuild harmonic structure.
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of coding method on the one hand, comprising:
Obtain the characteristic information of harmonic structure by narrow band signal part Pitch Information;
The characteristic information of described harmonic structure is carried out quantization encoding, send to decoding end.
On the other hand, provide a kind of coding/decoding method, having comprised:
The characteristic information of the harmonic structure that the received code end sends;
According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
On the other hand, provide a kind of coding/decoding system, having comprised:
Coding side is used for obtaining by narrow band signal part Pitch Information the characteristic information of harmonic structure; The characteristic information of described harmonic structure is carried out quantization encoding, and send;
Decoding end is used for the characteristic information of described harmonic structure; According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
On the other hand, provide a kind of coding side, having comprised:
Acquiring unit is used for obtaining by narrow band signal part Pitch Information the characteristic information of harmonic structure;
Coding unit is used for the characteristic information of described harmonic structure is carried out quantization encoding;
Transmitting element is used for the characteristic information of the harmonic structure after decoding end sends described coding unit quantization encoding.
On the other hand, provide a kind of decoding end, having comprised:
Receiving element is used for the characteristic information of the harmonic structure that the received code end sends;
Reconfiguration unit is used for the characteristic information according to described harmonic structure, the voiced sound gain of narrow band signal part, the reconstruct harmonic structure.
As can be seen from the above technical solutions, in embodiments of the present invention, coding side obtains the characteristic information of harmonic structure according to the Pitch Information of narrow band signal part, and the characteristic information of harmonic structure sent to decoding end, make the decoding end can be according to the characteristic information reconstruct harmonic structure of harmonic structure, avoided and to have recovered harmonic structure in decoding end, the infringement of bringing for final auditory effect.
Description of drawings
Fig. 1 is coding method embodiment one process flow diagram provided by the invention;
Fig. 2 is coding/decoding method embodiment one process flow diagram provided by the invention;
Fig. 3 is coding method embodiment two process flow diagrams provided by the invention;
Fig. 4 is coding/decoding method embodiment two process flow diagrams provided by the invention;
Fig. 5 is coding method embodiment three process flow diagrams provided by the invention;
Fig. 6 is that a kind of coding/decoding system provided by the invention is implemented illustration;
Fig. 7 is that a kind of coding side provided by the invention is implemented illustration;
Fig. 8 is that a kind of decoding end provided by the invention is implemented illustration.
Embodiment
The embodiment of the invention provides a kind of coding method, coding/decoding method, system and device, can rebuild harmonic structure.
When strong harmonic structure has partly appearred in narrow band signal, also have clearly harmonic structure in ultra-broadband signal part, if can correctly reconstruct the harmonic structure of ultra-broadband signal part, auditory effect is had good lifting in decoding end.Because the signal of ultra-broadband signal part has carried out after the MDCT conversion, its harmonic structure just shows as periodic peak value at transform domain, if not limited by coding resource, all MDCT coefficient codings can be transferred to decoding end, just can keep the characteristic of this periodic peaks, thereby carry out accurately humorous reconstructed wave.But it is limited being generally used for the resource that ultra-broadband signal partly encodes, and this characteristic will be lost in the process of coding transmission.If can obtain the reference position of this group peak value in the MDCT coefficient and the periodicity of peak value appearance, just can be before decoding end be carried out the MDCT inverse transformation, MDCT coefficient to ad-hoc location is handled, the coefficient of handling is carried out the MDCT inverse transformation, reaching the purpose of more accurate reconstruct ultra-broadband signal fractional harmonic structure, and these certain location are just decided by reference position and cycle.In the embodiment of the invention, by extracting the characteristic information that characterizes ultra-broadband signal fractional harmonic structure: as harmonic interval and harmonic wave reference position, utilize these characteristic informations just can well reconstruct the harmonic structure of ultra-broadband signal part in decoding end, reach the purpose of bandwidth expansion, improve whole auditory effect.
At the core encoder layer is in the broadband/ultra broadband encoding and decoding speech system of CELP coding, and input signal has obtained the Pitch Information T of narrow band signal part through after the core layer CELP coding 0, the voiced sound gain G; The ultra-broadband signal of input signal has obtained one group of MDCT coefficient { y_swb (0), y_swb (1), Λ Λ, y_swb (319) } after partly having passed through the MDCT conversion.When input signal had tangible harmonic structure characteristic, its MDCT coefficient had and shows obvious periodic, and this one-period promptly is a harmonic interval.The pitch period T of narrow band signal part 0Can description roughly go out ultra-broadband signal harmonic interval partly, average magnitude difference function (AMDF, the Average Magnitude Difference Function) method that can pass through to simplify is at T 0Near the more accurate harmonic interval △ of ultra-broadband signal part that seeks.After having determined ultra-broadband signal fractional harmonic interval △, harmonic wave reference position P in the search ultra-broadband signal part MDCT coefficient in [0 △] scope.
In coding method provided by the invention, coding side obtains the characteristic information of harmonic structure by narrow band signal part Pitch Information; The characteristic information of described harmonic structure is carried out quantization encoding, send to decoding end.After receiving, decoding end can decode the reconstruct harmonic structure according to the characteristic information of described harmonic structure.
In coding/decoding method provided by the invention, the characteristic information of the harmonic structure that decoding end received code end sends; According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
Coding method embodiment one flow process provided by the invention is as shown in Figure 1:
Step 101, calculate the interval of harmonic interval by the Pitch Information of narrow band signal part.
Because the pitch period T of narrow band signal part 0Be known quantity, pitch period is T in time domain 0, be 1/T then at frequency domain 0, being transformed into the MDCT territory is 320/T 0, wherein 320 are and the number of the MDCT coefficient of 8kHz frequency range correspondence, the initial value that therefore can draw harmonic interval is △ 0=320/T 0
Fluctuation range with harmonic interval △ is ± △ ', because different environment for use, may cause △ ' difference, therefore △ ' is an empirical value that obtains according to practical experience, how many △ ' is in the former use experience, how many values is, and at this moment, the interval of harmonic interval △ can be expressed as Ω=[△ 0-△ ' △ 0+ △ '].
Step 102, interval, MDCT coefficient acquisition harmonic interval according to harmonic interval.
In interval Ω, find out the position △ of AMDF function minimum 1, promptly Δ 1 = arg k min k = Δ 0 - Δ ′ k = Δ 0 + Δ ′ ( D ( k ) ) , Wherein D ( k ) = Σ n = 0 320 - Δ 0 + Δ ′ | y _ swb ( n + k ) - y _ swb ( n ) | Be the AMDF function; Wherein, n is the serial number of MDCT coefficient, gets which MDCT coefficient, and n is several; The maximum occurrences of k is a Δ 0+ Δ ', the minimum value of k is △ 0-△ '.
In interval Ω, the AMDF functional integration is tried to achieve △ 2
By △ 1And △ 2Harmonic interval Δ=α * the △ of ultra-broadband signal part is tried to achieve in weighting 1+ (1-α) * △ 2
At some in particular cases, perhaps when not high, can directly use the pitch period T of narrow band signal part to accuracy requirement 0Harmonic interval △ as the ultra-broadband signal part.
Step 103, obtaining the harmonic structure reference position according to the position at first peak value place in harmonic interval and the spectral coefficient, also is the position that first harmonic wave of ultra-broadband signal part occurs.
With spectral coefficient is that the MDCT spectral coefficient is an example, the position P of peak value in the search MDCT coefficient in [0 △] 0, promptly P 0 = arg max k = 0 k = Δ ( y _ swb ( k ) ) ; This position is corresponding to P 1Individual harmonic wave, promptly P 1 = | | P 0 Δ | | , || || the expression bracket function;
Extrapolate the Position Approximate P that [0 △] interval interior first harmonic wave of ultra-broadband signal part occurs 2, i.e. P 2=P 0-P 1* △;
At [P 2-1 P 2+ 1] in the interval { y_swb (i) } quadratured, obtain ultra-broadband signal fractional harmonic structure reference position P.
Step 104, harmonic interval, harmonic structure reference position are carried out quantization encoding, and send.
With the N bit harmonic interval △ is carried out quantization encoding, harmonic structure reference position P is carried out quantization encoding with the M bit, with this two parts information as the transmission code stream transmission of packing.N can value be 3 in the present embodiment, and M can value be 7.
Coding method embodiment one provided by the invention, coding side obtains harmonic interval, harmonic structure reference position according to Pitch Information, the spectral coefficient of narrow band signal part, and harmonic interval, harmonic structure reference position sent to decoding end, make the decoding end can be according to harmonic interval, harmonic structure reference position reconstruct harmonic structure.
Need to prove that coding method embodiment one provided by the invention is equally applicable to narrow band signal part, broadband signal part.
Used coding method embodiment provided by the invention for the moment at coding side, coding/decoding method embodiment one flow process provided by the invention as shown in Figure 2:
Step 201, reception harmonic interval, harmonic structure reference position.
Decoding end is decoded from code stream and is obtained the voiced sound gain G of harmonic interval △, harmonic structure reference position P and narrow band signal part.
Step 202, according to the humorous reconstructed wave of voiced sound gain carrying out of harmonic interval, harmonic structure reference position and narrow band signal part.
Because continuous for frequency band, the signal in 7~8kHz frequency band can be put into ultra broadband and partly handle together, so need the reference position of the ultra-broadband signal fractional harmonic structure that calculates in this step, also be the reference position of the above harmonic structure of 7kHz.
According to harmonic interval, harmonic structure reference position, calculate the reference position P ' of the above harmonic structure of 7kHz.Because the P representative is the reference position of harmonic structure in the above signal of 8kHz, the number of the MDCT coefficient in this 1kHz frequency range of 7~8kHz is 40, so the reference position P ' of the above harmonic structure of 7kHz can use formulae express to be:
P′=P+40-||(P+40)/△||×△;
From P ' position, be to carry out humorous reconstructed wave as follows in the ultra-broadband signal part of 7kHz~14kHz at interval with △:
Filled by a number with random phase with the control of voiced sound gain G at the MDCT coefficient of P '+n * △ position, concrete fill method is: in P '+n * △ position y _ swb ( i ) = ( - 1 ) M * G * Δ * Q Wherein to 8~14kHz part, Q = 240 - i 240 , To 7~8kHz part Q=1, M is an integer at random.Wherein, n is the serial number of MDCT coefficient, gets which MDCT coefficient, and n is several.
Step 203, decode the ultra-broadband signal part signal of the harmonic structure that has been enhanced according to normal step.
Coding/decoding method embodiment one provided by the invention, when the harmonic interval of receiving the coding side transmission, harmonic structure reference position, can be according to harmonic interval, harmonic structure reference position reconstruct harmonic structure.
Need to prove that coding/decoding method embodiment one provided by the invention is equally applicable to narrow band signal part, broadband signal part.
Further, can also generate harmonic information, send to decoding end, so that decoding end can the reconstruct harmonic structure according to the Pitch Information of ultra-broadband signal part time-domain signal, narrow band signal part.
The present frame input signal has obtained the Pitch Information T of narrow band signal part through after the core layer CELP coding 0, the voiced sound gain G, the ultra-broadband signal part time-domain signal of present frame input signal is { y_hi (0), y_hi (1), Λ Λ, y_hi (319) }.When input signal when narrow band signal partly has tangible harmonic structure, its ultra-broadband signal part signal also can show obvious periodic, and the pitch period T of this one-period and narrow band signal part 0Very approaching, so the periodicity of representing the ultra-broadband signal part signal that can be similar to the pitch period of narrow band signal part.By this period T 0The harmonic structure that estimates the ultra-broadband signal part signal that can be similar to is in the reference position of frequency domain, but this estimation is more coarse, coarse harmonic structure reference position can cause occurring deviation accumulation when decoding end is carried out humorous reconstructed wave, and cause some should have the frequency position of harmonic structure to be left in the basket, make the harmonic structure of reconstruct produce deviation, damaged auditory perception.Therefore can be at known narrow band signal part pitch period T 0The basis on, partly find signal period T more accurately by the AMDF method at ultra-broadband signal, then be converted to harmonic structure start position information P in the MDCT coefficient this one-period, and send this information coding to demoder.Demoder just can be set up harmonic structure exactly according to this information in the MDCT coefficient, carry out humorous preferably reconstructed wave.
Coding method embodiment two flow processs provided by the invention are as shown in Figure 3:
Step 301, calculate the interval in ultra-broadband signal part signal cycle by the Pitch Information of narrow band signal part.
The interval of ultra-broadband signal part signal period T is: Ω=[T 0-α T 0+ α].
Wherein α is generally the fractional delay when carrying out the pitch period search, and value is α=1/3 usually.
Step 302, obtain the ultra-broadband signal part signal cycle according to the interval in ultra-broadband signal part signal cycle and ultra-broadband signal part time-domain signal.
In this interval Ω, find out ultra-broadband signal part signal period T, promptly by the AMDF function T = arg k min k = T 0 - α k = T 0 + α ( D ( k ) ) , Wherein D ( k ) = Σ n = 0 320 - T 0 - α | y _ hi ( n + k ) - y _ hi ( n ) | Be the AMDF function.Wherein, n is the serial number of MDCT coefficient, gets which MDCT coefficient, and n is several; The maximum occurrences of k is T 0+ α ', the minimum value of k is T 0-α.
Step 303, obtain the harmonic structure reference position according to the ultra-broadband signal part signal cycle.
Ultra-broadband signal part signal period T is converted into the reference position P of harmonic structure in spectral coefficient, promptly P = | | 16000 T × 25 | | , || || the expression bracket function.
Step 304, the harmonic structure reference position is carried out quantization encoding, and send.
With the M bit harmonic structure reference position P is carried out quantization encoding, with this part information as the transmission code stream transmission of packing.M can value be 7 in the present embodiment.
Coding method embodiment two provided by the invention, coding side obtains the harmonic structure reference position according to Pitch Information, the ultra-broadband signal part time-domain signal of narrow band signal part, and the harmonic structure reference position sent to decoding end, make the decoding end can be according to harmonic structure reference position reconstruct harmonic structure.
Need to prove that coding method embodiment two provided by the invention is equally applicable to narrow band signal part, broadband signal part.
When coding side has used coding method embodiment two provided by the invention, coding/decoding method embodiment two flow processs provided by the invention as shown in Figure 4:
Step 401, reception harmonic structure reference position.
Decoding end is decoded from code stream and is obtained narrow band signal part pitch period T 0, harmonic structure reference position P, voiced sound gain G.
Step 402, according to the humorous reconstructed wave of voiced sound gain carrying out of harmonic structure reference position, narrow band signal part pitch period and narrow band signal part.
Since for frequency band continuous, signal in 7~8kHz frequency band can be put into ultra broadband partly handles together, therefore needing the ultra-broadband signal fractional harmonic interval that calculates, the reference position of harmonic structure in this step, also is the reference position of the above harmonic interval of 7kHz, harmonic structure.
According to narrow band signal part pitch period T 0, calculate the above harmonic interval of 7kHz: △=320/T 0Again according to the above harmonic interval △ of 7kHz, the harmonic structure reference position P, the voiced sound gain G that calculate, reconstruct harmonic structure.
According to the above harmonic interval △ of 7kHz, harmonic structure reference position P, calculate the reference position of the above harmonic structure of 7kHz: P '=P+40-|| (P+40)/△ || * △;
From P ' position, be to carry out humorous reconstructed wave as follows in the ultra-broadband signal part of 7kHz~14kHz at interval with △:
Filled by a number with random phase with the control of voiced sound gain G at the MDCT coefficient of P '+n * △ position, concrete fill method is: in P '+n * △ position y _ swb ( i ) = ( - 1 ) M * G * Δ * Q Wherein to 8~14kHz part, Q = 240 - i 240 , To 7~8kHz part Q=1, M is an integer at random.
Step 403, decode the ultra-broadband signal part signal of the harmonic structure that has been enhanced according to normal step.
Coding/decoding method embodiment two provided by the invention, when the harmonic interval of receiving the coding side transmission, harmonic structure reference position, can be according to harmonic interval, harmonic structure reference position reconstruct harmonic structure.
Need to prove that coding/decoding method embodiment two provided by the invention is equally applicable to narrow band signal part, broadband signal part.
Further, can also generate harmonic information, send to decoding end, so that decoding end can the reconstruct harmonic structure according to the ultra-broadband signal part time-domain signal of narrow band signal Pitch Information, present frame and former frame partly.
The present frame input signal has obtained the Pitch Information T of arrowband part through after the core layer CELP coding 0The voiced sound gain G, the ultra broadband part time-domain signal of present frame input signal is { y_hi (0), y_hi (1), Λ Λ, y_hi (319) }, the ultra broadband part time-domain signal that is kept at the previous frame signal in the code registers is { y_old_hi (0), y_old_hi (1), Λ Λ, y_old_hi (319) }.
Coding method embodiment three flow processs provided by the invention are as shown in Figure 5:
Step 501, calculate the interval in ultra-broadband signal part signal cycle by the Pitch Information of narrow band signal part.
Ultra broadband part signal period T between the location is: Ω=[T 0-α T 0+ α].
Wherein α is generally the fractional delay when carrying out the pitch period search, and value is α=1/3 usually.
The ultra-broadband signal part time-domain signal of step 502, the interval according to the ultra-broadband signal part signal cycle, present frame and former frame obtains the ultra-broadband signal part signal cycle.
Find out ultra broadband part signal period T by the AMDF function in this interval Ω, ultra broadband part signal period T can make and be formulated as this moment:
T = arg k min k = T 0 - α k = T 0 + α ( D ( k ) ) ;
Wherein D ( k ) = Σ n = 0 640 - T 0 - α | y ( n + k ) - y ( n ) | Be the AMDF function;
Wherein, n is the serial number of ultra broadband part time-domain signal, gets which ultra broadband part time-domain signal, and n is several; The maximum occurrences of k is T 0+ α ', the minimum value of k is T 0-α.
y(n)={y_old_hi(0),y_old_hi(1),ΛΛ,y_old_hi(319),y_hi(0),y_hi(1),ΛΛ,y_hi(319)}
Step 503, obtain the harmonic structure reference position according to the ultra-broadband signal part signal cycle.
It is the reference position P of harmonic structure in the MDCT coefficient that the ultra broadband part signal cycle is transformed T, and harmonic structure reference position P can make and be formulated as this moment:
P = | | 16000 T × 25 | | , || || the expression bracket function.
Step 504, the harmonic structure reference position is carried out quantization encoding, and send.
With the M bit harmonic structure reference position P is carried out quantization encoding, with this part information as the transmission code stream transmission of packing.M can value be 7 in the present embodiment.
Coding method embodiment three provided by the invention, coding side obtains the harmonic structure reference position according to the ultra-broadband signal part time-domain signal of Pitch Information, present frame and the former frame of narrow band signal part, and the harmonic structure reference position sent to decoding end, make the decoding end can be according to harmonic structure reference position reconstruct harmonic structure.
Need to prove that coding method embodiment three provided by the invention is equally applicable to narrow band signal part, broadband signal part.
When coding side had used coding method embodiment three provided by the invention, decoding end can use coding/decoding method embodiment two provided by the invention to carry out humorous reconstructed wave.
The method embodiment of encoding and decoding harmonic information provided by the invention comprises:
At coding side, obtain the characteristic information of harmonic structure by narrow band signal part Pitch Information;
The characteristic information of described harmonic structure is carried out quantization encoding, send to decoding end.
In decoding end, the characteristic information of the harmonic structure that the received code end sends;
According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises the steps: when carrying out
A kind of coding method comprises:
Obtain the characteristic information of harmonic structure by narrow band signal part Pitch Information;
The characteristic information of described harmonic structure is carried out quantization encoding, send to decoding end.
A kind of coding/decoding method comprises:
The characteristic information of the harmonic structure that the received code end sends;
According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
The above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
A kind of coding/decoding system embodiment provided by the invention comprises as shown in Figure 6:
Coding side 601 is used for obtaining by narrow band signal part Pitch Information the characteristic information of harmonic structure; The characteristic information of described harmonic structure is carried out quantization encoding, and send;
Decoding end 602 is used to receive the characteristic information of described harmonic structure; According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
Use a kind of coding/decoding system embodiment provided by the invention, coding side according to the Pitch Information of narrow band signal part, obtain the characteristic information of harmonic structure, and the characteristic information of harmonic structure sent to decoding end, make the decoding end can be according to the characteristic information reconstruct harmonic structure of harmonic structure.
A kind of coding side embodiment provided by the invention comprises as shown in Figure 7:
Acquiring unit 710 is used for obtaining by narrow band signal part Pitch Information the characteristic information of harmonic structure;
Coding unit 720 is used for the characteristic information of described harmonic structure is carried out quantization encoding;
Transmitting element 720 is used for the characteristic information of the harmonic structure after decoding end sends described coding unit 720 quantization encodings.
Characteristic information at described harmonic structure comprises: when harmonic interval, harmonic structure reference position;
Described acquiring unit 710 comprises:
First harmonic is unit 711 at interval, is used for obtaining harmonic interval by the pitch period of narrow band signal part;
First start bit is put unit 712, is used for obtaining the harmonic structure reference position in the position at first peak value place of discrete cosine transform coefficient of the harmonic interval that obtains of unit and correction at interval according to described first harmonic.
Wherein, described first harmonic comprises unit 711 at interval:
Second harmonic is unit 711a at interval, is used for described pitch period as described harmonic interval; And/or,
Third harmonic is unit 711b at interval, is used for calculating by the pitch period of narrow band signal part the interval of described harmonic interval, obtains described harmonic interval according to the interval of harmonic interval, the discrete cosine transform coefficient of correction.
Characteristic information at described harmonic structure comprises: during the harmonic structure reference position;
Described acquiring unit 710 comprises:
The interval unit 713 of signal period is used for calculating by described Pitch Information the interval of signal period;
Signal period unit 714 is used for interval and time domain signal picked up signal cycle according to the described signal period;
The second reference position unit 715 is used for obtaining the harmonic structure reference position according to the signal period.
A kind of decoding end embodiment provided by the invention comprises as shown in Figure 8:
Receiving element 810 is used for the characteristic information of the harmonic structure that the received code end sends;
Reconfiguration unit 820 is used for the characteristic information according to described harmonic structure, the voiced sound gain of narrow band signal part, the reconstruct harmonic structure.
Characteristic information at described harmonic structure comprises: when harmonic interval, harmonic structure reference position;
Described reconfiguration unit 820 comprises:
The 3rd reference position unit 821 is used for the reference position according to described harmonic interval, harmonic structure reference position acquisition ultra-broadband signal fractional harmonic structure;
First reconfiguration unit 822 is used for according to the reference position of described ultra-broadband signal fractional harmonic structure, described harmonic interval, the gain of described voiced sound, reconstruct harmonic structure.
Characteristic information at described harmonic structure comprises: during the harmonic structure reference position;
Described reconfiguration unit 820 comprises:
The 4th harmonic interval unit 823 is used for according to narrow band signal part pitch period, obtains the ultra-broadband signal fractional harmonic at interval;
Second reconfiguration unit 824 is used for according to described ultra-broadband signal fractional harmonic interval, the reference position of described harmonic structure, the gain of described voiced sound, reconstruct harmonic structure.
The coding side that the embodiment of the invention provides, decoding end embodiment, concrete working method can no longer repeat at this with reference to above to coding method provided by the invention, coding/decoding method embodiment.
In coding/decoding system embodiment provided by the invention, coding side, decoding end embodiment, coding side obtains the characteristic information of harmonic structure according to the Pitch Information of narrow band signal part, and the characteristic information of harmonic structure sent to decoding end, make the decoding end can be according to the characteristic information reconstruct harmonic structure of harmonic structure, avoided and to have recovered harmonic structure in decoding end, the infringement of bringing for final auditory effect.
More than a kind of coding method provided by the present invention, coding/decoding method, system and device are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1, a kind of coding method is characterized in that, comprising:
Obtain the characteristic information of harmonic structure by narrow band signal part Pitch Information;
The characteristic information of described harmonic structure is carried out quantization encoding, send to decoding end.
2, coding method as claimed in claim 1 is characterized in that, the characteristic information of described harmonic structure comprises: harmonic interval, harmonic structure reference position;
The described characteristic information that obtains harmonic structure by narrow band signal part Pitch Information comprises:
Pitch period by the narrow band signal part obtains harmonic interval;
Position according to first peak value place in the discrete cosine transform coefficient of harmonic interval and correction obtains the harmonic structure reference position.
3, coding method as claimed in claim 2 is characterized in that, described pitch period by the narrow band signal part obtains harmonic interval and comprises:
With described pitch period as described harmonic interval; Perhaps,
Calculate the interval of described harmonic interval by the pitch period of narrow band signal part, obtain described harmonic interval according to the interval of harmonic interval, the discrete cosine transform coefficient of correction.
4, coding method as claimed in claim 1 is characterized in that, the characteristic information of described harmonic structure comprises: the harmonic structure reference position;
The described characteristic information that obtains harmonic structure by narrow band signal part Pitch Information comprises:
Calculate the interval of signal period by described Pitch Information;
According to interval and the time domain signal picked up signal cycle of described signal period;
According to signal period acquisition harmonic structure reference position.
5, coding method as claimed in claim 4 is characterized in that, described time-domain signal comprises: present frame time-domain signal or present frame and former frame time-domain signal.
6, a kind of coding/decoding method is characterized in that, comprising:
The characteristic information of the harmonic structure that the received code end sends;
According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
7, coding/decoding method as claimed in claim 6 is characterized in that, the characteristic information of described harmonic structure comprises: harmonic interval, harmonic structure reference position;
The voiced sound gain of described characteristic information, narrow band signal part according to described harmonic structure, the reconstruct harmonic structure comprises:
Obtain the reference position of ultra-broadband signal fractional harmonic structure according to described harmonic interval, harmonic structure reference position;
According to the reference position of described ultra-broadband signal fractional harmonic structure, described harmonic interval, the gain of described voiced sound, reconstruct harmonic structure.
8, coding/decoding method as claimed in claim 6 is characterized in that, the characteristic information of described harmonic structure comprises: the harmonic structure reference position;
The voiced sound gain of described characteristic information, narrow band signal part according to described harmonic structure, the reconstruct harmonic structure comprises:
According to narrow band signal part pitch period, obtain the ultra-broadband signal fractional harmonic at interval;
According to described ultra-broadband signal fractional harmonic interval, the reference position of described harmonic structure, the gain of described voiced sound, reconstruct harmonic structure.
9, a kind of coding/decoding system is characterized in that, comprising:
Coding side is used for obtaining by narrow band signal part Pitch Information the characteristic information of harmonic structure; The characteristic information of described harmonic structure is carried out quantization encoding, and send;
Decoding end is used to receive the characteristic information of described harmonic structure; According to the characteristic information of described harmonic structure, the voiced sound gain of narrow band signal part, reconstruct harmonic structure.
10, a kind of coding side is characterized in that, comprising:
Acquiring unit is used for obtaining by narrow band signal part Pitch Information the characteristic information of harmonic structure;
Coding unit is used for the characteristic information of described harmonic structure is carried out quantization encoding;
Transmitting element is used for the characteristic information of the harmonic structure after decoding end sends described coding unit quantization encoding.
11, coding side as claimed in claim 10 is characterized in that, the characteristic information of described harmonic structure comprises: harmonic interval, harmonic structure reference position;
Described acquiring unit comprises:
First harmonic is the unit at interval, is used for obtaining harmonic interval by the pitch period of narrow band signal part;
First start bit is put the unit, is used for obtaining the harmonic structure reference position in the position at first peak value place of discrete cosine transform coefficient of the harmonic interval that obtains of unit and correction at interval according to described first harmonic.
12, coding side as claimed in claim 11 is characterized in that, described first harmonic comprises the unit at interval:
Second harmonic is the unit at interval, is used for described pitch period as described harmonic interval; And/or,
Third harmonic is the unit at interval, is used for calculating by the pitch period of narrow band signal part the interval of described harmonic interval, obtains described harmonic interval according to the interval of harmonic interval, the discrete cosine transform coefficient of correction.
13, coding side as claimed in claim 10 is characterized in that, the characteristic information of described harmonic structure comprises: the harmonic structure reference position;
Described acquiring unit comprises:
The interval unit of signal period is used for calculating by described Pitch Information the interval of signal period;
The signal period unit is used for interval and time domain signal picked up signal cycle according to the described signal period;
The second reference position unit, the signal period that is used for obtaining according to unit of described signal period obtains the harmonic structure reference position.
14, a kind of decoding end is characterized in that, comprising:
Receiving element is used for the characteristic information of the harmonic structure that the received code end sends;
Reconfiguration unit is used for the characteristic information according to described harmonic structure, the voiced sound gain of narrow band signal part, the reconstruct harmonic structure.
15, decoding end as claimed in claim 14 is characterized in that, the characteristic information of described harmonic structure comprises: harmonic interval, harmonic structure reference position;
Described reconfiguration unit comprises:
The 3rd reference position unit is used for the reference position according to described harmonic interval, harmonic structure reference position acquisition ultra-broadband signal fractional harmonic structure;
First reconfiguration unit is used for according to the reference position of described ultra-broadband signal fractional harmonic structure, described harmonic interval, the gain of described voiced sound, reconstruct harmonic structure.
16, decoding end as claimed in claim 14 is characterized in that, the characteristic information of described harmonic structure comprises: the harmonic structure reference position;
Described reconfiguration unit comprises:
The 4th harmonic interval unit is used for according to narrow band signal part pitch period, obtains the ultra-broadband signal fractional harmonic at interval;
Second reconfiguration unit is used for according to described ultra-broadband signal fractional harmonic interval, the reference position of described harmonic structure, the gain of described voiced sound, reconstruct harmonic structure.
CNA2008100898635A 2008-04-03 2008-04-03 Encoding method, decoding method, system and device Pending CN101552005A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNA2008100898635A CN101552005A (en) 2008-04-03 2008-04-03 Encoding method, decoding method, system and device
PCT/CN2009/071123 WO2009121298A1 (en) 2008-04-03 2009-04-01 A coding method, decoding method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100898635A CN101552005A (en) 2008-04-03 2008-04-03 Encoding method, decoding method, system and device

Publications (1)

Publication Number Publication Date
CN101552005A true CN101552005A (en) 2009-10-07

Family

ID=41134846

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100898635A Pending CN101552005A (en) 2008-04-03 2008-04-03 Encoding method, decoding method, system and device

Country Status (2)

Country Link
CN (1) CN101552005A (en)
WO (1) WO2009121298A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257564A (en) * 2009-10-21 2011-11-23 松下电器产业株式会社 Audio encoding apparatus, decoding apparatus, method, circuit and program
CN106847303A (en) * 2012-03-29 2017-06-13 瑞典爱立信有限公司 The bandwidth expansion of harmonic wave audio signal
CN107533847A (en) * 2015-03-09 2018-01-02 弗劳恩霍夫应用研究促进协会 Audio coder, audio decoder, the method for coded audio signal and the method for decoding encoded audio signal
CN107591157A (en) * 2012-03-29 2018-01-16 瑞典爱立信有限公司 Transition coding/decoding of harmonic wave audio signal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254221A (en) * 1998-10-13 2000-05-24 皇家菲利浦电子有限公司 Method and device for producing wide-band signal based on narrow-band signal and its technical equipment
CN1455390A (en) * 2002-04-30 2003-11-12 Lg电子株式会社 Apparatus and method for estimating harmonic wave of sound coder
CN101044553A (en) * 2004-10-28 2007-09-26 松下电器产业株式会社 Scalable encoding apparatus, scalable decoding apparatus, and methods thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09237100A (en) * 1996-02-29 1997-09-09 Matsushita Electric Ind Co Ltd Voice coding and decoding device
US6119082A (en) * 1998-07-13 2000-09-12 Lockheed Martin Corporation Speech coding system and method including harmonic generator having an adaptive phase off-setter
KR100462611B1 (en) * 2002-06-27 2004-12-20 삼성전자주식회사 Audio coding method with harmonic extraction and apparatus thereof.
CN101800049B (en) * 2003-09-16 2012-05-23 松下电器产业株式会社 Coding apparatus and decoding apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254221A (en) * 1998-10-13 2000-05-24 皇家菲利浦电子有限公司 Method and device for producing wide-band signal based on narrow-band signal and its technical equipment
CN1455390A (en) * 2002-04-30 2003-11-12 Lg电子株式会社 Apparatus and method for estimating harmonic wave of sound coder
CN101044553A (en) * 2004-10-28 2007-09-26 松下电器产业株式会社 Scalable encoding apparatus, scalable decoding apparatus, and methods thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257564A (en) * 2009-10-21 2011-11-23 松下电器产业株式会社 Audio encoding apparatus, decoding apparatus, method, circuit and program
US8886548B2 (en) 2009-10-21 2014-11-11 Panasonic Corporation Audio encoding device, decoding device, method, circuit, and program
CN106847303A (en) * 2012-03-29 2017-06-13 瑞典爱立信有限公司 The bandwidth expansion of harmonic wave audio signal
CN107591157A (en) * 2012-03-29 2018-01-16 瑞典爱立信有限公司 Transition coding/decoding of harmonic wave audio signal
CN107591157B (en) * 2012-03-29 2020-12-22 瑞典爱立信有限公司 Transform coding/decoding of harmonic audio signals
CN107533847A (en) * 2015-03-09 2018-01-02 弗劳恩霍夫应用研究促进协会 Audio coder, audio decoder, the method for coded audio signal and the method for decoding encoded audio signal
CN107533847B (en) * 2015-03-09 2021-09-10 弗劳恩霍夫应用研究促进协会 Audio encoder and audio decoder and corresponding methods

Also Published As

Publication number Publication date
WO2009121298A1 (en) 2009-10-08

Similar Documents

Publication Publication Date Title
KR101940742B1 (en) Audio decoder and method for providing a decoded audio information using an error concealment modifying a time domain excitation signal
KR101854297B1 (en) Audio decoder and method for providing a decoded audio information using an error concealment based on a time domain excitation signal
KR101147878B1 (en) Coding and decoding methods and devices
JP4489959B2 (en) Speech synthesis method and speech synthesizer for synthesizing speech from pitch prototype waveform by time synchronous waveform interpolation
KR101853352B1 (en) Apparatus and method for encoding and decoding an audio signal using an aligned look-ahead portion
EP1273005A1 (en) Wideband speech codec using different sampling rates
MX2011000363A (en) Device and method for quantizing and inverse quantizing lpc filters in a super-frame.
JP6607921B2 (en) Budget determination for LPD / FD transition frame encoding
CN105723457A (en) Transition from a transform coding/decoding to a predictive coding/decoding
CN101552005A (en) Encoding method, decoding method, system and device
KR102426050B1 (en) Pitch Delay Selection
Tang et al. Fixed bit-rate PWI speech coding with variable frame length

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20091007