CN112672265B - Method and system for detecting microphone consistency and computer readable storage medium - Google Patents

Method and system for detecting microphone consistency and computer readable storage medium Download PDF

Info

Publication number
CN112672265B
CN112672265B CN202011090578.2A CN202011090578A CN112672265B CN 112672265 B CN112672265 B CN 112672265B CN 202011090578 A CN202011090578 A CN 202011090578A CN 112672265 B CN112672265 B CN 112672265B
Authority
CN
China
Prior art keywords
detected
microphone
microphones
ith
consistency
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.)
Active
Application number
CN202011090578.2A
Other languages
Chinese (zh)
Other versions
CN112672265A (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN202011090578.2A priority Critical patent/CN112672265B/en
Publication of CN112672265A publication Critical patent/CN112672265A/en
Application granted granted Critical
Publication of CN112672265B publication Critical patent/CN112672265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a system for detecting microphone consistency and a computer readable storage medium, wherein the method comprises the following steps: acquiring detection values of L reference microphones in the reference microphone array on N frequency bands under a set test condition; acquiring detection values of L microphones to be detected in the microphones to be detected on N frequency bands under the same test condition as the set test condition; comparing the detection values of the ith to-be-detected microphone in the to-be-detected microphones on the N frequency bands with the detection values of the ith reference microphone in the reference microphones on the N frequency bands to judge whether the ith to-be-detected microphone is consistent; and determining the consistency of the microphones to be detected according to the consistency judgment result of each of the L microphones to be detected. The method is beneficial to improving the consistency detection precision of the microphone, and further can improve the performance and robustness of a microphone voice enhancement system.

Description

Method and system for detecting microphone consistency and computer readable storage medium
Technical Field
The invention relates to the technical field of microphones, in particular to a method and a system for detecting microphone consistency and a computer readable storage medium.
Background
In order to suppress noise and improve voice quality, the current voice devices such as earphones, hearing aids, sound boxes and the like usually adopt microphone arrays to pick up voice signals and adopt a voice enhancement technology to process the voice signals, the voice enhancement technology can fully utilize time domain and space domain information in the voice signals received by the microphone arrays, and the method has the advantages of flexible beam control, contribution to eliminating non-stationary signals and improving anti-interference capability and the like.
The traditional microphone consistency detection method is as follows: the method comprises the steps of calculating power differences among different microphones in a microphone array after framing and Fourier transformation of signals collected by the microphone array, and comparing the obtained power differences with a set threshold value to judge the consistency of the microphone array.
Disclosure of Invention
Based on the above situation, a primary objective of the present invention is to provide a method and a system for detecting microphone consistency, and a computer-readable storage medium, which are beneficial to improving the consistency detection precision of a microphone.
In order to achieve the above object, the technical solution of the present invention provides a method for detecting microphone consistency, which includes:
step S100: acquiring detection values P 'of L reference microphones in the reference microphone array on N frequency bands under set test conditions'i(w),P′i(w) a detection value of an ith reference microphone in the reference microphones on a w-th frequency band, wherein i is 1, L, w is 1, N, L is more than or equal to 2, and N is more than or equal to 2;
the reference microphone is a microphone pre-selected as a consistency reference standard;
wherein, P'i(w) and
Figure BDA0002721908670000021
is positively correlated, | Y'i(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith reference microphone, M'iThe number of signal frames obtained by framing the audio signal collected by the ith reference microphone is p is 1 or 2;
step S200: obtaining detection values P of L microphones to be detected in the microphones to be detected on the N frequency bands under the same test condition as the set test condition i(w),Pi(w) a detection value of an ith microphone to be detected in the microphones to be detected on a w-th frequency band, wherein the same test conditions at least comprise the same test environment and the same test sound;
wherein, Pi(w) with
Figure BDA0002721908670000022
Is in positive correlation, | Yi(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith microphone to be detected, MiThe method comprises the steps of obtaining a signal frame number by framing an audio signal collected by an ith microphone to be detected;
step S300: comparing the detection values of the ith to-be-detected microphone in the to-be-detected microphones on the N frequency bands with the detection values of the ith reference microphone in the reference microphones on the N frequency bands to judge whether the ith to-be-detected microphone is consistent;
step S400: and determining the consistency of the microphones to be detected according to the consistency judgment result of each of the L microphones to be detected.
Further, said Pi(w) and
Figure BDA0002721908670000023
is in positive correlation and comprises:
Figure BDA0002721908670000024
p'i(w) and
Figure BDA0002721908670000025
is in positive correlation and comprises:
Figure BDA0002721908670000026
wherein p is 1 and β is 20, or p is 2 and β is 10.
Further, the step S300 includes:
Step S301: calculating Pi(w) and P'i(w) difference diff betweeni(w)=|Pi(w)-P′i(w)|;
Step S302: comparison diffi(w) a difference threshold value thi (w) of the w-th frequency band of the ith microphone to be detected, if diffi(w)≤thi(w), judging that the ith microphone to be detected is consistent on the w-th frequency band, otherwise, judging that the ith microphone to be detected is inconsistent on the w-th frequency band;
step S303: and judging whether the ith microphone to be detected is consistent according to the number of frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands.
Further, there is at least one microphone to be detected, which has different difference thresholds on different frequency bands, and the larger the frequency of the frequency band is, the larger the difference threshold is.
Further, the step S303 includes: if the number of frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands, is smaller than a counting threshold value, the ith microphone to be detected is judged to be consistent, otherwise, the ith microphone to be detected is judged to be inconsistent.
Further, the step S400 includes: and if the consistency judgment results of the L microphones to be detected are consistent, determining that the microphones to be detected have consistency, otherwise, determining that the microphones to be detected do not have consistency.
Further, N is not less than 256.
In order to achieve the above object, the technical solution of the present invention further provides a system for detecting microphone consistency, including:
a first obtaining module, configured to obtain detection values P 'of L reference microphones of the reference microphones on the N frequency bands under the set test condition'i(w),P′i(w) is a detection value of an ith reference microphone in the reference microphones on a w-th frequency band, i is 1,. L, w is 1,. N, L is more than or equal to 2, and N is more than or equal to 2;
the reference microphone is a microphone pre-selected as a consistency reference standard;
wherein, P'i(w) and
Figure BDA0002721908670000031
is positively correlated, | Y'i(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith reference microphone, M'iThe number of signal frames obtained by framing the audio signal collected by the ith reference microphone is p is 1 or 2;
a second obtaining module, configured to obtain detection values P of L microphones to be detected in the microphones to be detected on the N frequency bands under the same test condition as the set test conditioni(w),Pi(w) is a detection value of an ith microphone to be detected in the microphones to be detected on a w-th frequency band, and the same test conditions at least comprise the same test environment and the same test sound;
Wherein, Pi(w) and
Figure BDA0002721908670000041
is in positive correlation, | Yi(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith microphone to be detected, MiThe method comprises the steps of obtaining a signal frame number by framing an audio signal collected by an ith microphone to be detected;
the first processing module is used for comparing detection values of an ith microphone to be detected in the microphones to be detected on the N frequency bands with detection values of an ith reference microphone in the reference microphones on the N frequency bands so as to judge whether the ith microphone to be detected is consistent;
and the second processing module is used for determining the consistency of the microphones to be detected according to the consistency judgment result of each of the L microphones to be detected.
In order to achieve the above object, the present invention further provides a system for detecting microphone consistency, including a processor and a memory coupled to the processor, where the memory stores instructions for the processor to execute, and when the processor executes the instructions, the method for detecting microphone consistency can be implemented.
In order to achieve the above object, the present invention further provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the above method for detecting microphone uniformity.
According to the method for detecting the consistency of the microphone array, the detection values of the microphones to be detected on the plurality of frequency bands in the microphones to be detected are obtained under the set test condition, the detection values are in positive correlation with the mean value of the corresponding amplitude value or the mean value of the corresponding power value, and the detection values are compared with the detection values of the microphones to be detected on the plurality of frequency bands in the microphones to be detected under the same test condition, so that the consistency of the microphones to be detected is judged by using the reference microphone array.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of a method for detecting microphone consistency according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of a system for detecting microphone coincidence according to an embodiment of the present invention.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth in order to avoid obscuring the nature of the present invention, well-known methods, procedures, and components have not been described in detail.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
It should be noted that step numbers (letter or number numbers) are used to refer to some specific method steps in the present invention only for the purpose of convenience and brevity of description, and the order of the method steps is not limited by letters or numbers in any way. It will be clear to a person skilled in the art that the order of the steps of the method in question, as determined by the technology itself, should not be unduly limited by the presence of step numbers.
Referring to fig. 1, fig. 1 is a flowchart of a method for detecting microphone consistency according to an embodiment of the present invention, where the method includes:
step S100: acquiring detection values P 'of L reference microphones in the reference microphone groups on N frequency bands under set test conditions'i(w),P′i(w) is a detection value of an ith reference microphone in the reference microphones on a w-th frequency band, i is 1,. L, w is 1,. N, L is more than or equal to 2, and N is more than or equal to 2;
the reference microphone is a microphone which is pre-selected as a consistency reference standard;
wherein, P'i(w) with
Figure BDA0002721908670000051
Is positively correlated, | Y'i(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith reference microphone, M' iThe number of signal frames obtained by framing the audio signal collected by the ith reference microphone is p is 1 or 2;
in the embodiment of the invention, the reference microphone is a microphone with consistency and is used as a reference of the microphone to be detected, wherein the reference microphone can be a microphone with the same model as that of the microphone to be detected, and for each microphone to be detected in the microphone to be detected, the reference microphone corresponding to the reference microphone exists in the reference microphone and is used as a reference of the reference microphone;
it will be understood that when p is 1, | Y'i(k,w)|p(i.e. | Y'i(k, w) | to the power of 1) is the amplitude value (amplitude spectrum) P 'of the kth frame signal in the w-th frequency band'i(w) and M'iThe average value of the amplitude value of the frame signal on the w-th frequency band is in positive correlation, | Y'i(k,w)|p(i.e. | Y'i(k, w) | to the power of 2) is the power value (power spectrum) P 'of the kth frame signal on the w-th frequency band'i(w) and M'iThe average value of the power value of the frame signal on the w-th frequency band is in positive correlation;
wherein, the set test condition may include a set test environment and a set test sound;
for example, the microphone to be detected may be a TWS headset microphone, which includes two microphones, a primary microphone and a secondary microphone;
Step S200: obtaining detection values P of L microphones to be detected on the N frequency bands in the microphones to be detected under the same test condition as the set test conditioni(w),Pi(w) is a detection value of an ith microphone to be detected in the microphones to be detected on a w-th frequency band, and the same test conditions at least comprise the same test environment and the same test sound;
wherein, Pi(w) and
Figure BDA0002721908670000061
is in positive correlation, | Yi(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith microphone to be detected, MiThe method comprises the steps of obtaining a signal frame number by framing an audio signal collected by an ith microphone to be detected;
it is understood that when p is 1, | Yi(k,w)|p(i.e. | Y)i(k, w) | to the power of 1) is the amplitude value (amplitude spectrum) of the kth frame signal in the w-th frequency band, Pi(w) and MiThe average value of the amplitude value of the frame signal on the w-th frequency band is in positive correlation, and when p is 2, | Yi(k,w)|p(i.e. | Y)i(k, w) | to the power of 2) is the power value (power spectrum) of the kth frame signal in the w-th frequency band, Pi(w) and MiThe average value of the power value of the frame signal on the w-th frequency band is in positive correlation;
step S300: comparing the detection values of the ith to-be-detected microphone in the to-be-detected microphones on the N frequency bands with the detection values of the ith reference microphone in the reference microphones on the N frequency bands to judge whether the ith to-be-detected microphone is consistent;
The ith reference microphone in the reference microphones corresponds to the ith microphone to be detected in the microphones to be detected;
for example, for a TWS headphone microphone, comparing the detection values of the primary microphones of the to-be-detected microphones on the N frequency bands with the detection values of the primary microphones of the reference microphones on the N frequency bands to determine whether the primary microphones of the to-be-detected microphones are consistent, and comparing the detection values of the secondary microphones of the to-be-detected microphones on the N frequency bands with the detection values of the secondary microphones of the reference microphones on the N frequency bands to determine whether the secondary microphones of the to-be-detected microphones are consistent;
step S400: and determining the consistency of the microphones to be detected according to the consistency judgment result of each of the L microphones to be detected, for example, if the consistency judgment results of the L microphones to be detected are consistent, determining that the microphones to be detected have consistency, otherwise, determining that the microphones to be detected do not have consistency.
According to the method for detecting the microphone consistency provided by the embodiment of the invention, the detection values of the microphones to be detected in the microphones to be detected on a plurality of frequency bands are obtained under the set test condition, the detection values are in positive correlation with the mean value of the corresponding amplitude values or the mean value of the power values, and the detection values of the microphones to be detected in the microphones to be detected on the plurality of frequency bands are compared with the detection values under the same test condition, so that the consistency of the microphones to be detected is judged by using the reference microphone, compared with the prior art, the influence of acoustic reflection factors can be reduced, the consistency detection precision of the microphones can be improved, and the performance and the robustness of a microphone voice enhancement system can be further improved.
In the embodiment of the present invention, step S100 may be performed first, and then step S200 may be performed, step S200 may be performed first, and then step S100 may be performed, or step S100 and step S200 may be performed at the same time;
in the invention, the detection values P of L microphones to be detected in the microphones to be detected on N frequency bandsi(w), detection values P 'of L of reference microphones of the reference microphones on the N frequency bands'iThe test conditions can be the same test environment and the same test sound, for example, the microphones to be detected and the reference microphone can be placed at the same position (for example, at the same position in the same anechoic box) in the same anechoic box (or anechoic chamber, open room) with the same placing posture, so that the test environments of the microphones to be detected in the microphones to be detected and the corresponding reference microphones in the reference microphones are the same, the external factors (such as sound reflection) are also the same, and the same test sound can be played through an artificial mouth or a sound box, and the test sound can be white noise or a linear step-length sweep frequency signal.
For example, a microphone with relatively good consistency can be screened out through the existing method to serve as a reference microphone, for example, by playing a section of voice to a plurality of microphones, then checking the frequency spectrums (specifically, amplitude spectrums) of the microphones through audio software of a PC (personal computer) end, judging whether the audio frequency spectrums of each microphone are consistent, and screening out a microphone with relatively good microphone consistency (that is, the frequency spectrums of each microphone of the microphones are close to each other) by using the PC end to serve as a reference microphone;
after the reference microphone is selected, the reference microphone is placed in a set test environment (such as a sound deadening box, a sound deadening room and an open room), test sounds are played on the reference microphone through an artificial mouth or a sound box, and then audio signals collected by each reference microphone in the reference microphone are processed, wherein the method specifically comprises the following steps:
step A1: performing framing processing on the audio signal acquired by each reference microphone to obtain a plurality of frame signals, wherein the length of each frame signal can be 10ms-30 ms;
step A2: dividing each frame signal into N frequency bands, for example, by a modulation filtering method;
Preferably, in the embodiment of the present invention, N is not less than 256, which is beneficial to further improve the consistency detection accuracy of the microphone, for example, the value of N may be 256, 512, 1024, or the like;
step A3: calculating the detection values, P ', of each reference microphone over N frequency bands'i(w) with
Figure BDA0002721908670000081
In positive correlation, for example, the following can be used:
Figure BDA0002721908670000082
where β is a predetermined coefficient, for example, p is 1 and β is 20, or p is 2 and β is 10.
Detection values P 'of each reference microphone in the reference microphone on N frequency bands can be obtained through the method'i(w);
Preferably, in an embodiment, the detection values P 'of each reference microphone in the reference microphones on the N frequency bands may be obtained in advance through the above process'i(w), and then the detected values P'i(w) storing in a memory, when a decision is required to be made to suspectWhen the microphone consistency is measured, the detection value P 'can be directly read from the memory'i(w) that is, in step S100, P 'may be directly read from the memory'i(w);
In step S200, the microphones to be detected may be placed in the same test environment, and the microphones to be detected may play the same test sound through the artificial mouth or the sound box, and then the audio signal collected by each of the microphones to be detected may be processed in the same way, including the following steps:
Step B1: performing frame processing on the audio signal collected by each microphone to be detected to obtain a plurality of frame signals;
step B2: dividing each frame signal into N frequency bands by a modulation filtering mode;
step B3: calculating the detection value P of each microphone to be detected on N frequency bandsi(w) and
Figure BDA0002721908670000091
is in positive correlation and comprises:
Figure BDA0002721908670000092
for example, in one embodiment, detection values P 'of L of the reference microphones over N frequency bands may be provided'i(w), detection values P of L microphones to be detected in the microphones to be detected on N frequency bandsi(w) uploading the data to an upper computer respectively, and calculating the data by the upper computer so as to judge whether the microphones to be detected are consistent;
for example, the step S300 includes:
step S301: calculating Pi(w) and P'i(w) difference diff betweeni(w)=|Pi(w)-P′i(w)|;
Step S302: comparison diffi(w) a difference threshold value thi (w) of the w-th frequency band of the ith microphone to be detected ifdiffi(w)≤thi(w), judging that the ith microphone to be detected is consistent on the w-th frequency band, otherwise, judging that the ith microphone to be detected is inconsistent on the w-th frequency band;
step S303: judging whether the ith microphone to be detected is consistent according to the number of the frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands, for example, in the step, if the number count of the frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands, is counted iIf the count threshold cout _ th is smaller than the count threshold cout _ th, the ith microphone to be detected is judged to be consistent, otherwise, the ith microphone to be detected is judged to be inconsistent, wherein the count threshold cout _ th can be set according to specific requirements, which is not specifically limited by the invention.
In the embodiment of the present invention, for the same microphone to be detected, the difference threshold values on different frequency bands may be the same or different, and for different microphones to be detected, the difference threshold values on the same frequency band may be the same or different;
preferably, in an embodiment, at least one microphone to be detected exists, the difference threshold values of the microphone to be detected on different frequency bands are different, and the larger the frequency of the frequency band is, the larger the difference threshold value is, which is beneficial to further improving the consistency detection accuracy of the microphone;
for example, in one embodiment, the difference threshold is the same for different microphones to be detected in the same frequency band, but the difference threshold is different in different frequency bands, and the greater the frequency of the frequency band, the greater the difference threshold.
The method for detecting the consistency of the microphones to be detected provided by the embodiment of the invention divides the audio signals collected by each microphone to be detected of the microphones to be detected into different frequency bands by framing, modulating and filtering, and respectively obtaining the average value of the corresponding power spectrum or the average value of the amplitude spectrum of all the frames to obtain the detection values of the microphones to be detected on a plurality of frequency bands, then under the same test condition, the detection values of the corresponding reference microphones in the reference microphones on a plurality of frequency bands are taken as references for comparison, thereby determining the consistency of the microphone to be detected, reducing the influence of high-frequency part acoustic reflection on the consistency detection of the microphone, improving the detection precision of the consistency of the microphone, therefore, the performance and robustness of the microphone voice enhancement system are improved, the phase difference of the audio signals does not need to be calculated, and certain algorithm complexity is reduced.
Referring to fig. 2, fig. 2 is a schematic diagram of a system for detecting microphone conformance according to an embodiment of the present invention, where the system includes:
a first obtaining module 1, configured to obtain detection values P 'of L reference microphones in the reference microphone array over N frequency bands under a set test condition'i(w),P′i(w) is a detection value of an ith reference microphone in the reference microphones on a w-th frequency band, i is 1,. L, w is 1,. N, L is more than or equal to 2, and N is more than or equal to 2;
the reference microphone is a microphone which is pre-selected as a consistency reference standard;
wherein, P'i(w) and
Figure BDA0002721908670000101
is positively correlated, | Y'i(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith reference microphone, M'iThe number of signal frames obtained by framing the audio signal collected by the ith reference microphone is p is 1 or 2;
a second obtaining module 2, configured to obtain detection values P of L microphones to be detected in the microphones to be detected on the N frequency bands under the same test condition as the set test conditioni(w),Pi(w) is a detection value of an ith microphone to be detected in the microphones to be detected on a w-th frequency band, and the same test conditions at least comprise the same test environment and the same test sound;
Wherein, Pi(w) with
Figure BDA0002721908670000102
Is in positive correlation, | Yi(k, w) | is for the ithDetecting the amplitude value M of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the microphoneiThe method comprises the steps of obtaining a signal frame number by framing an audio signal collected by an ith microphone to be detected;
the first processing module 3 is configured to compare detection values of an ith microphone to be detected in the microphones to be detected on the N frequency bands with detection values of an ith reference microphone in the reference microphones on the N frequency bands, so as to determine whether the ith microphone to be detected is consistent;
and the second processing module 4 is configured to determine consistency of the microphones to be detected according to a consistency determination result of each of the L microphones to be detected.
The embodiment of the invention also provides a system for detecting microphone consistency, which comprises a processor and a memory coupled with the processor, wherein the memory is stored with instructions for the processor to execute, and when the processor executes the instructions, the method for detecting microphone consistency can be realized.
Embodiments of the present invention further provide a computer-readable storage medium storing a computer program, which when executed by a processor, implements the method for detecting microphone coherence described above.
It will be appreciated by those skilled in the art that the various preferences described above can be freely combined, superimposed without conflict.
It will be understood that the embodiments described above are illustrative only and not restrictive, and that various obvious and equivalent modifications and substitutions for details described herein may be made by those skilled in the art without departing from the basic principles of the invention.

Claims (7)

1. A method of detecting microphone coherence, comprising:
step S100: obtaining L reference microphones in the reference microphone array under N frequencies under the set test conditionDetection value P 'on tape'i(w),P′i(w) is a detection value of an ith reference microphone in the reference microphones on a w-th frequency band, i is 1,. L, w is 1,. N, L is more than or equal to 2, and N is more than or equal to 2;
the reference microphone is a microphone which is pre-selected as a consistency reference standard;
wherein, P'i(w) and
Figure FDA0003515012870000011
is in positive correlation, | Yi'(k, w) | is an amplitude value of a kth frame signal on a w-th frequency band obtained by framing the audio signal acquired by the ith reference microphone, and M'iThe number of signal frames obtained by framing the audio signal collected by the ith reference microphone is p is 1 or 2;
Step S200: obtaining detection values P of L microphones to be detected on the N frequency bands in the microphones to be detected under the same test condition as the set test conditioni(w),Pi(w) is a detection value of an ith microphone to be detected in the microphones to be detected on a w-th frequency band, and the same test conditions at least comprise the same test environment and the same test sound;
wherein, Pi(w) with
Figure FDA0003515012870000012
Is in positive correlation, | Yi(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith microphone to be detected, MiThe method comprises the steps of obtaining a signal frame number by framing an audio signal collected by an ith microphone to be detected;
step S300: comparing the detection values of the ith to-be-detected microphone in the to-be-detected microphones on the N frequency bands with the detection values of the ith reference microphone in the reference microphones on the N frequency bands to judge whether the ith to-be-detected microphone is consistent;
step S400: determining the consistency of the microphones to be detected according to the consistency judgment result of each of the L microphones to be detected, if the consistency judgment results of the L microphones to be detected are consistent, determining that the microphones to be detected have consistency, otherwise, determining that the microphones to be detected do not have consistency;
Wherein the step S300 includes:
step S301: calculating Pi(w) and P'iDifference diff between (w)i(w)=|Pi(w)-P′i(w)|;
Step S302: comparison diffi(w) threshold th of difference between w and i microphone to be detected in w frequency bandi(w), if diffi(w)≤thi(w), judging that the ith microphone to be detected is consistent on the w-th frequency band, otherwise, judging that the ith microphone to be detected is inconsistent on the w-th frequency band;
step S303: and judging whether the ith microphone to be detected is consistent according to the number of frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands, if the number of frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands, is less than a counting threshold value, judging that the ith microphone to be detected is consistent, otherwise, judging that the ith microphone to be detected is inconsistent.
2. The method of claim 1,
the P isi(w) and
Figure FDA0003515012870000021
is in positive correlation and comprises:
Figure FDA0003515012870000022
p'i(w) and
Figure FDA0003515012870000023
is in positive correlation and comprises:
Figure FDA0003515012870000024
wherein p is 1 and β is 20, or p is 2 and β is 10.
3. Method according to claim 1, characterized in that at least one microphone to be detected is present, the difference threshold value of which differs in different frequency bands, and the difference threshold value is larger the frequency of a frequency band.
4. The method of any one of claims 1-3, wherein N is not less than 256.
5. A system for detecting microphone coherence, comprising:
a first obtaining module, configured to obtain detection values P 'of L reference microphones of the reference microphones on the N frequency bands under the set test condition'i(w),P′i(w) is a detection value of an ith reference microphone in the reference microphones on a w-th frequency band, i is 1,. L, w is 1,. N, L is more than or equal to 2, and N is more than or equal to 2;
the reference microphone is a microphone which is pre-selected as a consistency reference standard;
wherein, P'i(w) and
Figure FDA0003515012870000025
is in positive correlation, | Yi'(k, w) | is an amplitude value of a kth frame signal on a w-th frequency band obtained by framing the audio signal acquired by the ith reference microphone, and M'iThe number of signal frames obtained by framing the audio signal collected by the ith reference microphone is p is 1 or 2;
a second obtaining module, configured to obtain detection values P of L microphones to be detected in the microphones to be detected on the N frequency bands under the same test condition as the set test conditioni(w),Pi(w) is a detection value of an ith microphone to be detected in the microphones to be detected on a w-th frequency band, and the same test conditions at least comprise the same test environment and the same test sound;
Wherein, Pi(w) with
Figure FDA0003515012870000031
Is in positive correlation, | Yi(k, w) | is the amplitude value of the kth frame signal on the w-th frequency band obtained by framing the audio signal acquired by the ith microphone to be detected, MiObtaining a signal frame number by framing the audio signal collected by the ith microphone to be detected;
the first processing module is configured to compare detection values of an ith microphone to be detected in the microphones to be detected on the N frequency bands with detection values of an ith reference microphone in the reference microphones to determine whether the ith microphone to be detected is consistent, and includes: calculating Pi(w) and P'i(w) difference diff betweeni(w)=|Pi(w)-P′i(w) |; comparison diffi(w) threshold th of difference between w and i microphone to be detected in w frequency bandi(w) if diffi(w)≤thi(w), judging that the ith microphone to be detected is consistent on the w-th frequency band, otherwise, judging that the ith microphone to be detected is inconsistent on the w-th frequency band; judging whether the ith microphone to be detected is consistent according to the number of frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands, if the number of frequency bands of the ith microphone to be detected, which are inconsistent on the N frequency bands, is smaller than a counting threshold value, judging that the ith microphone to be detected is consistent, otherwise, judging that the ith microphone to be detected is inconsistent;
The second processing module is used for determining the consistency of the microphones to be detected according to the consistency judgment results of the microphones to be detected in the L microphones to be detected, if the consistency judgment results of the L microphones to be detected are consistent, the microphones to be detected are determined to have consistency, and if not, the microphones to be detected are determined not to have consistency.
6. A system for detecting microphone coherence comprising a processor, a memory coupled to the processor, wherein the memory has instructions stored therein for execution by the processor, wherein the instructions when executed by the processor implement the method of any one of claims 1-4.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202011090578.2A 2020-10-13 2020-10-13 Method and system for detecting microphone consistency and computer readable storage medium Active CN112672265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011090578.2A CN112672265B (en) 2020-10-13 2020-10-13 Method and system for detecting microphone consistency and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011090578.2A CN112672265B (en) 2020-10-13 2020-10-13 Method and system for detecting microphone consistency and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112672265A CN112672265A (en) 2021-04-16
CN112672265B true CN112672265B (en) 2022-06-28

Family

ID=75403247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011090578.2A Active CN112672265B (en) 2020-10-13 2020-10-13 Method and system for detecting microphone consistency and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112672265B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390421A (en) * 2021-12-03 2022-04-22 伟创力电子技术(苏州)有限公司 Automatic testing method for microphone matrix and loudspeaker

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248992A (en) * 2012-02-08 2013-08-14 中国科学院声学研究所 Double-microphone based method and system for detecting voice activity in target direction
US10405115B1 (en) * 2018-03-29 2019-09-03 Motorola Solutions, Inc. Fault detection for microphone array
CN110648678A (en) * 2019-09-20 2020-01-03 厦门亿联网络技术股份有限公司 Scene identification method and system for conference with multiple microphones

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120045068A1 (en) * 2010-08-20 2012-02-23 Korea Institute Of Science And Technology Self-fault detection system and method for microphone array and audio-based device
TWI593294B (en) * 2013-02-07 2017-07-21 晨星半導體股份有限公司 Sound collecting system and associated method
CN103439689B (en) * 2013-08-21 2015-12-23 大连理工大学 Microphone position estimating system in a kind of distributed mike wind array
GB2520029A (en) * 2013-11-06 2015-05-13 Nokia Technologies Oy Detection of a microphone
WO2020037555A1 (en) * 2018-08-22 2020-02-27 深圳市汇顶科技股份有限公司 Method, device, apparatus, and system for evaluating microphone array consistency

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248992A (en) * 2012-02-08 2013-08-14 中国科学院声学研究所 Double-microphone based method and system for detecting voice activity in target direction
US10405115B1 (en) * 2018-03-29 2019-09-03 Motorola Solutions, Inc. Fault detection for microphone array
CN110648678A (en) * 2019-09-20 2020-01-03 厦门亿联网络技术股份有限公司 Scene identification method and system for conference with multiple microphones

Also Published As

Publication number Publication date
CN112672265A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
JP7066705B2 (en) Headphone off-ear detection
RU2595636C2 (en) System and method for audio signal generation
CN109313909B (en) Method, device, apparatus and system for evaluating consistency of microphone array
US20210256971A1 (en) Detection of replay attack
US20140337021A1 (en) Systems and methods for noise characteristic dependent speech enhancement
CN109845288B (en) Method and apparatus for output signal equalization between microphones
US9959886B2 (en) Spectral comb voice activity detection
CN107170465B (en) Audio quality detection method and audio quality detection system
JP4745916B2 (en) Noise suppression speech quality estimation apparatus, method and program
WO2016184138A1 (en) Method, mobile terminal and computer storage medium for adjusting audio parameters
CN108430024B (en) Measuring method of noise reduction earphone
CN104937955B (en) Automatic loud speaker Check up polarity
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN112672265B (en) Method and system for detecting microphone consistency and computer readable storage medium
US9088857B2 (en) Audio apparatus, control method for the audio apparatus, and storage medium for determining sudden noise
JP2018165787A (en) Audio device and computer readable program
US11516604B2 (en) System and method for evaluating an ear seal using external stimulus
CN114697849A (en) Earphone wearing detection method and device, earphone and storage medium
KR100992656B1 (en) Detecting voiced and unvoiced speech using both acoustic and nonacoustic sensors
US11206502B1 (en) System and method for evaluating an ear seal using normalization
CN115243183A (en) Audio detection method, device and storage medium
EP3879184A1 (en) Noise reduction method and apparatus for household appliance, household appliance, and cooker hood
WO2022042862A1 (en) Earphone device and method for earphone device
CN111885474A (en) Microphone testing method and device
WO2022150950A1 (en) Method and apparatus for evaluating consistency of microphone array

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 519075 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Applicant after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Applicant before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant