Microphone array detection method and device

文档序号:912992 发布日期:2021-02-26 浏览:11次 中文

阅读说明:本技术 麦克风阵列的检测方法及装置 (Microphone array detection method and device ) 是由 雷康 安爱辉 余明 于 2019-08-21 设计创作,主要内容包括:本申请提出一种麦克风阵列的检测方法及装置,其中方法包括:获取麦克风阵列对测试音频进行采集后得到的音频信号,测试音频的频率覆盖预设频率范围内的每个频点;对音频信号进行解码,获取麦克风阵列中每个麦克风对应的音频子信号;提取各个音频子信号的至少一个待检测参数信息;将各个音频子信号的至少一个待检测参数信息与预设的配置文件中相应的标准参数信息进行比对,确定麦克风阵列的检测结果,该方法能够自动对麦克风阵列产品前端处理后的音频信号进行异常检测,不需要人工参与,降低了人力成本,提高了检测效率,且能够适用于批量化检测,能够确保生产效率。(The application provides a detection method and a device of a microphone array, wherein the method comprises the following steps: acquiring an audio signal acquired by a microphone array after acquiring a test audio, wherein the frequency of the test audio covers each frequency point in a preset frequency range; decoding the audio signals to obtain audio sub-signals corresponding to each microphone in the microphone array; extracting at least one parameter information to be detected of each audio sub-signal; the method can automatically detect the abnormity of the audio signals processed at the front end of a microphone array product without manual participation, reduces the labor cost, improves the detection efficiency, can be suitable for batch detection, and can ensure the production efficiency.)

1. A method for detecting a microphone array, comprising:

acquiring an audio signal acquired by a microphone array after acquiring a test audio, wherein the frequency of the test audio covers each frequency point in a preset frequency range;

decoding the audio signal to obtain an audio sub-signal corresponding to each microphone in the microphone array;

extracting at least one parameter information to be detected of each audio sub-signal;

and comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array.

2. The method of claim 1, wherein the decoding the audio signal to obtain the audio sub-signal corresponding to each microphone in the microphone array comprises:

reading header information of the audio signal, and extracting decoding parameters in the header information, wherein the decoding parameters comprise: sampling rate, channel number and audio time length;

and decoding the audio signals according to the decoding parameters to obtain audio sub-signals corresponding to each microphone in the microphone array.

3. The method according to claim 1, wherein the parameter information to be detected comprises: time domain parameter information, the time domain parameter information comprising: maximum amplitude, amplitude root mean square value, background noise information and delay information;

the standard parameter information includes: a difference threshold, a clipping amplitude threshold, a background noise threshold and a delay difference threshold among the amplitude root mean square values of the audio sub-signals;

the comparing at least one parameter information to be detected of each audio sub-signal with the corresponding standard parameter information in the preset configuration file to determine the detection result of the microphone array comprises the following steps:

comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determining whether any one or more of the following conditions exist in the audio sub-signals of each microphone in the microphone array: consistency, clipping, topping, background noise, and delay.

4. The method according to claim 3, wherein the at least one parameter information to be detected of each audio sub-signal is compared with corresponding standard parameter information in a preset configuration file to determine whether the following conditions exist in the audio sub-signals of each microphone in the microphone array: uniformity, cropping, topping, background noise, time delay, including:

determining whether consistency exists between the audio sub-signals or not by combining the amplitude root mean square value of each audio sub-signal and the difference threshold;

determining whether amplitude clipping exists in each audio sub-signal or not by combining the maximum amplitude of each audio sub-signal and the amplitude clipping threshold value;

determining whether the clipping condition exists in each audio sub-signal or not by combining the maximum amplitude of each audio sub-signal and the clipping amplitude threshold value;

determining whether each audio sub-signal has a background noise condition or not by combining the background noise information of each audio sub-signal and the background noise threshold;

and determining whether the delay condition exists between the audio sub-signals or not by combining the delay information of the audio sub-signals and the delay difference threshold value.

5. The method according to claim 1 or 3, wherein the parameter information to be detected comprises: frequency domain parameter information, the frequency domain parameter information comprising: the harmonic quantity of each frequency point, the decibel value between the fundamental frequency and the maximum harmonic of each frequency point, the fundamental frequency information of each frequency point and the reverse high-frequency component information behind the maximum frequency point;

the standard parameter information includes: the harmonic quantity threshold value of each frequency point, the decibel value threshold value between the fundamental frequency and the maximum harmonic of each frequency point, and the length of the frequency band corresponding to the fundamental frequency information being null;

the comparing at least one parameter information to be detected of each audio sub-signal with the corresponding standard parameter information in the preset configuration file to determine the detection result of the microphone array comprises the following steps:

comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determining whether the audio sub-signals of each microphone in the microphone array exist in any one or more of the following conditions: vibration, distortion, frequency domain loss, aliasing.

6. The method according to claim 5, wherein the at least one parameter information to be detected of each audio sub-signal is compared with corresponding standard parameter information in a preset configuration file to determine whether any one or more of the following conditions exist in the audio sub-signals of each microphone in the microphone array: vibrations, distortion, frequency domain loss, aliasing, including:

determining whether each audio sub-signal has a vibration condition or not by combining the harmonic quantity of each frequency point in each audio sub-signal and a harmonic quantity threshold;

determining whether each audio sub-signal has distortion or not by combining the decibel value between the fundamental frequency and the maximum harmonic of each frequency point in each audio sub-signal and a decibel value threshold;

determining whether the frequency domain loss condition exists in each audio frequency sub-signal or not by combining the fundamental frequency information of each frequency point in each audio frequency sub-signal and the length of the frequency band;

and determining whether each audio sub-signal has an aliasing condition or not by combining the reverse high-frequency component information behind the maximum frequency point in each audio sub-signal.

7. A detection apparatus for a microphone array, comprising:

the acquisition module is used for acquiring an audio signal acquired by a microphone array after a test audio is acquired, wherein the frequency of the test audio covers each frequency point in a preset frequency range;

the decoding module is used for decoding the audio signals and acquiring audio sub-signals corresponding to each microphone in the microphone array;

the extraction module is used for extracting at least one piece of parameter information to be detected of each audio sub-signal;

and the comparison module is used for comparing at least one piece of parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array.

8. The apparatus of claim 7, wherein the decoding module is specifically configured to,

reading header information of the audio signal, and extracting decoding parameters in the header information, wherein the decoding parameters comprise: sampling rate, channel number and audio time length;

and decoding the audio signals according to the decoding parameters to obtain audio sub-signals corresponding to each microphone in the microphone array.

9. The apparatus according to claim 7, wherein the parameter information to be detected comprises: time domain parameter information, the time domain parameter information comprising: maximum amplitude, amplitude root mean square value, background noise information and delay information;

the standard parameter information includes: a difference threshold, a clipping amplitude threshold, a background noise threshold and a delay difference threshold among the amplitude root mean square values of the audio sub-signals;

the comparison module is specifically used for comparing the data of the data acquisition module,

comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determining whether any one or more of the following conditions exist in the audio sub-signals of each microphone in the microphone array: consistency, clipping, topping, background noise, and delay.

10. The apparatus of claim 9, wherein the alignment module is specifically configured to,

determining whether consistency exists between the audio sub-signals or not by combining the amplitude root mean square value of each audio sub-signal and the difference threshold;

determining whether amplitude clipping exists in each audio sub-signal or not by combining the maximum amplitude of each audio sub-signal and the amplitude clipping threshold value;

determining whether the clipping condition exists in each audio sub-signal or not by combining the maximum amplitude of each audio sub-signal and the clipping amplitude threshold value;

determining whether each audio sub-signal has a background noise condition or not by combining the background noise information of each audio sub-signal and the background noise threshold;

and determining whether the delay condition exists between the audio sub-signals or not by combining the delay information of the audio sub-signals and the delay difference threshold value.

11. The apparatus according to claim 7 or 9, wherein the parameter information to be detected comprises: frequency domain parameter information, the frequency domain parameter information comprising: the harmonic quantity of each frequency point, the decibel value between the fundamental frequency and the maximum harmonic of each frequency point, the fundamental frequency information of each frequency point and the reverse high-frequency component information behind the maximum frequency point;

the standard parameter information includes: the harmonic quantity threshold value of each frequency point, the decibel value threshold value between the fundamental frequency and the maximum harmonic of each frequency point, and the length of the frequency band corresponding to the fundamental frequency information being null;

