Microphone array voice signal processing method, device, equipment and storage medium

文档序号:1075067 发布日期:2020-10-16 浏览:3次 中文

阅读说明:本技术 麦克风阵列语音信号处理方法、装置、设备及存储介质 (Microphone array voice signal processing method, device, equipment and storage medium ) 是由 季海交 胡小辉 陈桥红 黄维 张涛磊 于 2020-05-18 设计创作,主要内容包括:本发明公开了一种麦克风阵列语音信号处理方法、装置、设备及计算机可读存储介质,该方法包括步骤:通过麦克风阵列获取N路的初始语音信号,其中,N为正整数;根据预设规则,对每路初始语音信号的初始延时值进行矫正,以对初始语音信号进行处理,得到N路的中间语音信号;将N路的中间语音信号进行累加,并利用子带技术对累加后的中间语音信号进行处理,得到合成语音信号,改变了对语音信号处理的方法,提供的语音信号处理方法中对初始语音信号的延时矫正涉及到的计算简单,且计算量低,加快了音频处理器对初始语音信号处理的速度,子带技术有效抑制了声反馈。(The invention discloses a microphone array voice signal processing method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring N paths of initial voice signals through a microphone array, wherein N is a positive integer; correcting the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signal to obtain N paths of intermediate voice signals; the method for processing the voice signals is changed, the calculation involved in the delay correction of the initial voice signals in the provided voice signal processing method is simple, the calculated amount is low, the speed of the audio processor for processing the initial voice signals is increased, and the sub-band technology effectively inhibits the acoustic feedback.)

1. A microphone array voice signal processing method, characterized by comprising the steps of:

acquiring N paths of initial voice signals through the microphone array, wherein N is a positive integer;

correcting the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signal to obtain N paths of intermediate voice signals;

and accumulating the N paths of intermediate voice signals, and processing the accumulated intermediate voice signals by utilizing a subband technology to obtain a synthesized voice signal.

2. The microphone array voice signal processing method as claimed in claim 1, wherein the step of correcting the initial delay value of each initial voice signal according to a predetermined rule to process the initial voice signal to obtain N intermediate voice signals comprises:

correcting the initial delay value of the initial voice signal of the Mth path according to the initial delay values of the initial voice signals of the M-1 th path and the M +1 th path to obtain the intermediate delay value of the initial voice signals of the N-2 paths, wherein M is a positive integer and is smaller than N;

judging whether the intermediate delay values of the N-2 paths of initial voice signals and the initial delay values of the Nth path of initial voice signals are in a preset zero threshold range or not;

if not, continuously adding a preset time unit to the intermediate delay value and the initial delay value of the Nth path of initial voice signal until the intermediate delay value and the initial delay value of the Nth path of initial voice signal are in the preset zero threshold range, and determining the initial voice signal corresponding to the intermediate delay value, the first path of initial voice signal and the Nth path of initial voice signal as the intermediate voice signal.

3. The microphone array voice signal processing method as claimed in claim 2, wherein the step of determining whether the intermediate delay values of the N-2 paths of the initial voice signals and the initial delay values of the N-th path of the initial voice signals are within a preset zero threshold range further comprises:

and if so, determining the initial voice signal, the first path and the Nth path of initial voice signal corresponding to the intermediate delay value as the intermediate voice signal.

4. The microphone array voice signal processing method as claimed in claim 2, wherein the step of correcting the initial delay values of the M-th path of the initial voice signals according to the initial delay values of the M-1 th path and the M +1 th path of the initial voice signals to obtain the intermediate delay values of the N-2 paths of the initial voice signals comprises:

calculating the absolute value of the difference of the initial delay values of the M-1 path and the M +1 path of the initial voice signal;

and solving the sum of one half of the absolute value of the difference and the initial delay value of the Mth path of initial voice signals, and determining the sum as the intermediate delay value of the Mth path of initial voice signals to obtain the intermediate delay value of the N-2 paths of initial voice signals.

5. The microphone array speech signal processing method according to claim 1, wherein before the step of correcting the initial delay value of each initial speech signal according to a predetermined rule to process the initial speech signal to obtain N intermediate speech signals, the method further comprises:

