Voice noise reduction method based on frequency domain space

By using FFT and polynomial product operations in frequency domain space to separate speech frequency components, the problem of complexity of time domain noise reduction in the existing technology is solved, and effective noise reduction and pure extraction of speech signals are achieved.

CN118800262APending Publication Date: 2024-10-18SOUTHWEAT UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410430220.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-10
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively reduce noise in the time domain, especially when the speech and noise spectra overlap each other, which makes the pure extraction of the speech signal complicated, and the non-stationary nature of the noise increases the difficulty of processing.

Method used

Obtain the noisy speech spectrum through FFT, use the relative stationarity of the known noise to decompose it, combine it with the modulation signal spectrum separation algorithm, use polynomial product operation and product difference formula to separate the pure speech frequency component, and obtain the pure speech through IFFT output Signal.

Benefits of technology

It achieves effective separation of modulated speech signals in the frequency domain space, obtains pure speech signals, significantly improves the effect of speech noise reduction, and simplifies the processing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The invention relates to the technical field of voice noise reduction, in particular to a voice noise reduction method based on a frequency domain space, which comprises the following steps of: 1, obtaining a noisy voice spectrum through FFT (Fast Fourier Transform); 2, decomposing the noisy speech spectrum by using the relative stability of the noise through the known noise component; and 3, a pure voice frequency component is obtained through a modulation signal spectrum separation algorithm, a pure voice signal is obtained through IFFT output, and noise reduction is realized. According to the invention, signal separation can be effectively carried out on the modulated voice signal to obtain a pure voice signal, and a voice noise reduction function is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of speech noise reduction, and in particular to a speech noise reduction method based on frequency domain space. Background Art

[0002] An audio amplifier is a device that amplifies sound signals. In the output signal, speech and noise are mixed together, and the spectra overlap, making it difficult to perform noise reduction in the time domain. Speech and noise have modulation characteristics. During the mixing process, the spectrum shift caused by the upper sideband and the lower sideband will produce many sideband frequency components. In order to extract speech signals from noisy speech, it is necessary to do it in the frequency domain space, but extracting pure speech signals from the sideband spectrum is a relatively complicated method. Summary of the invention

[0003] The present invention provides a method for speech noise reduction based on frequency domain space, which can better perform speech noise reduction.

[0004] A frequency domain-based speech noise reduction method according to the present invention comprises the following steps:

[0005] 1. Obtain the noisy speech spectrum through FFT;

[0006] Second, by using the known noise components and the relative stability of the noise, the noisy speech spectrum is decomposed;

[0007] 3. Through the modulation signal spectrum separation algorithm, the pure speech frequency component is obtained, and the pure speech signal is obtained through IFFT output to achieve noise reduction.

[0008] As a preferred embodiment, in step 1, the noisy speech spectrum A k , B k The relationship with the noisy speech signal is as follows:

[0009] Assume that the noise signal is c(t), the speech signal is y(t), and the noisy speech signal is represented by f(t). The modulation process of noise and speech signal is shown in formula (1):

[0010] f(t)=c(t)y(t) (1)

[0011] Both the noise and speech signals satisfy the conditions of Fourier series expansion, and we get:

[0012]

[0013]

[0014] In the above formula, a'0, a i , b i are the spectral components of the noise signal, c'0, cj ,d j is the spectral component of the speech signal, ω0 is the fundamental frequency of the signal, i is the frequency component of the noise signal, and j is the frequency component of the speech signal. Substituting the above formula into (1), we get:

[0015]

[0016]

[0017] Assuming that the maximum frequency component of the noise signal is m and the maximum frequency component of the pure speech signal is n, equation (2) is converted to:

[0018]

[0019] k is the frequency component after noise and speech modulation. Formula (3) contains four terms, namely:

[0020]

[0021]

[0022]

[0023]

[0024] The above formula uses the product-to-difference formula:

[0025]

[0026]

[0027]

[0028]

[0029] In the formula, a and b are the phase angles involved in the operation. From the formula, we can see that there are frequency components of the upper sideband (a+b) and the lower sideband (ab) in formula (3). Considering the negative angle operation rule of trigonometric functions:

[0030] sin(-a)=-sin(a) cos(-a)=cos(a)

[0031] By comparing with formula (3), we can see that the coefficient A in formula (3) is K , B K is the spectrum of the noisy speech signal, where A K By combining f1(t) and f4(t) with the same frequency, B K It is determined by combining f2(t) and f3(t) to obtain the same frequency term. The upper sideband (a+b) and the lower sideband (ab) have overlapping frequencies, so AK and B K Determined by the upper sideband and the lower sideband.

[0032] As a preferred embodiment, in step 2, the noisy speech spectrum A k , B k The decomposition process is as follows:

[0033] Assuming that the frequency components of the noise signal include 0, 1, 2, 3, 4 times, and the frequency components of the pure speech signal include 1, 2, 3, 4, 5 times, we can get the noise spectrum and the pure speech spectrum, f1(t), f4(t) and f2(t), f3(t) are all products of two trigonometric function polynomials, and perform polynomial product operations;

[0034] First, the spectrum shift relationship of f1(t) is analyzed. The frequency components of the noisy speech obtained by modulating the noise signal and the pure speech signal include 0~m+n times. Each frequency component is determined by the upper sideband and the lower sideband. Considering that there is no DC component in the pure speech signal, j>0, therefore,

[0035] i+j≥1

[0036] At the same time, cos(-x) = cos(x), so all items with k = |ij| = i+j should be merged. For this reason, the result of running f1(t) is:

[0037]

[0038] Similarly, the result of running f4(t) is:

[0039]

[0040] Thus, the coefficient A in formula (3) is obtained k :

[0041] A k =A K(f1) +A K(f4) k=0,1,…m+n (6)

[0042] At the same time, considering that sin(-x) = -sin(x), we combine the terms k = |ij| = i + j, and the result of running f2(t) is:

[0043]

[0044] Among them, the sign function SGN(ij) is shown in formula (8):

[0045]

[0046] Similarly, the result of running f3(t) is:

[0047]

[0048] Thus, the coefficient B in formula (3) is obtained K :

[0049] B k =B k(f2) +B k(f3) k=0,1,…m+n (10)

[0050] Solving equation (6) and equation (10) together, we can obtain:

[0051]

[0052] Preferably, in step three, specifically:

[0053] The maximum frequency point k=m+n=9 of noisy speech can only be obtained through the maximum frequency of noise and the maximum frequency of pure speech signal. Therefore,

[0054]

[0055] In formula (12), a4, b4, A9, B9 are all known parameters, and the only unknown parameters are c5 and d5. Solving formula (12) can obtain the highest spectral components c5 and d5 of the pure speech signal.

[0056] The second highest frequency point k = m + n-1 = 8, this frequency component can be obtained by modulating two frequency components, so,

[0057]

[0058] In formula (13), c5 and d5 have been solved by formula (10), a4, b4 and A8, B8 are all detection parameters, and the only unknown parameters are c4 and d4. Solving formula (13) can obtain the second highest spectral components c4 and d4 of the pure speech signal.

[0059] The third highest frequency point k=m+n-2=7, this frequency component can be obtained by modulating three frequency components, so,

[0060]

[0061] In formula (14), c5 and d5 have been solved by formula (12), c4 and d4 have been solved by formula (13), and the only unknown parameters are c3 and d3. Solving formula (14) can obtain the third high frequency spectrum components c3 and d3 of the pure speech signal.

[0062] The system of equations is solved recursively in this way until all the pure speech frequency components are found. At this point, the pure speech signal frequency components are successfully decomposed from the noisy speech, and the pure speech signal is obtained through IFFT output.

[0063] The present invention can effectively separate the modulated voice signal to obtain a pure voice signal and realize the voice noise reduction function. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 Schematic diagram of the operation rule of polynomial product in the embodiment;

[0065] Figure 2 Schematic diagram of polynomial operation results when K=m+n=9 in the embodiment;

[0066] Figure 3 This is a schematic diagram of the polynomial operation result of K=m+n-1=8 in the embodiment;

[0067] Figure 4 Schematic diagram of the polynomial operation result of K=m+n-2=7 in the embodiment. DETAILED DESCRIPTION

