An audio denoising method for wireless microphone
By analyzing the difference in energy distribution and resonance between frequencies, the respiratory resonance frequency and contrast frequency are screened out, and adaptive spectrum subtraction is performed, which solves the problem that traditional denoising methods cannot effectively remove the interference of respiratory sounds and improves the clarity of audio data. degree and accuracy.
Patent Information
- Application Number
- CN202410683361.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-30
AI Technical Summary
The traditional spectrum subtraction algorithm fails to effectively consider the interference of respiratory sound information on the expression of audio data, resulting in the inability to accurately remove the audio information content and reducing the denoising effect.
By obtaining the spectrogram of the background and audio data, analyzing the difference in energy distribution and resonance between frequencies, screening out the respiratory resonance frequency and contrast frequency, and performing adaptive spectrum subtraction to remove noise and improve the accuracy of denoised data.
It effectively reduces the amount of noise in audio data, improves the accuracy of the denoised audio data in expressing audio information content, and distinguishes the interference of breathing and speaking sounds.
Smart Images

Figure CN118283468B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an audio denoising method for a wireless microphone. Background Art
[0002] A wireless microphone is an electronic device that transmits sound information through wireless electronic signals. When a wireless microphone transmits sound information, the interference of the line in the wireless microphone device will generate noise that affects the clarity of the audio content. Therefore, in order to improve the clarity of the audio content, it is necessary to denoise the audio data.
[0003] The existing technology usually uses a spectral subtraction algorithm to subtract the background noise spectrum information from the entire spectrum information of the audio data, and then performs an inverse transformation to obtain the denoised audio data. In actual environments, when people send out voice information, some detectable breathing sound information will inevitably be attached, and this part of the breathing sound information will also interfere with the correct expression of the voice information content to a certain extent. However, the traditional spectral subtraction algorithm does not take into account the interference of breathing sound information on the expression of audio data information, and is unable to select appropriate spectral information for subtraction, resulting in the inability of traditional denoised audio data to accurately express the audio information content, thereby reducing the denoising effect. Summary of the invention
[0004] The present invention provides an audio denoising method for a wireless microphone to solve the existing problem that the traditional spectrum subtraction algorithm does not take into account the interference of breathing sound information on the expression of audio data information, and cannot select appropriate spectrum information for subtraction, resulting in the inability of the traditional denoised audio data to accurately express the audio information content.
[0005] The present invention provides an audio denoising method for a wireless microphone using the following technical solution:
[0006] The following steps are involved:
[0007] Acquire some background current data and audio current data;
[0008] Subtract the spectrum of the overall background current data from the overall audio current data to obtain an audio effective information spectrum diagram composed of several frequencies; comprehensively analyze the energy value distribution difference and energy resonance correlation between the left and right neighboring regions of the frequency in the audio effective information spectrum diagram to obtain the audio breathing resonance degree of each frequency; and select several audio breathing resonance frequencies from all frequencies according to the audio breathing resonance degree;
[0009] For any frequency, analyzing the high and low frequency distribution trend of the frequency, comparing the energy difference between the frequency and the audio breathing resonance frequency, and combining the audio breathing resonance degree of the frequency to obtain the audio breathing contrast degree of the frequency; according to the audio breathing contrast degree, screening out several audio breathing frequencies from all frequencies;
[0010] According to the audio breathing frequencies in the audio effective information spectrum diagram, several audio breathing frequencies to be eliminated are screened out from the Fourier spectrum diagram of each audio current data; the audio effective information spectrum diagram is processed according to the audio breathing frequencies to be eliminated to obtain a microphone audio denoising data sequence.
[0011] Preferably, the method for obtaining the audio breathing resonance degree is:
[0012] Record any frequency in the audio effective information spectrum as the target frequency, divide the frequencies distributed on the left and right sides of the target frequency into data segments, and obtain the left adjacent audio frequency data segment and the right adjacent audio frequency data segment of the target frequency;
[0013] Compare the energy change and floating difference between the left adjacent audio frequency data segment and the right adjacent audio frequency data segment of the target frequency to obtain the left and right adjacent audio energy difference value of the target frequency;
[0014] Compare the symmetrical resonance of energy distribution at the same position between the left adjacent audio frequency data segment and the right adjacent audio frequency data segment to obtain the symmetry of left and right adjacent audio energy of the target frequency;
[0015] According to the left and right neighbor audio energy difference value, the left and right neighbor audio energy symmetry and the energy value of the target frequency, the audio breathing resonance degree of the target frequency is obtained; the audio breathing resonance degree is positively correlated with the left and right neighbor audio energy difference value, positively correlated with the left and right neighbor audio energy symmetry, and positively correlated with the energy value.
[0016] Preferably, the method for obtaining the energy difference value of the left and right neighboring audio is:
[0017] According to the energy difference between the target frequency and the left adjacent audio frequency data segment, obtaining the left adjacent audio energy difference value of the target frequency;
[0018] According to the energy difference between the target frequency and the right adjacent audio frequency data segment, obtaining the right adjacent audio energy difference value of the target frequency;
[0019] The difference between the left neighboring audio energy difference value and the right neighboring audio energy difference value is taken as the left and right neighboring audio energy difference value of the target frequency.
[0020] Preferably, the method for obtaining the left adjacent audio energy difference value is:
[0021] The total amount of energy value difference between the target frequency and each frequency in the left adjacent audio frequency data segment is used as the left adjacent audio energy difference value of the target frequency.
[0022] Preferably, the method for acquiring the symmetry of the left and right neighborhood audio energy is:
[0023] The energy difference between the same positions on both sides of the target frequency is taken as the co-located frequency energy difference value of each position;
[0024] According to the energy difference value of the co-located frequencies on both sides, the energy symmetry of the left and right neighboring audio frequencies of the target frequency is obtained; the energy symmetry of the left and right neighboring audio frequencies is negatively correlated with the energy difference value of the co-located frequencies on both sides.
[0025] Preferably, the method for obtaining the audio breathing resonance frequency is:
[0026] The frequency at which the audio breathing resonance degree is greater than a preset audio breathing resonance degree threshold is recorded as the audio breathing resonance frequency.
[0027] Preferably, the method for obtaining the audio breathing contrast degree is:
[0028] Record any frequency in the audio effective information spectrum as the target frequency;
[0029] The distance between the target frequency and the frequency center in the effective audio information spectrum is used as the high and low frequency distribution trend distance of the target frequency;
[0030] Obtain the minimum neighboring audio energy difference value of the target frequency;
[0031] According to the trend distance of high and low frequency distribution, the minimum neighbor audio energy difference value and the audio breathing resonance degree of the target frequency, the audio breathing contrast degree of the target frequency is obtained; the audio breathing contrast degree is positively correlated with the trend distance of high and low frequency distribution, positively correlated with the minimum neighbor audio energy difference value, and negatively correlated with the audio breathing resonance degree.
[0032] Preferably, the method for obtaining the minimum neighbor audio energy difference value is:
[0033] The difference in energy value between the first target frequency and the audio breathing resonance frequency with the smallest distance from the first target frequency is used as the minimum neighboring audio energy difference value of the first target frequency.
[0034] Preferably, the method for obtaining the audio breathing frequency is:
[0035] The frequency at which the audio breathing contrast degree is greater than a preset audio breathing contrast degree threshold is recorded as the audio breathing frequency.
[0036] Preferably, the method for obtaining the breathing frequency of the audio to be eliminated is:
[0037] For any audio current data, Fourier transform is performed on the audio current data to obtain a Fourier spectrum diagram of the audio current data; several audio breathing frequencies in the Fourier spectrum diagram are obtained and recorded as single audio breathing frequencies;
[0038] Among all the single audio breathing frequencies on the Fourier spectrum of the audio current data, the single audio breathing frequency with the same frequency value as the audio breathing frequency in the audio effective information spectrum is recorded as the audio breathing frequency to be eliminated.
[0039] The beneficial effects of the technical solution of the present invention are: first, the degree of audio breathing resonance is obtained by comprehensively analyzing the energy value distribution difference and energy resonance correlation between the left and right neighborhoods of the frequency; and a number of audio breathing resonance frequencies are screened out from all frequencies; wherein the audio breathing resonance degree is used to describe the degree of correlation between the breathing sound information and the effective voice information of the person in the microphone, and more clearly indicates the intensity of the interference of the breathing sound on the audio information corresponding to the frequency; wherein the audio breathing resonance frequency is used to describe the frequency at which the breathing sound and the speech sound energy are easy to resonate based on the frequency information represented by the overall data, and is more convenient for analyzing the interference of the breathing sound in the frequency information represented by a single data; then the high and low frequency distribution trends of the frequency are analyzed, the energy difference between the frequency and the audio breathing resonance frequency is compared, and combined with the audio of the frequency The audio breathing resonance degree is obtained to obtain the audio breathing contrast degree; wherein the audio breathing contrast degree is used to describe the difference between the speech sound information and the breathing sound information at the same frequency, and it is easier to distinguish the breathing sound information from the speech sound information; then, a number of audio breathing frequencies to be eliminated are screened out according to the audio breathing frequency; wherein the audio breathing frequency is used to describe the frequency with a large difference between the breathing sound information and the speech sound information, and it is easier to judge the frequency that needs to be completely denoised by spectrum subtraction; finally, spectrum subtraction is performed, and the denoised data is restored by inverse transformation; the present invention analyzes the interference of breathing sound information on the expression of audio data information at different frequencies, adaptively screens out the frequencies that need to be denoised, and completely denoises them by spectrum subtraction, thereby more effectively reducing the amount of noise in the audio data and improving the accuracy of the audio information content expressed by the denoised audio data. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 The present invention is a flowchart of the steps of an audio denoising method for a wireless microphone. DETAILED DESCRIPTION
[0042] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the audio denoising method for a wireless microphone proposed by the present invention, its specific implementation, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0043] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0044] A specific solution of an audio denoising method for a wireless microphone provided by the present invention is described in detail below with reference to the accompanying drawings.
[0045] See also Figure 1 , which shows a flowchart of an audio denoising method for a wireless microphone provided by an embodiment of the present invention, the method comprising the following steps:
[0046] Step S001: Acquire some background current data and audio current data.
[0047] It should be noted that the existing technology usually uses a spectral subtraction algorithm to subtract the background noise spectrum information from the entire spectrum information of the audio data, and inversely transforms it to obtain the denoised audio data; in actual environments, when people send out voice information, it will inevitably be accompanied by some detectable breathing sound information, and this part of the breathing sound information will also interfere with the correct expression of the voice information content to a certain extent; however, the traditional spectral subtraction algorithm does not take into account the interference of breathing sound information on the expression of audio data information, and is unable to select appropriate spectral information for subtraction, resulting in the traditional denoised audio data being unable to accurately express the audio information content, reducing the denoising effect.
[0048] Specifically, it is first necessary to obtain background current data and audio current data. The specific process is: let the experimenter remain silent for 5 minutes, use a wireless microphone to convert the current data and transmit it to the display, and record the background current data on the display every 0.5 seconds during the silent period to obtain some background current data; let the experimenter start an impromptu speech for 5 minutes, and record the audio current data on the display every 0.5 seconds during the speech to obtain some audio current data.
[0049] It should be noted that, in this embodiment, the experimenter's silence time, speech time, and recording interval of current data may be determined according to specific implementation conditions.
[0050] So far, all background current data and audio current data are obtained through the above method.
[0051] Step S002: Perform spectral subtraction on the overall background current data and the overall audio current data to obtain an audio effective information spectrum diagram composed of several frequencies; comprehensively analyze the energy value distribution differences and energy resonance correlations between the left and right neighborhoods of the frequencies in the audio effective information spectrum diagram to obtain the audio breathing resonance degree of each frequency; and select several audio breathing resonance frequencies from all frequencies according to the audio breathing resonance degree.
[0052] It should be noted that, under normal circumstances, the wireless microphone will try to capture all sounds that can meet the minimum volume requirements of the microphone, and convert them into current data, thereby completing the volume expansion. When a person uses a wireless microphone to speak, the speech sound is formed by the vocal cords vibrating the air; at the same time, when the person breathes, the air will also vibrate to a certain extent, producing a certain amount of weak sound; and because different sentences require different pronunciations during the speech process, the impact on the breathing frequency and breathing intensity is different, resulting in this part of the weak breathing sound will change to varying degrees with the person's speech process, so that part of the breathing sound can be captured by the microphone and the volume is amplified together. In the actual environment, the sound that actually needs to be amplified is usually only the speech sound when the person uses the wireless microphone. Therefore, the background noise information in the audio current data can be removed first, the denoised audio current data can be initially obtained, and then the impact of the breathing sound on the subsequent audio current data can be analyzed to reduce the interference of the breathing sound on the audio current data.
[0053] Specifically, a Fourier transform is performed on a sequence consisting of all background current data to obtain a background audio information spectrum diagram; a Fourier transform is performed on a sequence consisting of all audio current data to obtain an audio information spectrum diagram; the audio effective information spectrum diagram is subtracted from the background audio information spectrum diagram to obtain a spectrum diagram after subtraction, and recorded as an audio effective information spectrum diagram. The horizontal axis in the spectrum diagram is the frequency, and the vertical axis is the energy value of the corresponding frequency. In addition, the process of obtaining a spectrum diagram based on a data sequence is a well-known content of the Fourier transform algorithm, and will not be repeated in this embodiment.
[0054] It should be further explained that in the process of analyzing the influence of breathing sound on audio current data, breathing sound will be superimposed with speech sound to form the final audio current data, and the influence relationship of breathing sound on speech sound is constantly changing at different times; for any frequency component under the audio current data, if the energy of the frequency component is large, the energy distribution on both sides is close to symmetrical, and the energy change on both sides is close to gentle, indicating that the change frequency between the corresponding breathing sound and speech sound under the frequency component is close to synchronization, and the energy contained in the speech sound is more than the energy content of the breathing sound, so that the speech sound covers the sound information represented by the breathing sound to a greater extent, so that the interference caused by the breathing sound to the speech sound is weaker, reflecting that the energy resonance overlap of the breathing sound and the speech sound in the frequency component is good, and the intensity of denoising is weaker. Therefore, by analyzing the energy values at different frequencies, the symmetry of the energy distribution on both sides, and the change and floating difference of the energy on both sides, the audio breathing resonance degree of each frequency can be comprehensively obtained, so as to accurately determine the frequency where the energy resonance actually exists; in summary, the energy value distribution difference and the energy resonance correlation between the left and right neighboring domains of the frequency can be comprehensively considered to obtain the audio breathing resonance degree of each frequency.
[0055] Furthermore, a frequency number is preset , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; taking any frequency in the audio effective information spectrum as an example, the front The data segment consisting of the frequencies is recorded as the left adjacent audio frequency data segment of the frequency; The data segment consisting of a frequency is recorded as the right adjacent audio frequency data segment of the frequency.
[0056] It is particularly noted that if the number of frequencies actually existing before the frequency does not meet the preset , then add a frequency with the same value as the frequency before the frequency until the number of frequencies actually existing before the frequency meets the preset Stop supplementing until the frequency is reached, and obtain the left adjacent audio frequency data segment of the frequency; if the number of frequencies actually existing after the frequency does not meet the preset , then add a frequency with the same value as this frequency after this frequency until the number of frequencies actually existing after this frequency meets the preset Stop supplementing and obtain the audio frequency data segment adjacent to the right of the frequency.
[0057] Furthermore, by comparing the floating difference of the frequency between the left neighboring audio frequency data segment and the right neighboring audio frequency data segment, the left and right neighboring audio energy difference values of the frequency are obtained. The specific process of obtaining the left and right neighboring audio energy difference values of the frequency is as follows: obtaining the left neighboring audio energy difference value of the frequency; obtaining the right neighboring audio energy difference value of the frequency; and taking the difference between the left neighboring audio energy difference value and the right neighboring audio energy difference value as the left and right neighboring audio energy difference value of the frequency. As an example, the left and right neighboring audio energy difference values of the frequency can be calculated by the following formula:
[0058]
[0059] In the formula, Indicates the difference in audio energy between the left and right neighboring frequencies of the frequency; Indicates the number of all frequencies in the left adjacent audio frequency data segment of the frequency; Indicates the energy value of the frequency; Indicates the left adjacent audio frequency data segment of the frequency The energy value of each frequency; Indicates the number of all frequencies in the audio frequency data segment adjacent to the frequency to the right; Indicates the frequency in the right adjacent audio frequency data segment The energy value of each frequency; Indicates taking the absolute value.
[0060] It should be noted that Indicates the energy difference value of the left adjacent audio frequency of the frequency; Indicates the energy difference value of the right neighboring audio of the frequency; if the energy difference value of the left and right neighboring audio of the frequency is larger, it means that the energy fluctuation of the audio information on both sides of the frequency is more chaotic, reflecting that the overlap effect of the corresponding energy of the breathing sound information and the effective voice information of the person in the microphone is worse.
[0061] Furthermore, by comparing the symmetrical resonance of the energy distribution at the same position between the left adjacent audio frequency data segment and the right adjacent audio frequency data segment, the left and right neighboring audio energy symmetry of the frequency is obtained. The specific process of obtaining the left and right neighboring audio energy symmetry of the frequency is as follows: obtaining the energy difference value of the same-position frequency on both sides of the frequency; according to the energy difference value of the same-position frequency on both sides, obtaining the left and right neighboring audio energy symmetry of the frequency; wherein the left and right neighboring audio energy symmetry is negatively correlated with the energy difference value of the same-position frequency on both sides. As an example, the left and right neighboring audio energy symmetry of the frequency can be calculated by the following formula:
[0062]
[0063] In the formula, Indicates the symmetry of the audio energy of the left and right neighbors of this frequency; Indicates the preset hyperparameters. In this embodiment, , used to prevent the denominator from being 0; Indicates the number of all serial numbers at the same position between the left adjacent audio frequency data segment and the right adjacent audio frequency data segment of the frequency; Indicates the left adjacent audio frequency data segment of the frequency The energy value of each frequency; Indicates the frequency in the right adjacent audio frequency data segment The energy value of each frequency; Indicates taking the absolute value.
[0064] It should be noted that Indicates the energy difference value of the same-position frequencies on both sides of the frequency; if the symmetry of the left and right neighboring audio energy of the frequency is greater, it means that the energy distribution of the audio information on both sides of the frequency is more symmetrical and synchronized, reflecting that the breathing sound information of the frequency is more closely associated with the effective voice information of the person in the microphone.
[0065] Furthermore, by combining the left and right neighboring audio energy difference value, the left and right neighboring audio energy symmetry and the energy value of the frequency, the audio breathing resonance factor of the frequency is obtained; wherein the audio breathing resonance factor is positively correlated with the left and right neighboring audio energy difference value, positively correlated with the left and right neighboring audio energy symmetry, and positively correlated with the energy value. As an example, the audio breathing resonance factor of the frequency can be calculated by the following formula:
[0066]
[0067] In the formula, Indicates the audio breathing resonance factor of this frequency; Indicates the energy value of the frequency; Indicates the difference in audio energy between the left and right neighboring frequencies of the frequency; Indicates the symmetry of the audio energy of the left and right neighbors of this frequency.
[0068] It should be noted that if the audio breathing resonance factor of the frequency is larger, it means that the correlation between the breathing sound information and the effective voice information of the person in the microphone is closer, reflecting that the corresponding audio information at this frequency is less disturbed by the breathing sound.
[0069] Furthermore, the audio breathing resonance factors of all frequencies are obtained, all audio breathing resonance factors are linearly normalized, and each normalized audio breathing resonance factor is recorded as the audio breathing resonance degree; an audio breathing resonance degree threshold is preset. , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; the audio breathing resonance degree is greater than The frequency is recorded as the audio breathing resonance frequency.
[0070] So far, all audio breathing resonance frequencies are obtained through the above method.
[0071] Step S003: Analyze the high and low frequency distribution trend of each frequency, compare the energy difference between each frequency and the audio breathing resonance frequency, and combine the audio breathing resonance degree of each frequency to obtain the audio breathing contrast degree of each frequency; according to the audio breathing contrast degree, select several audio breathing frequencies from all frequencies.
[0072] It should be noted that the audio breathing resonance frequency is used to describe the frequency where the energy distribution between the breathing information and the speech information is relatively synchronized in the frequency information distribution of the overall audio current data; for this part of the frequency, the breathing information does not interfere with the actual speech information more obviously, and has little effect on the actual data information expression, so this part of the frequency can be denoised by spectrum subtraction; therefore, the energy difference between the breathing information and the speech information in the frequency can be determined by analyzing the energy distribution difference between different frequencies and the audio breathing resonance frequency. At the same time, because the breathing sound is constantly changing, the corresponding main frequency information may appear in both high and low frequency information. If the main frequency information corresponding to the breathing sound is farther away from the boundary between high and low frequencies, it means that the breathing sound is less likely to be confused with the speech sound, and the breathing sound can be well removed separately without affecting the information content of the speech sound. Therefore, the difference in information contained in the breathing sound and the speech sound can be determined by analyzing the high and low frequency distribution trends of different frequencies in the spectrum information; in summary, the degree of audio breathing contrast can be obtained by analyzing the energy distribution difference between a single frequency and the audio breathing resonance frequency, and the high and low frequency distribution trends of a single frequency in the spectrum information.
[0073] Specifically, taking any frequency as an example, among the other frequencies except this frequency, the audio breathing resonance frequency with the shortest distance from this frequency is recorded as the neighboring audio comparison frequency of this frequency; according to the high and low frequency distribution trend of this frequency in the spectrum information and the energy difference with the neighboring audio comparison frequency, the audio breathing contrast degree of this frequency is obtained. The specific process of obtaining the audio breathing contrast degree of this frequency is as follows: obtaining the high and low frequency distribution trend distance of this frequency; obtaining the minimum neighboring audio energy difference value of this frequency; according to the high and low frequency distribution trend distance, the minimum neighboring audio energy difference value and the audio breathing resonance degree of this frequency, the audio breathing contrast degree of this frequency is obtained; wherein the audio breathing contrast degree is positively correlated with the high and low frequency distribution trend distance, positively correlated with the minimum neighboring audio energy difference value, and negatively correlated with the audio breathing resonance degree. As an example, the audio breathing contrast degree of this frequency can be calculated by the following formula:
[0074]
[0075] In the formula, Indicates the degree of audio breathing contrast at this frequency; The absolute value of the difference between the energy value of the neighboring audio frequency of the frequency and the frequency; Indicates the degree of audio breathing resonance of this frequency; Indicates the sequence number of this frequency among all frequencies; represents the number of all frequencies; Indicates the preset hyperparameters. In this embodiment, , used to prevent the denominator from being 0; Indicates taking the absolute value; Indicates rounding up; gets the audio breathing contrast of all frequencies.
[0076] It should be noted that Indicates the distance between the high and low frequency distribution of the frequency; The minimum neighboring audio energy difference value that represents the frequency; if the audio breathing contrast of the frequency is greater, it means that the energy information distribution between the breathing information and the speech information in the sound information represented by the frequency is more dissimilar, reflecting that the difference between the breathing sound and the speech sound in the sound information represented by the frequency is more obvious.
[0077] Furthermore, a threshold value of audio breathing contrast is preset. , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; the audio breathing contrast is greater than The frequency is recorded as the audio breathing frequency.
[0078] So far, all audio breathing frequencies are obtained through the above method.
[0079] Step S004: According to the audio breathing frequencies in the audio effective information spectrum diagram, a number of audio breathing frequencies to be eliminated are screened out from the Fourier spectrum diagram of each audio current data; and the audio effective information spectrum diagram is processed according to the audio breathing frequencies to be eliminated to obtain a microphone audio denoising data sequence.
[0080] It should be noted that since the overall frequency spectrum information of the audio current data is integrated and superimposed by the frequency spectrum information of individual audio current data, in order to more accurately denoise the audio current data, the audio breathing frequency distribution between the individual audio current data and the overall audio current data can be further compared to perform frequency subtraction and eliminate the frequency information in which the breathing sound has a greater impact on the speech sound.
[0081] Specifically, a Fourier transform is performed on each audio current data to obtain a Fourier spectrum diagram of each audio current data; each frequency in the Fourier spectrum diagram of any audio current data is recorded as a single audio data frequency; with reference to a method for obtaining an audio breathing frequency in an audio effective information spectrum diagram, the audio effective information spectrum diagram is replaced with the Fourier spectrum diagram of the audio current data, and several audio breathing frequencies in the Fourier spectrum diagram are obtained and recorded as single audio breathing frequencies;
[0082] Among all single audio breathing frequencies on the Fourier spectrum diagram of the audio current data, the single audio breathing frequency with the same frequency value as the audio breathing frequency is recorded as the audio breathing frequency to be eliminated, and all audio breathing frequencies to be eliminated in the Fourier spectrum diagram of the audio current data are obtained; all audio breathing frequencies to be eliminated in the Fourier spectrum diagram of all audio current data are obtained.
[0083] It should be noted that the audio breathing frequency to be eliminated is used to describe the frequency in which the breathing sound information contained in a single audio current data accounts for a relatively large proportion.
[0084] Furthermore, the energy value of each audio breathing frequency to be eliminated in the Fourier spectrum of all audio current data is subtracted from the spectrum of audio effective information, and the spectrum obtained after subtraction is recorded as the audio denoising information spectrum. The audio denoising information spectrum is subjected to an inverse Fourier transform to obtain a transformed data sequence, which is recorded as the microphone audio denoising data sequence. The process of subtracting the energy value of the spectrum from the frequency is a well-known content of the spectrum subtraction algorithm, and the process of obtaining the data sequence according to the spectrum is a well-known content of the inverse Fourier transform algorithm, which will not be repeated in this embodiment.
[0085] At this point, this embodiment is completed.
[0086] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An audio denoising method for a wireless microphone, characterized in that: The method comprises the following steps: Acquire some background current data and audio current data; Subtract the spectrum of the overall background current data from the overall audio current data to obtain an audio effective information spectrum diagram composed of several frequencies; comprehensively analyze the energy value distribution difference and energy resonance correlation between the left and right neighboring regions of the frequency in the audio effective information spectrum diagram to obtain the audio breathing resonance degree of each frequency; and select several audio breathing resonance frequencies from all frequencies according to the audio breathing resonance degree; For any frequency, analyzing the high and low frequency distribution trend of the frequency, comparing the energy difference between the frequency and the audio breathing resonance frequency, and combining the audio breathing resonance degree of the frequency to obtain the audio breathing contrast degree of the frequency; according to the audio breathing contrast degree, screening out several audio breathing frequencies from all frequencies; According to the audio breathing frequencies in the audio effective information spectrum diagram, a number of audio breathing frequencies to be eliminated are screened out from the Fourier spectrum diagram of each audio current data; the audio effective information spectrum diagram is processed according to the audio breathing frequencies to be eliminated to obtain a microphone audio denoising data sequence; The method for obtaining the audio breathing resonance degree is: Record any frequency in the audio effective information spectrum as the target frequency, divide the frequencies distributed on the left and right sides of the target frequency into data segments, and obtain the left adjacent audio frequency data segment and the right adjacent audio frequency data segment of the target frequency; Compare the energy change and floating difference between the left adjacent audio frequency data segment and the right adjacent audio frequency data segment of the target frequency to obtain the left and right adjacent audio energy difference value of the target frequency; Compare the symmetrical resonance of energy distribution at the same position between the left adjacent audio frequency data segment and the right adjacent audio frequency data segment to obtain the symmetry of left and right adjacent audio energy of the target frequency; According to the audio energy difference value of the left and right neighboring audio, the audio energy symmetry of the left and right neighboring audio, and the energy value of the target frequency, the audio breathing resonance degree of the target frequency is obtained; the audio breathing resonance degree is positively correlated with the audio energy difference value of the left and right neighboring audio, positively correlated with the audio energy symmetry of the left and right neighboring audio, and positively correlated with the energy value; The method for obtaining the energy difference value of the left and right neighboring audio is: According to the energy difference between the target frequency and the left adjacent audio frequency data segment, obtaining the left adjacent audio energy difference value of the target frequency; According to the energy difference between the target frequency and the right adjacent audio frequency data segment, obtaining the right adjacent audio energy difference value of the target frequency; The difference between the left neighboring audio energy difference value and the right neighboring audio energy difference value is used as the left and right neighboring audio energy difference value of the target frequency; The total difference in energy value between the target frequency and each frequency in the left adjacent audio frequency data segment is used as the left adjacent audio energy difference value of the target frequency; the total difference in energy value between the target frequency and each frequency in the right adjacent audio frequency data segment is used as the right adjacent audio energy difference value of the target frequency; The method for obtaining the symmetry of the audio energy of the left and right neighborhoods is: The energy difference between the same positions on both sides of the target frequency is taken as the co-located frequency energy difference value of each position; According to the energy difference value of the co-located frequencies on both sides, the energy symmetry of the left and right neighboring audio frequencies of the target frequency is obtained; the energy symmetry of the left and right neighboring audio frequencies is negatively correlated with the energy difference value of the co-located frequencies on both sides.
2. The audio denoising method for a wireless microphone according to claim 1, characterized in that: The method for obtaining the audio breathing resonance frequency is: The frequency at which the audio breathing resonance degree is greater than a preset audio breathing resonance degree threshold is recorded as the audio breathing resonance frequency.
3. The audio denoising method for a wireless microphone according to claim 1, characterized in that: The method for obtaining the audio breathing contrast degree is: Record any frequency in the audio effective information spectrum as the target frequency; The distance between the target frequency and the frequency center in the effective audio information spectrum is used as the high and low frequency distribution trend distance of the target frequency; Obtain the minimum neighboring audio energy difference value of the target frequency; The audio breathing contrast degree of the target frequency is obtained according to the trend distance of the high and low frequency distribution, the minimum neighbor audio energy difference value and the audio breathing resonance degree of the target frequency; The audio breathing contrast degree is positively correlated with the high and low frequency distribution trend distance, positively correlated with the minimum neighbor audio energy difference value, and negatively correlated with the audio breathing resonance degree.
4. The audio denoising method for a wireless microphone according to claim 3, characterized in that: The method for obtaining the minimum neighbor audio energy difference value is: The difference in energy value between the first target frequency and the audio breathing resonance frequency with the smallest distance from the first target frequency is used as the minimum neighboring audio energy difference value of the first target frequency.
5. The audio denoising method for a wireless microphone according to claim 1, characterized in that: The method for obtaining the audio breathing frequency is: The frequency at which the audio breathing contrast degree is greater than a preset audio breathing contrast degree threshold is recorded as the audio breathing frequency.
6. The audio denoising method for a wireless microphone according to claim 1, characterized in that: The method for obtaining the breathing frequency of the audio to be eliminated is: For any audio current data, Fourier transform is performed on the audio current data to obtain a Fourier spectrum diagram of the audio current data; several audio breathing frequencies in the Fourier spectrum diagram are obtained and recorded as single audio breathing frequencies; Among all the single audio breathing frequencies on the Fourier spectrum of the audio current data, the single audio breathing frequency with the same frequency value as the audio breathing frequency in the audio effective information spectrum is recorded as the audio breathing frequency to be eliminated.