and carrying out high-pass filtering processing on each path of initial voice signals, and removing sampling points with the frequency less than the preset frequency in the initial voice signals so as to remove low-frequency signals in the initial voice signals.

6. The microphone array speech signal processing method of claim 1, wherein the step of accumulating the N intermediate speech signals and processing the accumulated intermediate speech signals using a subband technique to obtain a synthesized speech signal comprises:

accumulating the N paths of intermediate voice signals, and decomposing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain a multi-segment sub-band frequency band;

and adjusting the frequency response curve of the sub-band frequency band, and reconstructing the adjusted sub-band frequency band to obtain a synthesized voice signal.

7. The microphone array speech signal processing method of claim 1, further comprising the steps of:

acquiring an environment noise signal through the microphone array, and decomposing and reconstructing the environment noise signal by utilizing a sub-band technology to obtain a synthesized noise signal;

generating an inverted synthetic noise signal having an opposite phase to the synthetic noise signal;

and accumulating the synthesized voice signal and the reverse synthesized noise signal through an adder to obtain a target voice signal.

8. A microphone array voice signal processing apparatus, characterized by comprising:

the acquisition module is used for acquiring N paths of initial voice signals through the microphone array, wherein N is a positive integer;

the correction module is used for correcting the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signal and obtain N paths of intermediate voice signals;

the accumulation module is used for accumulating the N paths of intermediate voice signals;

and the processing module is used for processing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain synthesized voice signals.

9. Microphone array speech signal processing device, characterized in that the microphone array speech signal processing device comprises a memory, a processor and a microphone array speech signal processing program stored on the memory and running on the processor, which microphone array speech signal processing program, when executed by the processor, carries out the steps of the microphone array speech signal processing method as claimed in any of claims 1 to 7.

10. A storage medium having stored thereon a microphone array speech signal processing program which, when executed by a processor, implements the steps of the microphone array speech signal processing method as claimed in any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of signal processing, in particular to a microphone array voice signal processing method, device, equipment and storage medium.

Background

Microphone array is composed of a certain number of acoustic sensors, and is used for sampling and processing sound characteristics of a sound field. At present, algorithms for processing sound characteristics mainly include AGC (Automatic Gain Control algorithm), AEC (Automatic Echo Control algorithm), AFC (Automatic feedback Control algorithm), ANS (Automatic Noise Suppression algorithm), AM (Automatic Mixer, Automatic mixing processing algorithm), and the like, and these algorithms are very widely and mature in application, but because the arithmetic amount of these algorithms is very large, the arithmetic operation is relatively complex, and a very large delay is caused to the processing of sound characteristics.

Disclosure of Invention

The invention mainly aims to provide a microphone array speech signal processing method, a microphone array speech signal processing device, microphone array speech signal processing equipment and a computer readable storage medium, and aims to solve the technical problem that the prior art processes a speech signal slowly.

In order to achieve the above object, the present invention provides a microphone array speech signal processing method, including:

acquiring N paths of initial voice signals through the microphone array, wherein N is a positive integer;

correcting the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signal to obtain N paths of intermediate voice signals;

and accumulating the N paths of intermediate voice signals, and processing the accumulated intermediate voice signals by utilizing a subband technology to obtain a synthesized voice signal.

Optionally, the step of correcting the initial delay value of each path of initial voice signal according to a preset rule to process the initial voice signal to obtain N paths of intermediate voice signals includes:

correcting the initial delay value of the initial voice signal of the Mth path according to the initial delay values of the initial voice signals of the M-1 th path and the M +1 th path to obtain the intermediate delay value of the initial voice signals of the N-2 paths, wherein M is a positive integer and is smaller than N;

judging whether the intermediate delay values of the N-2 paths of initial voice signals and the initial delay values of the Nth path of initial voice signals are in a preset zero threshold range or not;

if not, continuously adding a preset time unit to the intermediate delay value and the initial delay value of the Nth path of initial voice signal until the intermediate delay value and the initial delay value of the Nth path of initial voice signal are in the preset zero threshold range, and determining the initial voice signal corresponding to the intermediate delay value, the first path of initial voice signal and the Nth path of initial voice signal as the intermediate voice signal.

Optionally, after the step of determining whether the intermediate delay values of the N-2 th path of the initial voice signal and the initial delay values of the nth path of the initial voice signal are within a preset zero threshold range, the method further includes:

and if so, determining the initial voice signal, the first path and the Nth path of initial voice signal corresponding to the intermediate delay value as the intermediate voice signal.

Optionally, the step of correcting the initial delay value of the mth path of the initial voice signal according to the initial delay values of the M-1 th path and the M +1 th path of the initial voice signal to obtain the intermediate delay value of the N-2 paths of the initial voice signal includes:

calculating the absolute value of the difference of the initial delay values of the M-1 path and the M +1 path of the initial voice signal;

and solving the sum of one half of the absolute value of the difference and the initial delay value of the Mth path of initial voice signals, and determining the sum as the intermediate delay value of the Mth path of initial voice signals to obtain the intermediate delay value of the N-2 paths of initial voice signals.

Optionally, before the step of correcting the initial delay value of each path of initial voice signal according to a preset rule to process the initial voice signal to obtain N paths of intermediate voice signals, the method further includes:

and carrying out high-pass filtering processing on each path of initial voice signals, and removing sampling points with the frequency less than the preset frequency in the initial voice signals so as to remove low-frequency signals in the initial voice signals.

Optionally, the step of accumulating the N paths of intermediate speech signals and processing the accumulated intermediate speech signals by using a subband technique to obtain a synthesized speech signal includes:

accumulating the N paths of intermediate voice signals, and decomposing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain a multi-segment sub-band frequency band;

and adjusting the frequency response curve of the sub-band frequency band, and reconstructing the adjusted sub-band frequency band to obtain a synthesized voice signal.

Optionally, the microphone array speech signal processing method further includes the steps of:

acquiring an environment noise signal through the microphone array, and decomposing and reconstructing the environment noise signal by utilizing a sub-band technology to obtain a synthesized noise signal;

generating an inverted synthetic noise signal having an opposite phase to the synthetic noise signal;

and accumulating the synthesized voice signal and the reverse synthesized noise signal through an adder to obtain a target voice signal.

Further, to achieve the above object, the present invention provides a microphone array voice signal processing apparatus including:

the acquisition module is used for acquiring N paths of initial voice signals through the microphone array, wherein N is a positive integer;

the correction module is used for correcting the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signal and obtain N paths of intermediate voice signals;

the accumulation module is used for accumulating the N paths of intermediate voice signals;

and the processing module is used for processing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain synthesized voice signals.

Furthermore, to achieve the above object, the present invention also provides a microphone array voice signal processing device, which includes a memory, a processor and a microphone array voice signal processing program stored on the memory and executable on the processor, wherein the microphone array voice signal processing program, when executed by the processor, implements the steps of the microphone array voice signal processing method as described above.

Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a microphone array speech signal processing program, which when executed by a processor, implements the steps of the microphone array speech signal processing method as described above.

The invention obtains N paths of initial voice signals through a microphone array, corrects the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signals to obtain N paths of intermediate voice signals, then accumulates the N paths of intermediate voice signals, and processes the accumulated intermediate voice signals by utilizing a sub-band technology to obtain a synthesized voice signal.

Drawings

Fig. 1 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention;

FIG. 2 is a first flowchart of a microphone array speech signal processing method according to a first embodiment of the present invention;

FIG. 3 is a flow chart illustrating the detailed steps of the first embodiment of the microphone array speech signal processing method according to the present invention;

FIG. 4 is a flow chart illustrating the adding steps of the first embodiment of the method for processing the speech signal of the microphone array according to the present invention;

fig. 5 is a flowchart illustrating a fourth embodiment of a microphone array speech signal processing method according to the invention.

The implementation, functional features and advantages of the present invention will be described with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The invention provides a microphone array speech signal processing device, and referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the invention.

It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of a microphone array speech signal processing apparatus. The microphone array voice signal processing equipment in the embodiment of the invention can be equipment such as a PC, a portable computer, a server and the like.

As shown in fig. 1, the microphone array voice signal processing apparatus may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.

Optionally, the microphone array voice signal processing apparatus may further include an RF (Radio Frequency) circuit, a sensor, a WiFi module, and the like.

Those skilled in the art will appreciate that the microphone array speech signal processing device configuration shown in fig. 1 does not constitute a limitation of microphone array speech signal processing devices and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

As shown in fig. 1, a memory 1005, which is a computer storage readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a microphone array voice signal processing program. The operating system is a program for managing and controlling hardware and software resources of the microphone array voice signal processing device, and supports the running of the microphone array voice signal processing program and other software or programs.

The microphone array speech signal processing apparatus shown in fig. 1 may be used for data interaction, and the user interface 1003 is mainly used for detecting or outputting various information, such as detecting an initial speech signal and outputting a target speech signal; the network interface 1004 is mainly used for interacting with a background server and communicating; the processor 1001 may be configured to call a microphone array speech signal processing program stored in the memory 1005 and perform the following operations:

acquiring N paths of initial voice signals through the microphone array, wherein N is a positive integer;

correcting the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signal to obtain N paths of intermediate voice signals;

and accumulating the N paths of intermediate voice signals, and processing the accumulated intermediate voice signals by utilizing a subband technology to obtain a synthesized voice signal.

Further, the step of correcting the initial delay value of each path of initial voice signal according to a preset rule to process the initial voice signal to obtain N paths of intermediate voice signals includes:

correcting the initial delay value of the initial voice signal of the Mth path according to the initial delay values of the initial voice signals of the M-1 th path and the M +1 th path to obtain the intermediate delay value of the initial voice signals of the N-2 paths, wherein M is a positive integer and is smaller than N;

judging whether the intermediate delay values of the N-2 paths of initial voice signals and the initial delay values of the Nth path of initial voice signals are in a preset zero threshold range or not;

if not, continuously adding a preset time unit to the intermediate delay value and the initial delay value of the Nth path of initial voice signal until the intermediate delay value and the initial delay value of the Nth path of initial voice signal are in the preset zero threshold range, and determining the initial voice signal corresponding to the intermediate delay value, the first path of initial voice signal and the Nth path of initial voice signal as the intermediate voice signal.

Further, after the step of determining whether the intermediate delay values of the N-2 paths of the initial voice signals and the initial delay values of the N path of the initial voice signals are within the preset zero threshold range, the processor 1001 may be configured to call a microphone array voice signal processing program stored in the memory 1005, and perform the following operations:

and if so, determining the initial voice signal, the first path and the Nth path of initial voice signal corresponding to the intermediate delay value as the intermediate voice signal.

Further, the step of correcting the initial delay value of the mth path of the initial voice signal according to the initial delay values of the M-1 th path and the M +1 th path of the initial voice signal to obtain the intermediate delay values of the N-2 paths of the initial voice signals includes:

calculating the absolute value of the difference of the initial delay values of the M-1 path and the M +1 path of the initial voice signal;

and solving the sum of one half of the absolute value of the difference and the initial delay value of the Mth path of initial voice signals, and determining the sum as the intermediate delay value of the Mth path of initial voice signals to obtain the intermediate delay value of the N-2 paths of initial voice signals.

Further, before the step of correcting the initial delay value of each initial speech signal according to the preset rule to process the initial speech signal to obtain N intermediate speech signals, the processor 1001 may be configured to call a microphone array speech signal processing program stored in the memory 1005, and perform the following operations:

and carrying out high-pass filtering processing on each path of initial voice signals, and removing sampling points with the frequency less than the preset frequency in the initial voice signals so as to remove low-frequency signals in the initial voice signals.

Further, the step of accumulating the N paths of intermediate speech signals and processing the accumulated intermediate speech signals by using a subband technique to obtain a synthesized speech signal includes:

accumulating the N paths of intermediate voice signals, and decomposing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain a multi-segment sub-band frequency band;

and adjusting the frequency response curve of the sub-band frequency band, and reconstructing the adjusted sub-band frequency band to obtain a synthesized voice signal.

Further, the processor 1001 may be configured to call a microphone array speech signal processing program stored in the memory 1005 and perform the following operations:

acquiring an environment noise signal through the microphone array, and decomposing and reconstructing the environment noise signal by utilizing a sub-band technology to obtain a synthesized noise signal;

generating an inverted synthetic noise signal having an opposite phase to the synthetic noise signal;

and accumulating the synthesized voice signal and the reverse synthesized noise signal through an adder to obtain a target voice signal.

The specific implementation of the microphone array speech signal processing device of the present invention is substantially the same as the following embodiments of the microphone array speech signal processing method, and will not be described herein again.

