[go: up one dir, main page]

CN106297814A - Speech signal processing apparatus and speech signal processing method - Google Patents

Speech signal processing apparatus and speech signal processing method Download PDF

Info

Publication number
CN106297814A
CN106297814A CN201510294353.1A CN201510294353A CN106297814A CN 106297814 A CN106297814 A CN 106297814A CN 201510294353 A CN201510294353 A CN 201510294353A CN 106297814 A CN106297814 A CN 106297814A
Authority
CN
China
Prior art keywords
sampling point
frequency signal
value
signal frame
sampling
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
CN201510294353.1A
Other languages
Chinese (zh)
Other versions
CN106297814B (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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201510294353.1A priority Critical patent/CN106297814B/en
Publication of CN106297814A publication Critical patent/CN106297814A/en
Application granted granted Critical
Publication of CN106297814B publication Critical patent/CN106297814B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention provides a voice signal processing device and a voice signal processing method. The first sampling point in the mth original frequency-down signal frame, which is phase-matched with the sampling point corresponding to the phase reference sampling point number, is determined according to the phase reference sampling point number corresponding to the middle sampling point of the (m-1) th updated frequency-down signal frame in the (m-1) th original frequency-down signal frame. The continuous q sampling points from the first sampling point are used as the sampling points of the mth updated down-converted signal frame, so that when the sampled voice signal is further down-converted (for example, the frequency is reduced to one fourth), the signal distortion caused by phase mismatch when the signal frames are overlapped can be effectively improved.

Description

语音信号处理装置及语音信号处理方法Speech signal processing device and speech signal processing method

技术领域technical field

本发明是有关于一种信号处理装置,且特别是有关于一种语音信号处理装置及语音信号处理方法。The present invention relates to a signal processing device, and in particular to a voice signal processing device and a voice signal processing method.

背景技术Background technique

一般对于听障人士来说,其往往无法清楚地接收较高频的语音信号,例如子音信号,但对于低频的信号却可以清楚地听到。一般现有技术为通过将高频的语音信号进行降频,并将信号框进行重叠,以解决此问题。在对信号进行降频后,由于时间长度变长,连续的两个取样信号之间的信号值需利用内插的方式来求得。由于声音信号的特性比较接近弦波,若以一般算数平均的方式来求取内插的信号值,往往会使得降频后的信号出现信号失真的情形。此外,现有技术在进行信号框的重叠动作时,并不会考虑其相位是否匹配,因此在重叠处将出现一部分信号相加、一部分信号相减的情形,进而造成信号的失真,且随着降频的幅度越大失真的情形将越严重。Generally, hearing-impaired people often cannot clearly receive higher-frequency speech signals, such as consonant signals, but can clearly hear low-frequency signals. Generally, the prior art solves this problem by reducing the frequency of the high-frequency voice signal and overlapping the signal frames. After the signal is down-frequency, since the time length becomes longer, the signal value between two consecutive sampling signals needs to be obtained by means of interpolation. Since the characteristics of the sound signal are relatively close to the sine wave, if the interpolated signal value is obtained by the general arithmetic mean method, the signal after frequency reduction will often be distorted. In addition, the existing technology does not consider whether the phases of the signal frames are matched when performing the overlapping action of the signal frame. Therefore, a part of the signal will be added and a part of the signal will be subtracted at the overlap, which will cause signal distortion. The greater the frequency reduction, the more serious the distortion will be.

发明内容Contents of the invention

本发明提供一种语音信号处理装置及语音信号处理方法,在对取样语音信号做进一步的降频时,仍可有效地改善信号框重叠时相位不匹配所导致的信号失真情形。The present invention provides a speech signal processing device and a speech signal processing method, which can effectively improve signal distortion caused by phase mismatch when signal frames overlap when further down-converting the sampled speech signal.

本发明的语音信号处理装置包括处理单元,其用以降频取样语音信号,以产生包括一序列的原始降频信号框的降频信号,并依据原始降频信号框产生对应的更新降频信号框,其中各原始降频信号框包括p个取样点。处理单元还依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的相位基准取样点编号决定在第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点,将从与相位基准取样点编号对应的取样点相位匹配的第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点,并混叠相邻的更新降频信号框,以产生交叠语音信号,其中相位基准取样点编号为在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的取样点的编号,p、q为正整数、m为大于1的正整数。The speech signal processing device of the present invention includes a processing unit, which is used to down-sample the speech signal to generate a down-frequency signal including a sequence of original down-frequency signal frames, and generate corresponding updated down-frequency signal frames according to the original down-frequency signal frames , wherein each original down-frequency signal frame includes p sampling points. The processing unit also determines the m-th original down-frequency signal frame according to the phase reference sampling point number corresponding to the middle sampling point of the m-1th update down-frequency signal frame in the m-1th original down-frequency signal frame The first sampling point that matches the phase of the sampling point corresponding to the phase reference sampling point number, and the continuous q sampling points from the first sampling point that matches the phase of the sampling point corresponding to the phase reference sampling point number are taken as the mth Update the sampling point of the down-frequency signal frame, and alias the adjacent updated down-frequency signal frame to generate an overlapping voice signal, wherein the phase reference sampling point number is in the m-1th original down-frequency signal frame and the mth -1 serial number of the sampling point corresponding to the middle sampling point of the update down-frequency signal frame, p and q are positive integers, and m is a positive integer greater than 1.

在本发明的一实施例中,上述降频信号的频率为取样语音信号的四分之一,各更新降频信号框的长度等于各原始降频信号框的长度的二分之一。In an embodiment of the present invention, the frequency of the above-mentioned down-frequency signal is 1/4 of the sampled speech signal, and the length of each updated down-frequency signal frame is equal to 1/2 of the length of each original down-frequency signal frame.

在本发明的一实施例中,上述相邻两个更新降频信号框分别具有50%的重叠区段。In an embodiment of the present invention, the two adjacent updated down-frequency signal frames respectively have 50% overlapping sections.

在本发明的一实施例中,上述处理单元还依据第m个原始降频信号框中取样点的取样值累计第一计数值以及第二计数值,其中当计数至对应取样值为0的取样点或与取样值为0的取样点相邻的至少一取样点时,归零第一计数值或第二计数值。处理单元将第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值或第二计数值作为基准值,并依据基准值决定第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点。In an embodiment of the present invention, the above-mentioned processing unit also accumulates the first count value and the second count value according to the sampling value of the sampling point in the m-th original down-frequency signal frame, wherein when counting to a sample whose corresponding sampling value is 0 point or at least one sampling point adjacent to the sampling point whose sampling value is 0, reset the first count value or the second count value to zero. The processing unit takes the first count value or the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame as a reference value, and determines the m-th original down-frequency signal according to the reference value The first sample point in the frame that matches the phase of the sample point corresponding to the phase reference sample point number.

在本发明的一实施例中,上述处理单元还判断第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值是否小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值。若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值作为基准值,并将第m个原始降频信号框中第一计数值等于基准值时所对应的取样点中最早取样的取样点作为第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点,若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值未小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值作为基准值,并将第m个原始降频信号框中第二计数值等于基准值时所对应的取样点中最早取样的取样点作为第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点。In an embodiment of the present invention, the processing unit further judges whether the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is less than or equal to the m-1th The second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the original down-frequency signal frame. If the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is less than or equal to the value corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame For the second count value corresponding to the sampling point, the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is used as a reference value, and the m-th original down-frequency When the first count value in the down-frequency signal frame is equal to the reference value, the earliest sampled sample point is used as the first sample of the phase matching of the sample point corresponding to the phase reference sample point number in the m-th original down-frequency signal frame point, if the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is not less than or equal to the phase reference sampling point in the m-1th original down-frequency signal frame For the second count value corresponding to the sampling point corresponding to the serial number, the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is used as a reference value, and the m-th The earliest sampled sampling point among the corresponding sampling points when the second count value in the first down-frequency signal frame is equal to the reference value is used as the phase-matched sampling point corresponding to the phase reference sampling point number in the m-th original down-frequency signal frame. a sampling point.

在本发明的一实施例中,上述处理单元还将降频信号乘以一汉明窗。In an embodiment of the present invention, the processing unit further multiplies the down-frequency signal by a Hamming window.

在本发明的一实施例中,上述处理单元带依据各原始降频信号框中连续的三个取样值计算与各原始降频信号框对应的内插参数函数的值,并依据各原始降频信号框对应的内插参数函数的值计算各原始降频信号框中相邻两取样点间的内插值。In an embodiment of the present invention, the above-mentioned processing unit calculates the value of the interpolation parameter function corresponding to each original down-frequency signal frame according to three consecutive sampling values in each original down-frequency signal frame, and calculates the value of the interpolation parameter function corresponding to each original down-frequency signal frame, and The value of the interpolation parameter function corresponding to the signal frame calculates the interpolation value between two adjacent sampling points in each original down-frequency signal frame.

在本发明的一实施例中,上述处理单元还判断内插参数函数的值是否小于上限值且大于等于下限值,若内插参数函数的值未小于上限值或未大于等于下限值,修正内插参数函数的值,其中若内插参数函数的值大于等于上限值,将内插参数函数的值修正为上限值,若内插参数函数的值小于下限值,将内插参数函数的值修正为下限值。In an embodiment of the present invention, the processing unit further judges whether the value of the interpolation parameter function is less than the upper limit and greater than or equal to the lower limit, if the value of the interpolation parameter function is not less than the upper limit or not greater than or equal to the lower limit Value, modify the value of the interpolation parameter function, if the value of the interpolation parameter function is greater than or equal to the upper limit value, the value of the interpolation parameter function will be corrected to the upper limit value, if the value of the interpolation parameter function is less than the lower limit value, it will be The value of the interpolation parameter function is corrected to the lower limit value.

在本发明的一实施例中,上述取样语音信号为通过取样原始语音信号而产生,上限值与下限值关联于原始语音信号的频率与取样该原始语音信号的取样频率。In an embodiment of the present invention, the above-mentioned sampled speech signal is generated by sampling the original speech signal, and the upper limit and the lower limit are associated with the frequency of the original speech signal and the sampling frequency of sampling the original speech signal.

在本发明的一实施例中,上述处理单元还依据各原始降频信号框中连续的三个取样值间的三角函数关系计算各原始降频信号框对应的内插参数函数,其中内插参数函数为三角函数。In an embodiment of the present invention, the above-mentioned processing unit also calculates the interpolation parameter function corresponding to each original down-frequency signal frame according to the trigonometric function relationship between three consecutive sampling values in each original down-frequency signal frame, wherein the interpolation parameter The function is a trigonometric function.

本发明的语音信号处理方法包括下列步骤。降频取样语音信号,以产生包括一序列的原始降频信号框的降频信号,其中各原始降频信号框包括p个取样点,其中p为正整数。依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的相位基准取样点编号决定在第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点,其中m为大于1的正整数,相位基准取样点编号为在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的取样点的编号。将从与相位基准取样点编号对应的取样点相位匹配的第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点,其中q为正整数。混叠相邻的更新降频信号框,以产生交叠语音信号。The speech signal processing method of the present invention includes the following steps. The speech signal is down-sampled to generate a down-frequency signal including a sequence of original down-frequency signal frames, wherein each original down-frequency signal frame includes p sampling points, where p is a positive integer. According to the phase reference sampling point number corresponding to the middle sampling point in the m-1th original down-frequency signal frame and the m-1th updated down-frequency signal frame The first sampling point of the phase matching of the sampling point corresponding to the sampling point number, where m is a positive integer greater than 1, and the phase reference sampling point number is in the m-1th original down-frequency signal frame and the m-1th update The number of the sampling point corresponding to the middle sampling point of the down-frequency signal frame. The continuous q sampling points starting from the first sampling point phase-matched with the sampling point number corresponding to the phase reference sampling point number are taken as the sampling points of the mth update down-frequency signal frame, where q is a positive integer. Adjacent frames of the updated down-converted signal are aliased to produce an overlapping speech signal.

在本发明的一实施例中,上述降频信号的频率为取样语音信号的四分之一,各更新降频信号框的长度等于各原始降频信号框的长度的二分之一。In an embodiment of the present invention, the frequency of the above-mentioned down-frequency signal is 1/4 of the sampled speech signal, and the length of each updated down-frequency signal frame is equal to 1/2 of the length of each original down-frequency signal frame.

在本发明的一实施例中,上述相邻两个更新降频信号框分别具有50%的重叠区段。In an embodiment of the present invention, the two adjacent updated down-frequency signal frames respectively have 50% overlapping sections.

在本发明的一实施例中,上述依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的相位基准取样点编号决定在第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点的步骤包括下列步骤:依据第m个原始降频信号框中取样点的取样值累计第一计数值以及第二计数值,其中当计数至对应取样值为0的取样点或与取样值为0的取样点相邻的至少一取样点时,归零其对应的第一计数值或第二计数值。将第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值或第二计数值作为基准值。依据基准值决定第m个原始降频信号框中与相位基准取样点编号对应的取样点的相位匹配的第一个取样点。In an embodiment of the present invention, the m-th is determined based on the phase reference sampling point number corresponding to the middle sampling point of the (m-1)th updated down-frequency signal frame in the (m-1)th original down-frequency signal frame. The step of the first sampling point phase-matched with the sampling point corresponding to the phase reference sampling point number in the first down-frequency signal frame comprises the following steps: accumulating the first count according to the sampling value of the sampling point in the m-th original down-frequency signal frame value and a second count value, wherein when counting to a sampling point corresponding to a sampling value of 0 or at least one sampling point adjacent to a sampling point with a sampling value of 0, the corresponding first counting value or second counting value is reset to zero value. The first count value or the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame is used as the reference value. The first sampling point of the phase matching of the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame is determined according to the reference value.

在本发明的一实施例中,上述将第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值或第二计数值作为基准值的步骤包括下列步骤:判断第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值是否小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值。若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值作为基准值。若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值未小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值作为基准值。In an embodiment of the present invention, the above-mentioned step of using the first count value or the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame as a reference value includes the following steps : Determine whether the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is less than or equal to the phase reference sampling point number in the m-1th original down-frequency signal frame The second count value corresponding to the corresponding sampling point. If the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is less than or equal to the value corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame For the second count value corresponding to the sampling point, the first count value corresponding to the sampling point corresponding to the number of the phase reference sampling point in the m-1th original down-frequency signal frame is used as a reference value. If the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is not less than or equal to the phase reference sampling point number corresponding to the m-1th original down-frequency signal frame The second count value corresponding to the sampling point of , the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is used as the reference value.

在本发明的一实施例中,若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,上述语音信号处理方法包括:将第m个原始降频信号框中第一计数值等于基准值时所对应的取样点中最早取样的取样点作为第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点。In an embodiment of the present invention, if the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is less than or equal to the m-1th original down-frequency signal frame In the second count value corresponding to the sampling point corresponding to the phase reference sampling point number, the above-mentioned speech signal processing method includes: in the sampling point corresponding to the first count value in the mth original down-frequency signal frame when it is equal to the reference value The earliest sampled sampling point is used as the first sampling point for phase matching of the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame.

在本发明的一实施例中,若第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值未小于等于第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,上述语音信号处理方法包括:将第m个原始降频信号框中第二计数值等于基准值时所对应的取样点中最早取样的取样点作为第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点。In an embodiment of the present invention, if the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame is not less than or equal to the phase number in the m-th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the reference sampling point number, the above-mentioned speech signal processing method includes: the earliest sampled value in the sampling point corresponding to the second count value in the mth original down-frequency signal frame when it is equal to the reference value The sampling point is used as the first sampling point phase-matched with the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame.

在本发明的一实施例中,上述语音信号处理方法包括,将降频信号乘以汉明窗。In an embodiment of the present invention, the speech signal processing method includes multiplying the down-frequency signal by a Hamming window.

在本发明的一实施例中,上述语音信号处理方法包括下列步骤:依据各原始降频信号框中连续的三个取样值计算与各原始降频信号框对应的内插参数函数的值;判断内插参数函数的值是否小于上限值且大于等于下限值,若内插参数函数的值未小于上限值或未大于等于下限值,修正内插参数函数的值;依据各降频信号框对应的内插参数函数的值计算各降频信号框中相邻两取样点间的内插值。In one embodiment of the present invention, the above-mentioned voice signal processing method includes the following steps: calculating the value of the interpolation parameter function corresponding to each original frequency-reduction signal frame according to three consecutive sampling values in each original frequency-reduction signal frame; judging Whether the value of the interpolation parameter function is less than the upper limit value and greater than or equal to the lower limit value, if the value of the interpolation parameter function is not less than the upper limit value or not greater than or equal to the lower limit value, the value of the interpolation parameter function is corrected; The value of the interpolation parameter function corresponding to the signal frame calculates the interpolation value between two adjacent sampling points in each down-frequency signal frame.

在本发明的一实施例中,其中若内插参数函数的值大于等于上限值,将内插参数函数的值修正为上限值,若内插参数函数的值小于下限值,将内插参数函数的值修正为下限值,其中取样语音信号为通过取样原始语音信号而产生,上限值与下限值关联于原始语音信号的频率与取样原始语音信号的取样频率。In one embodiment of the present invention, if the value of the interpolation parameter function is greater than or equal to the upper limit value, the value of the interpolation parameter function is corrected to the upper limit value, and if the value of the interpolation parameter function is smaller than the lower limit value, the value of the interpolation parameter function is changed to The value of the interpolation parameter function is modified to a lower limit value, wherein the sampled speech signal is generated by sampling the original speech signal, and the upper limit value and the lower limit value are related to the frequency of the original speech signal and the sampling frequency of the original speech signal.

在本发明的一实施例中,上述语音信号处理方法包括,依据各原始降频信号框中连续的三个取样值间的三角函数关系计算各原始降频信号框对应的内插参数函数,其中内插参数函数为三角函数。In an embodiment of the present invention, the above speech signal processing method includes calculating the interpolation parameter function corresponding to each original down-frequency signal frame according to the trigonometric function relationship between three consecutive sampling values in each original down-frequency signal frame, wherein The interpolation parameter functions are trigonometric functions.

基于上述,本发明的实施例依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的相位基准取样点编号决定在第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点,将自与相位基准取样点编号对应的取样点相位匹配的第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点,以在对取样语音信号做进一步的降频(例如将频率降为四分之一)时,仍可有效地改善信号框重叠时相位不匹配所导致的信号失真情形。Based on the above, the embodiments of the present invention determine the m-th original The first sampling point that matches the phase of the sampling point corresponding to the phase reference sampling point number in the down-frequency signal frame, and the continuous q samples from the first sampling point phase matching of the sampling point corresponding to the phase reference sampling point number The point is used as the sampling point of the mth update down-frequency signal frame, so that when the sampled speech signal is further down-frequency (for example, the frequency is reduced to a quarter), it can still effectively improve the phase mismatch when the signal frame overlaps resulting signal distortion.

附图说明Description of drawings

图1示出为本发明一实施例的语音信号处理装置的结构示意图;FIG. 1 is a schematic structural diagram of a speech signal processing device according to an embodiment of the present invention;

图2示出为本发明一实施例的取样语音信号的信号处理示意图;FIG. 2 shows a schematic diagram of signal processing of a sampled speech signal according to an embodiment of the present invention;

图3示出为本发明一实施例的降频信号的示意图;FIG. 3 is a schematic diagram of a down-frequency signal according to an embodiment of the present invention;

图4示出为本发明一实施例的原始降频信号框WL3的示意图;FIG. 4 is a schematic diagram of an original down-frequency signal frame WL3 according to an embodiment of the present invention;

图5示出为本发明一实施例的语音信号处理方法的流程示意图;FIG. 5 is a schematic flow diagram of a voice signal processing method according to an embodiment of the present invention;

图6示出为本发明另一实施例的语音信号处理方法的流程示意图;FIG. 6 is a schematic flow diagram of a voice signal processing method according to another embodiment of the present invention;

图7示出为本发明另一实施例的语音信号处理方法的流程示意图。Fig. 7 is a schematic flowchart of a speech signal processing method according to another embodiment of the present invention.

附图标记说明:Explanation of reference signs:

102:处理单元;102: processing unit;

104:取样单元;104: sampling unit;

S1:原始语音信号;S1: original voice signal;

S2:取样语音信号;S2: Sampling the voice signal;

W1~W4:取样信号框;W1~W4: Sampling signal frame;

WL1~WL4:原始降频信号框;WL1~WL4: Original down-frequency signal frame;

WL1’~WL4’:更新降频信号框;WL1'~WL4': update the down-frequency signal frame;

WH1~WH4:乘以汉明窗后的更新降频信号框;WH1~WH4: update down-frequency signal frame after multiplying by Hamming window;

SL、SL’、SH:降频信号;SL, SL', SH: down-frequency signal;

sm(4n)、sm(4n+4)、sm(4n+8):取样点;s m (4n), s m (4n+4), s m (4n+8): sampling points;

sm(4n+1)、sm(4n+2)、sm(4n+3)、sm(4n+5)、sm(4n+6)、sm(4n+7):内插点;s m (4n+1), s m (4n+2), s m (4n+3), s m (4n+5), s m (4n+6), s m (4n+7): interpolation point;

SO:交叠语音信号;SO: overlapping speech signal;

第一计数值; first count value;

n:取样点编号;n: sampling point number;

Wm:第m个原始降频信号框;Wm: the mth original down-frequency signal frame;

S502~S510、S602~S608、S702~S712:语音信号处理方法的步骤。S502-S510, S602-S608, S702-S712: Steps in the voice signal processing method.

具体实施方式detailed description

图1示出为本发明一实施例的语音信号处理装置的结构示意图,请参照图1。语音信号处理装置包括处理单元102以及取样单元104,处理单元102耦接取样单元104,其中处理单元102可例如以中央处理单元来实施,而取样单元104则可例如以逻辑电路来实施,然不以此为限。取样单元104可取样原始语音信号S1,以产生取样语音信号S2。处理单元102可降频取样语音信号S2以产生包括一序列的降频信号框的降频信号,图2示出为本发明一实施例的取样语音信号的信号处理示意图,如图2所示,取样语音信号S2可包括一序列的取样信号框,为简化说明,在图2实施例中仅示出4个取样信号框W1~W4,然并不以此为限。降频信号SL包括多个原始降频信号框WL1~WL4,由于降频信号SL为降频取样语音信号S2所得到,因此原始降频信号框的长度大于取样语音信号S2的取样信号框的长度,在本实施例中降频信号SL的频率为取样语音信号S2的四分之一(因此各个原始降频信号框的长度为其对应的取样信号框的长度的4倍),然不以此为限。FIG. 1 is a schematic structural diagram of a speech signal processing device according to an embodiment of the present invention, please refer to FIG. 1 . The speech signal processing device includes a processing unit 102 and a sampling unit 104, the processing unit 102 is coupled to the sampling unit 104, wherein the processing unit 102 can be implemented as a central processing unit, and the sampling unit 104 can be implemented as a logic circuit, otherwise This is the limit. The sampling unit 104 can sample the original speech signal S1 to generate a sampled speech signal S2. The processing unit 102 can down-sample the voice signal S2 to generate a down-frequency signal comprising a sequence of down-frequency signal frames. FIG. 2 shows a schematic diagram of signal processing of a sampled voice signal according to an embodiment of the present invention. As shown in FIG. 2 , The sampled speech signal S2 may include a sequence of sampled signal frames. For simplicity of description, only 4 sampled signal frames W1 - W4 are shown in the embodiment of FIG. 2 , but it is not limited thereto. The down-frequency signal SL includes a plurality of original down-frequency signal frames WL1-WL4. Since the down-frequency signal SL is obtained by down-sampling the voice signal S2, the length of the original down-frequency signal frame is greater than the length of the sampling signal frame of the sampled voice signal S2. , in the present embodiment, the frequency of the down-frequency signal SL is 1/4 of the sampled speech signal S2 (therefore the length of each original down-frequency signal frame is 4 times the length of its corresponding sampled signal frame), but not limit.

处理单元102可自原始降频信号框中选取部分的取样点,而得到更新降频信号框(例如图2的更新降频信号框WL1’~WL4’,在本实施例中,各更新降频信号框的长度等于各原始降频信号框的长度的二分之一),并使各个更新降频信号框的中间取样点与下一个更新降频信号框的初始取样点的相位匹配,进而改善信号框重叠时相位不匹配所导致的信号失真情形。The processing unit 102 can select some sampling points from the original down-frequency signal frame to obtain an updated down-frequency signal frame (for example, the updated down-frequency signal frames WL1'˜WL4' in FIG. 2, in this embodiment, each updated down-frequency signal frame The length of the signal frame is equal to 1/2 of the length of each original down-frequency signal frame), and the phase matching between the intermediate sampling point of each update down-frequency signal frame and the initial sampling point of the next update down-frequency signal frame, thereby improving Signal distortion caused by phase mismatch when signal frames overlap.

详细来说,原始降频信号框中部分的取样点可例如通过执行内插运算来获得。处理单元102可先依据各个原始降频信号框中已知的连续三个取样值计算与各个原始降频信号框对应的内插参数函数的值,并依据各个原始降频信号框所对应的内插参数函数的值来计算各个原始降频信号框中相邻两已知取样点间的内插值,其中内插参数函数为三角函数,例如正弦函数或余弦函数,然不以此为限。In detail, part of the sampling points in the frame of the original down-converted signal can be obtained, for example, by performing an interpolation operation. The processing unit 102 can first calculate the value of the interpolation parameter function corresponding to each original down-frequency signal frame based on the known three consecutive sampling values in each original down-frequency signal frame, and then calculate the value of the interpolation parameter function corresponding to each original down-frequency signal frame. The value of the interpolation parameter function is used to calculate the interpolation value between two adjacent known sampling points in each original down-frequency signal frame, wherein the interpolation parameter function is a trigonometric function, such as a sine function or a cosine function, but not limited thereto.

举例来说,图3示出为本发明一实施例的降频信号的示意图,请参照图3。在图3中,实心圆点的部分为原始降频信号框中已知的取样点,空心圆点的部分为处理单元102依据已知的取样点进行内插运算所计算出的内插点,而方形点的部分为处理单元102依据已知的取样点以及计算出的内插点再进行内插运算所计算出的内插点。处理单元102可依据在各个原始降频信号框中连续的三个已知取样点的取样值计算与各个原始降频信号框对应的内插参数函数,例如,第m个原始降频信号框Wm所对应的内插参数函数Cm(g)可依据在原始降频信号框中连续取样的三个取样点sm(4n)、sm(4n+4)以及sm(4n+8)之间的三角函数关系来求得,在原始降频信号框Wm的时间范围内其所对应的内插参数函数可如下式所示:For example, FIG. 3 shows a schematic diagram of a down-frequency signal according to an embodiment of the present invention, please refer to FIG. 3 . In FIG. 3 , the solid circles are the known sampling points in the original down-frequency signal frame, and the hollow circles are the interpolation points calculated by the processing unit 102 based on the known sampling points. The part of the square point is the interpolation point calculated by the processing unit 102 by performing an interpolation operation based on the known sampling point and the calculated interpolation point. The processing unit 102 can calculate the interpolation parameter function corresponding to each original down-frequency signal frame according to the sampling values of three consecutive known sampling points in each original down-frequency signal frame, for example, the mth original down-frequency signal frame Wm The corresponding interpolation parameter function C m (g) can be based on the three sampling points s m (4n), s m (4n+4) and s m (4n+8) continuously sampled in the original down-frequency signal frame In the time range of the original down-frequency signal frame Wm, its corresponding interpolation parameter function can be shown in the following formula:

CC mm (( gg )) == sthe s mm (( 44 gg )) ++ sthe s mm (( 44 gg ++ 88 )) ++ 22 sthe s mm (( 44 gg ++ 44 )) 44 sthe s mm (( 44 gg ++ 44 )) -- -- -- (( 11 ))

其中g为0或正整数,Cm(g)为内插参数函数在时间点g的函数值,内插参数函数Cm(g)为一三角函数。Where g is 0 or a positive integer, C m (g) is the function value of the interpolation parameter function at time point g, and the interpolation parameter function C m (g) is a trigonometric function.

由于语音信号处理装置在信号处理的过程中可能会有噪声产生,而导致计算出的内插参数函数的值包含噪声的成分,如此将影响处理单元102求取内插值的精确度。处理单元102可通过判断内插参数函数的值是否落于一预设范围内来监测内插参数函数的值是否受到噪声干扰,例如可判断内插参数函数的值是否小于上限值且大于等于下限值,若内插参数函数的值未小于上限值或未大于等于下限值,则代表参数函数的值受到噪声干扰,处理单元102可修正内插参数函数的值,以去除内插参数函数的值中所包含的噪声成分。例如,若内插参数函数的值大于等于上限值,处理单元102可将内插参数函数的值修正为上限值,若内插参数函数的值小于下限值,处理单元102可将内插参数函数的值修正为下限值,而若内插参数函数的值小于上限值且大于等于下限值,则不须对内插参数函数的值进行修正。举例来说,在图3的实施例中,内插参数函数Cm(g)的值的修正方式可以下列式子表示:Since the speech signal processing device may generate noise during the signal processing, the calculated value of the interpolation parameter function contains noise components, which will affect the accuracy of the interpolation value obtained by the processing unit 102 . The processing unit 102 can monitor whether the value of the interpolation parameter function is disturbed by noise by judging whether the value of the interpolation parameter function falls within a preset range, for example, it can judge whether the value of the interpolation parameter function is less than the upper limit and greater than or equal to Lower limit value, if the value of the interpolation parameter function is not less than the upper limit value or not greater than or equal to the lower limit value, it means that the value of the parameter function is disturbed by noise, and the processing unit 102 can correct the value of the interpolation parameter function to remove the interpolation The noise component included in the value of the parametric function. For example, if the value of the interpolation parameter function is greater than or equal to the upper limit value, the processing unit 102 can modify the value of the interpolation parameter function to the upper limit value; The value of the interpolation parameter function is corrected to the lower limit value, and if the value of the interpolation parameter function is less than the upper limit value and greater than or equal to the lower limit value, then the value of the interpolation parameter function does not need to be corrected. For example, in the embodiment shown in FIG. 3 , the method of correcting the value of the interpolation parameter function C m (g) can be represented by the following formula:

CC mm (( gg )) == CC mm (( gg )) ,, 0.50.5 &le;&le; CC mm (( gg )) << 11 0.50.5 ,, CC mm (( gg )) << 0.50.5 11 ,, CC mm (( nno )) &GreaterEqual;&Greater Equal; 11 -- -- -- (( 22 ))

也即上述的上限值和下限值在图3的实施例中分别为1和0.5,若语音信号处理装置在信号处理的过程中受到噪声的影响,而使得内插参数函数Cm(g)的值大于等于1,则处理单元102将内插参数函数Cm(g)的值修正为1,而若内插参数函数Cm(g)的值小于0.5,则处理单元102将内插参数函数Cm(g)的值修正为0.5。值得注意的是,式(3)的上限值和下限值仅为示范性的实施例,并不以此为限。其中上限值和下限值可视实际噪声干扰的情形来调整,例如可依据原始语音信号的频率与取样单元的取样频率来调整上限值和下限值。That is to say, the above- mentioned upper limit and lower limit are respectively 1 and 0.5 in the embodiment of FIG. ) is greater than or equal to 1, then the processing unit 102 will modify the value of the interpolation parameter function C m (g) to 1, and if the value of the interpolation parameter function C m (g) is less than 0.5, the processing unit 102 will interpolate The value of the parametric function C m (g) is corrected to 0.5. It should be noted that the upper limit and lower limit of the formula (3) are only exemplary embodiments, and are not limited thereto. The upper limit and the lower limit can be adjusted according to the actual noise interference, for example, the upper limit and the lower limit can be adjusted according to the frequency of the original voice signal and the sampling frequency of the sampling unit.

