Microphone mixing for wind noise reduction
11671755 · 2023-06-06
Assignee
Inventors
Cpc classification
H04R5/04
ELECTRICITY
H04R2499/11
ELECTRICITY
H04R2201/405
ELECTRICITY
H04R2410/07
ELECTRICITY
International classification
Abstract
Wind noise reduction in microphone signals. A first microphone signal is obtained from a first omnidirectional microphone and, contemporaneously, a second microphone signal is obtained from a second omnidirectional microphone. The first and second microphone signals are mixed to produce an output signal. Mixing involves weighting the first and second microphone signals by respective first and second signal weights to produce respective first and second weighted microphone signals, and summing the first and second weighted microphone signals together to produce the output signal. The first and second signal weights are calculated to minimize the power of the output signal.
Claims
1. A method of wind noise reduction, the method comprising: obtaining, by a processor, a first microphone signal from a first omnidirectional microphone; contemporaneously obtaining, by the processor, a second microphone signal from a second omnidirectional microphone, at least one of the first and second microphone signals comprising wind noise; prior to mixing the first and second microphone signals, matching the first and second microphone signals for (i) a level of a signal of interest or (ii) phase; and mixing the matched first and second microphone signals to produce an output signal, by: calculating first and second signal weights to minimise the power of the output signal, wherein the first and second signals are frequency domain samples, wherein the first and second signal weights comprise a weighting factor a calculated for each subband i, and wherein the weighting factors a; are applied on a subband-by-subband basis to give different mixing ratios at different frequencies; applying the weighting factors a.sub.i to the first microphone signal on a subband-by-subband basis to produce a first weighted microphone signal; applying the weighting factors a.sub.i to the second microphone signal on a subband-by-subband basis to produce a second weighted microphone signal; and summing the first and second weighted microphone signals together to produce the output signal.
2. The method of claim 1, wherein the first signal weight a takes a value in the range of 0 to 1 inclusive, and is calculated by the processor as follows:
3. The method of claim 1 wherein weights are calculated continuously for each first signal sample and second signal sample, by calculating x.sup.2, y.sup.2 and xy for each sample and adding them to a respective appropriate running sum.
4. The method of claim 3 wherein a leaky integrator is used to perform the running sum in order to prevent overflows.
5. The method of claim 1 wherein frequencies deemed to be more important for wind noise suppression are given a higher weighting.
6. The method of claim 5 wherein the frequencies deemed to be more important are given a higher weighting by calculating the weighting factor a in respect of such frequencies before applying a for mixing across a wider band.
7. The method of claim 5 wherein the frequencies deemed to be more important are given a higher weighting by performing mixing only in the important subbands.
8. The method of claim 1 wherein complex inputs are utilised and the weighting factor is calculated as being:
9. The method of claim 1 when applied to signals produced from more than two microphones.
10. The method of claim 9 wherein the processor is configured to calculate the required number of signal weights in a manner to minimise the power of the output signal.
11. The method of claim 10 wherein, when a signal z from a third omnidirectional microphone is obtained, the output signal Y is calculated as follows:
Y=a*primary_mic+b*secondary_mic+(1−a−b)*tertiary_mic where
12. The method of claim 1 further comprising activating the wind noise reduction only at times when a wind noise detector indicates that wind noise is present.
13. The method of claim 1 when utilised to produce from a plurality of left-side microphones a wind-noise-reduced left side output signal, and to produce from a plurality of right-side microphones a wind-noise-reduced right side output signal.
14. A device for wind noise reduction, the device comprising: a first omnidirectional microphone and a second omnidirectional microphone; a processor for: calculating first and second signal weights in a manner to minimise the power of an output signal, wherein the first and second signals are frequency domain samples, wherein the first and second signal weights comprise a weighting factor a calculated for each subband i, and wherein the weighting factors a.sub.i are applied on a subband-by-subband basis to give different mixing ratios at different frequencies; and prior to mixing the first and second microphone signals, matching the first and second microphone signals for (i) a level of a signal of interest or (ii) phase; a first multiplication block configured to apply the weighting factors a.sub.i to a first microphone signal from the first omnidirectional microphone on a subband-by-subband basis to produce a weighted first microphone signal; a second multiplication block configured to apply the weighting factors a.sub.i to a second microphone signal from the second omnidirectional microphone on a subband-by-subband basis to produce a weighted second microphone signal; wherein at least one of the first and second signals comprise wind noise; and a summation block configured to sum the matched weighted first and second microphone signals together to produce the output signal.
15. The device of claim 14 wherein the first and second signals are frequency domain samples, and wherein the processor is configured to calculate a weighting factor a.sub.i for each subband i, and to apply the a.sub.i on a subband-by-subband basis to give different mixing ratios at different frequencies, and wherein the processor is configured to give a higher weighting to frequencies deemed to be more important for wind noise suppression.
16. The device of claim 14 further comprising a third omnidirectional microphone, and wherein the processor is configured to calculate a third signal weight in a manner that the first to third signal weights when applied to the respective signals minimise the power of an output signal Y which is calculated by the processor as follows:
Y=a*primary_mic+b*secondary_mic+(1−a−b)*tertiary_mic.sub.where
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) An example of the invention will now be described with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
(6)
(7)
(8) In the present embodiment, the weight a is calculated by block 220 as follows:
(9)
where: x=signal sample of the first microphone signal, and y=signal sample of the second microphone signal.
(10) The derivation of the above formula is found by using the constraint that the total power of the output wind-noise-reduced signal is to be minimized. It is noted that:
Energy=Σ(ax(t)+(1−a)y(t)).sup.2
Thus, differentiating with respect to a to find the point of minimum energy gives:
(11)
Solving for a gives:
(12)
(13) To implement this requirement, the primary mic and secondary mic signals are buffered and the buffer signals are used as the inputs to the optimization algorithm. The algorithm outputs the mixing coefficient ‘a’ within a range of 0 and 1, inclusive. The value of a is then smoothed with a leaky integrator and constrained to the range between 0 and 1, inclusive.
(14) The output signal produced at 240 is thus:
output=a*primary_mic+(1−a)*secondary_mic
(15) If we assume the microphone signals are not correlated in wind, the equation can be simplified as
(16)
However this simplified equation is less optimal if speech is present during wind.
(17) The present invention can in other embodiments be extended to producing a wind-noise-reduced output from 3 or more microphone inputs. For three microphones, where z is the input from the tertiary microphone:
Y=a*primary_mic+b*secondary_mic+(1−a−b)*tertiary_mic
(18) In one embodiment for reducing wind noise, involving the use of three input microphone signals:
(19)
(20) In another embodiment for reducing wind noise, involving the use of three input microphone signals, the primary mic input and secondary mic input are mixed using equation (1) to determine a mixing factor A. Next, the mixed result produced by applying A and (1−A) weights to the primary and secondary signals is processed together with the tertiary input, to determine a mixing factor B. The mixing coefficient is then calculated as a=A*B and b=(1−A)*B.
(21)
(22)
(23) The FIR filter 360 can be built from an inverse DFT of the array of the ‘a.sub.i’ values.
(24) While the preceding describes the mixing of the signals from microphones 132 and 134 in order to produce a first wind-noise-reduced signal, it is to be noted that the signals from microphones 136 and 138 may also be similarly mixed in accordance with the present invention in order to produce a second wind-noise-reduced signal. Microphone 136 captures a first (primary) right signal R.sub.1, and microphone 138 captures a second (secondary) right signal R.sub.2. The first and second wind-noise-reduced signals may then be processed by subsequent stages as desired, and for example could be input to an adaptive directional microphone stage, or could be used for stereo processing to retain binaural cues, or could be used for other multi-channel audio functions as appropriate.
(25)
(26) It will be appreciated by persons skilled in the art that numerous variations and/or modifications may be made to the invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects as illustrative and not limiting or restrictive.