Based on the above structure, various embodiments of the microphone array speech signal processing method of the present invention are proposed.

The invention provides a microphone array voice signal processing method.

Referring to fig. 2, fig. 2 is a first flow chart of a microphone array speech signal processing method according to a first embodiment of the invention.

In the present embodiment, an embodiment of a microphone array speech signal processing method is provided, it should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that here.

In the present embodiment, a microphone array speech signal processing method includes:

step S10, acquiring N paths of initial voice signals through the microphone array, where N is a positive integer.

The microphone array is composed of a plurality of microphone groups, each microphone group at least comprises two microphones, one of the microphone groups is used for acquiring an ambient noise signal, the rest microphone groups are arranged in a column, and the microphone group acquiring the ambient noise signal is positioned at the back and the center of the microphone group in the column.

Multiple paths of initial voice signals are acquired through a row of microphone sets. If a row of microphone sets comprises N microphone sets, the row of microphone sets can acquire N paths of initial voice signals, and each microphone set acquires one path of initial voice signals, wherein N is a positive integer. For example, a column of microphone sets contains 7 microphone sets, and 7 initial voice signals can be obtained.

Step S20, according to a preset rule, the initial delay value of each path of initial voice signal is corrected, so as to process the initial voice signal, and obtain N paths of intermediate voice signals.

Because each microphone is different from the sound source, the time of acquiring the initial voice signal by each microphone is different, that is, the initial delay value of each path of initial voice signal is different. In order to enhance the effect of sound output by the microphone array, the N initial voice signals must have simultaneity, so the initial delay values of the N initial voice signals must be corrected, and after the initial delay values of the N initial voice signals are corrected, the initial voice signals after the initial delay value correction are determined as intermediate voice signals of the N paths.

Further, referring to fig. 3, step S20 further includes:

step S21, correcting the initial delay value of the initial voice signal of the mth path according to the initial delay values of the initial voice signals of the M-1 th path and the M +1 th path to obtain an intermediate delay value of the initial voice signals of the N-2 th path, where M is a positive integer and is smaller than N.

If the initial voice signal has N paths, each path of initial voice signal has an initial delay value, and the larger the initial delay value is, the later the microphone set acquires the initial voice signal is. It will be appreciated that the group of microphones from which the initial speech signal was acquired at the latest and the group of microphones from which the initial speech signal was acquired at the earliest are always one of the first microphone groups on either side of one of the microphone groups in the microphone array. In the following statements, the initial speech signal acquired latest is referred to as a first path initial speech signal, and the initial speech signal acquired earliest is referred to as an nth path initial speech signal.

The mth path, the M-1 path and the M +1 path of the initial voice signal are all one path of the N paths of the initial voice signals, and it can be understood that M is a positive integer which is not equal to 1 and is smaller than N.

And correcting the initial delay values of the initial voice signals of the Mth path according to the initial delay values of the two adjacent initial voice signals of the Mth path, and taking the corrected initial delay values as intermediate delay values. Because the first path of initial voice signal and the Nth path of initial voice signal have only one path of adjacent initial voice signal, only the intermediate delay value of the N-2 paths of initial voice signals can be obtained, and the first path of initial voice signal and the Nth path of initial voice signal are not corrected.

For example, when N is equal to 7, M may be 2, 3, 4, 5, and 6, the initial delay value of the 1 st channel initial voice signal is the largest, and the initial delay value of the 7 th channel initial voice signal is the smallest, so that the initial delay value of the 2 nd channel initial voice signal may be corrected according to the initial delay values of the 1 st channel initial voice signal and the 3 rd channel initial voice signal to obtain the intermediate delay value of the 2 nd channel initial voice signal, and similarly, the intermediate delay values of the 3 rd channel initial voice signal, the 4 th channel initial voice signal, the 5 th channel initial voice signal, and the 6 th channel initial voice signal may be obtained.

Further, step S21 further includes:

step a, calculating the absolute value of the difference of the initial delay values of the initial voice signals of the (M-1) th path and the (M + 1) th path;

step b, solving the sum of one half of the absolute value of the difference and the initial delay value of the Mth path of the initial voice signal, and determining the sum as the intermediate delay value of the Mth path of the initial voice signal to obtain the intermediate delay value of the N-2 paths of the initial voice signal.