[0068] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments are only for explaining the present invention and are not intended to limit it.

[0069] Example

[0070] For communication systems, noise includes additive noise and multiplicative noise.

[0071] Additive noise, that is, the noise-added signal (such as the DC bias of an amplifier, etc.), is obtained by adding noise to the source signal.

[0072] Multiplicative noise, noise and signal are modulated with each other. This type of noise often appears in the form of signal product and is generally generated from channel transmission, so it is also called channel noise.

[0073] For additive noise, we can easily achieve noise reduction through spectral subtraction.

[0074] For modulated signals, since spectrum shifting will occur and upper and lower sidebands will appear, it is much more difficult to remove noise from noisy speech and leave a pure speech signal. This is not only because the modulation process will produce many sideband frequency components, but also because noise is generally non-stationary.

[0075] Although the noise is non-stationary, when processed in real time, the time interval between two consecutive sampling values ​​is very short, so the noise can be approximated as stationary noise.

[0076] This embodiment uses known noise spectrum and noisy speech spectrum in the frequency domain to find out the pure speech spectrum and achieve speech noise reduction.

[0077] This embodiment provides a method for reducing speech noise based on frequency domain space, which includes the following steps:

[0078] 1. Obtain the noisy speech spectrum through FFT;

[0079] Second, decompose the noisy speech spectrum through polynomial product operation;

[0080] 3. The pure speech frequency component is obtained by frequency component modulation, and the pure speech signal is obtained by IFFT output.

[0081] Specifically:

[0082] Assume that the noise signal is c(t), the speech signal is y(t), and the noisy speech signal is represented by f(t). The modulation process of noise and speech signal is shown in formula (1):

[0083] f(t)=c(t)y(t) (1)

[0084] Both the noise and speech signals satisfy the conditions of Fourier series expansion, and we get:

[0085]

[0086]

[0087] In the above formula, a'0, a i 、b i are the spectral components of the noise signal, c'0, c j d j is the spectral component of the speech signal, ω0 is the fundamental frequency of the signal, i is the frequency component of the noise signal, and j is the frequency component of the speech signal. Substituting the above formula into (1) we get:

[0088]

[0089] Assuming that the maximum frequency component of the noise signal is m and the maximum frequency component of the pure speech signal is n, equation (2) is converted to:

[0090]

[0091] Formula (3) contains four terms (k is the frequency component after noise and speech modulation), which are:

[0092]

[0093]

[0094]

[0095]

[0096] The above formula uses the product-to-difference formula:

[0097]

[0098]

[0099]

[0100]

[0101] In the formula, a and b are the phase angles involved in the operation. From the formula, we can see that there are frequency components of the upper sideband (a+b) and the lower sideband (ab) in formula (3); considering the negative angle operation rule of trigonometric functions:

[0102] sin(-a)=-sin(a) cos(-a)=cos(a)

[0103] By comparing with formula (3), we can see that the coefficient A in formula (3) is K , B K is the spectrum of the noisy speech signal, where A K By combining f1(t) and f4(t) with the same frequency, B K It is determined by combining f2(t) and f3(t) to obtain the same frequency term. The upper sideband (a+b) and the lower sideband (ab) have overlapping frequencies, so A K and B K Determined by the upper sideband and the lower sideband.

[0104] Assuming that the frequency components of the noise signal include 0, 1, 2, 3, and 4 times (frequency 0 is the DC bias that may exist in the voice amplifier circuit), and the frequency components of the pure voice signal include 1, 2, 3, 4, and 5 times, the noise spectrum and pure voice spectrum are obtained, as shown in Table 1.

[0105] Table 1 Noise spectrum and pure speech spectrum

[0106]

[0107]

[0108] f1(t), f4(t) and f2(t), f3(t) are all products of two trigonometric polynomials. Figure 1 Perform polynomial product operation as shown;

[0109] First, analyze the spectrum shift relationship of f1(t), such as Figure 1 shown.

[0110] Table 2 Spectrum shift relationship table

[0111]

[0112] According to Table 2, the frequency components of the noisy speech obtained by modulating the noise signal and the pure speech signal include 0~m+n. Each frequency component is determined by the upper sideband and the lower sideband. Considering that there is no DC component in the pure speech signal, j>0, therefore,