the comparison module is specifically used for comparing the data of the data acquisition module,

comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determining whether the audio sub-signals of each microphone in the microphone array exist in any one or more of the following conditions: vibration, distortion, frequency domain loss, aliasing.

12. The apparatus of claim 11, wherein the alignment module is specifically configured to,

determining whether each audio sub-signal has a vibration condition or not by combining the harmonic quantity of each frequency point in each audio sub-signal and a harmonic quantity threshold;

determining whether each audio sub-signal has distortion or not by combining the decibel value between the fundamental frequency and the maximum harmonic of each frequency point in each audio sub-signal and a decibel value threshold;

determining whether the frequency domain loss condition exists in each audio frequency sub-signal or not by combining the fundamental frequency information of each frequency point in each audio frequency sub-signal and the length of the frequency band;

and determining whether each audio sub-signal has an aliasing condition or not by combining the reverse high-frequency component information behind the maximum frequency point in each audio sub-signal.

13. A detection apparatus for a microphone array, comprising:

memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor when executing the program implements the method for detecting a microphone array as claimed in any of claims 1-6.

14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of detecting a microphone array according to any one of claims 1 to 6.

15. A computer program product enabling a method for detection of a microphone array as claimed in any of claims 1-6 when executed by an instruction processor in the computer program product.

Technical Field

The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for detecting a microphone array.

Background

When the existing microphone array product is used for carrying out nonlinear detection, an output signal processed at the front end of the microphone array product is manually acquired, an audio analysis tool is introduced to acquire a time domain signal and a frequency domain signal, and then whether abnormal conditions such as frequency spectrum distortion, signal amplitude truncation and the like exist or not is manually analyzed. However, in the above scheme, the labor cost is high, the detection efficiency is low, and it is difficult to use the scheme for mass detection and to ensure the production efficiency.

Disclosure of Invention

The object of the present application is to solve at least to some extent one of the above mentioned technical problems.

Therefore, a first objective of the present application is to provide a method for detecting a microphone array, which can automatically detect an abnormality of an audio signal processed at the front end of a microphone array product, does not require human intervention, reduces human cost, improves detection efficiency, is suitable for batch detection, and can ensure production efficiency.

A second object of the present application is to provide a detection apparatus for a microphone array.

A third object of the present application is to propose another detection arrangement for a microphone array.

A fourth object of the present application is to propose a computer readable storage medium.

A fifth object of the present application is to propose a computer program product.

In order to achieve the above object, an embodiment of a first aspect of the present application provides a method for detecting a microphone array, including: acquiring an audio signal acquired by a microphone array after acquiring a test audio, wherein the frequency of the test audio covers each frequency point in a preset frequency range; decoding the audio signal to obtain an audio sub-signal corresponding to each microphone in the microphone array; extracting at least one parameter information to be detected of each audio sub-signal; and comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array.

According to the detection method of the microphone array, the audio signal obtained by acquiring the test audio by the microphone array is obtained, and the frequency of the test audio covers each frequency point in the preset frequency range; decoding the audio signal to obtain an audio sub-signal corresponding to each microphone in the microphone array; extracting at least one parameter information to be detected of each audio sub-signal; and comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array. The method can automatically detect the abnormity of the audio signal processed at the front end of the microphone array product, does not need manual participation, reduces the labor cost, improves the detection efficiency, can be suitable for batch detection, and can ensure the production efficiency.

In order to achieve the above object, a second aspect of the present application provides a detection apparatus for a microphone array, including: the acquisition module is used for acquiring an audio signal acquired by a microphone array after a test audio is acquired, wherein the frequency of the test audio covers each frequency point in a preset frequency range; the decoding module is used for decoding the audio signals and acquiring audio sub-signals corresponding to each microphone in the microphone array; the extraction module is used for extracting at least one piece of parameter information to be detected of each audio sub-signal; and the comparison module is used for comparing at least one piece of parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array.

According to the detection device of the microphone array, the audio signal obtained by acquiring the test audio by the microphone array is obtained, and the frequency of the test audio covers each frequency point in the preset frequency range; decoding the audio signal to obtain an audio sub-signal corresponding to each microphone in the microphone array; extracting at least one parameter information to be detected of each audio sub-signal; and comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array. The device can automatically detect the abnormity of the audio signal processed at the front end of the microphone array product, does not need manual participation, reduces the labor cost, improves the detection efficiency, can be suitable for batch detection, and can ensure the production efficiency.

In order to achieve the above object, a third embodiment of the present application provides another detection apparatus for a microphone array, including: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor when executing the program implements the method for detecting a microphone array as described above.

In order to achieve the above object, a fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the detection method of the microphone array as described above.

In order to achieve the above object, an embodiment of a fifth aspect of the present application provides a computer program product, which when executed by an instruction processor of the computer program product, implements the detection method of the microphone array as described above.

Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.

Drawings

The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

fig. 1 is a schematic flow chart of a detection method of a microphone array according to an embodiment of the present application;

FIG. 2 is a schematic diagram of a continuous spectrum audio source;

FIG. 3 is a schematic diagram of comparison between the parameter information to be detected and the standard parameter information;

fig. 4 is a schematic flow chart of a detection method of a microphone array according to another embodiment of the present application;

fig. 5 is a schematic flow chart of a detection method of a microphone array according to another embodiment of the present application;

FIG. 6 is a schematic diagram of a detection apparatus of a microphone array according to an embodiment of the present application;

fig. 7 is a schematic structural diagram of another detection apparatus for a microphone array according to an embodiment of the present application.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.

The following describes a detection method and apparatus for a microphone array according to an embodiment of the present application with reference to the drawings. The execution subject of the detection method of the microphone array in the embodiment of the application is a detection device of the microphone array. The detection device of the microphone array may specifically be a software or hardware device for detecting the microphone array, and in the embodiment of the present application, the detection device of the microphone array is described as software for detecting the microphone array, for example, non-linear detection software for detecting the microphone array.

Fig. 1 is a schematic flowchart of a detection method of a microphone array according to an embodiment of the present disclosure. As shown in fig. 1, the detection method of the microphone array includes the following steps:

step 101, acquiring an audio signal obtained after a microphone array collects a test audio, wherein the frequency of the test audio covers each frequency point in a preset frequency range.

In the embodiment of the application, when the microphone array is detected, in order to ensure that detection of the microphone array does not cause omission or false detection, the frequency of the test audio frequency can cover each frequency point within a preset frequency range, as shown in fig. 2, a sound source of a continuous spectrum can be used to replace a discrete sound source, so as to obtain an audio signal obtained after the microphone array collects the sound source of the continuous spectrum.

And 102, decoding the audio signal to acquire an audio sub-signal corresponding to each microphone in the microphone array.

Further, after obtaining an audio signal obtained by collecting the test audio by the microphone array, the audio signal may be decoded to obtain an audio sub-signal corresponding to each microphone in the microphone array.

Optionally, decoding the audio signal to obtain an audio sub-signal corresponding to each microphone in the microphone array includes: reading header information of an audio signal, and extracting decoding parameters in the header information, wherein the decoding parameters comprise: sampling rate, channel number and audio time length; and decoding the audio signals according to the decoding parameters to obtain the audio sub-signals corresponding to each microphone in the microphone array.

That is to say, when the detecting device of the microphone array decodes the audio signal and acquires the audio sub-signal corresponding to each microphone in the microphone array, the detecting device of the microphone array may automatically read the header information of the audio signal, extract the decoding parameters in the header information, and then decode the audio signal according to the decoding parameters to obtain the audio sub-signal corresponding to each microphone in the microphone array, where the decoding parameters may include, but are not limited to, a sampling rate, a number of channels, an audio duration, and the like.

Step 103, extracting at least one parameter information to be detected of each audio sub-signal.

In the embodiment of the application, after the audio signal is decoded and the audio sub-signal corresponding to each microphone in the microphone array is acquired, at least one parameter information to be detected of each audio sub-signal can be extracted. The parameter information to be detected may include, but is not limited to, time domain parameter information, frequency domain parameter information, and the like. The time domain parameter information may include, but is not limited to, maximum amplitude, amplitude root mean square value, noise floor information, delay information, and the like. The frequency domain parameter information may include, but is not limited to, the number of harmonics of each frequency point, a decibel value between a fundamental frequency and a maximum harmonic of each frequency point, fundamental frequency information of each frequency point, reverse high frequency component information after the maximum frequency point, and the like.