在得到内插参数函数的值后,处理单元102便可依据内插参数函数来计算原始降频信号框中相邻两取样点间的内插值。以图3的实施例为例,在原始降频信号框Wm中介于取样点sm(4n)、sm(4n+4)之间的内插点sm(4n+2)以及介于取样点sm(4n+4)、sm(4n+8)之间的内插点sm(4n+6)可分别如下式子所示:After obtaining the value of the interpolation parameter function, the processing unit 102 can calculate the interpolation value between two adjacent sampling points in the original down-frequency signal frame according to the interpolation parameter function. Taking the embodiment of Fig. 3 as an example, the interpolation point s m (4n+2) between the sampling points s m (4n) and s m (4n+4) in the original down-frequency signal frame Wm and the interpolation point s m (4n+2) between the sampling points The interpolation point s m (4n+6) between the points s m (4n+4) and s m (4n+8) can be expressed as follows:

sthe s mm (( 44 nno ++ 22 )) == sthe s mm (( 44 nno )) ++ sthe s mm (( 44 nno ++ 44 )) 22 CC mm (( nno 22 )) -- -- -- (( 33 ))

sthe s mm (( 44 nno ++ 66 )) == sthe s mm (( 44 nno ++ 44 )) ++ sthe s mm (( 44 nno ++ 88 )) 22 CC mm (( nno 22 )) -- -- -- (( 44 ))