And subtracting the initial delay value of the (M + 1) th path of initial voice signal from the initial delay value of the (M-1) th path of initial voice signal, and taking the absolute value of the obtained result, namely calculating the absolute value of the difference of the initial delay values of the (M-1) th path of initial voice signal and the (M + 1) th path of initial voice signal.

Taking the sum of half of the absolute value of the difference and the initial delay value of the mth channel initial voice signal, and determining the sum as the intermediate delay value of the mth channel initial voice signal, the intermediate delay value of the N-2 channels initial voice signal can be obtained, and for example, when N is 7, the intermediate delay values of the 2 nd, 3 rd, 4 th, 5 th, and 6 th channels initial voice signal can be determined.

Step S22, determining whether the intermediate delay value of the N-2 th path of the initial voice signal and the initial delay value of the nth path of the initial voice signal are within a preset zero threshold range.

The preset zero threshold range is a value range, and is generally set to a value range including a maximum initial delay value, where the maximum initial delay value is an initial delay value of the 1 st path of initial voice signal, for example, the maximum initial delay value is 0.05 milliseconds (ms), and the preset zero threshold range may be 0.049ms to 0.051 ms. Judging whether the intermediate delay values of the N-2 paths of initial voice signals and the initial delay values of the N path of initial voice signals are in the preset zero threshold range or not

Step S23, if not, continuously adding a preset time unit to the intermediate delay value and the initial delay value of the N-th initial voice signal until the intermediate delay value and the initial delay value of the N-th initial voice signal are within the preset zero threshold range, and determining the initial voice signal, the first path and the N-th initial voice signal corresponding to the intermediate delay value as the intermediate voice signal.

If the intermediate delay value of the N-2 paths of initial voice signals or the initial delay value of the Nth path of initial voice signals is judged not to be in the preset zero threshold range, the correction of the initial delay values is not successful, and further correction is needed. It should be noted that when the median delay value of at least one of the N-2 initial voice signals is not within the preset zero threshold range, it can be considered that the median delay value of the N-2 initial voice signals is not within the preset zero threshold range, that is, only when the median delay value of each of the initial voice signals is within the preset zero threshold range, it can be considered that the median delay value of the N-2 initial voice signals is within the preset zero threshold range, otherwise, it is considered that the median delay value of the N-2 initial voice signals is not within the preset zero threshold range.

When the intermediate delay values of the N-2 initial voice signals or the initial delay values of the nth initial voice signals are determined not to be within the preset zero threshold range, all the intermediate delay values and the initial delay values of the nth initial voice signals need to be further corrected. And continuously adding a preset time unit to the intermediate delay value and the initial delay value of the Nth path of initial voice signal until all the intermediate delay values and the initial delay values of the Nth path of initial voice signal are in a preset zero threshold range, and determining the initial voice signal corresponding to the intermediate delay value, the first path of initial voice signal and the Nth path of initial voice signal as the intermediate voice signal. The preset time unit is the reciprocal of the sampling rate set when the microphone set samples the initial speech signal.

Further, referring to fig. 4, after step S22, the method further includes:

step S24, if yes, determining the initial voice signal, the first path and the nth path corresponding to the intermediate delay value as the intermediate voice signal.

And when the intermediate delay value of the N-2 paths of initial voice signals or the initial delay value of the Nth path of initial voice signals is judged to be in a preset zero threshold range, determining the initial voice signals, the first path of initial voice signals and the Nth path of initial voice signals corresponding to the intermediate delay value at the moment as intermediate voice signals.

And step S30, accumulating the N paths of intermediate voice signals, and processing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain a synthetic voice signal.

The method comprises the steps of accumulating N paths of intermediate voice signals, combining the N paths of intermediate voice signals into a path of voice signal, processing the path of voice signal by utilizing a sub-band technology to obtain a synthesized voice signal, wherein the synthesized voice signal has better frequency response characteristic, can effectively inhibit acoustic feedback, and prevents howling after the synthesized voice signal is output.