And 104, comparing at least one piece of parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determining a detection result of the microphone array.

In order to ensure compatibility with various types of products and realize highly flexible function combination, as shown in fig. 3, after at least one piece of parameter information to be detected of each audio sub-signal is extracted, corresponding standard parameter information is configured in a configuration file, the at least one piece of parameter information to be detected of each audio sub-signal is compared with the corresponding standard parameter information in a preset configuration file, the standard parameter information is used as a reference standard for detection, and the parameter information to be detected can include, but is not limited to, time domain parameter information, frequency domain parameter information and the like, so that a detection result of the microphone array is determined.

It should be understood that, different parameter information to be detected and corresponding standard parameter information in the configuration file are different, and thus, the determined detection result of the microphone array is also different. As an example, when the parameter information to be detected is time domain parameter information, the standard parameter information in the configuration file may include, but is not limited to, a difference threshold between amplitude root mean square values of the respective audio sub-signals, a truncated amplitude threshold, a background noise threshold, a delay difference threshold, and the like. Optionally, as shown in fig. 4, the time domain parameter information of each audio sub-signal is compared with corresponding standard parameter information in a preset configuration file, and it is determined whether any one or more of the following conditions exist in the audio sub-signals of each microphone in the microphone array, for example: consistency, cropping, topping, background noise, time delay and the like, and the specific steps can include:

step 401, determining whether there is a consistency condition between the audio sub-signals by combining the amplitude root mean square value of each audio sub-signal and the difference threshold.

In the embodiment of the application, the detection device of the microphone array may calculate an amplitude root mean square value of each audio sub-signal in the microphone array, and a difference value between the amplitude root mean square values of any two audio sub-signals is compared with a difference threshold value between the amplitude root mean square values in the configuration file, if there are two audio sub-signals and the difference value between the amplitude root mean square values of the two audio sub-signals is greater than the difference threshold value between the amplitude root mean square values in the configuration file, it is indicated that the amplitude root mean square difference of each audio sub-signal is large, and it is determined that there is no consistency between each audio sub-signal. And if the difference value of the amplitude root mean square values between any two audio sub-signals is less than or equal to the difference threshold value between the amplitude root mean square values in the configuration file, the difference of the amplitude root mean square values of the audio sub-signals is small and can be ignored, and the consistency between the audio sub-signals is determined.

Step 402, determining whether amplitude clipping exists in each audio sub-signal by combining the maximum amplitude of each audio sub-signal and an amplitude clipping threshold.

Step 403, determining whether the clipping condition exists in each audio sub-signal by combining the maximum amplitude of each audio sub-signal and the clipping amplitude threshold.

Specifically, the detection device of the microphone array can detect whether the amplitude of the maximum amplitude of each audio sub-signal exceeds a clipping amplitude threshold value, and if the amplitude of the maximum amplitude exceeds the clipping amplitude threshold value in the configuration file, it is determined that the clipping condition exists in each audio sub-signal; if the amplitude of the maximum amplitude does not exceed the clipping amplitude threshold value and is negligible, it is determined that no clipping condition exists for each audio sub-signal. In addition, the detection means of the microphone array may detect whether the amplitude of the maximum amplitude of the respective audio sub-signal exceeds a truncated amplitude threshold, and if there is an amplitude exceeding the truncated amplitude threshold, determine that a truncated condition exists for the respective audio sub-signal. If the non-existing amplitude exceeds the truncated amplitude threshold, which is negligible, it is determined that the respective audio sub-signal does not have a truncated condition.

And step 404, determining whether each audio sub-signal has a noise floor condition or not by combining the noise floor information of each audio sub-signal and the noise floor threshold.

Specifically, the detection device of the microphone array can acquire the background noise information of each audio sub-signal, judge whether the background noise information of each audio sub-signal is greater than a background noise threshold, and determine that the audio sub-signal has a background noise condition if the background noise information of a certain audio sub-signal is greater than the background noise threshold; and if the noise floor information of a certain audio sub-signal is less than or equal to the noise floor threshold value, determining that the audio sub-signal does not have the noise floor condition. And then, determining whether the microphone array has the background noise condition according to whether each audio sub-signal has the background noise condition.

Step 405, determining whether a delay condition exists between the audio sub-signals by combining the delay information of the audio sub-signals and the delay difference threshold.

In the embodiment of the application, the detection device of the microphone array can calculate the delay difference between any two audio sub-signals according to the delay information of each audio sub-signal of the microphone array, compare the delay difference with the delay difference threshold in the configuration information, and if two audio sub-signals exist, the delay difference between the two audio sub-signals is greater than the delay difference threshold in the configuration information, which indicates that delay exists between each audio sub-signal; if the delay difference between any two audio sub-signals is less than or equal to the delay difference threshold in the configuration information, it is indicated that the delay between the audio sub-signals is small and negligible, and it can be determined that there is no delay between the audio sub-signals.

In the embodiment of the application, when the parameter information to be detected is time domain parameter information, the detection device of the microphone array automatically performs detection analysis on the consistency, the amplitude truncation, the top truncation, the bottom noise, the time delay and the like of each audio sub-signal of the microphone array by taking the corresponding standard parameter information in the configuration file as a comparison reference, does not need manual participation, reduces the labor cost, improves the detection efficiency, can be suitable for batch detection, and can ensure the production efficiency.

As another example, when the parameter information to be detected is frequency domain parameter information, the standard parameter information in the configuration file may include, but is not limited to, a harmonic number threshold of each frequency point, a decibel value threshold between a fundamental frequency and a maximum harmonic of each frequency point, a length of a frequency band where corresponding fundamental frequency information is empty, and the like. Optionally, as shown in fig. 5, the time domain parameter information of each audio sub-signal is compared with corresponding standard parameter information in a preset configuration file, and it is determined whether any one or more of the following conditions exist in the audio sub-signals of each microphone in the microphone array, for example: vibration, distortion, frequency domain loss, aliasing and the like, and the specific steps can be as follows:

and step 501, determining whether each audio sub-signal has a vibration condition or not by combining the harmonic quantity of each frequency point in each audio sub-signal and a harmonic quantity threshold.

In the embodiment of the application, the detection device of the microphone array can compare the harmonic quantity of each frequency point in each audio sub-signal of the microphone array with the harmonic quantity threshold of the corresponding frequency point in the configuration file, and if one frequency point exists in a certain audio sub-signal and the harmonic quantity of the frequency point is greater than the harmonic quantity threshold of the corresponding frequency point in the configuration file, the audio sub-signal is determined to have a vibration condition; and if the harmonic quantity of each frequency point in a certain audio sub-signal is less than or equal to the harmonic quantity threshold of the corresponding frequency point in the configuration file, determining that the audio sub-signal has no vibration condition.

And 502, determining whether each audio sub-signal has distortion or not by combining the decibel value between the fundamental frequency and the maximum harmonic of each frequency point in each audio sub-signal and a decibel value threshold value.

Specifically, the detection device of the microphone array can compare the decibel value between the fundamental frequency and the maximum harmonic of each frequency point in each audio sub-signal of the microphone array with the decibel value threshold value between the fundamental frequency and the maximum harmonic of each frequency point in the configuration file, and if one frequency point exists in a certain audio sub-signal of the microphone array, the decibel value between the fundamental frequency and the maximum harmonic of the frequency point is greater than the decibel value threshold value between the fundamental frequency and the maximum harmonic of the corresponding frequency point in the configuration file, the situation that the audio sub-signal is distorted is determined; and if the decibel value between the fundamental frequency and the maximum harmonic of each frequency point in a certain audio sub-signal is less than or equal to the decibel value threshold value between the fundamental frequency and the maximum harmonic of the corresponding frequency point in the configuration file, determining that the audio sub-signal has no distortion.

Step 503, determining whether the frequency domain loss exists in each audio sub-signal by combining the fundamental frequency information of each frequency point in each audio sub-signal and the frequency band length.

In the embodiment of the application, for each audio sub-signal, the detection device of the microphone array may acquire each frequency point where corresponding fundamental frequency information in the audio sub-signal is empty, acquire the length of a frequency band formed by consecutive frequency points in each frequency point, determine whether the length is greater than the length of the frequency band where the fundamental frequency signal in the configuration file is empty, and if so, determine that the audio sub-signal has a frequency domain loss condition; and if the frequency domain loss is less than or equal to the preset frequency domain loss, determining that the audio sub-signal has no frequency domain loss condition.

And step 504, determining whether each audio sub-signal has an aliasing condition or not by combining the backward high-frequency component information after the maximum frequency point in each audio sub-signal.

In the embodiment of the application, if reverse high-frequency component information exists after the maximum frequency point in each audio sub-signal, determining that each audio sub-signal has an aliasing condition; and if the reverse high-frequency component information does not exist after the maximum frequency point in each audio sub-signal, determining that each audio sub-signal does not have an aliasing condition.

In the embodiment of the application, when the parameter information to be detected is frequency domain parameter information, the detection device of the microphone array takes corresponding standard parameter information in the configuration file as a comparison reference, so that detection analysis can be performed on vibration and distortion of each audio sub-signal of the microphone array, frequency domain loss, aliasing and the like, manual participation is not needed, the labor cost is reduced, the detection efficiency is improved, the detection device can be suitable for batch detection, and the production efficiency can be ensured.

In the embodiment of the application, at least one to-be-detected parameter information of each audio sub-signal is compared with corresponding standard parameter information in a preset configuration file, after a detection result of a microphone array is determined, in order to ensure that output detection result data meet subsequent analysis requirements, a related report of the detection result can be given, and the detection result can be quickly positioned, analyzed and traced back.

According to the detection method of the microphone array, the audio signals obtained after the test audio is collected by the microphone array are obtained, and the frequency of the test audio covers each frequency point in the preset frequency range; decoding the audio signals to obtain audio sub-signals corresponding to each microphone in the microphone array; extracting at least one parameter information to be detected of each audio sub-signal; and comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array. The method can automatically detect the abnormity of the audio signal processed at the front end of the microphone array product, does not need manual participation, reduces the labor cost, improves the detection efficiency, can be suitable for batch detection, and can ensure the production efficiency.

In correspondence with the detection methods of the microphone arrays provided in the above-mentioned several embodiments, embodiments of the present application also provide a detection apparatus of the microphone array, and since the detection apparatus of the microphone array provided in the embodiments of the present application corresponds to the detection methods of the microphone arrays provided in the above-mentioned several embodiments, the embodiments of the detection method of the microphone array described above are also applicable to the detection apparatus of the microphone array provided in the present embodiment, and will not be described in detail in the present embodiment. Fig. 6 is a schematic structural diagram of a detection apparatus of a microphone array according to an embodiment of the present application. As shown in fig. 6, the detection apparatus of the microphone array includes: an obtaining module 610, a decoding module 620, an extracting module 630 and a comparing module 640.

The acquisition module 610 is configured to acquire an audio signal obtained by acquiring a test audio by a microphone array, where the frequency of the test audio covers each frequency point in a preset frequency range;

the decoding module 620 is configured to decode the audio signal, and acquire an audio sub-signal corresponding to each microphone in the microphone array;

an extracting module 630, configured to extract at least one to-be-detected parameter information of each audio sub-signal;

the comparison module 640 is configured to compare at least one to-be-detected parameter information of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determine a detection result of the microphone array.

As a possible implementation manner of the embodiment of the present application, the decoding module 620 is specifically configured to read header information of an audio signal, and extract decoding parameters in the header information, where the decoding parameters include: sampling rate, channel number and audio time length; and decoding the audio signals according to the decoding parameters to obtain the audio sub-signals corresponding to each microphone in the microphone array.

As a possible implementation manner of the embodiment of the present application, the parameter information to be detected includes: time domain parameter information, the time domain parameter information comprising: maximum amplitude, amplitude root mean square value, background noise information and delay information; the standard parameter information includes: a difference threshold, a clipping amplitude threshold, a background noise threshold and a delay difference threshold among the amplitude root mean square values of the audio sub-signals; the comparison module 640 is specifically configured to compare at least one to-be-detected parameter information of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determine whether any one or more of the following conditions exist in the audio sub-signals of each microphone in the microphone array: consistency, clipping, topping, background noise, and delay.