[0113] i+j≥1

[0114] At the same time, cos(-x) = cos(x), so all items with k = |ij| = i+j should be merged. For this reason, the result of running f1(t) is:

[0115]

[0116] Similarly, the result of running f4(t) is:

[0117]

[0118] Thus, the coefficient A in formula (3) is obtained k :

[0119] A k =A K(f1) +A K(f4) k=0,1,...m+n (6)

[0120] Similarly, we can deduce B k The expression of is shown in Table 3, and the spectrum shift relationship of f2(t) is analyzed.

[0121] Table 3 Spectrum shift relationship table

[0122]

[0123] From the analysis of Table 3, considering that sin(-x) = -sin(x), we combine the items of k = |ij| = i + j, and get the result of running f2(t):

[0124]

[0125] Among them, the sign function SGN(ij) is shown in formula (8):

[0126]

[0127] Similarly, the result of running f3(t) is:

[0128]

[0129] Thus, the coefficient B in formula (3) is obtained K :

[0130] B k =B k(f2) +B k(f3) k=0,1,...m+n (10)

[0131] Solving equation (6) and equation (10) together, we can obtain:

[0132]

[0133] Figure 2 It is the result of polynomial operation when K=m+n=9.

[0134] The maximum frequency point k=m+n=9 of noisy speech can only be obtained through the maximum frequency of noise and the maximum frequency of pure speech signal. Therefore,

[0135]

[0136] In formula (12), a4, b4, A9, B9 are all known parameters, and the only unknown parameters are c5 and d5. Solving formula (12) can obtain the highest spectral components c5 and d5 of the pure speech signal.

[0137] The second highest frequency point k = m + n-1 = 8, this frequency component can be obtained by modulating two frequency components, such as Figure 3 As shown, therefore,

[0138]

[0139] In formula (13), c5 and d5 have been solved by formula (10), a4, b4 and A8, B8 are all detection parameters, and the only unknown parameters are c4 and d4. Solving formula (13) can obtain the second highest spectral components c4 and d4 of the pure speech signal.

[0140] The third highest frequency point k = m + n-2 = 7, this frequency component can be obtained by modulating three frequency components, such as Figure 4 As shown, therefore,

[0141]

[0142] In formula (14), c5 and d5 have been solved by formula (12), c4 and d4 have been solved by formula (13), and the only unknown parameters are c3 and d3. Solving formula (14) can obtain the third high frequency spectrum components c3 and d3 of the pure speech signal.

[0143] The system of equations is solved recursively in this way until all the pure speech frequency components are found. At this point, the pure speech signal frequency components are successfully decomposed from the noisy speech, and the pure speech signal is obtained through IFFT output.

[0144] This method is used in a 32-bit single-chip microcomputer to ensure the running speed of FFT and IFFT. At the same time, the running data is uploaded to the host computer through the serial port, and the running results are displayed on the host computer.

[0145] The present invention can effectively separate the modulated voice signal to obtain a pure voice signal and realize the voice noise reduction function.

[0146] The present invention and its embodiments are described schematically above, and the description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. Therefore, if a person skilled in the art is inspired by it and designs a structural method and an embodiment similar to the technical solution without creativity without departing from the purpose of the invention, they shall all fall within the protection scope of the present invention.

Claims

1. A speech noise reduction method based on frequency domain space, characterized in that: It includes the following steps:

1. Obtain the noisy speech spectrum through FFT; Second, by using the known noise components and the relative stability of the noise, the noisy speech spectrum is decomposed; 3. Through the modulation signal spectrum separation algorithm, the pure speech frequency component is obtained, and the pure speech signal is obtained through IFFT output to achieve noise reduction.

2. The method for speech noise reduction based on frequency domain space according to claim 1, characterized in that: In step 1, the noisy speech spectrum A k , B k The relationship with the noisy speech signal is as follows: Assume that the noise signal is c(t), the speech signal is y(t), and the noisy speech signal is represented by f(t). The modulation process of noise and speech signal is shown in formula (1): f(t)=c(t)y(t) (1) Both the noise and speech signals satisfy the conditions of Fourier series expansion, and we get: In the above formula, a'0, a i , b i are the spectral components of the noise signal, c'0, c j ,d j is the spectral component of the speech signal, ω0 is the fundamental frequency of the signal, i is the frequency component of the noise signal, and j is the frequency component of the speech signal. Substituting the above formula into (1), we get: Assuming that the maximum frequency component of the noise signal is m and the maximum frequency component of the pure speech signal is n, equation (2) is converted to: k is the frequency component after noise and speech modulation. Formula (3) contains four terms, namely: The above formula uses the product-to-difference formula: In the formula, a and b are the phase angles involved in the operation. From the formula, we can see that there are frequency components of the upper sideband (a+b) and the lower sideband (ab) in formula (3). Considering the negative angle operation rule of trigonometric functions: sin(-a)=-sin(a)cos(-a)=cos(a) By comparing with formula (3), we can see that the coefficient A in formula (3) is k , B k is the spectrum of the noisy speech signal, where A k By combining f1(t) and f4(t) with the same frequency, B k It is determined by combining f2(t) and f3(t) to obtain the same frequency term. The upper sideband (a+b) and the lower sideband (ab) have overlapping frequencies, so A k and B k Determined by the upper sideband and the lower sideband.

3. The method for speech noise reduction based on frequency domain space according to claim 2, characterized in that: In step 2, the noisy speech spectrum A k , B k The decomposition process is as follows: Assuming that the frequency components of the noise signal include 0, 1, 2, 3, 4 times, and the frequency components of the pure speech signal include 1, 2, 3, 4, 5 times, we can get the noise spectrum and the pure speech spectrum, f1(t), f4(t) and f2(t), f3(t) are all products of two trigonometric function polynomials, and perform polynomial product operations; First, the spectrum shift relationship of f1(t) is analyzed. The frequency components of the noisy speech obtained by modulating the noise signal and the pure speech signal include 0~m+n times. Each frequency component is determined by the upper sideband and the lower sideband. Considering that there is no DC component in the pure speech signal, j>0, therefore, i+j≥1 At the same time, cos(-x) = cos(x), so all items with k = |ij| = i+j should be merged. For this reason, the result of running f1(t) is: Similarly, the result of running f4(t) is: Thus, the coefficient A in formula (3) is obtained k : A k =A K(f1) +A K(f4) k=0,1,...m+n (6) At the same time, considering that sin(-x) = -sin(x), we combine the terms k = |ij| = i + j, and the result of running f2(t) is: Among them, the sign function SGN(ij) is shown in formula (8): Similarly, the result of running f3(t) is: Thus, the coefficient B in formula (3) is obtained K : B k =B k(f2) +B k(f3) k=0,1,...m+n (10) Solving equation (6) and equation (10) together, we can obtain:

4. The method for reducing speech noise based on frequency domain space according to claim 3, characterized in that: In step three, specifically: The maximum frequency point k=m+n=9 of noisy speech can only be obtained through the maximum frequency of noise and the maximum frequency of pure speech signal. Therefore, In formula (12), a4, b4, A9, B9 are all known parameters, and the only unknown parameters are c5 and d5. Solving formula (12) yields the highest spectral components c5 and d5 of the pure speech signal; The second highest frequency point k = m + n-1 = 8, this frequency component is obtained by modulating two frequency components, so, In formula (13), c5 and d5 have been solved by formula (10), a4, b4 and A8, B8 are all detection parameters, and the only unknown parameters are c4 and d4. Solving formula (13) can obtain the second highest spectral components c4 and d4 of the pure speech signal; The third highest frequency point k=m+n-2=7, this frequency component is obtained by modulating three frequency components, so, In formula (14), c5 and d5 have been solved by formula (12), c4 and d4 have been solved by formula (13), and the only unknown parameters are c3 and d3. Solving formula (14) will give the third high frequency spectrum components c3 and d3 of the pure speech signal; The system of equations is solved recursively in this way until all the pure speech frequency components are found. At this point, the pure speech signal frequency components are successfully decomposed from the noisy speech, and the pure speech signal is obtained through IFFT output.