A method, device and system for detecting audio isolation in multiple sound regions
By calculating the average amplitude of audio signals in multiple sound areas, it solves the problem of wasting time and manpower for acoustic engineers when evaluating audio isolation, realizes automated evaluation of multi-sound area vehicle-mounted voice interaction systems, and improves work efficiency and speech Recognition accuracy.
Patent Information
- Application Number
- CN202111198021.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-04-30
AI Technical Summary
Acoustic engineers spend a lot of time and manpower evaluating the audio isolation of multiple sound zones, resulting in inefficient on-site debugging.
By playing the same sound signal in multiple sound areas in sequence, the average amplitude of the audio signal received by each sound receiving module is calculated, the audio isolation is calculated based on the average amplitude between different modules, and the module position can be adjusted to change the isolation degree to achieve automated assessment.
It greatly improves the work efficiency of the multi-sound zone vehicle voice interaction system, saves the time and manpower of acoustic engineers, and simplifies the debugging process of the speech recognition system.
Smart Images

Figure CN113945265B
Abstract
Description
[0001] This application is a divisional application of the invention patent with application number 201910358787.1, application date 2019.4.30, and invention name “A method and device for detecting audio isolation in multiple sound zones”. Technical Field
[0002] The present invention relates to the field of information processing technology, and in particular to a method, device, system and storage medium for detecting audio isolation in multiple sound regions. Background Art
[0003] With the development of AI technology, voice control has become a popular command input method for users due to its simple and convenient features. In many application scenarios, there is more than one person controlling the system, so it is necessary to identify the voice commands of different people. Most of the time, multiple microphone arrays are arranged in a dispersed manner to pick up sounds and suppress unnecessary sound signals to obtain better sound signals, thereby improving the accuracy of voice recognition. Taking the Apollo unmanned minibus as an example, the previous in-vehicle voice assistants were single-person and single-scene. With the advent of driverless driving, we believe that the voice assistant in the car is not only for the driver, but also for everyone in the car. Therefore, we have created a set of in-vehicle voice recognition systems for all people in the car - Baidu Apollo unmanned car four-zone voice interaction system. To achieve a reliable multi-zone in-vehicle voice interaction system, it is necessary to ensure a good voice isolation. With a high level of voice isolation, multiple passenger positions in the car can achieve independent sound pickup without crosstalk. In order to polish a good voice isolation, acoustic engineers need to do a lot of on-site debugging, which takes a lot of work. Summary of the invention
[0004] The purpose of the present invention is at least to overcome the problem that under existing conditions, acoustic engineers need to spend a lot of time and manpower in the on-site debugging stage when evaluating the sound isolation of multiple sound areas.
[0005] In order to achieve the above object, a first aspect of the present invention provides an audio isolation detection method for multiple sound regions, comprising N sound regions, each of the N sound regions being provided with a sound receiving module, the method comprising:
[0006] Playing the same sound signal in the N sound areas in sequence;
[0007] For each playback, the sound receiving module in each sound area receives the same sound signal to obtain an audio signal; the average amplitude of the single audio signal received by each sound receiving module is calculated; and the audio isolation of the one sound receiving module relative to the other sound receiving module is obtained based on the average amplitude of the single audio signal received by one sound receiving module and the average amplitude of the single audio signal received by another sound receiving module.
[0008] Optionally, the same sound signal is the same section of corpus with the same volume.
[0009] Optionally, the sound areas are all included in the vehicle environment.
[0010] Optionally, the sound area is a passenger seat area.
[0011] Optionally, the sound receiving modules are all arranged and fixed in the vehicle body, and their positions are close to the corresponding passenger seat areas.
[0012] Optionally, the method further includes: adjusting positions of the sound receiving modules to change audio isolation between the sound receiving modules.
[0013] A second aspect of the present invention provides an audio isolation detection device for multiple sound regions, the device comprising: a memory and a processor;
[0014] The memory is used to store program instructions;
[0015] The processor is configured to call the program instructions stored in the memory to implement the following method:
[0016] Calculating the average amplitude of each audio signal received by the sound receiving module; each of the sound receiving modules is included in a different sound area, and N sound areas correspond to N sound receiving modules;
[0017] For each playback, the sound receiving module in each sound area receives the same sound signal to obtain an audio signal; the average amplitude of the single audio signal received by each sound receiving module is calculated; and the audio isolation of the one sound receiving module relative to the other sound receiving module is obtained based on the average amplitude of the single audio signal received by one sound receiving module and the average amplitude of the single audio signal received by another sound receiving module.
[0018] Optionally, the same sound signal is the same section of corpus with the same volume.
[0019] Optionally, the sound areas are all included in the vehicle environment.
[0020] Optionally, the sound area is a passenger seat area.
[0021] Optionally, the device is connected to the sound receiving module, and the sound receiving module is arranged and fixed in the vehicle body, and its position is close to the corresponding passenger seat area.
[0022] Optionally, the device is connected to the sound receiving modules, and the positions of the sound receiving modules are adjusted to change the audio isolation between the sound receiving modules.
[0023] A third aspect of the present invention provides a storage medium, wherein instructions are stored in the storage medium, and when the storage medium is run on a computer, the computer executes the audio isolation detection method as described above.
[0024] Through the above technical scheme, the present invention provides a set of automated evaluation methods for four-zone isolation, which improves work efficiency and saves a lot of time and manpower of acoustic engineers in the actual voice effect joint adjustment process. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of an audio isolation detection method provided by an embodiment of the present invention;
[0026] Figure 2 is an environmental layout diagram of a method provided by an optional embodiment of the present invention applied to a vehicle environment;
[0027] Figure 3 A schematic diagram of the structure of an audio isolation detection device provided in one embodiment of the present invention;
[0028] Figure 4 It is a structural schematic diagram of an audio isolation detection device provided in another embodiment of the present invention. DETAILED DESCRIPTION
[0029] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0030] Figure 1 FIG. 1 is a flow chart of an audio isolation detection method provided by an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0031] The method comprises N sound areas, each of which is provided with a sound receiving module (not shown in the figure), and the method comprises:
[0032] Playing the same sound signal in the N sound areas in sequence;
[0033] For each playback, the sound receiving module in each sound area receives the same sound signal to obtain an audio signal; the average amplitude of the single audio signal received by each sound receiving module is calculated; and the audio isolation of the one sound receiving module relative to the other sound receiving module is obtained based on the average amplitude of the single audio signal received by one sound receiving module and the average amplitude of the single audio signal received by another sound receiving module.
[0034] In this way, the mutual isolation between multiple sound areas can be quantified quickly and standardizedly, saving acoustic engineers a lot of on-site debugging time and debugging workload, and improving work efficiency.
[0035] Specifically, a commonly used sound playing device, such as a loudspeaker, is used to play the same audio with the same volume in the sound area to be tested. In order to better simulate the on-site conversation scene, the audio here is preferably a corpus. The playback method here is to play them one by one, specifically referring to the same sound signal generated by the same sound source in each sound area in turn, that is, after the sound playing device finishes playing in a sound area to be tested, the sound playing device is transferred to the next sound area to be tested for playback, until all the sound areas to be tested are played once. At this time, the audio signal is multiple segments, and each segment corresponds to a sound area. Of course, sound playing devices can also be distributed in the sound area to be tested, and different sound sources can be distinguished at the receiving end to achieve the equivalent effect of separate playback.
[0036] After the audio signal is obtained, the average amplitude of each audio signal is calculated, because the focus here is on the amplitude of the sound. When the present invention is applied to intelligent scenes, the voice characteristics of specific people can be extracted and weighted amplified to extract more accurate instructions. In actual scenarios, pre-filtering may also be included to filter out environmental noise in the audio signal, or further processing. The method for calculating the average amplitude of a single-segment audio signal here is prior art and will not be described in detail here. It is mainly through the three steps of sampling, quantization and accumulation, and the calculation formula is: where a i is the sampling value in a single segment of audio signal.
[0037] When there is only one sound area, there is only one receiving device, and there is no concept of isolation. When there are two sound areas (sound area A, sound area B), each with one receiving device, the audio isolation between the two sound areas is quantified by the following method, including:
[0038] Audio isolation (sound area A → sound area B) = 20lg (average amplitude A ÷ average amplitude B);
[0039] Among them, the average amplitude A and the average amplitude B respectively represent the average amplitude of the audio signal corresponding to the same sound signal from the sound receiving module A (i.e., sound area A) and the average amplitude of the audio signal corresponding to the same sound signal from the sound receiving module B (i.e., sound area B).
[0040] The audio isolation between the sound receiving module A and the sound receiving module B is obtained by the above method, which is also equivalent to the audio isolation between the sound area A and the sound area B.
[0041] The above method includes processing of existing audio signals, and does not involve how to collect them. In an optional embodiment of the present invention, the method further includes: providing one or more sound receiving modules for converting the sound signals into electric sound.
[0042] Specifically, in most cases, it is necessary to collect the sounds in the environment and the playback device by oneself, so it is necessary to set up one or more sound receiving modules for converting the sound signal into sound and electricity. The sound receiving module here is preferably a microphone array.
[0043] Furthermore, the sound receiving module needs to be set corresponding to the sound area in order to better obtain the sound information of the sound area, that is, the target sound area of the sound receiving module is the sound area. Correspondingly, each of the sound areas includes at least one sound receiving module, and the sound area is the target area corresponding to the sound receiving module in the sound area. The sound receiving module can suppress the sound generated by the non-target area to provide the quality of the acquired audio signal and improve the accuracy of speech recognition.
[0044] Figure 2 : is an environment layout diagram of a method provided by an optional embodiment of the present invention applied to a vehicle environment. Figure 2As shown, in one embodiment of the present invention, the sound areas are all included in the vehicle environment. Taking Baidu's Apollo unmanned minibus as an example, it includes 4 seats (i.e., seat A, seat B, seat C, seat D), and the area where each passenger seat is located is divided into a sound area, that is, there are 4 sound areas in total, and a sound receiving module fixed in the vehicle body is set, and the sound receiving module is used to convert the sound signal into sound and electricity; when the interior space is divided into 4 sound areas based on the passenger seats, the number of the sound receiving modules is consistent with the number of the passenger seat areas, and the corresponding number of the sound receiving modules is also 4 (i.e., sound receiving module 1, sound receiving module 2, sound receiving module 3, sound receiving module 4). As mentioned above, the sound area is the target area corresponding to the sound receiving module in this sound area, that is, the target area corresponding to each sound receiving module is a passenger seat area, so as to achieve a better sound pickup effect or suppression effect. Further, the position of the sound receiving module is located on the vehicle body and close to the corresponding passenger seat area to obtain a better sound pickup effect.
[0045] When the sound area is 4 and the number of sound receiving modules is 4, the average amplitudes obtained are 16, and the audio isolation obtained for each playback is 3. That is, taking one of the average amplitudes as the benchmark, the relative sizes of the remaining three average amplitudes relative to the benchmark are calculated to obtain 12 audio isolations.
[0046] When the sound area (hereinafter referred to as the seat area) is 4 and the corresponding number of sound receiving modules is 4, the average amplitude obtained at this time is as follows (the following values are examples):
[0047] Mic1 Mic2 Mic3 Mic4 Seat A 6080 256 524 2329 Seat B 256 7040 729 1779 Seat C 2073 294 5107 819 Seat D 1868 972 256 7193
[0048] Based on the average amplitude of each audio segment, the isolation between the microphones is calculated. The isolation formula is as follows:
[0049]
[0050]
[0051]
[0052] Among them, SeatA, SeatB, SeatC and SeatD in the first column on the left represent the positions where the same sound signal is played. Mic1 represents the average amplitude of the voice signal received by the microphone of seat A, Mic2 represents the average amplitude of the voice signal received by the microphone of seat B, Mic3 represents the average amplitude of the voice signal received by the microphone of seat C, and Mic4 represents the average amplitude of the voice signal received by the microphone of seat D; IsolationAB represents the isolation between the microphone of seat A and the microphone of seat B, IsolationAC represents the isolation between the microphone of seat A and the microphone of seat C, and IsolationAD represents the isolation between the microphone of seat A and the microphone of seat D.
[0053] The calculated isolation between microphones actually represents the audio isolation between the sound areas where the microphones are located. The final isolation is shown in the following table:
[0054]
[0055] Furthermore, the on-site personnel provide feedback to the on-site personnel for acoustic tuning based on the above sound isolation report, and the tuning refers to adjusting the position of the sound receiving module to change the audio isolation between the sound areas. Because the isolation between the above areas is closely related to the position of the sound receiving module, the on-site personnel can adjust the position of the sound receiving module, such as closer to the actual position of the personnel, or use the effective barrier of the space inside the car to achieve better isolation and improve the sound pickup effect of the target area.
[0056] In the above method, the sound receiving module is a microphone, preferably a microphone array. Of course, with the development of technology, the sound collection device is also developing. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application should be included in the scope of the claims of this application.
[0057] Figure 3 A schematic diagram of the structure of an audio isolation detection device provided by an embodiment of the present invention; Figure 3 As shown, an embodiment of the present invention further provides an audio isolation detection device for multiple sound regions, comprising: a memory and a processor;
[0058] The memory is used to store program instructions;
[0059] The processor is configured to call the program instructions stored in the memory to implement the following method:
[0060] Calculating the average amplitude of each audio signal received by the sound receiving module; each of the sound receiving modules is included in a different sound area, and N sound areas correspond to N sound receiving modules;
[0061] For each playback, the sound receiving module in each sound area receives the same sound signal to obtain an audio signal; the average amplitude of the single audio signal received by each sound receiving module is calculated; and the audio isolation of the one sound receiving module relative to the other sound receiving module is obtained based on the average amplitude of the single audio signal received by one sound receiving module and the average amplitude of the single audio signal received by another sound receiving module.
[0062] Optionally, the same sound signal is the same section of corpus with the same volume.
[0063] Optionally, the sound area is included in the vehicle environment. Specifically, the sound area is the passenger seat area.
[0064] The device further comprises: one or more sound receiving modules, the one or more sound receiving modules being used to convert the sound signal into electricity. The sound area is a target area corresponding to the sound receiving modules in the sound area. The sound receiving module is a microphone.
[0065] A sound receiving module is fixed in the vehicle body, and the sound receiving module is used to convert the sound signal into electricity; the number of the sound receiving modules is consistent with the number of the passenger seat areas. Specifically, the position of the sound receiving module is close to the corresponding passenger seat area.
[0066] The device further comprises: a position adjustment module, which is used to adjust the position of the sound receiving module to change the audio isolation between the sound areas. The sound receiving module can preferably be a microphone array.
[0067] Furthermore, the audio isolation detection device can independently measure the audio isolation of multiple sound areas, and includes: a microphone, a processor, a memory and a display screen, and the processor and the memory are inside the device. The microphone is configured to generate an audio signal, and the audio signal comes from the same sound signal of different sound areas to be tested; the processor is configured to process the audio signal generated by the microphone according to the aforementioned method when executing the computer program, and obtain the audio isolation between the multiple sound areas to be tested.
[0068] The memory is used to store computer programs that can be run on the processor; the display screen displays the measurement results. In a portable case, the display screen is a touch screen, and instructions can be input through the screen.
[0069] The device can be used to measure points in different sound areas with one device, obtain multiple measurement values, and automatically calculate the isolation between the multiple measurement values. If multiple devices are used to measure points in different sound areas, it is necessary to add an additional data collection step so that the multiple measurement values can be compared with each other, and finally obtain the isolation between the measurement values to characterize the isolation between the measurement points or sound areas corresponding to the measurement values.
[0070] Figure 4 is a schematic diagram of an audio isolation detection system provided by another embodiment of the present invention; Figure 3 The difference is that the separation setting is adopted. Figure 4 As shown, the audio isolation detection device for multiple sound regions includes:
[0071] Acquisition equipment, used to receive the same sound signal from different sound areas respectively and convert it into audio signals; the acquisition equipment is dispersedly arranged inside or outside the sound area to be tested;
[0072] A processing device is configured to process the audio signal obtained by the acquisition device according to the aforementioned method to obtain the audio isolation between the multiple sound areas.
[0073] In common situations, the acquisition device is a microphone array; the processing device is a PC. Furthermore, the number of the acquisition devices is multiple. The number of acquisition devices in the implementation of this place is consistent with the number of sound areas, which are all 4 (i.e., acquisition device 1, acquisition device 2, acquisition device 3, acquisition device 4; sound area A, sound area B, sound area C, sound area D). In actual operation, the number of acquisition devices can be adjusted according to the on-site environment. The acquisition device is connected to the processing device through a communication connection, and the communication connection can be carried out in a wired or wireless manner. The example in this implementation is a wired connection. Finally, the PC processes the data and outputs the processing results.
[0074] Correspondingly, an embodiment of the present invention further provides a storage medium, in which instructions are stored. When the storage medium is run on a computer, the computer executes the audio isolation detection method as described above.
[0075] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0076] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0079] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0080] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0081] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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, 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. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0082] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0083] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for detecting audio isolation in multiple sound regions, comprising N sound regions, each of the N sound regions being provided with a sound receiving module, It is characterized in that The method comprises: Playing the same sound signal in the N sound areas in sequence; For each playback, the sound receiving module in each sound area receives the same sound signal to obtain an audio signal; Calculate the average amplitude of a single audio signal received by each sound receiving module; According to the average amplitude of a single audio signal received by one sound receiving module and the average amplitude of a single audio signal received by another sound receiving module, the audio isolation of the one sound receiving module relative to the other sound receiving module is obtained: The audio isolation is calculated in the following way: Audio isolation = 20lg (average amplitude A ÷ average amplitude B); wherein, average amplitude A represents the average amplitude of the audio signal corresponding to the same sound signal from the one sound receiving module, and average amplitude B represents the average amplitude of the audio signal corresponding to the same sound signal from the other sound receiving module.
2. The method according to claim 1, It is characterized in that The audio isolation is used to evaluate the isolation of the sound area where the sound receiving module is located.
3. The method according to claim 1, It is characterized in that The calculating the average amplitude of a single audio signal received by each sound receiving module comprises: in, is the average amplitude, a i is the sampling value of the single audio signal.
4. The method according to claim 1, It is characterized in that The same sound signal is the same section of corpus with the same volume.
5. The method according to claim 3, It is characterized in that The sound areas are all included in the vehicle environment.
6. The method according to claim 5, It is characterized in that The sound area is the passenger seat area.
7. The method according to claim 6, It is characterized in that The sound receiving modules are all arranged and fixed in the vehicle body, and their positions are close to the corresponding passenger seat areas.
8. The method according to claim 6, It is characterized in that The method further includes adjusting positions of the sound receiving modules to change audio isolation between the sound receiving modules.
9. An audio isolation detection device for multiple sound regions, It is characterized in that The device comprises: a memory and a processor; The memory is used to store program instructions; The processor is configured to call the program instructions stored in the memory to implement the following method: Calculating the average amplitude of each audio signal received by the sound receiving module; each of the sound receiving modules is included in a different sound area, and N sound areas correspond to N sound receiving modules; For each playback, the sound receiving module in each sound area receives the same sound signal to obtain an audio signal; the average amplitude of the single audio signal received by each sound receiving module is calculated; according to the average amplitude of the single audio signal received by one sound receiving module and the average amplitude of the single audio signal received by another sound receiving module, the audio isolation of the one sound receiving module relative to the other sound receiving module is obtained; each playback includes: playing the same sound signal in the N sound areas in sequence; The audio isolation is calculated in the following way: Audio isolation = 20lg (average amplitude A ÷ average amplitude B); wherein, average amplitude A represents the average amplitude of the audio signal corresponding to the same sound signal from the one sound receiving module, and average amplitude B represents the average amplitude of the audio signal corresponding to the same sound signal from the other sound receiving module.
10. The device according to claim 9, It is characterized in that The audio isolation is used to evaluate the isolation of the sound area where the sound receiving module is located.
11. The device according to claim 9, It is characterized in that The calculating the average amplitude of a single audio signal received by each sound receiving module comprises: in, is the average amplitude, a i is the sampling value of the single audio signal.
12. The device according to claim 9, It is characterized in that The same sound signal is the same section of corpus with the same volume.
13. The device according to claim 12, It is characterized in that The sound areas are all included in the vehicle environment.
14. The device according to claim 13, It is characterized in that The sound area is the passenger seat area.
15. The device according to claim 14, It is characterized in that The device is connected to the sound receiving module, and the sound receiving module is arranged and fixed in the vehicle body, and its position is close to the corresponding passenger seat area.
16. The device according to claim 14, It is characterized in that The device is connected to the sound receiving modules, and adjusting the positions of the sound receiving modules can change the audio isolation between the sound receiving modules.
