(19)
(11)EP 3 576 430 A1

(12)EUROPEAN PATENT APPLICATION

(43)Date of publication:
04.12.2019 Bulletin 2019/49

(21)Application number: 19177111.2

(22)Date of filing:  28.05.2019
(51)International Patent Classification (IPC): 
H04R 3/00(2006.01)
H04R 1/40(2006.01)
(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME
Designated Validation States:
KH MA MD TN

(30)Priority: 30.05.2018 CN 201810536912

(71)Applicant: Beijing Xiaomi Mobile Software Co., Ltd.
Beijing 100085 (CN)

(72)Inventors:
  • LI, Jiongliang
    Beijing, 100085 (CN)
  • CHENG, Si
    Beijing, Beijing 100085 (CN)

(74)Representative: Kudlek, Franz Thomas 
Dehns Germany Theresienstraße 6-8
80333 München
80333 München (DE)

  


(54)AUDIO SIGNAL PROCESSING METHOD AND DEVICE, AND STORAGE MEDIUM


(57) The present disclosure discloses an audio signal processing method and device, an electronic equipment and a storage medium and belongs to the technical field of audios. The method includes that: an audio signal acquired by each audio acquisition device is acquired, and a direction of a target sound source sending the audio signal relative to multiple audio acquisition devices is determined according to the audio signal acquired by each audio acquisition device; a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices is determined according to pre-stored correspondences between directions and signal optimization algorithms; and the audio signal acquired by each audio acquisition device is input into the determined target signal optimization algorithm to obtain an optimized audio signal. According to the present disclosure, the problem of poor noise suppression effect caused by the fact that the electronic equipment adopts the same noise suppression manner for acquired audio signals in the conventional art is solved, and an effect of improving the noise suppression effect is achieved.




Description

TECHNICAL FIELD



[0001] Embodiments of the present disclosure generally relate to the field of audio techniques, and particularly to an audio signal processing method and device, and a storage medium.

BACKGROUND



[0002] In a complex acoustic environment, an audio acquisition device may inevitably acquire, in an audio signal pickup process, an interference signal such as a room reverb, a noise and a voice of another user, thereby having an effect on a quality of a picked-up audio signal.

[0003] To reduce the effect of the interference signal on the audio signal, it is necessary to perform noise suppression on the audio signal picked up by the audio acquisition device. Electronic equipment may adopt the same noise suppression technique for acquired audio signals, which results in a poor noise suppression effect.

SUMMARY



[0004] Accordingly, the embodiments of the present disclosure provide an audio signal processing method and device, and a storage medium. The technical solutions are implemented as follows.

[0005] According to a first aspect of the present invention, there is provided an audio signal processing method, which may be applied to an electronic equipment including multiple audio acquisition devices with distances between the multiple audio acquisition devices meeting a preset distance condition, the method including that:

an audio signal acquired by each audio acquisition device is acquired, and a direction of a target sound source sending the audio signal relative to the multiple audio acquisition devices is determined according to the audio signal acquired by each audio acquisition device;

a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices is determined according to pre-stored correspondences between directions and signal optimization algorithms; and

the audio signal acquired by each audio acquisition device is input into the determined target signal optimization algorithm to obtain an optimized audio signal.



[0006] In the aforementioned technical solution, the sound source direction of the target sound source is determined to obtain the signal optimization algorithm corresponding to the sound source direction, then signal optimization is performed on the audio signal of the target sound source. Since a terminal determines the signal optimization algorithm corresponding to the target sound source according to the sound source direction, it is possible to solve the problem of poor noise suppression effect caused by the fact that the electronic equipment adopts the same noise suppression manner for acquired audio signals in the conventional art, and an effect of improving the noise suppression effect is achieved.

[0007] According to an exemplary embodiment, the operation that the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices is determined according to the audio signal acquired by each audio acquisition device may include that:

the audio signal acquired by each audio acquisition device is converted into a corresponding frequency-domain signal;

cross-correlation spectrum calculation is performed on each frequency-domain signal to obtain differences in acquisition time of respective audio signals by different audio acquisition devices; and

the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices is determined according to the differences in acquisition time of respective audio signals by different audio acquisition devices and the distances between the multiple audio acquisition devices.



[0008] According to an exemplary embodiment, the number of the audio acquisition devices may be 2, a distance between the two audio acquisition devices may be equal to a preset distance value, and the two audio acquisition devices may be arranged on a same sidewall of the electronic equipment.

[0009] According to an exemplary embodiment, the operation that the target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices is determined according to the pre-stored correspondences between the directions and the signal optimization algorithms may include that:

an included angle between a connecting line of the target sound source and a midpoint of the two audio acquisition devices and a target ray is determined, wherein the target ray may be a ray perpendicular to the sidewall at the midpoint and pointing to an outer side of the sidewall; and

a target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray is determined according to pre-stored correspondences between included angles and signal optimization algorithms.



[0010] According to an exemplary embodiment, the operation that the target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray is determined according to the pre-stored correspondences between the included angles and the signal optimization algorithms may include that:

when the included angle is smaller than a preset threshold value, it is determined that the target signal optimization algorithm is a Chebyshev algorithm; and

when the included angle is larger than the preset threshold value, it is determined that the target signal optimization algorithm is a differential array algorithm.



[0011] According to an exemplary embodiment, orientations of the two audio acquisition devices may be the same and both of them may face an outer side of the sidewall.

[0012] According to a second aspect of the present invention, there is provided an audio signal processing device, which may be applied to an electronic equipment including multiple audio acquisition devices with distances between the multiple audio acquisition devices meeting a preset distance condition, the device including:

a first determination module arranged to acquire an audio signal acquired by each audio acquisition device and determine a direction of a target sound source sending the audio signal relative to the multiple audio acquisition devices according to the audio signal acquired by each audio acquisition device;

a second determination module arranged to determine a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices according to pre-stored correspondences between directions and signal optimization algorithms; and

an input module arranged to input the audio signal acquired by each audio acquisition device into the determined target signal optimization algorithm to obtain an optimized audio signal.



[0013] The advantages and technical effects of the devices according to the invention correspond to those of the methods presented above.

[0014] According to an exemplary embodiment, the first determination module may include:

a conversion unit arranged to convert the audio signal acquired by each audio acquisition device into a corresponding frequency-domain signal;

a calculation unit arranged to perform cross-correlation spectrum calculation on each frequency-domain signal to obtain differences in acquisition time of respective audio signals by different audio acquisition devices; and

a first determination unit arranged to determine the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices according to the differences in acquisition time of respective audio signals by different audio acquisition devices and the distances between the multiple audio acquisition devices.



[0015] According to an exemplary embodiment, the number of the audio acquisition devices may be 2, a distance between the two audio acquisition devices may be equal to a preset distance value, and the two audio acquisition devices may be arranged on a same sidewall of the electronic equipment.

[0016] According to an exemplary embodiment, the second determination module may include:

a second determination unit arranged to determine an included angle between a connecting line of the target sound source and a midpoint of the two audio acquisition devices and a target ray, wherein the target ray may be a ray perpendicular to the sidewall at the midpoint and pointing to an outer side of the sidewall; and

a third determination unit arranged to determine a target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray according to pre-stored correspondences between included angles and signal optimization algorithms.



[0017] According to an exemplary embodiment, the third determination unit may include:

a first determination subunit arranged to, when the included angle is smaller than a preset threshold value, determine that the target signal optimization algorithm is a Chebyshev algorithm; and

a second determination subunit arranged to, when the included angle is larger than a preset threshold value, determine that the target signal optimization algorithm is a differential array algorithm.



[0018] According to an exemplary embodiment, orientations of the two audio acquisition devices may be the same and both of them may face an outer side of the sidewall.

[0019] According to a third aspect of the present invention, there is provided a computer-readable storage medium, in which at least one instruction, at least one segment of program, a code set or an instruction set may be stored, the at least one instruction, the at least one segment of program, the code set or the instruction set being loaded and executed by a processor to implement the audio signal processing method according to the first aspect of the embodiments of the present disclosure.

[0020] The storage medium can be any entity or device capable of storing the program. For example, the support can include storage means such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or magnetic storage means, for example a diskette (floppy disk) or a hard disk.

[0021] Alternatively, the storage medium can be an integrated circuit in which the program is incorporated, the circuit being adapted to execute the method in question or to be used in its execution.

[0022] It is to be understood that the above general descriptions and detailed descriptions below are only exemplary and explanatory and not intended to limit the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS



[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

FIG. 1 is a method flow chart showing an audio signal processing method, according to an exemplary embodiment;

FIG. 2A is a method flow chart showing an audio signal processing method, according to another exemplary embodiment;

FIG. 2B is a schematic diagram illustrating positions between a target sound source and audio acquisition devices, according to an exemplary embodiment;

FIG. 3A is a method flow chart showing an audio signal processing method, according to another exemplary embodiment;

FIG. 3B is a schematic diagram illustrating positions between a target sound source and audio acquisition devices, according to another exemplary embodiment;

FIG. 3C is a comparison diagram of beams obtained by performing audio signal processing through a Minimum Variance Distortionless Response (MVDR) technology and a Chebyshev algorithm respectively, according to an exemplary embodiment;

FIG. 4 is a block diagram of an audio signal processing device, according to an exemplary embodiment; and

FIG. 5 is a block diagram of an electronic equipment, according to an exemplary embodiment.


DETAILED DESCRIPTION



[0024] "First", "second" and similar terms mentioned in the present disclosure are adopted not to represent any sequence, number or importance but only to distinguish different parts. Similarly, similar terms such as "one" or "a/an" also do not represent a number limit but only represent existence of at least one. Similar terms such as "connect" or "interconnect" are not limited to physical or mechanical connection but may include electrical connection, either direct or indirect.

[0025] "Module" mentioned in the present disclosure usually refers to a program or instruction capable of realizing some functions in a memory. "Unit" mentioned in the present disclosure usually refers to a functional structure divided according to a logic. The "unit" may be implemented completely by hardware or implemented by a combination of software and hardware.
"Multiple" mentioned in the present disclosure refers to two or more than two. "And/or" describes an association relationship of associated objects and represent that three relationships may exist. For example, A and/or B may represent three conditions, i.e., independent existence of A, coexistence of A and B and independent existence of B. Character "/" usually represents that previous and next associated objects form an "or" relationship.

[0026] For making the purposes, technical solutions and advantages of the present disclosure clearer, implementation modes of the present disclosure will further be described below in combination with the accompanying drawings in detail.

[0027] FIG. 1 is a method flow chart showing an audio signal processing method, according to an exemplary embodiment. As shown in FIG. 1, the audio signal processing method includes the following steps.

[0028] In Step 101, an audio signal acquired by each audio acquisition device is acquired, and a direction of a target sound source sending the audio signal relative to the multiple audio acquisition devices is determined according to the audio signal acquired by each audio acquisition device.

[0029] In Step 102, a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices is determined according to pre-stored correspondences between directions and signal optimization algorithms.

[0030] In Step 103, the audio signal acquired by each audio acquisition device is input into the determined target signal optimization algorithm to obtain an optimized audio signal.

[0031] From the above, according to the audio signal processing method provided in the embodiment of the present disclosure, the sound source direction of the target sound source is determined to obtain the signal optimization algorithm corresponding to the sound source direction, then signal optimization is performed on the audio signal of the target sound source. Since a terminal determines the signal optimization algorithm corresponding to the target sound source according to the sound source direction, it is possible to solve the problem of poor noise suppression effect caused by the fact that an electronic equipment adopts the same noise suppression manner for acquired audio signals in the conventional art, and an effect of improving the noise suppression effect is achieved.

[0032] The number of audio acquisition devices involved in a target sound source determination method involved in the embodiment is at least 3 and all the audio acquisition devices are located on the same plane.

[0033] FIG. 2A is a method flow chart showing an audio signal processing method, according to another exemplary embodiment. As shown in FIG. 2A, the audio signal processing method includes the following steps.

[0034] In Step 201, an audio signal acquired by each audio acquisition device is acquired, and the audio signal acquired by each audio acquisition device is converted into a corresponding frequency-domain signal.

[0035] The audio signals acquired by the audio acquisition devices are time-domain signals. A processor unit, after receiving the audio signal acquired by each audio acquisition device, is required to convert the time-domain signals into the frequency-domain signals by use of a discrete Fast Fourier Transformation (FFT) algorithm.

[0036] In Step 202, cross-correlation spectrum calculation is performed on each frequency-domain signal to obtain differences in acquisition time of respective audio signals by different audio acquisition devices.

[0037] The processor unit performs cross-correlation spectrum calculation on each frequency-domain signal obtained by conversion to obtain the differences in time (t2-t1) to (tn-t1) between moments when the second audio acquisition device to the nth audio acquisition device acquire an audio signal from a target sound source S and moments when the first audio acquisition device acquires the audio signal from the target sound source S, respectively.

[0038] In Step 203, a direction of a target sound source sending the audio signal relative to multiple audio acquisition devices is determined according to the differences in acquisition time of respective audio signals by different audio acquisition devices and distances between the multiple audio acquisition devices.

[0039] FIG. 2B is a schematic diagram illustrating positions between a target sound source and audio acquisition devices, according to an exemplary embodiment. As shown in FIG. 2B, for example, coordinates of the target sound source S, an audio acquisition device A, an audio acquisition device B and an audio acquisition device C are (xs, ys), (x1, y1), (x2, y2) and (x3, y3) respectively, and the coordinates may be substituted into a distance formula to obtain distances



and

from the audio acquisition device A and the audio acquisition device B to the target sound source S respectively. A difference 'a' between the distances from the audio acquisition device B and the audio acquisition device A to the target sound source S is

and a difference 'b' between distances from the audio acquisition device C and the audio acquisition device A to the target sound source S is

Since the difference 'a' between the distances from the audio acquisition device B and the audio acquisition device A to the target sound source S is equal to c(t2-t1) and the difference 'b' between the distances from the audio acquisition device C and the audio acquisition device A to the target sound source S is equal to c(t3-t1), simultaneous equations (1) and (2) are obtained:




[0040] Since all of the coordinate (x1, y1) of the audio acquisition device A, the coordinate (x2, y2) of the audio acquisition device B, the coordinate (x3, y3) of the audio acquisition device C, a sound velocity c, the difference in time (t2-t1) and the difference in time (t3-t1) are known, the simultaneous equations (1) and (2) may be solved to calculate the coordinate (xs, ys) of the target sound source S.

[0041] In Step 204, a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices is determined according to pre-stored correspondences between directions and signal optimization algorithms.

[0042] Wherein, the signal optimization algorithms include, but not limited to, a Chebyshev algorithm and a differential array algorithm.

[0043] In Step 205, the audio signal acquired by each audio acquisition device is input into the determined target signal optimization algorithm to obtain an optimized audio signal.

[0044] For example, for the Chebyshev algorithm, after the direction of the target sound source relative to the multiple audio acquisition devices is determined, the direction is taken as an expected main beam lobe direction angle, and the audio signals of the expected main beam lobe direction angle are weighted by Chebyshev to reduce side lobes.

[0045] From the above, according to the audio signal processing method provided in the embodiment of the present disclosure, the sound source direction of the target sound source is determined to obtain the signal optimization algorithm corresponding to the sound source direction, then signal optimization is performed on the audio signal of the target sound source. Since a terminal determines the signal optimization algorithm corresponding to the target sound source according to the sound source direction, it is possible to solve the problem of poor noise suppression effect caused by the fact that an electronic equipment adopts the same noise suppression manner for acquired audio signals in the conventional art, and an effect of improving the noise suppression effect is achieved.

[0046] In the embodiment, the number of audio acquisition devices acquiring audio signals is 2, a distance between the two audio acquisition devices is equal to a preset distance value (preferably, a value range of the preset distance value is 6cm∼7cm), and the two audio acquisition devices are arranged on the same sidewall of an electronic equipment. Optionally, orientations of the two audio acquisition devices are the same and both of them face an outer side of the sidewall.

[0047] FIG. 3A is a method flow chart showing an audio signal processing method, according to another exemplary embodiment. As shown in FIG. 3A, the audio signal processing method includes the following steps.

[0048] In Step 301, an audio signal acquired by each audio acquisition device is acquired, and a direction of a target sound source sending the audio signal relative to multiple audio acquisition devices is determined according to the audio signal acquired by each audio acquisition device.

[0049] In Step 302, an included angle between a connecting line of the target sound source and a midpoint of the two audio acquisition devices and a target ray is determined.

[0050] Wherein, the target ray is a ray perpendicular to the sidewall at the midpoint and pointing to the outer side of the sidewall.

[0051] FIG. 3B is a schematic diagram illustrating positions between a target sound source and audio acquisition devices, according to another exemplary embodiment. As shown in FIG. 3B, an included angle between a connecting line of a target sound source 50 and a midpoint 30 of an audio acquisition device 10 and an audio acquisition device 20 and a target ray 40 is θ. An included angle between a connecting line of a target sound source 60 and the midpoint 30 of the audio acquisition device 10 and the audio acquisition device 20 and the target ray 40 is α.

[0052] In Step 303, a target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray is determined according to pre-stored correspondences between included angles and signal optimization algorithms.

[0053] In a possible implementation mode, the signal optimization algorithms in the correspondences include a Chebyshev algorithm and a differential array algorithm.

[0054] In S1, when the included angle is smaller than a preset threshold value, it is determined that the target signal optimization algorithm is a Chebyshev algorithm.

[0055] When the included angle between the connecting line and the target ray is smaller than the preset threshold value, a difference in reception time of the audio signals by the two audio acquisition devices is relatively great, and adopting the Chebyshev algorithm may implement side lobe suppression well.

[0056] FIG. 3C is a comparison diagram of beams obtained by performing audio signal processing through an MVDR technology and a Chebyshev algorithm respectively, according to an exemplary embodiment. As shown in FIG. 3C, for example, an expected main beam lobe direction angle is a 30-degree direction, a line 70 is a beam obtained by performing audio signal processing through a conventional MVDR technology, and a line 80 is a beam obtained by performing audio signal processing through the Chebyshev algorithm. From comparison between the line 70 and the line 80, it can be seen that, under the condition of ensuring no obvious attenuation in a 20-degree direction, a better side lobe suppression effect is achieved for the beam obtained by performing audio signal processing through the Chebyshev algorithm.

[0057] In S2, when the included angle is larger than the preset threshold value, it is determined that the target signal optimization algorithm is a differential array algorithm.

[0058] When the included angle between the connecting line and the target ray is larger than the preset threshold value, the difference in reception time of the audio signals by the two audio acquisition devices is relatively great, and adopting the differential array algorithm may implement noise suppression well.

[0059] It is to be noted that a specific numerical value and setting manner of the preset threshold value are not limited in the embodiment. Preferably, the preset threshold value is 60 degrees.

[0060] In Step 304, the audio signal acquired by each audio acquisition device is input into the determined target signal optimization algorithm to obtain an optimized audio signal.

[0061] It is to be noted that Step 304 in the embodiment is similar to Step 205 and thus Step 304 will not be elaborated in the embodiment.

[0062] From the above, according to the audio signal processing method provided in the embodiment of the present disclosure, the sound source direction of the target sound source is determined to obtain the signal optimization algorithm corresponding to the sound source direction, then signal optimization on the audio signal of the target sound source. Since a terminal determines the signal optimization algorithm corresponding to the target sound source according to the sound source direction, it is possible to solve the problem of poor noise suppression effect caused by the fact that the electronic equipment adopts the same noise suppression manner for acquired audio signals in the conventional art, and an effect of improving the noise suppression effect is achieved.

[0063] In the embodiment, when the distance between the two audio acquisition devices is 6cm∼7cm and the two audio acquisition devices are arranged on the same sidewall of the electronic equipment, a pickup distance of the electronic equipment may reach 3.5 meters and a pickup angle of the electronic equipment is enlarged into 360°, i.e., all directions, so that a pickup capability of the electronic equipment is improved.

[0064] It is to be noted that state names and message names mentioned in each abovementioned embodiment are all schematic and the state names and message names mentioned in the embodiments are not limited in the embodiment. All states or messages with the same state characteristics or the same message functions shall fall within the scope of protection of the present disclosure.

[0065] The below is a device embodiment of the present disclosure and may be arranged to execute the method embodiment of the present disclosure. Details undisclosed in the device embodiment of the present disclosure refer to the method embodiment of the present disclosure.

[0066] FIG. 4 is a block diagram of an audio signal processing device, according to an exemplary embodiment. As shown in FIG 4, the audio signal processing device is applied to an electronic equipment in an implementation environment shown in FIG. 1, and the audio signal processing device includes, but not limited to, a first determination module 401, a second determination module 402 and an input module 403.

[0067] The first determination module 401 is arranged to acquire an audio signal acquired by each audio acquisition device and determine a direction of a target sound source sending the audio signal relative to multiple audio acquisition devices according to the audio signal acquired by each audio acquisition device.

[0068] The second determination module 402 is arranged to determine a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices according to pre-stored correspondences between directions and signal optimization algorithms.

[0069] The input module 403 is arranged to input the audio signal acquired by each audio acquisition device into the determined target signal optimization algorithm to obtain an optimized audio signal.

[0070] Optionally, the first determination module 401 includes:

a conversion unit arranged to convert the audio signal acquired by each audio acquisition device into a corresponding frequency-domain signal;

a calculation unit arranged to perform cross-correlation spectrum calculation on each frequency-domain signal to obtain differences in acquisition time of respective audio signals by different audio acquisition devices; and

a first determination unit arranged to determine the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices according to the differences in acquisition time of respective audio signals by different audio acquisition devices and the distances between the multiple audio acquisition devices.



[0071] Optionally, the number of the audio acquisition devices is 2, a distance between the two audio acquisition devices is equal to a preset distance value, and the two audio acquisition devices are arranged on the same sidewall of the electronic equipment.

[0072] Optionally, the first determination module 402 further includes:

a second determination unit arranged to determine an included angle between a connecting line of the target sound source and a midpoint of the two audio acquisition devices and a target ray, wherein the target ray is a ray perpendicular to the sidewall at the midpoint and pointing to an outer side of the sidewall; and

a third determination unit arranged to determine a target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray according to pre-stored correspondences between included angles and signal optimization algorithms.



[0073] Optionally, the third determination unit includes:

a first determination subunit arranged to, when the included angle is smaller than a preset threshold value, determine that the target signal optimization algorithm is a Chebyshev algorithm; and

a second determination subunit arranged to, when the included angle is larger than a preset threshold value, determine that the target signal optimization algorithm is a differential array algorithm.



[0074] Optionally, orientations of the two audio acquisition devices are the same and both of them face the outer side of the sidewall.

[0075] From the above, according to the audio signal processing device provided in the embodiment of the present disclosure, the sound source direction of the target sound source is determined to obtain the signal optimization algorithm corresponding to the sound source direction, signal optimization is performed on the audio signal of the target sound source. Since a terminal determines the signal optimization algorithm corresponding to the target sound source according to the sound source direction, it is possible to solve the problem of poor noise suppression effect caused by the fact that the electronic equipment adopts the same noise suppression manner for acquired audio signals in the conventional art, and an effect of improving the noise suppression effect is achieved.

[0076] In the embodiment, when the distance between the two audio acquisition devices is 6cm∼7cm and the two audio acquisition devices are arranged on the same sidewall of the electronic equipment, a pickup distance of the electronic equipment may reach 3.5 meters and a pickup angle of the electronic equipment is enlarged into 360°, i.e., all directions, so that a pickup capability of the electronic equipment is improved.

[0077] With respect to the device in the above embodiment, the specific manners for performing operations for individual modules therein have been described in detail in the embodiment regarding the method, which will not be elaborated herein.

[0078] An exemplary embodiment of the present disclosure provides an electronic equipment, which may implement an audio signal processing method provided by the present disclosure, the electronic equipment including: a processor and a memory arranged to store an instruction executable for the processor,
wherein the processor is arranged to:

acquire an audio signal acquired by each audio acquisition device and determine a direction of a target sound source sending the audio signal relative to multiple audio acquisition devices according to the audio signal acquired by each audio acquisition device;

determine a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices according to pre-stored correspondences between directions and signal optimization algorithms; and

input the audio signal acquired by each audio acquisition device into the determined target signal optimization algorithm to obtain an optimized audio signal.



[0079] FIG. 5 is a block diagram of an electronic equipment, according to an exemplary embodiment. For example, the electronic equipment 500 may be a mobile phone, a computer, digital broadcast electronic equipment, a messaging device, a gaming console, a tablet, a medical device, exercise equipment, a personal digital assistant and the like.

[0080] Referring to FIG. 5, the electronic equipment 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an Input/Output (I/O) interface 512, a sensor component 514, and a communication component 516.

[0081] The processing component 502 typically controls overall operations of the electronic equipment 500, such as the operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 518 to execute instructions to perform all or part of the steps in the abovementioned method. Moreover, the processing component 502 may include one or more modules which facilitate interaction between the processing component 502 and the other components. For instance, the processing component 502 may include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.

[0082] The memory 504 is arranged to store various types of data to support the operation of the electronic equipment 500. Examples of such data include instructions for any application programs or methods operated on the electronic equipment 500, contact data, phonebook data, messages, pictures, video, etc. The memory 504 may be implemented by any type of volatile or non-volatile memory devices, or a combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic memory, a flash memory, and a magnetic or optical disk.

[0083] The power component 506 provides power for various components of the electronic equipment 500. The power component 506 may include a power management system, one or more power supplies, and other components associated with generation, management and distribution of power for the electronic equipment 500.

[0084] The multimedia component 508 includes a screen providing an output interface between the electronic equipment 500 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes the TP, the screen may be implemented as a touch screen to receive an input signal from the user. The TP includes one or more touch sensors to sense touches, swipes and gestures on the TP. The touch sensors may not only sense a boundary of a touch or swipe action but also detect a duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 508 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the electronic equipment 500 is in an operation mode, such as a photographing mode or a video mode. Each of the front camera and the rear camera may be a fixed optical lens system or have focusing and optical zooming capabilities.

[0085] The audio component 510 is arranged to output and/or input an audio signal. For example, the audio component 510 includes a Microphone (MIC), and the MIC is arranged to receive an external audio signal when the electronic equipment 500 is in the operation mode, such as a call mode, a recording mode and a voice recognition mode. The received audio signal may further be stored in the memory 504 or sent through the communication component 516. In some embodiments, the audio component 510 further includes a speaker arranged to output the audio signal.

[0086] The I/O interface 512 provides an interface between the processing component 502 and a peripheral interface module, and the peripheral interface module may be a keyboard, a click wheel, a button and the like. The button may include, but not limited to: a home button, a volume button, a starting button and a locking button.

[0087] The sensor component 514 includes one or more sensors arranged to provide status assessment in various aspects for the electronic equipment 500. For instance, the sensor component 514 may detect an on/off status of the electronic equipment 500 and relative positioning of components, such as a display and small keyboard of the electronic equipment 500, and the sensor component 514 may further detect a change in a position of the electronic equipment 500 or a component of the electronic equipment 500, presence or absence of contact between the user and the electronic equipment 500, orientation or acceleration/deceleration of the electronic equipment 500 and a change in temperature of the electronic equipment 500. The sensor component 514 may include a proximity sensor arranged to detect presence of an object nearby without any physical contact. The sensor component 514 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, configured for use in an imaging application. In some embodiments, the sensor component 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0088] The communication component 516 is arranged to facilitate wired or wireless communication between the electronic equipment 500 and other equipment. The electronic equipment 500 may access a communication-standard-based wireless network, such as a Wireless Fidelity (WiFi) network, a 2nd-Generation (2G) or 3rd-Generation (3G) network or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast associated information from an external broadcast management system through a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented on the basis of a Radio Frequency Identification (RFID) technology, an Infrared Data Association (IrDA) technology, an Ultra-WideBand (UWB) technology, a Bluetooth (BT) technology and another technology.

[0089] In an exemplary embodiment, the electronic equipment 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components, and is arranged to execute the audio signal processing method provided by each of the abovementioned method embodiments.

[0090] In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including an instruction, such as the memory 504 including an instruction, and the instruction may be executed by the processor 518 of the electronic equipment 500 to implement the abovementioned audio signal processing method. For example, the non-transitory computer-readable storage medium may be a ROM, a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disc, optical data storage equipment and the like.

[0091] According to a non-transitory computer-readable storage medium, when an instruction in the storage medium is executed by a processor of an electronic equipment to enable the electronic equipment to execute an audio signal processing method, the method including that:

an audio signal acquired by each audio acquisition device is acquired, and a direction of a target sound source sending the audio signal relative to multiple audio acquisition devices is determined according to the audio signal acquired by each audio acquisition device;

a target signal optimization algorithm corresponding to the direction of the target sound source relative to multiple audio acquisition devices is determined according to pre-stored correspondences between directions and signal optimization algorithms; and

the audio signal acquired by each audio acquisition device is input into the determined target signal optimization algorithm to obtain an optimized audio signal.



[0092] Optionally, the operation that the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices is determined according to the audio signal acquired by each audio acquisition device includes that:

the audio signal acquired by each audio acquisition device is converted into a corresponding frequency-domain signal;

cross-correlation spectrum calculation is performed on each frequency-domain signal to obtain differences in acquisition time of respective audio signals by different audio acquisition devices; and

the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices is determined according to the differences in acquisition time of respective audio signals by different audio acquisition devices and distances between the multiple audio acquisition devices.



[0093] Optionally, the number of the audio acquisition devices is 2, a distance between the two audio acquisition devices is equal to a preset distance value, and the two audio acquisition devices are arranged on the same sidewall of the electronic equipment.

[0094] Optionally, the operation that the target signal optimization algorithm corresponding to the direction of the target sound source relative to multiple audio acquisition devices is determined according to the pre-stored correspondences between the directions and the signal optimization algorithms includes that:

an included angle between a connecting line of the target sound source and a midpoint of the two audio acquisition devices and a target ray is determined, wherein the target ray is a ray perpendicular to the sidewall at the midpoint and pointing to an outer side of the sidewall; and

a target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray is determined according to pre-stored correspondences between included angles and signal optimization algorithms.



[0095] Optionally, the operation that the target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray is determined according to the pre-stored correspondences between the included angles and the signal optimization algorithms includes that:

when the included angle is smaller than a preset threshold value, it is determined that the target signal optimization algorithm is a Chebyshev algorithm; and

when the included angle is larger than the preset threshold value, it is determined that the target signal optimization algorithm is a differential array algorithm.



[0096] Optionally, orientations of the two audio acquisition devices are the same and both of them face the outer side of the sidewall.

[0097] In the embodiment of the present disclosure, the sound source direction of the target sound source is determined to obtain the signal optimization algorithm corresponding to the sound source direction. then signal optimization is performed on the audio signal of the target sound source. Since a terminal determines the signal optimization algorithm corresponding to the target sound source according to the sound source direction, it is possible to solve the problem of poor noise suppression effect caused by the fact that the electronic equipment adopts the same noise suppression manner for acquired audio signals in the conventional art, and an effect of improving the noise suppression effect is achieved.

[0098] In the embodiment, when the distance between the two audio acquisition devices is 6cm∼7cm and the two audio acquisition devices are arranged on the same sidewall of the electronic equipment, a pickup distance of the electronic equipment may reach 3.5 meters and a pickup angle of the electronic equipment is enlarged into 360°, i.e., all directions, so that a pickup capability of the electronic equipment is improved.

[0099] It is to be understood that, a singular form "one" ("a", "an" and "the") used in the present disclosure is also intended to include a plural form unless exceptional cases clearly supported in the context. It is also to be understood that "and/or" used in the present disclosure refers to inclusion of any or all possible combinations of one or more than one associated items which are listed.

[0100] Other implementation solutions of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the present disclosure. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure following the general principles thereof and including such departures from the present disclosure as come within known or customary practice in the art. It is intended that the specification and examples be considered as exemplary only.

[0101] It will be appreciated that the present disclosure is not limited to the exact construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. It is intended that the scope of the present disclosure only be limited by the appended claims.


Claims

1. An audio signal processing method, applied to an electronic equipment comprising multiple audio acquisition devices with distances between the multiple audio acquisition devices meeting a preset distance condition, characterized in that, the method comprises:

acquiring an audio signal acquired by each audio acquisition device, and determining a direction of a target sound source sending the audio signal relative to the multiple audio acquisition devices according to the audio signal acquired by each audio acquisition device (101);

determining a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices according to pre-stored correspondences between directions and signal optimization algorithms (102); and

inputting the audio signal acquired by each audio acquisition device into the determined target signal optimization algorithm to obtain an optimized audio signal (103).


 
2. The method of claim 1, wherein determining the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices according to the audio signal acquired by each audio acquisition device (102) comprises:

converting the audio signal acquired by each audio acquisition device into a corresponding frequency-domain signal (201);

performing cross-correlation spectrum calculation on each frequency-domain signal to obtain differences in acquisition time of respective audio signals by different audio acquisition devices (202); and

determining the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices according to the differences in acquisition time of respective audio signals by different audio acquisition devices and the distances between the multiple audio acquisition devices (203).


 
3. The method of claim 1 or 2, wherein the number of the audio acquisition devices is 2, a distance between the two audio acquisition devices is equal to a preset distance value, and the two audio acquisition devices are arranged on a same sidewall of the electronic equipment.
 
4. The method of any one of the preceding claims, wherein determining the target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices according to the pre-stored correspondences between the directions and the signal optimization algorithms comprises:

determining an included angle between a connecting line of the target sound source and a midpoint of the two audio acquisition devices and a target ray (302), wherein the target ray is a ray perpendicular to the sidewall at the midpoint and pointing to an outer side of the sidewall; and

determining a target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray according to pre-stored correspondences between included angles and signal optimization algorithms (303).


 
5. The method of claim 4, wherein determining the target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray according to the pre-stored correspondences between the included angles and the signal optimization algorithms comprises:

when the included angle is smaller than a preset threshold value, determining that the target signal optimization algorithm is a Chebyshev algorithm; and

when the included angle is larger than the preset threshold value, determining that the target signal optimization algorithm is a differential array algorithm.


 
6. The method of claim 3 or 4, wherein orientations of the two audio acquisition devices are the same and both of them face an outer side of the sidewall.
 
7. An audio signal processing device, applied to an electronic equipment comprising multiple audio acquisition devices with distances between the multiple audio acquisition devices meeting a preset distance condition, characterized in that, the device comprises:

a first determination module (401) arranged to acquire an audio signal acquired by each audio acquisition device and determine a direction of a target sound source sending the audio signal relative to the multiple audio acquisition devices according to the audio signal acquired by each audio acquisition device;

a second determination module (402) arranged to determine a target signal optimization algorithm corresponding to the direction of the target sound source relative to the multiple audio acquisition devices according to pre-stored correspondences between directions and signal optimization algorithms; and

an input module (403) arranged to input the audio signal acquired by each audio acquisition device into the determined target signal optimization algorithm to obtain an optimized audio signal.


 
8. The device of claim 7, wherein the first determination module (401) comprises:

a conversion unit arranged to convert the audio signal acquired by each audio acquisition device into a corresponding frequency-domain signal;

a calculation unit arranged to perform cross-correlation spectrum calculation on each frequency-domain signal to obtain differences in acquisition time of respective audio signals by different audio acquisition devices; and

a first determination unit arranged to determine the direction of the target sound source sending the audio signal relative to the multiple audio acquisition devices according to the differences in acquisition time of respective audio signals by different audio acquisition devices and the distances between the multiple audio acquisition devices.


 
9. The device of claim 7 or 8, wherein the number of the audio acquisition devices is 2, a distance between the two audio acquisition devices is equal to a preset distance value, and the two audio acquisition devices are arranged on a same sidewall of the electronic equipment.
 
10. The device of any one of claims 7 to 9, wherein the second determination module (402) comprises:

a second determination unit arranged to determine an included angle between a connecting line of the target sound source and a midpoint of the two audio acquisition devices and a target ray, wherein the target ray is a ray perpendicular to the sidewall at the midpoint and pointing to an outer side of the sidewall; and

a third determination unit arranged to determine a target signal optimization algorithm corresponding to the included angle between the connecting line and the target ray according to pre-stored correspondences between included angles and signal optimization algorithms.


 
11. The device of claim 10, wherein the third determination unit comprises:

a first determination subunit arranged to, when the included angle is smaller than a preset threshold value, determine that the target signal optimization algorithm is a Chebyshev algorithm; and

a second determination subunit arranged to, when the included angle is larger than a preset threshold value, determine that the target signal optimization algorithm is a differential array algorithm.


 
12. The device of claim 9 or 10, wherein orientations of the two audio acquisition devices are the same and both of them face an outer side of the sidewall.
 
13. A computer-readable storage medium, in which at least one instruction, at least one segment of program, a code set or an instruction set is stored, the at least one instruction, the at least one segment of program, the code set or the instruction set being loaded and executed by a processor to implement the audio signal processing method of any one of claims 1-6.
 




Drawing




























Search report









Search report