In the embodiment, the microphone array is used for acquiring N paths of initial voice signals, the initial delay value of each path of initial voice signal is corrected according to a preset rule so as to process the initial voice signals to obtain N paths of intermediate voice signals, the N paths of intermediate voice signals are accumulated, the accumulated intermediate voice signals are processed by using a sub-band technology to obtain a synthesized voice signal, a method for processing the voice signals is changed, complex operations such as AGC (automatic gain control), AEC (automatic gain control) and other algorithms are not needed, the calculation involved in the delay correction of the initial voice signals in the voice signal processing method provided by the embodiment is simple, the calculated amount is low, the speed of the audio processor for processing the initial voice signals is accelerated, and the sub-band technology can effectively inhibit acoustic feedback.

Further, a second embodiment of the inventive microphone array speech signal processing method is proposed. The second embodiment of the microphone array speech signal processing method is different from the first embodiment of the microphone array speech signal processing method in that before the step of correcting the initial delay value of each path of initial speech signal according to a preset rule to process the initial speech signal to obtain N paths of intermediate speech signals, the method further comprises:

and c, carrying out high-pass filtering processing on each path of initial voice signals, and removing sampling points with the frequency less than the preset frequency in the initial voice signals so as to remove low-frequency signals in the initial voice signals.

The high-pass filtering process can remove low-frequency voice signals in the initial voice signals, so that the output voice signals have larger loudness, and the preset frequency can be set by researchers or users, and can be generally set to be 100HZ (hertz), 80HZ and the like.

And carrying out high-pass filtering processing on each path of initial voice signal to remove sampling points with low frequency and preset frequency in the initial voice signal so as to remove the low-frequency signal in the initial voice signal, so that the loudness of the output voice signal is larger.

In the embodiment, each path of initial voice signal is subjected to high-pass filtering processing, and the sampling point with the frequency smaller than the preset frequency in the initial voice signal is removed, so that the low-frequency signal in the initial voice signal is removed, the loudness of the output voice signal is improved, and the experience of a user can be further improved.

Further, a third embodiment of the inventive microphone array speech signal processing method is proposed. The third embodiment of the microphone array speech signal processing method is different from the first or second embodiment of the microphone array speech signal processing method in that the step of accumulating the N paths of intermediate speech signals and processing the accumulated intermediate speech signals by using a subband technique to obtain a synthesized speech signal includes:

and d, accumulating the N paths of intermediate voice signals, and decomposing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain a multi-segment sub-band frequency band.

The N channels of intermediate voice signals are accumulated, so that it can be understood that one channel of voice signal is obtained after accumulation, and the accumulated intermediate voice signal is decomposed by using a sub-band technology to obtain 18 segments of sub-band frequency bands.

And e, adjusting the frequency response curve of the sub-band frequency band, and reconstructing the adjusted sub-band frequency band to obtain a synthesized voice signal.

The last section of sub-band in the 18 sections of sub-band frequency bands, namely the sub-band frequency band with the highest frequency, passes through a high pass filter, the first section to the seventeenth section of sub-band frequency bands pass through a band pass filter to adjust the gain of the frequency response curve of all the sub-band frequency bands, so that the frequency response curve of the sub-band frequency bands is more flat and has better frequency response characteristics, the adjusted sub-band frequency bands are reconstructed to form synthesized voice signals, the synthesized voice signals are formed wave beams, and the direction of each path of voice signals in the wave beams is the same.

In the embodiment, the subband technology is utilized to decompose and reconstruct the accumulated intermediate voice signal to obtain a path of synthesized voice signal, so that the acoustic feedback can be effectively inhibited, and the experience of a user is further improved.

Further, a fourth embodiment of the microphone array speech signal processing method of the present invention is proposed, referring to fig. 5. The fourth embodiment of the microphone array speech signal processing method is different from the first, second or third embodiment of the microphone array speech signal processing method in that the microphone array speech signal processing method further includes the steps of:

step S40, acquiring an environmental noise signal through the microphone array, and decomposing and reconstructing the environmental noise signal by using a sub-band technique to obtain a synthesized noise signal.

The microphone group arranged at the back and the middle of a column of microphone groups in the microphone array is used for acquiring an environmental noise signal, and the environmental noise signal is decomposed and reconstructed by utilizing a subband technology in the same way to obtain a path of flat synthetic noise signal.

In step S50, an inverse synthetic noise signal having a phase opposite to that of the synthetic noise signal is generated.