在式(3)、式(4)中n为0或正偶数。In formula (3) and formula (4), n is 0 or a positive even number.

类似地,图3中方形点的部分也可空心圆点的内插运算方式来获得。例如,处理单元102可依据在原始降频信号框中的取样点sm(4n)、内插点sm(4n+2)以及取样点sm(4n+4)之间的三角函数关系来求得内插参数函数C'm(n),在原始降频信号框Wm的时间范围内其所对应的内插参数函数C'm(n)可如下式所示:Similarly, the part of square dots in Fig. 3 can also be obtained by interpolation operation of hollow circle dots. For example, the processing unit 102 can calculate according to the trigonometric function relationship between the sampling point s m (4n), the interpolation point s m (4n+2) and the sampling point s m (4n+4) in the original down-frequency signal frame The interpolation parameter function C' m (n) is obtained, and its corresponding interpolation parameter function C' m (n) can be shown in the following formula within the time range of the original down-frequency signal frame Wm:

CC mm &prime;&prime; (( nno )) == sthe s mm (( 44 nno )) ++ sthe s mm (( 44 nno ++ 44 )) ++ 22 sthe s mm (( 44 nno ++ 22 )) 44 sthe s mm (( 44 nno ++ 22 )) -- -- -- (( 55 ))

其中n为0或正偶数,内插参数函数C'm(n)的值的修正方式可以下列式子表示:Where n is 0 or a positive even number, the correction method of the value of the interpolation parameter function C' m (n) can be expressed by the following formula:

CC mm &prime;&prime; (( nno )) == CC mm &prime;&prime; (( nno )) ,, 0.850.85 &le;&le; CC mm &prime;&prime; (( nno )) << 11 0.850.85 ,, CC mm &prime;&prime; (( nno )) << 0.850.85 11 ,, CC mm &prime;&prime; (( nno )) &GreaterEqual;&Greater Equal; 11 -- -- -- (( 66 ))

在原始降频信号框Wm中介于取样点sm(4n)与内插点sm(4n+2)之间的内插点sm(4n+1)以及介于与内插点sm(4n+2)与取样点sm(4n+4)之间的内插点sm(4n+3)可分别如下式子所示:The interpolation point s m (4n+1) between the sampling point s m (4n) and the interpolation point s m (4n+2) and the interpolation point s m ( The interpolation point s m (4n+3) between 4n+2) and the sampling point s m (4n+4) can be expressed as follows:

sthe s mm (( 44 nno ++ 11 )) == sthe s mm (( 44 nno )) ++ sthe s mm (( 44 nno ++ 22 )) 22 CC mm &prime;&prime; (( nno )) -- -- -- (( 77 ))

sthe s mm (( 44 nno ++ 33 )) == sthe s mm (( 44 nno ++ 22 )) ++ sthe s mm (( 44 nno ++ 44 )) 22 CC mm &prime;&prime; (( nno )) -- -- -- (( 88 ))

另外,处理单元102可依据在原始降频信号框中的取样点sm(4n+4)、内插点sm(4n+6)以及取样点sm(4n+8)之间的三角函数关系来求得内插参数函数C"m(n),在原始降频信号框Wm的时间范围内其所对应的内插参数函数C"m(n)可如下式所示:In addition, the processing unit 102 can be based on the trigonometric function between the sampling point s m (4n+4), the interpolation point s m (4n+6) and the sampling point s m (4n+8) in the original down-converted signal frame relationship to obtain the interpolation parameter function C" m (n), and its corresponding interpolation parameter function C " m (n) in the time range of the original down-frequency signal frame Wm can be shown in the following formula:

CC mm &prime;&prime; &prime;&prime; (( nno )) == sthe s mm (( 44 nno ++ 44 )) ++ sthe s mm (( 44 nno ++ 88 )) ++ 22 sthe s mm (( 44 nno ++ 66 )) 44 sthe s mm (( 44 nno ++ 66 )) -- -- -- (( 99 ))

其中n为0或正偶数,另外,内插参数函数C"m(n)的值的修正方式可以下列式子表示:Wherein n is 0 or a positive even number. In addition, the correction mode of the value of the interpolation parameter function C" m (n) can be expressed by the following formula:

CC mm &prime;&prime; &prime;&prime; (( nno )) == CC mm &prime;&prime; &prime;&prime; (( nno )) ,, 0.850.85 &le;&le; CC mm &prime;&prime; &prime;&prime; (( nno )) << 11 0.850.85 ,, CC mm &prime;&prime; &prime;&prime; (( nno )) << 0.850.85 11 ,, CC mm &prime;&prime; &prime;&prime; (( nno )) &GreaterEqual;&Greater Equal; 11 -- -- -- (( 1010 ))

在原始降频信号框Wm中介于取样点sm(4n+4)、内插点sm(4n+6)之间的内插点sm(4n+5)以及介于内插点sm(4n+6)、取样点sm(4n+8)之间的内插点sm(4n+7)可分别如下式子所示:In the original down-frequency signal frame Wm, the interpolation point s m (4n+5) between the sampling point s m (4n+4), the interpolation point s m (4n+6) and the interpolation point s m (4n+6), the interpolation point s m (4n+7) between the sampling point s m (4n+8) can be shown in the following formula respectively:

sthe s mm (( 44 nno ++ 55 )) == sthe s mm (( 44 nno ++ 44 )) ++ sthe s mm (( 44 nno ++ 66 )) 22 CC mm &prime;&prime; &prime;&prime; (( nno )) -- -- -- (( 1111 ))

sthe s mm (( 44 nno ++ 77 )) == sthe s mm (( 44 nno ++ 66 )) ++ sthe s mm (( 44 nno ++ 88 )) 22 CC mm &prime;&prime; &prime;&prime; (( nno )) -- -- -- (( 1212 ))

依此类推,其他原始降频信号框中取样点间的内插值或取样点与内插点间的内插值也可以相同的方式求得,本领域具通常知识者应可依据上述实施例的教示推得其实施方式,因而在此不再赘述。By analogy, the interpolation value between the sampling points or the interpolation value between the sampling point and the interpolation point in other original down-frequency signal frames can also be obtained in the same way, and those skilled in the art should be able to follow the teachings of the above-mentioned embodiments Its implementation manner is deduced, so it will not be repeated here.

如上所述,本实施例为利用三角函数来估算取样点间的内插值(或取样点与内插点间的内插值),依据内插参数函数来计算原始降频信号框中相邻两取样点间的内插值(或相邻的取样点与内插点的内插值),以作为降频信号中已知取样点间的新的取样点的取样值。由于三角函数的特性与声音信号的特性较相似,因此相较于现有技术单纯地利用算术平均数来求取内插值,本实施例的计算方式可获得更精确的内插值,而可有效地避免降频后的语音信号出现信号失真的情形。As mentioned above, the present embodiment uses trigonometric functions to estimate the interpolation value between the sampling points (or the interpolation value between the sampling point and the interpolation point), and calculates the values of two adjacent samples in the original down-frequency signal frame according to the interpolation parameter function. The interpolation value between points (or the interpolation value between adjacent sampling points and interpolation points) is used as the sampling value of a new sampling point between known sampling points in the down-frequency signal. Since the characteristics of the trigonometric function are similar to the characteristics of the sound signal, compared with the prior art that simply uses the arithmetic mean to calculate the interpolation value, the calculation method of this embodiment can obtain a more accurate interpolation value, and can effectively Avoid signal distortion in the voice signal after frequency reduction.

此外,上述各个原始降频信号框可包括p个取样点(其中p为正整数,在本实施例中P可等于4N-3,N为大于1的正整数),处理单元102可将在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的取样点编号作为相位基准取样点编号,并依据相位基准取样点编号决定在第m个原始降频信号框中与此相位基准取样点编号对应的取样点相位匹配的第一个取样点,并将从此第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点(其中q为正整数,在本实施例中q可等于2N-1,N为大于1的正整数),以使第m-1个更新降频信号框的中间取样点与第m个更新降频信号框的初始取样点的相位匹配,其中m为大于1的正整数。如此一来,第m-1个更新降频信号框与第m个更新降频信号框进行50%的信号框混叠时(也即第m-1个更新降频信号框与第m个更新降频信号框分别有具有50%的重叠区段),相位不匹配的情形便可大幅地减少,而改善信号失真的情形。In addition, each of the above-mentioned original down-frequency signal frames may include p sampling points (wherein p is a positive integer, and in this embodiment, P may be equal to 4N-3, and N is a positive integer greater than 1), and the processing unit 102 may convert the The sampling point number corresponding to the middle sampling point of the m-1 updated down-frequency signal frame in the m-1 original down-frequency signal frame is used as the phase reference sampling point number, and is determined according to the phase reference sampling point number in the m-th The first sampling point in the original down-frequency signal frame that matches the phase of the sampling point corresponding to the phase reference sampling point number, and the q consecutive sampling points from this first sampling point are taken as the mth updated down-frequency signal frame (wherein q is a positive integer, in this embodiment q can be equal to 2N-1, and N is a positive integer greater than 1), so that the middle sampling point of the m-1th update down-frequency signal frame is the same as the mth The phase matching of the initial sampling points of the updated down-frequency signal frame, where m is a positive integer greater than 1. In this way, when the m-1th update down-frequency signal frame and the m-th update down-frequency signal frame perform 50% signal frame aliasing (that is, the m-1th update down-frequency signal frame and the mth update The down-converted signal frames respectively have 50% overlap), the phase mismatch can be greatly reduced, and the signal distortion can be improved.

详细来说,处理单元102可依据第m个原始降频信号框中取样点的取样值累计第一计数值以及第二计数值,其中当处理单元102计数至对应取样值为0的取样点或与取样值为0的取样点相邻的至少一取样点(例如相邻的前、后一个取样点,然不以此为限)时,归零对应的第一计数值或第二计数值。具体来说,上述计数值的累计方式可依据下列式子(13)~(16)表示:In detail, the processing unit 102 may accumulate the first count value and the second count value according to the sampling value of the sampling point in the m-th original down-frequency signal frame, wherein when the processing unit 102 counts to a sampling point whose corresponding sampling value is 0 or When there is at least one sampling point adjacent to the sampling point with a sampling value of 0 (for example, the adjacent previous and subsequent sampling points, but not limited thereto), the corresponding first count value or the second count value is reset to zero. Specifically, the method of accumulating the count value above can be expressed according to the following formulas (13)-(16):

PNPN mm (( nno )) == 1010 ,, sthe s mm (( nno )) >> 00 33 ,, sthe s mm (( nno )) == 00 00 ,, sthe s mm (( nno )) << 00 -- -- -- (( 1313 ))

PNPN mm DD. (( nno )) == PNPN mm (( nno )) -- PNPN mm (( nno -- 11 )) -- -- -- (( 1414 ))

CotCot mm ++ (( nno )) == 00 ,, PNPN mm DD. (( nno )) == 1010 oror 77 CotCot mm ++ (( nno -- 11 )) ++ 11 ,, elseelse -- -- -- (( 1515 ))

CotCot mm -- (( nno )) == 00 ,, PNPN mm DD. (( nno )) == -- 1010 oror -- 33 CotCot mm -- (( nno -- 11 )) ++ 11 ,, elseelse -- -- -- (( 1616 ))