As a possible implementation manner of the embodiment of the present application, the comparing module 640 is specifically configured to determine whether a consistency condition exists between the audio sub-signals by combining the amplitude root mean square value of each audio sub-signal and the difference threshold; determining whether amplitude clipping exists in each audio sub-signal or not by combining the maximum amplitude of each audio sub-signal and an amplitude clipping threshold value; determining whether the clipping condition exists in each audio sub-signal or not by combining the maximum amplitude of each audio sub-signal and the clipping amplitude threshold value; determining whether each audio sub-signal has a background noise condition or not by combining the background noise information of each audio sub-signal and a background noise threshold; and determining whether the delay condition exists between the audio sub-signals or not by combining the delay information of the audio sub-signals and the delay difference threshold value.

As a possible implementation manner of the embodiment of the present application, the parameter information to be detected includes: frequency domain parameter information, the frequency domain parameter information comprising: the harmonic quantity of each frequency point, the decibel value between the fundamental frequency and the maximum harmonic of each frequency point, the fundamental frequency information of each frequency point and the reverse high-frequency component information behind the maximum frequency point; the standard parameter information includes: the harmonic quantity threshold value of each frequency point, the decibel value threshold value between the fundamental frequency and the maximum harmonic of each frequency point, and the length of the frequency band corresponding to the fundamental frequency information being null; the comparison module 640 is specifically configured to compare at least one to-be-detected parameter information of each audio sub-signal with corresponding standard parameter information in a preset configuration file, and determine whether any one or more of the following conditions exist in the audio sub-signals of each microphone in the microphone array: vibration, distortion, frequency domain loss, aliasing.

As a possible implementation manner of the embodiment of the present application, the comparing module 640 is specifically configured to determine whether each audio sub-signal has a vibration condition by combining the harmonic number of each frequency point in each audio sub-signal and a harmonic number threshold; determining whether each audio sub-signal has distortion or not by combining the decibel value between the fundamental frequency and the maximum harmonic of each frequency point in each audio sub-signal and a decibel value threshold; determining whether the frequency domain loss condition exists in each audio frequency sub-signal or not by combining the fundamental frequency information of each frequency point in each audio frequency sub-signal and the length of the frequency band; and determining whether each audio sub-signal has an aliasing condition or not by combining the reverse high-frequency component information behind the maximum frequency point in each audio sub-signal.

According to the detection device of the microphone array, the audio signal obtained by acquiring the test audio by the microphone array is obtained, and the frequency of the test audio covers each frequency point in the preset frequency range; decoding the audio signal to obtain an audio sub-signal corresponding to each microphone in the microphone array; extracting at least one parameter information to be detected of each audio sub-signal; and comparing at least one parameter information to be detected of each audio sub-signal with corresponding standard parameter information in a preset configuration file to determine a detection result of the microphone array. The device can automatically detect the abnormity of the audio signal processed at the front end of the microphone array product, does not need manual participation, reduces the labor cost, improves the detection efficiency, can be suitable for batch detection, and can ensure the production efficiency.

In order to implement the above embodiments, another detection device for a microphone array is further provided in the embodiments of the present application. Fig. 7 is a schematic structural diagram of another detection apparatus for a microphone array according to an embodiment of the present disclosure. The detection device of the microphone array comprises:

memory 1001, processor 1002, and computer programs stored on memory 1001 and executable on processor 1002.

The processor 1002, when executing the program, implements the detection method of the microphone array provided in the above-described embodiment.

Further, the detection device of the microphone array further includes:

a communication interface 1003 for communicating between the memory 1001 and the processor 1002.

A memory 1001 for storing computer programs that may be run on the processor 1002.

Memory 1001 may include high-speed RAM memory and may also include non-volatile memory (e.g., at least one disk memory).

The processor 1002 is configured to implement the method for detecting a microphone array according to the above embodiments when executing the program.

If the memory 1001, the processor 1002, and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001, and the processor 1002 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.

Optionally, in a specific implementation, if the memory 1001, the processor 1002, and the communication interface 1003 are integrated on one chip, the memory 1001, the processor 1002, and the communication interface 1003 may complete communication with each other through an internal interface.

The processor 1002 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.

The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of detecting a microphone array as described above.

The present application also provides a computer program product, wherein when executed by an instruction processor, the method for detecting a microphone array as described above is implemented.

In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.

The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.

It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.

The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种具有节能环保功能的麦克风声音强度质量检测装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!