Audio signal processing method, device, equipment and storage medium
By determining the field of view of the video collection device and using the microphone array to incoming wave direction mapping relationship, the audio signal is integrated and weighted, which solves the problem of difficulty in enhancing specific sound source signals in a multi-sound source environment in traditional technology, and improves audio quality. Signal processing flexibility and accuracy.
Patent Information
- Application Number
- CN202010753656.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-07-30
AI Technical Summary
Traditional microphone array speech enhancement technology is difficult to flexibly select and enhance specific sound source signals in a multi-sound source environment, resulting in low flexibility and accuracy in audio signal processing.
By determining the field of view of the video collection device, select the audio signal to be processed within the field of view from the collected audio signals, and use the pixel coordinate mapping relationship between the microphone array and the video screen to determine the direction of the incoming wave, perform integration processing and Weighted weight transformation matrix processing to enhance specific audio signals.
It improves the flexibility and accuracy of audio signal processing, and realizes the positioning and enhancement processing of sound sources within specific targets, directions and areas.
Smart Images

Figure CN111883151B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to a method, device, equipment and storage medium for processing an audio signal. Background Art
[0002] In actual use environments, communication equipment is easily disturbed by background noise and reverberation, which affects the quality and intelligibility of audio signals. Therefore, effective audio signal enhancement processing is required in many communication applications to suppress noise and improve audio clarity, intelligibility and comfort.
[0003] At present, the most commonly used microphone array speech enhancement technology is to use the spatial phase information contained in the audio signal received by the microphone array to spatially filter the input speech, form a directional spatial beam, and enhance the audio signal in the specified direction.
[0004] However, when there are multiple sound sources in the use environment, traditional wave direction estimation can only select the sound source with the strongest sound for enhancement, while other sound sources cannot be enhanced, or specific sound source signals or sound source signals within a specific area cannot be enhanced, thereby reducing the flexibility and accuracy of audio signal processing. Summary of the invention
[0005] In view of this, an object of the present invention is to provide a method, apparatus, device and storage medium for processing an audio signal to solve the problem of low flexibility and accuracy in audio signal processing.
[0006] Based on the above purpose, the present invention provides a method for processing an audio signal, comprising:
[0007] Determine the field of view of the video acquisition device;
[0008] Selecting an audio signal to be processed within the field of view from all collected audio signals;
[0009] The audio signal to be processed is enhanced to obtain an enhanced audio signal.
[0010] Furthermore, in the above-mentioned audio signal processing method, determining the field of view range of the video acquisition device includes:
[0011] Obtaining acquisition parameters of the video acquisition device;
[0012] The field of view range is determined according to acquisition parameters of the video acquisition device.
[0013] Furthermore, in the above-mentioned method for processing audio signals, the acquisition parameters of the video acquisition device include a shooting direction and / or an imaging magnification of the video acquisition device.
[0014] Furthermore, in the above-mentioned audio signal processing method, selecting the audio signal to be processed within the field of view from all collected audio signals includes:
[0015] According to the relative positions of the video acquisition device and the microphone array, a mapping relationship between pixel coordinates in the video picture corresponding to the field of view and the incoming wave direction of the microphone array is determined; wherein the microphone array is used to collect audio signals;
[0016] Extracting lip coordinates in the video image;
[0017] Determine the incoming wave direction corresponding to the lip coordinates according to the mapping relationship between the pixel coordinates and the incoming wave direction of the microphone array;
[0018] An audio signal having the same wave direction as that corresponding to the lip coordinates is selected from the wave directions of all audio signals as the audio signal to be processed.
[0019] Furthermore, in the above-mentioned audio signal processing method, the audio signal to be processed is enhanced to obtain an enhanced audio signal, including:
[0020] All the audio signals to be processed are integrated to obtain the target audio signal;
[0021] Determine an audio signal to be suppressed according to the target audio signal and all audio signals;
[0022] Determining a weighted weight transformation matrix of the target audio signal according to the target audio signal and the audio signal to be suppressed;
[0023] The target audio signal is enhanced by using the weighted weight transformation matrix to obtain the enhanced audio signal.
[0024] The present invention also provides an audio signal processing device, comprising:
[0025] A determination module, used to determine the field of view range of the video acquisition device;
[0026] A selection module, used to select the audio signal to be processed within the field of view from all the collected audio signals;
[0027] The enhancement processing module is used to perform enhancement processing on the audio signal to be processed to obtain an enhanced audio signal.
[0028] Furthermore, in the above-mentioned audio signal processing device, the determination module is specifically used to:
[0029] Obtaining acquisition parameters of the video acquisition device;
[0030] The field of view range is determined according to acquisition parameters of the video acquisition device.
[0031] Furthermore, in the above-mentioned audio signal processing device, the enhancement processing module is specifically used for:
[0032] All the audio signals to be processed are integrated to obtain the target audio signal;
[0033] Determine an audio signal to be suppressed according to the target audio signal and all audio signals;
[0034] Determining a weighted weight transformation matrix of the target audio signal according to the target audio signal and the audio signal to be suppressed;
[0035] The target audio signal is enhanced by using the weighted weight transformation matrix to obtain the enhanced audio signal.
[0036] The present invention also provides an audio signal processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the audio signal processing method as described above when executing the program.
[0037] The present invention further provides a storage medium, wherein the storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute any one of the above audio signal processing methods.
[0038] From the above, it can be seen that the audio signal processing method, device, equipment and storage medium provided by the present invention determine the field of view of the video acquisition device; after selecting the audio signal to be processed within the field of view of the video acquisition device from all the collected audio signals, the audio signal to be processed is enhanced to obtain an enhanced audio signal, thereby realizing the sound source positioning and enhancement processing of a specific target, specific direction, and specific area by combining the field of view and sound. The technical solution of the present invention can improve the flexibility and accuracy of audio signal processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 is a flow chart of an embodiment of a method for processing an audio signal of the present invention;
[0041] Figure 2 A schematic structural diagram of an embodiment of an audio signal processing device of the present invention;
[0042] Figure 3 It is a structural schematic diagram of an embodiment of an audio signal processing device of the present invention. DETAILED DESCRIPTION
[0043] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
[0044] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present invention should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0045] Figure 1 is a flow chart of an embodiment of a method for processing an audio signal of the present invention, as shown in FIG. Figure 1 As shown, the audio signal processing method of this embodiment may specifically include the following steps:
[0046] 100. Determine the field of view of the video acquisition device;
[0047] Specifically, in this embodiment, the acquisition parameters of the video acquisition device may be obtained, for example, the shooting direction and / or imaging magnification of the video acquisition device. After the acquisition parameters of the video acquisition device are acquired, the field of view of the video acquisition device may be determined according to the acquisition parameters of the video acquisition device. The shooting direction of the video acquisition device may be preset or obtained after rotating with the sound source position, which is not specifically limited in this embodiment.
[0048] For example, the video acquisition device is usually a camera, and the field of view of the video acquisition device can be determined according to the specific shooting direction of the camera. In addition, the imaging magnification of the camera can be obtained by adjusting the focal length of the camera to reduce or expand the field of view of the video acquisition device, and the field of view of the video acquisition device can be determined according to the imaging magnification of the camera, so that the size of the field of view can be flexibly adjusted. Thirdly, the present embodiment can also combine the shooting direction with the imaging magnification to determine the field of view of the video acquisition device.
[0049] 101. Selecting an audio signal to be processed within the field of view from all collected audio signals;
[0050] In a specific implementation process, the mapping relationship between the pixel coordinates in the video image corresponding to the field of view and the wave direction of the microphone array can be determined according to the relative positions of the video acquisition device and the microphone array; and after extracting the lip coordinates in the video image, the wave direction corresponding to the lip coordinates is determined according to the mapping relationship between the pixel coordinates and the wave direction of the microphone array, and then the wave direction corresponding to the lip coordinates is compared with the wave direction of all audio signals, so as to select the audio signal with the same wave direction corresponding to the lip coordinates from the wave directions of all audio signals as the audio signal to be processed. Among them, the microphone array is used to collect audio signals.
[0051] In this embodiment, since the field of view of the video acquisition device is determined by the shooting direction and / or imaging magnification of the video acquisition device, the acquired audio signal to be processed can be set by the user so as to acquire the audio signal to be processed of a specific target or a specific direction.
[0052] For example, the shooting direction of the video acquisition device can be used as a specific direction, and the imaging magnification can be adjusted to control the number of people appearing in the video screen, so as to obtain the audio signal to be processed of a specific target. For example, during a live broadcast, only the voice of the anchor is needed. At this time, the focal length can be enlarged so that only the anchor appears in the video screen. In this way, the audio signals corresponding to other sound sources can no longer be used as audio signals to be processed.
[0053] 102. Perform enhancement processing on the audio signal to be processed to obtain an enhanced audio signal.
[0054] In this embodiment, the enhanced audio signal can be obtained in the following manner:
[0055] a. Integrate all the audio signals to be processed to obtain the target audio signal;
[0056] Specifically, the target audio signal can be obtained by using equations (1) and (2):
[0057]
[0058]
[0059] Among them, R s is the target audio signal, θ is the incoming wave direction, R s-θ is the audio signal to be processed in the θ direction; P(θ) is the output of the microphone array, v θ is the target audio signal steering vector, which represents the transfer function between the sound source direction and the microphone. v θ The transpose of .
[0060] b. determining the audio signal to be suppressed according to the target audio signal and all audio signals;
[0061] After excluding the target audio signal from all audio signals, the audio signal to be suppressed can be obtained.
[0062] c. determining a weighted weight transformation matrix of the target audio signal according to the target audio signal and the audio signal to be suppressed;
[0063] Specifically, the weighted weight transformation matrix of the target audio signal can be determined using formula (3):
[0064]
[0065] in, is the weighted weight transformation matrix of the target audio signal, w is the weighted weight transformation matrix in the frequency domain, w H is the transpose of w, R n is the audio signal to be suppressed.
[0066] d. Use the obtained weighted weight transformation matrix to enhance the target audio signal to obtain an enhanced audio signal.
[0067] The enhanced audio signal can be obtained by multiplying the weighted transformation matrix with the target audio signal.
[0068] The audio signal processing method of this embodiment determines the field of view of the video acquisition device; after selecting the audio signal to be processed within the field of view of the video acquisition device from all the acquired audio signals, the audio signal to be processed is enhanced to obtain an enhanced audio signal, thereby realizing the sound source positioning and enhancement processing of a specific target, specific direction, and specific area by combining the field of view and sound. The technical solution of the present invention can improve the flexibility and accuracy of audio signal processing.
[0069] In a specific implementation process, some audio signals to be processed within the field of view of the video acquisition device may not need to be enhanced. For example, in a video conference, the audio signal of the speaker must be enhanced. However, during the speaker's speech, some people may discuss some content privately, and sometimes they may make sounds. The audio signals corresponding to the sounds can also be collected, but these audio signals do not actually need to be enhanced, but need to be suppressed. Therefore, in order to solve the above technical problems, the present invention also provides the following technical solutions.
[0070] Specifically, in this embodiment, machine learning technology can also be used to identify the behavior of the speaker in the video screen to determine whether there is a whispering behavior. In this way, if there is a whispering behavior and the audio signal of the speaker corresponding to the whispering behavior is collected, the audio signal of the speaker corresponding to the whispering behavior needs to be excluded, further improving the flexibility and accuracy of audio signal processing. For example, a behavior recognition model can be pre-built, and after the collected video screen is input into the behavior recognition model, the video screen is recognized to determine the behavior of the speaker in the video screen.
[0071] It should be noted that the method of the embodiment of the present invention can be performed by a single device, such as a computer or a server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present invention, and the multiple devices will interact with each other to complete the method.
[0072] Figure 2 FIG. 1 is a schematic diagram of the structure of an embodiment of an audio signal processing device of the present invention, as shown in FIG. Figure 2 As shown, the audio signal processing device of this embodiment includes a determination module 20 , a selection module 21 and an enhancement processing module 22 .
[0073] A determination module 20, used to determine the field of view range of the video acquisition device;
[0074] Specifically, the acquisition parameters of the video acquisition device may be obtained, and the field of view range may be determined according to the acquisition parameters of the video acquisition device, wherein the acquisition parameters of the video acquisition device include the shooting direction and / or imaging magnification of the video acquisition device.
[0075] A selection module 21, used to select the audio signal to be processed within the field of view of the video acquisition device from all the acquired audio signals;
[0076] Specifically, according to the relative positions of the video acquisition device and the microphone array, the mapping relationship between the pixel coordinates in the video image corresponding to the field of view and the wave direction of the microphone array is determined; the lip coordinates in the video image are extracted; according to the mapping relationship between the pixel coordinates and the wave direction of the microphone array, the wave direction corresponding to the lip coordinates is determined; and the audio signal with the same wave direction corresponding to the lip coordinates is selected from the wave directions of all audio signals as the audio signal to be processed. The microphone array is used to collect audio signals;
[0077] The enhancement processing module 22 is used to perform enhancement processing on the audio signal to be processed to obtain an enhanced audio signal.
[0078] Specifically, all audio signals to be processed are integrated to obtain a target audio signal; an audio signal to be suppressed is determined according to the target audio signal and all audio signals; a weighted weight transformation matrix of the target audio signal is determined according to the target audio signal and the audio signal to be suppressed; and the target audio signal is enhanced using the weighted weight transformation matrix to obtain the enhanced audio signal.
[0079] The apparatus of the above-mentioned embodiment is used to implement the corresponding method in the above-mentioned embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0080] The audio signal processing device of this embodiment determines the field of view of the video acquisition device; after selecting the audio signal to be processed within the field of view of the video acquisition device from all the collected audio signals, the audio signal to be processed is enhanced to obtain an enhanced audio signal, thereby realizing the sound source positioning and enhancement processing of a specific target or direction by combining the field of view and sound. The technical solution of the present invention can improve the flexibility and accuracy of audio signal processing.
[0081] Figure 3 FIG. 1 is a schematic diagram of the structure of an embodiment of an audio signal processing device of the present invention, as shown in FIG. Figure 3 As shown, the audio signal processing device of this embodiment may include: a processor 1010 and a memory 1020. Those skilled in the art will appreciate that the device may also include an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other in communication within the device via the bus 1050.
[0082] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0083] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0084] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0085] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0086] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0087] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0088] The present invention further provides a storage medium, characterized in that the storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the audio signal processing method of the above embodiment.
[0089] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0090] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Within the scope of the present invention, the above embodiments or technical features in different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.
[0091] In addition, to simplify the description and discussion, and in order not to obscure the present invention, known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the devices may be shown in the form of block diagrams to avoid obscuring the present invention, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the present invention will be implemented (i.e., these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present invention, it will be apparent to those skilled in the art that the present invention may be implemented without these specific details or with variations in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0092] Although the invention has been described in conjunction with specific embodiments of the invention, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0093] The embodiments of the present invention are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for processing an audio signal, characterized in that: include: Determine the field of view of the video acquisition device; According to the relative positions of the video acquisition device and the microphone array, a mapping relationship between pixel coordinates in the video picture corresponding to the field of view and the incoming wave direction of the microphone array is determined; wherein the microphone array is used to collect audio signals; Extracting lip coordinates in the video image; Determine the incoming wave direction corresponding to the lip coordinates according to the mapping relationship between the pixel coordinates and the incoming wave direction of the microphone array; Selecting an audio signal having the same wave direction as that corresponding to the lip coordinates from the wave directions of all audio signals as the audio signal to be processed; Machine learning technology is used to identify the behavior of the speaker in the video screen to determine whether there is whispering behavior. If there is whispering behavior, and after the audio signal of the speaker corresponding to the whispering behavior is collected, the audio signal of the speaker corresponding to the whispering behavior is excluded, and the audio signal to be processed is enhanced to obtain an enhanced audio signal.
2. The method for processing an audio signal according to claim 1, characterized in that: Determine the field of view of the video capture device, including: Obtaining acquisition parameters of the video acquisition device; The field of view range is determined according to acquisition parameters of the video acquisition device.
3. The method for processing an audio signal according to claim 2, characterized in that: The acquisition parameters of the video acquisition device include the shooting direction and / or imaging magnification of the video acquisition device.
4. The method for processing an audio signal according to claim 1, characterized in that: Performing enhancement processing on the audio signal to be processed to obtain an enhanced audio signal, comprising: All the audio signals to be processed are integrated to obtain the target audio signal; Determine an audio signal to be suppressed according to the target audio signal and all audio signals; Determining a weighted weight transformation matrix of the target audio signal according to the target audio signal and the audio signal to be suppressed; The target audio signal is enhanced by using the weighted weight transformation matrix to obtain the enhanced audio signal.
5. An audio signal processing device, characterized in that: include: A determination module, used to determine the field of view range of the video acquisition device; A selection module is used to determine the mapping relationship between the pixel coordinates in the video picture corresponding to the field of view and the wave direction of the microphone array according to the relative positions of the video acquisition device and the microphone array; wherein the microphone array is used to collect audio signals; extract the lip coordinates in the video picture; determine the wave direction corresponding to the lip coordinates according to the mapping relationship between the pixel coordinates and the wave direction of the microphone array; select the audio signal with the same wave direction corresponding to the lip coordinates from the wave directions of all audio signals as the audio signal to be processed; The enhanced processing module is used to use machine learning technology to identify the behavior of the speaker in the video screen and determine whether there is whispering behavior. If there is whispering behavior, and after collecting the audio signal of the speaker corresponding to the whispering behavior, the audio signal of the speaker corresponding to the whispering behavior is excluded, and the audio signal to be processed is enhanced to obtain an enhanced audio signal.
6. The audio signal processing device according to claim 5, characterized in that: The determination module is specifically used for: Obtaining acquisition parameters of the video acquisition device; The field of view range is determined according to acquisition parameters of the video acquisition device.
7. The audio signal processing device according to claim 5, characterized in that: The enhanced processing module is specifically used for: All the audio signals to be processed are integrated to obtain the target audio signal; Determine an audio signal to be suppressed according to the target audio signal and all audio signals; Determining a weighted weight transformation matrix of the target audio signal according to the target audio signal and the audio signal to be suppressed; The target audio signal is enhanced by using the weighted weight transformation matrix to obtain the enhanced audio signal.
8. An audio signal processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for processing an audio signal according to any one of claims 1 to 4 is implemented.
9. A storage medium, characterized in that: The storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the audio signal processing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Electronic device directional audio-video capture
CN102160398A
Microphone array voice reinforcing system and microphone array voice reinforcing method with combination of audio information and video information
CN106328156A
Integrated sensor based on microphone array and stereoscopic vision
CN107333120A
Intelligent video analysis method and intelligent video recording system
CN108256513A
Noise classified elimination method based on conference scene
CN109920434A