其中m为大于1的正整数,n=0,1,2,…,4N-4,N为大于1的正整数,sm(n)为第m个原始降频信号框中编号n的取样点的取样值,PNm(n)为将取样值sm(n)转为以“10”、“3”或“0”表示的值,其中PNm(-1)=PNm(0)。为第m个原始降频信号框中编号n的取样点所对应的第一计数值,而为第m个原始降频信号框中编号n的取样点所对应的第二计数值,其中由式(1)、(2)可知为对应降频信号在正半周时的累计计数值,而为对应降频信号在负半周时的累计计数值。如式(1)~(4)所示,在本实施例中,将取样值sm(n)大于0、sm(n)等于0以及sm(n)小于0时的取样值分别设为10、3、0,在计数第一计数值时把等于10或7时所对应的第一计数值归零,另外并在计数第二计数值时把等于-10或-3时所对应的第二计数值归零。由于取样值sm(n)等于0时的取样值被设为3,因此等于10、7、-10或-3等数值的位置将出现在与取样值sm(n)等于0时所对应的取样点相邻的取样点位置。Where m is a positive integer greater than 1, n=0,1,2,...,4N-4, N is a positive integer greater than 1, s m (n) is the sampling number n in the mth original down-frequency signal frame The sampling value of the point, PN m (n) is to convert the sampling value s m (n) into a value represented by "10", "3" or "0", where PN m (-1)=PN m (0) . is the first count value corresponding to the sampling point numbered n in the mth original down-frequency signal frame, and Be the second count value corresponding to the sampling point numbered n in the mth original down-frequency signal frame, wherein and From formula (1), (2) we can know For the cumulative count value corresponding to the down-frequency signal in the positive half cycle, and It is the accumulative count value corresponding to the down-frequency signal in the negative half cycle. As shown in formulas (1) to (4), in this embodiment, the sampling values when the sampling value s m (n) is greater than 0, when s m (n) is equal to 0, and when s m (n) is less than 0 are respectively set as 10, 3, 0, counting the first count value time When it is equal to 10 or 7, the corresponding first count value is reset to zero, and in addition, the second count value is counted time When it is equal to -10 or -3, the corresponding second count value is reset to zero. Since the sampling value when the sampling value s m (n) is equal to 0 is set to 3, so A position equal to 10, 7, -10 or -3 will appear at the sampling point adjacent to the sampling point corresponding to when the sampling value s m (n) is equal to 0.

处理单元102可将第m个原始降频信号框中与在第m-1个原始降频信号框中所得到的相位基准取样点编号对应的取样点所对应的第一计数值或第二计数值(其为处理单元102在第m-1个原始降频信号框中所计数得到,其计数方式与上述处理单元102在第m个原始降频信号框中计数的方式相同)作为基准值,并依据此基准值决定第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点。例如处理单元102可判断第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值是否小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,其可以下列式子(17)表示:The processing unit 102 may calculate the first count value or the second count corresponding to the sampling point corresponding to the phase reference sampling point number obtained in the m-1th original down-frequency signal frame in the m-th original down-frequency signal frame value (which is obtained by counting by the processing unit 102 in the m-1th original down-frequency signal frame, and its counting method is the same as the counting method of the above-mentioned processing unit 102 in the m-th original down-frequency signal frame) as a reference value, And according to this reference value, determine the first sampling point of the phase matching of the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame. For example, the processing unit 102 may determine whether the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is less than or equal to the phase number in the m-1th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the reference sampling point number can be represented by the following formula (17):

CotCot mm -- 11 ++ SS &le;&le; COtCOt mm -- 11 -- SS -- -- -- (( 1717 ))

其中为第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值,而为第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值。in is the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame, and is the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame.

若第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值小于等于第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,处理单元102将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值作为基准值,并将第m个原始降频信号框中第一计数值等于此基准值时所对应的取样点中最先取样的取样点作为第一个取样点,其可以下列式子(18)、(19)表示:If the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame is less than or equal to the corresponding sampling point corresponding to the phase reference sampling point number in the m-th original down-frequency signal frame The processing unit 102 takes the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame as a reference value, and takes the m-th original down-frequency The first sampling point in the corresponding sampling points when the first count value in the signal frame is equal to the reference value is taken as the first sampling point, which can be represented by the following formulas (18), (19):

nno CotCot mm ++ (( nno )) == nno ,, CotCot mm ++ (( nno )) == CotCot mm -- 11 ++ SS 44 NN -- 44 ,, elseelse -- -- -- (( 1818 ))

nno CotCot mm == minmin {{ nno CotCot mm ++ (( nno )) }} -- -- -- (( 1919 ))

由式(18)、(19)可知,当第m个原始降频信号框中编号n的取样点所对应的第一计数值等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值时,等于取样点所对应的编号n,否则等于4N-4。而则为在所有中的最小值,其代表在第m个原始降频信号框中与相位基准取样点编号对应的取样点的相位匹配的第一个取样点的编号,此取样点用以作为第m个更新降频信号框的初始取样点。By formula (18), (19), when the first counter value corresponding to the sampling point of number n in the mth original down-frequency signal frame is equal to the phase reference sampling point in the m-1th original down-frequency signal frame When the first count value corresponding to the sampling point corresponding to the serial number, equal to the number n corresponding to the sampling point, otherwise It is equal to 4N-4. and then in all The minimum value in , which represents the number of the first sampling point that matches the phase of the sampling point corresponding to the phase reference sampling point number in the m-th original down-frequency signal frame, and this sampling point is used as the m-th update down-frequency The initial sampling point of the frequency signal frame.

相反地,若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值未小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值(即式(17)不成立),则处理单元102将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值作为基准值,并将第m个原始降频信号框中第二计数值等于基准值时所对应的取样点中最先取样的取样点作为第一个取样点,其可以下列式子(20)、(21)表示:Conversely, if the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is not less than or equal to the phase reference sampling point in the m-1th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the point number (that is, the formula (17) is not established), then the processing unit 102 will correspond to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame The second count value of the second count value is used as the reference value, and the first sampled sampling point in the corresponding sampling points when the second count value in the mth original down-frequency signal frame is equal to the reference value is taken as the first sampling point, which can be as follows Formulas (20), (21) express:

nno CotCot mm -- (( nno )) == nno ,, CotCot mm -- (( nno )) == CotCot mm -- 11 -- SS 44 NN -- 44 ,, elseelse -- -- -- (( 2020 ))

nno CotCot mm == minmin {{ nno CotCot mm -- (( nno )) }} -- -- -- (( 21twenty one ))

由式(20)、(21)可知,当第m个原始降频信号框中编号n的取样点所对应的第二计数值等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值时,等于取样点所对应的编号n,否则等于4N-4。而则为在所有中的最小值,其代表在第m个原始降频信号框中与相位基准取样点编号对应的取样点的相位匹配的第一个取样点的编号,此取样点用以作为第m个更新降频信号框的初始取样点。By formula (20), (21), when the second count value corresponding to the sampling point of number n in the mth original down-frequency signal frame is equal to the phase reference sampling point in the m-1th original down-frequency signal frame When the second count value corresponding to the sampling point corresponding to the serial number, equal to the number n corresponding to the sampling point, otherwise It is equal to 4N-4. and then in all The minimum value in , which represents the number of the first sampling point that matches the phase of the sampling point corresponding to the phase reference sampling point number in the m-th original down-frequency signal frame, and this sampling point is used as the m-th update down-frequency The initial sampling point of the frequency signal frame.

举例来说,假设图2中的各个原始降频信号框WL1~WL4分别包括401个取样点,也即各个原始降频信号框WL1~WL4中分别包括0,1,2,…,400等401个取样点。在原始降频信号框WL2中与更新降频信号框WL2’的中间取样点所对应的相位基准取样点编号(其为188)所对应的第一计数值小于等于在原始降频信号框WL2中与更新降频信号框WL2’的中间取样点所对应的相位基准取样点编号取样点对应的第二计数值且在原始降频信号框WL2的中间取样点(也即在原始降频信号框WL2中编号为188的取样点)所对应的第一计数值为18。For example, assume that each original down-frequency signal frame WL1~WL4 in FIG. 2 includes 401 sampling points respectively, that is, each original down-frequency signal frame WL1~WL4 includes 401 sampling points such as 0, 1, 2, ..., 400, etc. a sampling point. The first count value corresponding to the phase reference sampling point number (which is 188) corresponding to the intermediate sampling point of the update down-frequency signal frame WL2' in the original down-frequency signal frame WL2 Less than or equal to the second count value corresponding to the phase reference sampling point number sampling point corresponding to the intermediate sampling point of the update down-frequency signal frame WL2' in the original down-frequency signal frame WL2 And the first count value corresponding to the middle sampling point of the original down-frequency signal frame WL2 (that is, the sampling point numbered 188 in the original down-frequency signal frame WL2) for 18.