And generating an inverse synthetic noise signal with the same phase and amplitude as the synthetic noise signal according to the phase and amplitude of the synthetic noise signal.

And step S60, accumulating the synthesized voice signal and the reverse synthesized noise signal through an adder to obtain a target voice signal.

In the adder, the synthesized speech signal and the inverse synthesized noise signal are added to remove the ambient noise signal from the synthesized speech signal and improve the quality of the output sound.

In the embodiment, the environmental noise signal is acquired through the microphone array, the environmental noise signal is decomposed and reconstructed by using a sub-band technology to obtain the synthesized noise signal, the reverse synthesized noise signal corresponding to the synthesized noise signal is generated, the synthesized voice signal and the reverse synthesized noise signal are accumulated through the adder, the environmental noise signal in the synthesized voice signal is removed, the quality of output voice is improved, and the experience of a user is further improved.

Further, to achieve the above object, the present invention also provides a microphone array voice signal processing apparatus including:

the acquisition module is used for acquiring N paths of initial voice signals through the microphone array, wherein N is a positive integer;

the correction module is used for correcting the initial delay value of each path of initial voice signal according to a preset rule so as to process the initial voice signal and obtain N paths of intermediate voice signals;

the accumulation module is used for accumulating the N paths of intermediate voice signals;

and the processing module is used for processing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain synthesized voice signals.

Further, the orthotic module further comprises:

the correcting unit is used for correcting the initial delay values of the M-th path of initial voice signals according to the initial delay values of the M-1-th path of initial voice signals and the M + 1-th path of initial voice signals to obtain intermediate delay values of the N-2 paths of initial voice signals, wherein M is a positive integer and is smaller than N;

the judging unit is used for judging whether the intermediate delay values of the N-2 paths of initial voice signals and the initial delay values of the Nth path of initial voice signals are in a preset zero threshold range or not;

if not, continuously adding a preset time unit to the intermediate delay value and the initial delay value of the Nth path of initial voice signal until the intermediate delay value and the initial delay value of the Nth path of initial voice signal are in the preset zero threshold range;

and the determining unit is used for determining the initial voice signal, the first path and the Nth path of initial voice signal corresponding to the intermediate delay value as the intermediate voice signal.

The determining unit is further configured to determine, if yes, the initial voice signal, the first path and the nth path of the initial voice signal corresponding to the intermediate delay value as the intermediate voice signal.

Further, the correction unit further comprises:

a calculating subunit, configured to calculate an absolute value of a difference between initial delay values of the initial voice signals in the M-1 th path and the M +1 th path;

a calculating subunit, configured to calculate a sum of one half of an absolute value of the difference and the initial delay value of the mth path of the initial voice signal;

and the determining subunit is configured to determine the sum as an intermediate delay value of the mth path of the initial voice signal, and obtain the intermediate delay values of the N-2 paths of the initial voice signals.

Further, the microphone array voice signal processing apparatus includes:

and the filtering module is used for carrying out high-pass filtering processing on each path of initial voice signals and removing sampling points with the frequency less than the preset frequency in the initial voice signals so as to remove low-frequency signals in the initial voice signals.

Further, the processing module further comprises:

the accumulation unit is used for accumulating the N paths of intermediate voice signals;

the decomposition unit is used for decomposing the accumulated intermediate voice signals by utilizing a sub-band technology to obtain a plurality of sections of sub-band frequency bands;

the adjusting unit is used for adjusting the frequency response curve of the sub-band frequency band;

and the reconstruction unit is used for reconstructing the adjusted sub-band frequency band to obtain a synthesized voice signal.

Further, the obtaining module is further configured to obtain an ambient noise signal through the microphone array;

the decomposition reconstruction module is also used for decomposing and reconstructing the environmental noise signal by utilizing a sub-band technology to obtain a synthesized noise signal;

the microphone array voice signal processing apparatus includes:

a generating module for generating an inverse synthetic noise signal having an opposite phase to the synthetic noise signal;

the accumulation unit is further configured to accumulate the synthesized speech signal and the inverse synthesized noise signal through an adder to obtain a target speech signal.

The specific implementation of the computer readable storage medium of the present invention is substantially the same as the embodiments of the microphone array speech signal processing method described above, and will not be described herein again.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:语音分离方法和语音分离装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!