为找出更新降频信号框WL3’的初始取样点,处理单元102可计数在原始降频信号框WL3中第一计数值等于18时所对应的取样点的编号(由于在原始降频信号框WL2中编号为188的取样点所对应的第一计数值小于对应的第二计数值因此以第一计数值作为基准值)。图4示出为本发明一实施例的原始降频信号框WL3的示意图,如图4所示,在图4的实施例中,原始降频信号框WL3中第一计数值等于18时所对应的取样点的编号(也即不等于0的的值)包括编号20、40、63、79、...、300、325、342、363、392等的取样点,其中编号20的取样点为在原始降频信号框WL3中第一计数值等于在原始降频信号框WL2中的基准值(其值为18)时所对应的取样点中最早取样的取样点,因此等于20,处理单元102将其作为更新降频信号框WL3’的初始取样点,并将自原始降频信号框WL3中编号20的取样点起的连续201个取样点作为更新降频信号框WL3’的取样点。如图2所示,更新降频信号框WL3’包括原始降频信号框WL3中编号20~220的取样点,其中编号120(其为更新降频信号框WL3’的中间取样点在原始降频信号框WL3中所对应的取样点编号)可作为相位基准取样点编号,其用以作为寻找更新降频信号框WL4’的初始取样点的依据。类似地,更新降频信号框WL4’的初始取样点也可以类似的方式得到,因此在此不再赘述。In order to find the initial sampling point for updating the down-frequency signal frame WL3', the processing unit 102 can count the first count value in the original down-frequency signal frame WL3 When it is equal to 18, the numbering of the corresponding sampling point (due to the first counter value corresponding to the sampling point numbered as 188 in the original down-frequency signal frame WL2 less than the corresponding second count value So with the first count value as a base value). Fig. 4 shows the schematic diagram of the original down-frequency signal frame WL3 of an embodiment of the present invention, as shown in Fig. 4, in the embodiment of Fig. 4, the first count value in the original down-frequency signal frame WL3 When equal to 18, the number of the corresponding sampling point (that is, not equal to 0 value) includes sampling points numbered 20, 40, 63, 79, ..., 300, 325, 342, 363, 392, etc., wherein the sampling point numbered 20 is the first count value in the original down-frequency signal frame WL3 Equal to the sampling point of the earliest sampling in the corresponding sampling points when the reference value (its value is 18) in the original down-frequency signal frame WL2, so equal to 20, the processing unit 102 takes it as the initial sampling point for updating the down-frequency signal frame WL3', and takes the continuous 201 sampling points from the sampling point number 20 in the original down-frequency signal frame WL3 as the update down-frequency signal frame WL3 'The sampling point. As shown in Figure 2, the update down-frequency signal frame WL3' includes sampling points numbered 20 to 220 in the original down-frequency signal frame WL3, wherein number 120 (which is the mid-sample point of the update down-frequency signal frame WL3' in the original down-frequency signal frame WL3 The corresponding sampling point number in the signal frame WL3 ) can be used as the phase reference sampling point number, which is used as a basis for finding and updating the initial sampling point of the down-frequency signal frame WL4 ′. Similarly, the initial sampling point for updating the down-frequency signal frame WL4' can also be obtained in a similar manner, so details will not be repeated here.

值得注意的是,由于原始降频信号框WL1为第一个原始降频信号框,因此更新降频信号框WL1’的取样点可为自原始降频信号框WL1所任意选出的201个连续取样点(在本实施例中为编号100~300的取样点),并依据原始降频信号框WL1中与更新降频信号框WL1’的中间取样点所对应的编号作为相位基准取样点编号(在本实施例中为编号200的取样点)。在本实施例中,原始降频信号框WL2中与原始降频信号框WL1的中间取样点的相位匹配的第一个取样点所对应的编号为188,其中第一个取样点(编号188的取样点)的求取方式与上述实施例类似,本领域具通常知识者应可依据上述内容推得其实施方式,因此在此不再赘述。It is worth noting that since the original down-frequency signal frame WL1 is the first original down-frequency signal frame, the sampling points for updating the down-frequency signal frame WL1' can be 201 consecutive samples randomly selected from the original down-frequency signal frame WL1 Sampling points (in this embodiment, sampling points numbered 100 to 300), and according to the number corresponding to the intermediate sampling point in the original down-frequency signal frame WL1 and the updated down-frequency signal frame WL1' as the phase reference sampling point number ( In this embodiment, it is the sampling point numbered 200). In this embodiment, the number corresponding to the first sampling point in the original down-frequency signal frame WL2 that matches the phase of the middle sampling point of the original down-frequency signal frame WL1 is 188, wherein the first sampling point (number 188 The method of obtaining the sampling point) is similar to the above-mentioned embodiment, and those skilled in the art should be able to deduce its implementation method based on the above content, so it is not repeated here.

在得到更新降频信号框后,处理单元102便可对相邻的更新降频信号框进行50%的混叠,以产生交叠语音信号,由于此时各个更新降频信号框的中间取样点与下一个更新降频信号框的初始取样点的相位匹配,因此信号框重叠时相位不匹配所导致的信号失真情形将大幅地被改善。此外,在部分实施例中,也可在得到各个原始降频信号框对应的更新降频信号框后,将降频信号乘以汉明窗(Hamming Window),以增加更新降频信号框左右端的连续性。如图2所示,在将包括更新降频信号框WL1’~WL4’的降频信号SL’乘以汉明窗后,可得到更新包括降频信号框WH1~WH4的降频信号SH,然后再将更新降频信号框WH1~WH4进行混叠,即可得到交叠语音信号SO。After obtaining the updated down-frequency signal frame, the processing unit 102 can perform 50% aliasing on the adjacent updated down-frequency signal frame to generate an overlapping voice signal, because the intermediate sampling points of each updated down-frequency signal frame The phase is matched with the initial sampling point of the next updated down-frequency signal frame, so the signal distortion caused by the phase mismatch when the signal frames overlap will be greatly improved. In addition, in some embodiments, after obtaining the updated down-frequency signal frame corresponding to each original down-frequency signal frame, the down-frequency signal can be multiplied by a Hamming window (Hamming Window), so as to increase the left and right ends of the updated down-frequency signal frame. continuity. As shown in Figure 2, after multiplying the down-frequency signal SL' including the updated down-frequency signal frames WL1'~WL4' by the Hamming window, the updated down-frequency signal SH including the down-frequency signal frames WH1~WH4 can be obtained, and then Then, aliasing is performed on the updated down-frequency signal frames WH1-WH4 to obtain the overlapping voice signal SO.

图5示出为本发明一实施例的语音信号处理方法的流程示意图,请参照图5。由上述实施例可知,语音信号处理装置的语音信号处理方法可包括下列步骤。首先,取样原始语音信号,以产生取样语音信号(步骤S502)。接着,降频取样语音信号,以产生包括一序列的原始降频信号框的降频信号(步骤S504),其中降频信号的频率可例如为取样语音信号的四分之一。其中,降频信号中部分的取样点可通过内插运算获得。图6示出为本发明另一实施例的语音信号处理方法的流程示意图,如图6所示,由上述实施例可知,语音信号处理装置计算内插点的方法可包括下列步骤。首先,依据各原始降频信号框中连续的三个取样值计算各原始降频信号框对应的内插参数函数的值(步骤S602),其中内插参数函数可依据各原始降频信号框中连续的三个取样值间的三角函数关系计算而得,内插参数函数可为三角函数。之后,可接着判断内插参数函数的值是否小于上限值且大于等于下限值(步骤S604),若内插参数函数的值未小于上限值或未大于等于下限值,则修正内插参数函数的值(步骤S606),以去除不必要的噪声。其中上限值和下限值可视实际噪声干扰的情形来调整,例如可依据原始语音信号的频率与取样单元的取样频率来调整上限值和下限值,而内插参数函数的值的修正方式可例如为,当内插参数函数的值大于等于上限值时,将内插参数函数的值修正为上限值,当内插参数函数的值小于下限值时,将内插参数函数的值修正为下限值。在修正完内插参数函数的值后,可接着依据各原始降频信号框对应的内插参数函数的值计算各原始降频信号框中相邻两取样点间的内插值(步骤S608)。相反地,若内插参数函数的值小于上限值且大于等于下限值,则直接进入步骤S608,计算各原始降频信号框中相邻两取样点间的内插值。FIG. 5 is a schematic flowchart of a voice signal processing method according to an embodiment of the present invention, please refer to FIG. 5 . It can be known from the above embodiments that the speech signal processing method of the speech signal processing device may include the following steps. First, the original speech signal is sampled to generate a sampled speech signal (step S502). Next, the speech signal is down-sampled to generate a down-converted signal including a sequence of original down-converted signal frames (step S504 ), wherein the frequency of the down-converted signal can be, for example, a quarter of the sampled speech signal. Wherein, some sampling points in the down-frequency signal can be obtained through interpolation. FIG. 6 is a schematic flowchart of a voice signal processing method according to another embodiment of the present invention. As shown in FIG. 6 , it can be seen from the above embodiment that the method for calculating an interpolation point by a voice signal processing device may include the following steps. First, calculate the value of the interpolation parameter function corresponding to each original down-frequency signal frame according to three consecutive sampling values in each original down-frequency signal frame (step S602), wherein the interpolation parameter function can be based on the values in each original down-frequency signal frame It is calculated from the trigonometric function relationship between three consecutive sampling values, and the interpolation parameter function can be a trigonometric function. Afterwards, it can then be judged whether the value of the interpolation parameter function is less than the upper limit value and greater than or equal to the lower limit value (step S604), if the value of the interpolation parameter function is not less than the upper limit value or not greater than or equal to the lower limit value, then the correction internal Interpolate the value of the parameter function (step S606) to remove unnecessary noise. Wherein the upper limit and the lower limit can be adjusted according to the situation of actual noise interference, for example, the upper limit and the lower limit can be adjusted according to the frequency of the original speech signal and the sampling frequency of the sampling unit, and the value of the interpolation parameter function The correction method can be, for example, when the value of the interpolation parameter function is greater than or equal to the upper limit value, the value of the interpolation parameter function is corrected to the upper limit value, and when the value of the interpolation parameter function is less than the lower limit value, the value of the interpolation parameter function is The value of the function is corrected to the lower limit value. After the value of the interpolation parameter function is corrected, the interpolation value between two adjacent sampling points in each original down-frequency signal frame can be calculated according to the value of the interpolation parameter function corresponding to each original down-frequency signal frame (step S608 ). On the contrary, if the value of the interpolation parameter function is less than the upper limit and greater than or equal to the lower limit, then go directly to step S608 to calculate the interpolation value between two adjacent sampling points in each original down-frequency signal frame.

请再次参照图5,在步骤S504后,可依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的相位基准取样点编号决定在第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点(步骤S506),其中各更新降频信号框的长度等于各原始降频信号框的长度的二分之一,相位基准取样点编号为在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的取样点的编号,m为大于1的正整数。之后,将从与相位基准取样点编号对应的取样点相位匹配的第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点(步骤S508),其中q为正整数。最后,再混叠相邻的更新降频信号框,以产生交叠语音信号(步骤S510),其中相邻两个更新降频信号框可例如分别具有50%的重叠区段。Please refer to Fig. 5 again, after step S504, it can be determined according to the phase reference sampling point number corresponding to the middle sampling point of the m-1th update down-frequency signal frame in the m-1th original down-frequency signal frame and the m-1th update down-frequency signal frame The first sampling point (step S506) of the phase matching of the sampling point corresponding to the phase reference sampling point number in the m original down-frequency signal frame, wherein the length of each updated down-frequency signal frame is equal to the length of each original down-frequency signal frame One-half of the phase reference sampling point number is the number of the sampling point corresponding to the middle sampling point in the m-1th original down-frequency signal frame and the m-1th updated down-frequency signal frame, and m is greater than A positive integer of 1. Afterwards, the continuous q sampling points from the first sampling point phase-matched with the phase reference sampling point number are used as the sampling points of the mth update down-frequency signal frame (step S508), where q is a positive integer. Finally, the adjacent updated down-frequency signal frames are aliased again to generate an overlapping speech signal (step S510 ), wherein two adjacent updated down-frequency signal frames may respectively have a 50% overlapping section, for example.

图7示出为本发明另一实施例的语音信号处理方法的流程示意图,请参照图7。详细来说,图5实施例的步骤S506在本实施例中可包括步骤S702~S706,也即先依据第m个原始降频信号框中取样点的取样值累计第一计数值以及第二计数值,其中当计数至对应取样值为0的取样点或与取样值为0的取样点相邻的至少一取样点时,归零其对应的第一计数值或第二计数值(步骤S702),然后将第m个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值或第二计数值作为基准值(步骤S704),之后再依据基准值决定第m个原始降频信号框中与相位基准取样点编号对应的取样点的相位匹配的第一个取样点(步骤S706)。更进一步来说,步骤S704可包括,先判断第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值是否小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值(步骤S708)。若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值作为基准值(步骤S710),在此情形下,在步骤S706可将第m个原始降频信号框中第一计数值等于基准值时所对应的取样点中最早取样的取样点作为第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点。相反地,若第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第一计数值未小于等于第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值,将第m-1个原始降频信号框中与相位基准取样点编号对应的取样点所对应的第二计数值作为基准值(步骤S712),在此情形下,在步骤S706可将第m个原始降频信号框中第二计数值等于基准值时所对应的取样点中最早取样的取样点作为第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点。FIG. 7 is a schematic flowchart of a voice signal processing method according to another embodiment of the present invention, please refer to FIG. 7 . In detail, step S506 of the embodiment in FIG. 5 may include steps S702 to S706 in this embodiment, that is, to first accumulate the first count value and the second count value according to the sampling value of the sampling point in the mth original down-frequency signal frame. When counting to a sampling point corresponding to a sampling value of 0 or at least one sampling point adjacent to a sampling point with a sampling value of 0, the corresponding first counting value or second counting value is reset to zero (step S702) , then the first count value or the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame is used as the reference value (step S704), and then the mth value is determined according to the reference value The first sampling point of the phase matching of the sampling point corresponding to the phase reference sampling point number in the original down-frequency signal frame (step S706). Furthermore, step S704 may include firstly determining whether the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is less than or equal to the m-1th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the frequency signal frame (step S708). If the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is less than or equal to the value corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame The second count value corresponding to the sampling point, the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is used as a reference value (step S710), in this case Next, in step S706, the earliest sampled sampling point among the corresponding sampling points when the first count value in the mth original down-frequency signal frame is equal to the reference value can be used as the phase reference sampling point in the m-th original down-frequency signal frame The first sample point whose number corresponds to the phase match of the sample point. Conversely, if the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is not less than or equal to the phase reference sampling point in the m-1th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the point number, the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is used as a reference value (step S712) , in this case, in step S706, the earliest sampled sampling point among the sampling points corresponding to when the second count value in the mth original down-frequency signal frame is equal to the reference value can be used as the first sampling point in the m-th original down-frequency signal frame and The first sampling point of the phase matching of the sampling point corresponding to the phase reference sampling point number.

综上所述,本发明的实施例依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的相位基准取样点编号决定在第m个原始降频信号框中与相位基准取样点编号对应的取样点相位匹配的第一个取样点,将从与相位基准取样点编号对应的取样点相位匹配的第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点,以在对取样语音信号做进一步的降频(例如将频率降为四分之一)时,仍可有效地改善信号框重叠时相位不匹配所导致的信号失真情形。To sum up, in the embodiment of the present invention, the m-1th original down-frequency signal frame is determined based on the phase reference sampling point number corresponding to the middle sampling point of the m-1th updated down-frequency signal frame. The first sampling point that matches the phase of the sampling point corresponding to the phase reference sampling point number in the original down-frequency signal frame, and the continuous q from the first sampling point phase matching of the sampling point corresponding to the phase reference sampling point number The sampling point is used as the sampling point of the mth update down-frequency signal frame, so that when the sampled speech signal is further down-frequency (for example, the frequency is reduced to a quarter), the phase when the signal frame overlaps can still be effectively improved Signal distortion caused by mismatch.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (17)

1.一种语音信号处理装置,其特征在于,包括:1. A voice signal processing device, characterized in that, comprising: 一处理单元,降频一取样语音信号,以产生包括一序列的原始降频信号框的降频信号,并依据该些原始降频信号框产生对应的更新降频信号框,其中各所述原始降频信号框包括p个取样点,所述处理单元依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的一相位基准取样点编号决定在第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的第一个取样点,将从与所述相位基准取样点编号对应的取样点相位匹配的所述第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点,混叠相邻的更新降频信号框,以产生一交叠语音信号,其中所述相位基准取样点编号为在所述第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的取样点的编号,p、q为正整数、m为大于1的正整数。A processing unit for down-sampling a speech signal to generate a down-frequency signal comprising a sequence of original down-frequency signal frames, and generating corresponding updated down-frequency signal frames according to the original down-frequency signal frames, wherein each of the original down-frequency signal frames The down-frequency signal frame includes p sampling points, and the processing unit is based on a phase reference sampling point corresponding to the middle sampling point of the m-1th updated down-frequency signal frame in the m-1th original down-frequency signal frame The number determines the first sampling point phase-matched with the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame, and the first sampling point phase-matching from the sampling point corresponding to the phase reference sampling point number The q consecutive sampling points from the first sampling point are used as the sampling points of the m-th update down-frequency signal frame, and the adjacent update down-frequency signal frames are aliased to generate an overlapping voice signal, wherein the phase The reference sampling point number is the numbering of the sampling point corresponding to the middle sampling point of the m-1th update down-frequency signal frame in the m-1 original down-frequency signal frame, p, q are positive integers, m is a positive integer greater than 1. 2.根据权利要求1所述的语音信号处理装置,其特征在于,所述降频信号的频率为所述取样语音信号的四分之一,各所述更新降频信号框的长度等于各所述原始降频信号框的长度的二分之一。2. The speech signal processing device according to claim 1, wherein the frequency of the down-frequency signal is 1/4 of the sampled speech signal, and the length of each of the updated down-frequency signal frames is equal to each of the down-frequency signal frames. half of the length of the original down-frequency signal frame. 3.根据权利要求1所述的语音信号处理装置,其特征在于,所述相邻两个更新降频信号框分别具有50%的重叠区段。3 . The speech signal processing device according to claim 1 , wherein the two adjacent update down-frequency signal frames each have a 50% overlapping section. 4 . 4.根据权利要求3所述的语音信号处理装置,其特征在于,所述处理单元还依据所述第m个原始降频信号框中取样点的取样值累计一第一计数值以及一第二计数值,其中当计数至对应取样值为0的取样点或与取样值为0的取样点相邻的至少一取样点时,归零其对应的所述第一计数值或该第二计数值,将所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值或所述第二计数值作为一基准值,并依据所述基准值决定所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的所述第一个取样点。4. The speech signal processing device according to claim 3, wherein the processing unit also accumulates a first count value and a second count value according to the sampling value of the sampling point in the mth original down-frequency signal frame. A counting value, wherein when counting to a sampling point corresponding to a sampling value of 0 or at least one sampling point adjacent to a sampling point having a sampling value of 0, the corresponding first counting value or the second counting value is reset to zero , using the first count value or the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame as a reference value, and according to the The reference value determines the first sampling point whose phase matches the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame. 5.根据权利要求4所述的语音信号处理装置,其特征在于,所述处理单元还判断所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值是否小于等于所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值,若所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值小于等于所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值,将所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值作为所述基准值,并将所述第m个原始降频信号框中所述第一计数值等于所述基准值时所对应的取样点中最早取样的取样点作为所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的所述第一个取样点,若所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值未小于等于所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值,将所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的该第二计数值作为所述基准值,并将所述第m个原始降频信号框中所述第二计数值等于所述基准值时所对应的取样点中最早取样的取样点作为所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的所述第一个取样点。5. The speech signal processing device according to claim 4, characterized in that, the processing unit also judges the position of the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame Whether the corresponding first count value is less than or equal to the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame, if the The first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is less than or equal to the phase in the m-1th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the reference sampling point number is the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame A count value is used as the reference value, and the earliest sampled sampling point among the sampling points corresponding to when the first count value in the mth original down-frequency signal frame is equal to the reference value is used as the mth The first sampling point that matches the phase of the sampling point corresponding to the phase reference sampling point number in the original down-frequency signal frame, if the m-1th original down-frequency signal frame matches the phase reference sampling point The first count value corresponding to the sampling point corresponding to the point number is not less than or equal to the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame. Count value, the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 original down-frequency signal frame is used as the reference value, and the m-th The earliest sampled sampling point among the sampling points corresponding to when the second count value in the original down-frequency signal frame is equal to the reference value is used as the number corresponding to the phase reference sampling point number in the mth original down-frequency signal frame The sampling point phase matches the first sampling point. 6.根据权利要求1所述的语音信号处理装置,其特征在于,所述处理单元还将所述降频信号乘以一汉明窗。6. The speech signal processing device according to claim 1, wherein the processing unit further multiplies the down-frequency signal by a Hamming window. 7.根据权利要求1所述的语音信号处理装置,其特征在于,所述处理单元还依据各所述原始降频信号框中连续的三个取样值计算与各所述原始降频信号框对应的内插参数函数的值,并依据各所述原始降频信号框对应的内插参数函数的值计算各所述原始降频信号框中相邻两取样点间的内插值。7. The speech signal processing device according to claim 1, wherein the processing unit is also calculated according to three consecutive sampling values corresponding to each of the original down-frequency signal frames in each of the original down-frequency signal frames. value of the interpolation parameter function, and calculate the interpolation value between two adjacent sampling points in each of the original down-frequency signal frames according to the value of the interpolation parameter function corresponding to each of the original down-frequency signal frames. 8.根据权利要求7所述的语音信号处理装置,其特征在于,所述处理单元还判断所述内插参数函数的值是否小于一上限值且大于等于一下限值,若所述内插参数函数的值未小于所述上限值或未大于等于所述下限值,修正所述内插参数函数的值,其中若所述内插参数函数的值大于等于所述上限值,将所述内插参数函数的值修正为所述上限值,若所述内插参数函数的值小于述下限值,将所述内插参数函数的值修正为所述下限值。8. The speech signal processing device according to claim 7, wherein the processing unit further judges whether the value of the interpolation parameter function is less than an upper limit and greater than or equal to a lower limit, if the interpolation The value of the parameter function is not less than the upper limit value or not greater than or equal to the lower limit value, and the value of the interpolation parameter function is corrected, wherein if the value of the interpolation parameter function is greater than or equal to the upper limit value, the The value of the interpolation parameter function is corrected to the upper limit value, and if the value of the interpolation parameter function is smaller than the lower limit value, the value of the interpolation parameter function is corrected to the lower limit value. 9.根据权利要求8所述的语音信号处理装置,其特征在于,所述取样语音信号为通过取样一原始语音信号而产生,所述上限值与所述下限值关联于所述原始语音信号的频率与所述取样所述原始语音信号的取样频率。9. The speech signal processing device according to claim 8, wherein the sampled speech signal is generated by sampling an original speech signal, and the upper limit and the lower limit are associated with the original speech The frequency of the signal is related to the sampling frequency at which the original speech signal is sampled. 10.根据权利要求7所述的语音信号处理装置,其特征在于,所述处理单元还依据各所述原始降频信号框中连续的三个取样值间的三角函数关系计算各所述原始降频信号框对应的内插参数函数,其中所述内插参数函数为三角函数。10. The speech signal processing device according to claim 7, characterized in that, the processing unit also calculates each of the original down-frequency signals according to the trigonometric relationship between the three consecutive sampling values in each of the original down-frequency signal frames. An interpolation parameter function corresponding to the frequency signal frame, wherein the interpolation parameter function is a trigonometric function. 11.一种语音信号处理方法,其特征在于,包括:11. A voice signal processing method, characterized in that, comprising: 降频一取样语音信号,以产生包括一序列的原始降频信号框的降频信号,其中各所述原始降频信号框包括p个取样点,其中p为正整数;down-sampling the speech signal to generate a down-converted signal comprising a sequence of original down-converted signal frames, wherein each of the original down-converted signal frames comprises p sampling points, where p is a positive integer; 依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的一相位基准取样点编号决定在第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的第一个取样点,其中m为大于1的正整数,所述相位基准取样点编号为在所述第m-1个原始降频信号框中与所述第m-1个更新降频信号框的中间取样点所对应的取样点的编号;以及According to a phase reference sampling point number corresponding to the middle sampling point in the m-1th original down-frequency signal frame and the m-1th updated down-frequency signal frame The first sampling point of the phase matching of the sampling point corresponding to the phase reference sampling point number, wherein m is a positive integer greater than 1, and the phase reference sampling point number is in the m-1th original down-frequency signal frame The serial number of the sampling point corresponding to the middle sampling point of the m-1th updated down-frequency signal frame; and 将从与所述相位基准取样点编号对应的取样点相位匹配的所述第一个取样点起的连续q个取样点作为第m个更新降频信号框的取样点,其中q为正整数;以及Taking the continuous q sampling points from the first sampling point phase-matched with the phase reference sampling point number as the sampling point of the mth update down-frequency signal frame, where q is a positive integer; as well as 混叠相邻的更新降频信号框,以产生一交叠语音信号。Adjacent frames of the updated down-converted signal are aliased to generate an overlapping speech signal. 12.根据权利要求11所述的语音信号处理方法,其特征在于,所述依据在第m-1个原始降频信号框中与第m-1个更新降频信号框的中间取样点所对应的一相位基准取样点编号决定在所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的第一个取样点的步骤包括:12. The speech signal processing method according to claim 11, characterized in that, the basis corresponds to the middle sampling point of the m-1th update down-frequency signal frame in the m-1th original down-frequency signal frame A phase reference sampling point number determines the first sampling point phase-matched with the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame, including: 依据所述第m个原始降频信号框中取样点的取样值累计一第一计数值以及一第二计数值,其中当计数至对应取样值为0的取样点或与取样值为0的取样点相邻的至少一取样点时,归零其对应的所述第一计数值或该第二计数值;Accumulate a first count value and a second count value according to the sampling value of the sampling point in the mth original down-frequency signal frame, wherein when counting to a sampling point corresponding to a sampling value of 0 or a sampling value corresponding to a sampling value of 0 When at least one sampling point adjacent to the point is selected, the corresponding first count value or the second count value is reset to zero; 将所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值或所述第二计数值作为一基准值;以及using the first count value or the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame as a reference value; and 依据所述基准值决定所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点的相位匹配的所述第一个取样点。The first sampling point for phase matching of the sampling point corresponding to the phase reference sampling point number in the m th original down-frequency signal frame is determined according to the reference value. 13.根据权利要求12所述的语音信号处理方法,其特征在于,所述将所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值或所述第二计数值作为所述基准值的步骤包括:13. The speech signal processing method according to claim 12, characterized in that, the said mth original down-frequency signal frame corresponding to the sampling point corresponding to the phase reference sampling point number The step of using a count value or the second count value as the reference value includes: 判断所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值是否小于等于所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的该第二计数值;Judging whether the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is less than or equal to the m-1th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the phase reference sampling point number; 若所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的该第一计数值小于等于所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值,将所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值作为该基准值;以及If the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame is less than or equal to the number in the m-1th original down-frequency signal frame The second count value corresponding to the sampling point corresponding to the phase reference sampling point number is the corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame The first count value is used as the reference value; and 若所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值未小于等于所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值,将所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值作为所述基准值。If the first count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1 th original down-frequency signal frame is not less than or equal to the m-1 th original down-frequency signal frame In the second count value corresponding to the sampling point corresponding to the phase reference sampling point number, the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame The corresponding second count value is used as the reference value. 14.根据权利要求13所述的语音信号处理方法,其特征在于,所述若所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值小于等于所述第m-1个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值,所述语音信号处理方法包括:14. The speech signal processing method according to claim 13, wherein, if the said m-1th original down-frequency signal frame is corresponding to the sampling point corresponding to the phase reference sampling point number The first count value is less than or equal to the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the m-1th original down-frequency signal frame, and the voice signal processing method includes: 将所述第m个原始降频信号框中所述第一计数值等于所述基准值时所对应的取样点中最早取样的取样点作为所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的所述第一个取样点。Taking the earliest sampled sampling point among the sampling points corresponding to when the first count value in the mth original down-frequency signal frame is equal to the reference value as the first sampling point in the m-th original down-frequency signal frame and the The sampling point number corresponding to the phase reference sampling point matches the first sampling point in phase. 15.根据权利要求13所述的语音信号处理方法,其特征在于,所述若所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第一计数值未小于等于所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点所对应的所述第二计数值,所述语音信号处理方法包括:15. The speech signal processing method according to claim 13, wherein, if the mth original down-frequency signal frame is corresponding to the sampling point corresponding to the phase reference sampling point number A count value is not less than or equal to the second count value corresponding to the sampling point corresponding to the phase reference sampling point number in the mth original down-frequency signal frame, and the speech signal processing method includes: 将所述第m个原始降频信号框中所述第二计数值等于所述基准值时所对应的取样点中最早取样的取样点作为所述第m个原始降频信号框中与所述相位基准取样点编号对应的取样点相位匹配的所述第一个取样点。Taking the earliest sampled sampling point among the sampling points corresponding to when the second count value in the mth original down-frequency signal frame is equal to the reference value as the first sampling point in the m-th original down-frequency signal frame and the The sampling point number corresponding to the phase reference sampling point matches the first sampling point in phase. 16.根据权利要求11所述的语音信号处理方法,其特征在于,包括:16. The speech signal processing method according to claim 11, characterized in that, comprising: 依据各所述原始降频信号框中连续的三个取样值计算与各所述原始降频信号框对应的内插参数函数的值;Calculate the value of the interpolation parameter function corresponding to each of the original down-frequency signal frames according to three consecutive sampling values in each of the original down-frequency signal frames; 判断所述内插参数函数的值是否小于一上限值且大于等于一下限值,若所述内插参数函数的值未小于所述上限值或未大于等于所述下限值,修正所述内插参数函数的值;以及judging whether the value of the interpolation parameter function is less than an upper limit and greater than or equal to a lower limit, if the value of the interpolation parameter function is not less than the upper limit or not greater than or equal to the lower limit, modify the the value of the interpolation parameter function; and 依据各所述降频信号框对应的内插参数函数的值计算各所述降频信号框中相邻两取样点间的内插值。An interpolation value between two adjacent sampling points in each down-frequency signal frame is calculated according to the value of the interpolation parameter function corresponding to each down-frequency signal frame. 17.根据权利要求16所述的语音信号处理方法,其特征在于,所述若所述内插参数函数的值大于等于所述上限值,将所述内插参数函数的值修正为所述上限值,若所述内插参数函数的值小于所述下限值,将所述内插参数函数的值修正为所述下限值,其中所述取样语音信号为通过取样一原始语音信号而产生,所述上限值与所述下限值关联于所述原始语音信号的频率与所述取样所述原始语音信号的取样频率。17. The speech signal processing method according to claim 16, wherein if the value of the interpolation parameter function is greater than or equal to the upper limit value, the value of the interpolation parameter function is corrected to the Upper limit value, if the value of the interpolation parameter function is less than the lower limit value, modify the value of the interpolation parameter function to the lower limit value, wherein the sampled speech signal is obtained by sampling an original speech signal Therefore, the upper limit value and the lower limit value are related to the frequency of the original speech signal and the sampling frequency for sampling the original speech signal.
CN201510294353.1A 2015-06-02 2015-06-02 Speech signal processing apparatus and speech signal processing method Expired - Fee Related CN106297814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510294353.1A CN106297814B (en) 2015-06-02 2015-06-02 Speech signal processing apparatus and speech signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510294353.1A CN106297814B (en) 2015-06-02 2015-06-02 Speech signal processing apparatus and speech signal processing method

Publications (2)

Publication Number Publication Date
CN106297814A true CN106297814A (en) 2017-01-04
CN106297814B CN106297814B (en) 2019-08-06

Family

ID=57655557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510294353.1A Expired - Fee Related CN106297814B (en) 2015-06-02 2015-06-02 Speech signal processing apparatus and speech signal processing method

Country Status (1)

Country Link
CN (1) CN106297814B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080123886A1 (en) * 2005-06-27 2008-05-29 Widex A/S Hearing aid with enhanced high frequency reproduction and method for processing an audio signal
WO2006133431A3 (en) * 2005-06-08 2009-04-23 Univ California Methods, devices and systems using signal processing algorithms to improve speech intelligibility and listening comfort
CN101944364A (en) * 2009-07-09 2011-01-12 展讯通信(上海)有限公司 Voice frequency processing method and voice frequency system
CN102638755A (en) * 2012-04-25 2012-08-15 南京邮电大学 Digital hearing aid loudness compensation method based on frequency compression and movement
US20130182875A1 (en) * 2010-12-08 2013-07-18 Widex A/S Hearing aid and a method of improved audio reproduction
CN103503061A (en) * 2011-02-14 2014-01-08 弗兰霍菲尔运输应用研究公司 Apparatus and method for processing a decoded audio signal in a spectral domain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006133431A3 (en) * 2005-06-08 2009-04-23 Univ California Methods, devices and systems using signal processing algorithms to improve speech intelligibility and listening comfort
US20080123886A1 (en) * 2005-06-27 2008-05-29 Widex A/S Hearing aid with enhanced high frequency reproduction and method for processing an audio signal
CN101944364A (en) * 2009-07-09 2011-01-12 展讯通信(上海)有限公司 Voice frequency processing method and voice frequency system
US20130182875A1 (en) * 2010-12-08 2013-07-18 Widex A/S Hearing aid and a method of improved audio reproduction
CN103503061A (en) * 2011-02-14 2014-01-08 弗兰霍菲尔运输应用研究公司 Apparatus and method for processing a decoded audio signal in a spectral domain
CN102638755A (en) * 2012-04-25 2012-08-15 南京邮电大学 Digital hearing aid loudness compensation method based on frequency compression and movement

Also Published As

Publication number Publication date
CN106297814B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
JP7077378B2 (en) Information coding concept
CN106205637B (en) Noise detection method and device for audio signal
CN106415310B (en) Peak frequency detection device and method
WO2019218721A1 (en) Phase calibration method and device
WO2010086020A1 (en) Audio signal quality prediction
WO2013170610A1 (en) Method and apparatus for detecting correctness of pitch period
CN112654878A (en) Arrival and departure angles using standard bluetooth low energy packets
JP2018156718A5 (en)
JP5319788B2 (en) Audio signal alignment method
CN106297814B (en) Speech signal processing apparatus and speech signal processing method
TWI557729B (en) Voice signal processing apparatus and voice signal processing method
CN107451992B (en) A method and device for detecting changes in SAR images
TWI576831B (en) Linear prediction coefficient conversion device and linear prediction coefficient conversion method
CN117792192B (en) Method, device, equipment and medium for rotary soft decoding
JP2015179426A (en) Information processing apparatus, parameter determination method, and program
US10636438B2 (en) Method, information processing apparatus for processing speech, and non-transitory computer-readable storage medium
US20110317853A1 (en) Heyser spiral low frequency correction of fir filters
US20160217805A1 (en) Voice signal processing apparatus and voice signal processing method
CN106328158B (en) Speech signal processing apparatus and speech signal processing method
JPWO2005104365A1 (en) DIGITAL FILTER DESIGN METHOD AND DESIGN DEVICE, DIGITAL FILTER DESIGN PROGRAM, DIGITAL FILTER, METHOD FOR GENERATING NUMERICAL CHARACTER CHARACTERISTICS FOR D desired frequency characteristics
CN115766352A (en) High-precision spectrum estimation method under low signal-to-noise ratio
JPS62203199A (en) Pitch cycle extraction system
TWI583205B (en) Speech signal processing device and speech signal processing method
CN106157978A (en) Speech signal processing apparatus and speech signal processing method
CN107247819B (en) Filtering methods and filters for sensors

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190806