Dynamic selection of appropriate far-field signal separation algorithm
By dynamically selecting beamforming and blind source separation algorithms, and switching signal separation algorithms according to environmental noise levels and types, the problem of background noise interference is solved, and the performance of speech recognition and call activities is improved.
Patent Information
- Application Number
- CN202311559890.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2023-01-27
- Filing Date
- 2023-11-21
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-11-21
AI Technical Summary
In real-world scenarios, background noise interferes with speech recognition and calling activities when users are far from the device and speaking in noisy environments. Existing technologies struggle to effectively separate speech signals from background noise, leading to performance degradation.
By dynamically selecting beamforming and blind source separation algorithms, and dynamically switching signal separation algorithms according to the level and type of environmental noise, the use of computing resources is reduced to improve speech separation performance.
It can effectively separate speech signals in both quiet and noisy environments, reducing the use of computing resources and improving the performance of speech recognition and call activities.
Smart Images

Figure CN118412002B_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments of this disclosure may generally relate to systems, integrated circuits, and non-transitory computer-readable media for far-field speech processing, and more specifically, to the dynamic selection of appropriate far-field signal separation algorithms. Background Technology
[0002] Implementing automatic speech recognition (ASR), voice / video calls, and other speech-based activities in real-world scenarios typically involves handling situations where users are far from the device and speaking voice commands in environments ranging from relatively quiet to noisy (e.g., with background music or other people talking). Background noise can interfere with speech recognition and degrade the performance of speech-based activities. Far-field speech (FFV) systems are designed to improve speech-based activities in such real-world scenarios by reducing the impact of interfering noise and enhancing the speech of the intended source audio. Summary of the Invention
[0003] An exemplary embodiment includes a non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform operations including: receiving first audio data; processing the first audio data using a first signal separation algorithm; and outputting the processed first audio data in response to the output of the first signal separation algorithm satisfying at least one parameter. In response to the first signal separation algorithm whose output does not satisfy the at least one parameter: selecting a second signal separation algorithm different from the first signal separation algorithm; receiving second audio data in time after receiving the first audio data; processing the second audio data using the second signal separation algorithm; and outputting the processed second audio data.
[0004] Another exemplary embodiment includes a system comprising a controller. The controller is configured to perform operations including: receiving first audio data; processing the first audio data using a first signal separation algorithm; and outputting the processed first audio data in response to the output of the first signal separation algorithm satisfying at least one parameter. In response to the output of the first signal separation algorithm not satisfying the at least one parameter: selecting a second signal separation algorithm different from the first signal separation algorithm; receiving second audio data in time after receiving the first audio data; processing the second audio data using the second signal separation algorithm; and outputting the processed second audio data.
[0005] Another exemplary embodiment includes an integrated circuit comprising a signal separation module. The signal separation module is configured to perform operations including: receiving first audio data; processing the first audio data using a first signal separation algorithm; and outputting the processed first audio data in response to the output of the first signal separation algorithm satisfying at least one parameter. In response to the output of the first signal separation algorithm not satisfying the at least one parameter: selecting a second signal separation algorithm different from the first signal separation algorithm; receiving second audio data in time after receiving the first audio data; processing the second audio data using the second signal separation algorithm; during the processing of the second audio data, switching from the first signal separation algorithm to the second signal separation algorithm in response to selecting the second signal separation algorithm; and outputting the processed second audio data. Attached Figure Description
[0006] Certain features of the present technology are set forth in the appended claims. However, for purposes of explanation, several exemplary embodiments of the present technology are illustrated in the accompanying drawings.
[0007] Figure 1 Describes the exemplary network configuration of a voice control device based on one or more exemplary implementation schemes.
[0008] Figure 2 Describes an exemplary voice control device based on one or more exemplary implementation schemes.
[0009] Figure 3 A schematic diagram illustrating an FFV module according to one or more exemplary implementation schemes.
[0010] Figure 4 A schematic diagram illustrating a signal separation module according to one or more exemplary implementation schemes.
[0011] Figure 5 A flowchart illustrating an example process for dynamically selecting a signal separation algorithm according to one or more exemplary implementations.
[0012] Figure 6 A flowchart illustrating an example process for updating a signal separation algorithm according to one or more exemplary implementations.
[0013] Figure 7 A flowchart illustrating an example process for switching between signal separation algorithms according to one or more exemplary implementations.
[0014] The figures depict various implementation schemes for illustrative purposes only. From the following discussion, those skilled in the art will readily recognize that alternative implementation schemes of the structures and methods described herein can be adopted without departing from the principles described herein.
[0015] However, not all depicted components are applicable to all embodiments, and one or more embodiments may include additional components or components different from those shown in the figures. Variations in the arrangement and type of components may be made without departing from the spirit or scope of the claims set forth herein. Additional components, different components, or fewer components may be provided. Detailed Implementation
[0016] The detailed description described below is intended to illustrate various configurations of the present technology, and not to represent the only configuration in which the present technology can be practiced. The accompanying drawings are incorporated herein and constitute a part of the detailed description. The detailed description contains specific details for the purpose of providing a thorough understanding of the present technology. However, the present technology is not limited to the specific details set forth herein, and can be practiced using one or more other embodiments. In one or more embodiments, structures and components are shown in block diagram form to avoid obscuring the concept of the present technology.
[0017] The FFV process is designed to improve speech-based activities (e.g., ASR and voice / video calls) in real-world scenarios by reducing the influence of interfering sounds and enhancing the intended source audio (e.g., a user's voice). One step in the FFV process is to separate audio data into streams of individual audio sources. The audio data may contain data captured by one or more microphones. A stream may contain a portion of the audio data attributed to a specific audio source. The audio source may be a person or object producing the sound, such as speech, musical instruments, etc. The audio source may be located in a direction (e.g., an angle) relative to the microphone that captured the audio data. The angular distance may be the difference between the source directions.
[0018] Several types of signal separation algorithms can be used to separate audio data into individual audio sources, including beamforming (BF) algorithms and blind source separation (BSS) algorithms. The BF algorithm estimates the audio source (e.g., a speaking individual) from the audio data based on the time delay in the signal of the audio source. Example BF algorithms include time-delay superposition beamforming, linearly constrained minimum variance, and minimum variance distortion-free response. The BSS algorithm estimates the audio source based on the saliency, Gaussianity, and / or statistical independence of the audio source in the output channel (e.g., audio data captured from each microphone). Example BSS algorithms include infomax, fixed-point, and fastICA.
[0019] For target speech in relatively quiet environments (e.g., a single target source without interference), BF is a simpler solution that generally performs better than BSS. For target speech in relatively noisy environments (e.g., a single target source with interference), BSS can outperform BF. BSS suffers from output stream permutation issues (e.g., the mapping of the output stream to the source signal can change dynamically), which tends to be more pronounced in quiet environments and can result in slightly lower performance than BF in quiet environments. Both BF and BSS algorithms are computationally intensive. While keeping them active in parallel can yield optimal performance in both quiet and noisy environments, doing so will require significant computational resources.
[0020] This technology dynamically selects the optimal signal separation algorithm with the best performance based on the device's environment, and reduces the use of computing resources compared to parallel operation of BF and BSS algorithms.
[0021] Figure 1 This describes an exemplary configuration 100 of a voice control device 102 according to one or more exemplary embodiments. The voice control device 102 may be a computer device (e.g., a set-top box, voice assistance device, etc.) for receiving audio data that may contain voice data (e.g., voice data 110 of user 108). The audio data may be near-field or far-field audio, wherein near-field audio is close to the voice control device 102 (e.g., within 10 feet), and far-field audio is far from the voice control device 102 (e.g., beyond 10 feet). The voice data 110 may include processes performed by the voice control device 102, such as searching, setting timers, playing music, etc. The environment 104 in which the user provides the voice data 110 to the voice control device 102 may include noise data 106, such as music, conversation, and any other ambient sounds.
[0022] Voice control device 102 receives audio data, which may include voice data 110 from user 108 and / or noise data 106 from environment 104. Voice control device 102 can process the audio to distinguish between voice data 110 and noise data 106 (e.g., background music, ambient sounds, etc.). Distinguishing voice data 110 may involve enhancement, amplification, extraction, etc., via various signal separation algorithms. Voice control device 102 can switch between various signal separation algorithms based on factors including noise level, noise type, number of voices, etc. The processed output may include audio data from one or more sources, one or more of which may contain voice data 110 for speech recognition, command recognition, etc. (which may be performed locally or remotely).
[0023] Figure 2 This describes an exemplary voice control device based on one or more exemplary implementation schemes. The computing system 200 may be as follows: Figure 1The voice control device 102 and / or portions thereof are shown in the diagram. The computing system 200 may include various types of computer-readable media and interfaces for various other types of computer-readable media. The computing system 200 includes a bus 210, a processing unit 220, a storage device 202, a system memory 204, an input device interface 206, an output device interface 208, an FFV module 214, a signal separation module 216, and / or a network interface 218.
[0024] Bus 210 collectively represents the entire system, peripheral, and chipset bus that communicatively connects the numerous internal devices of computing system 200. In one or more embodiments, bus 210 communicatively connects processing unit 220 to other components of computing system 200. Processing unit 220 retrieves instructions to be executed and data to be processed from various memory locations to perform the operations of this disclosure. In various embodiments, processing unit 220 may be a controller and / or a single-core or multi-core processor.
[0025] Bus 210 is also connected to input device interface 206 and output device interface 208. Input device interface 206 enables the system to receive input. For example, input device interface 206 allows a user to pass information and select commands on system 200. Input device interface 206 can be used with input devices (e.g., keyboard, mouse, and other user input devices) and microphones (e.g., microphone arrays), cameras, and other sensor devices. Output device interface 208 enables, for example, playback of audio generated by computing system 200. Output device interface 208 can be used with output devices (e.g., speakers, displays, or any other devices for outputting information). One or more embodiments may include devices that serve as both input and output devices, such as a touchscreen.
[0026] Bus 210 also couples system 200 to one or more networks and / or one or more network nodes via network interface 218. Network interface 218 may include one or more interfaces that allow system 200 to become part of a computer network (e.g., a local area network (LAN), a wide area network (WAN), or a network of networks (“Internet”)). Any or all components of system 200 may be used in conjunction with this disclosure.
[0027] FFV module 214 may be hardware (e.g., processor, controller, integrated circuit, etc.) and / or software configured to process voice data (including far-field voice data). FFV module 214 may perform one or more operations (e.g., computer-readable instructions) including accessing audio input captured from a microphone array (e.g., input device interface 206) and separating and / or enhancing audio from a target source (e.g., user 108) for use in applications that may utilize remote (e.g., cloud) voice services and / or local (e.g., edge) voice services (e.g., ASR).
[0028] The signal separation module 216 may be hardware (e.g., a processor, controller, integrated circuit, etc.) and / or software associated with the FFV module 214 and configured to execute signal separation algorithms. The signal separation algorithms include those in the BF and / or BSS categories, but may utilize other algorithms for separating sources from the audio stream. The signal separation module 216 may utilize multiple signal separation algorithms and is configured to dynamically switch between them, at least based on operating environment characteristics obtained from the analysis of the audio output. The dynamic transition may include a smoothing process to reduce or eliminate the introduction of short-duration pulse interference, noise, or other artifacts that may occur during the dynamic transition.
[0029] Storage device 202 may be a read-write memory device. Storage device 202 may be a non-volatile memory cell that stores instructions and data (e.g., static and dynamic instructions and data) even when computing system 200 is turned off. In one or more embodiments, a mass storage device (e.g., a magnetic disk or optical disk and its corresponding disk drive) may be used as storage device 202. In one or more embodiments, a removable storage device (e.g., a floppy disk, flash drive and its corresponding disk drive) may be used as storage device 202.
[0030] Like storage device 202, system memory 204 can be a read-write memory device. However, unlike storage device 202, system memory 204 can be a volatile read-write memory, such as random access memory. System memory 204 can store any instructions and data that one or more processing units 220 may need to perform operations at runtime. In one or more embodiments, the processes of this disclosure are stored in system memory 204 and / or storage device 202. One or more processing units 220 retrieve instructions to be executed and data to be processed from these various memory units to perform the processes of one or more embodiments.
[0031] The embodiments within the scope of this disclosure may be partially or fully implemented using tangible computer-readable storage media (or multiple tangible computer-readable storage media of one or more types) encoding one or more instructions. Tangible computer-readable storage media may also be non-transitory in nature.
[0032] Computer-readable storage media can be any storage medium that can be read, written, or otherwise accessed by a general-purpose or special-purpose computing device, including any processing electronic device and / or processing circuitry system capable of executing instructions. For example, but not limited to, computer-readable media can include any volatile semiconductor memory (e.g., system memory 204), such as RAM, DRAM, SRAM, T-RAM, Z-RAM, and TTRAM. Computer-readable media can also include any non-volatile semiconductor memory (e.g., storage device 202), such as ROM, PROM, EPROM, EEPROM, NVRAM, flash, nvSRAM, FeRAM, FeTRAM, MRAM, PRAM, CBRAM, SONOS, RRAM, NRAM, racetrack memory, FJG, and Millipede memory.
[0033] Furthermore, the computer-readable storage medium may comprise any non-semiconductor memory, such as optical disc storage, magnetic disk storage, magnetic tape, other magnetic storage devices, or any other medium capable of storing one or more instructions. In one or more embodiments, the tangible computer-readable storage medium may be directly coupled to a computing device, while in other embodiments, the tangible computer-readable storage medium may be indirectly coupled to a computing device, for example, via one or more wired connections, one or more wireless connections, or any combination thereof.
[0034] Instructions can be directly executable or can be used to develop executable instructions. For example, instructions can be implemented as executable or non-executable machine code, or as instructions in a high-level language that can be compiled to produce executable or non-executable machine code. Furthermore, instructions can also be implemented as or may contain data. Computer executable instructions can also be organized in any format, including routines, subroutines, programs, data structures, objects, modules, applications, applets, functions, etc. As those skilled in the art will recognize, the details of the number, structure, sequence, and organization of instructions can vary significantly without altering the underlying logic, functions, processing, and output.
[0035] While the above discussion primarily concerns microprocessors or multi-core processors that execute software, one or more implementations are executed by one or more integrated circuits (e.g., ASICs or FPGAs). In one or more implementations, such integrated circuits execute instructions stored on the circuit itself.
[0036] Figure 3This diagram illustrates an FFV module 214 according to one or more exemplary embodiments. A voice control device (e.g., voice control device 102) may include one or more integrated and / or discrete microphones (e.g., a dual-microphone array with microphones 302, 304) for receiving audio from user 108 and / or environment 104. Microphones 302, 304 may be included as part of the voice control device and / or FFV module 214. The microphones may output digital or analog signals. If an analog signal is output, it can be converted to a digital signal at audio format conversion module 310.
[0037] FFV module 214 can receive audio data from microphones 302, 304. In one or more embodiments, the audio data can be passed to audio format conversion module 310, where the audio can be converted to a specific format for the FFV processing pipeline of FFV module 214. For example, the FFV processing pipeline can be more efficient when the received audio data is in the same format (e.g., 24-bit 16kHz). In one or more embodiments, a high-pass filter (HPF) 312 can be applied to the audio data to clip audio frequencies below a threshold level (e.g., 100Hz) and reduce DC offset. In one or more embodiments, the audio data can be scaled 313 (e.g., boosted) to a level to improve the performance of subsequent blocks in the pipeline. In one or more embodiments, acoustic echo cancellation (AEC) 314 can be performed on the audio data. AEC 314 may also include determining the echo intensity, which may include a measurement of the feedback intensity of audio played from a voice control device (e.g., echo return loss (ERL)). The voice control device may include a speaker (e.g., a TV connected to the voice control device) for outputting audio (e.g., media audio or voice-assisted audio) from the voice control device. Since the voice control device is aware of reference 316 played from the speaker, the voice control device may remove reference 316, which may be mono or multi-channel audio, from the audio data. It should be understood that, although... Figure 3 Reference 316 is described as stereo, but stereo is only one type of reference 316, and reference 316 may also be, or alternatively be, mono audio or any multi-channel audio (e.g., 5.1 audio).
[0038] Signal separation module 318 separates audio data into one or more source signals without (or with little to no) information about the source signals or the mixing process of the source signals, where a source may indicate who or what generated the source signal. This technique relates to the process of signal separation module 318, which is described in further detail with reference to subsequent figures.
[0039] In one or more embodiments, the post-gain 320 of the audio data is adjusted. For example, the volume of the audio data may be increased. In one or more embodiments, source selection 322 may select the correct individual audio data containing the target source audio signal. Signal separation may have some ambiguity regarding which source is relevant to a particular application. Therefore, selection may be based on the terminal application that can receive the audio (e.g., ASR, voice call, video call, etc.).
[0040] Figure 4 This diagram illustrates a signal separation module 318 according to one or more exemplary embodiments. The signal separation module 318 executes one or more signal separation algorithms, such as those in the BF and / or BSS categories. The BF method aims to separate signals from different sources by generating spatially oriented beams to allow signals from a target direction to pass through and suppress signals from other directions. The BSS method aims to separate signals using different saliency, Gaussianity, and / or statistical independence of the extracted and separated signals and / or input audio, and calculates a demixing matrix to extract individual signals from a mixture of signals captured by a microphone (e.g., a microphone array).
[0041] For target speech in relatively quiet environments (e.g., a single target source without interference), BF (Blocking Flow) is an easier solution and generally performs better than BSS (Blocking Separation). In contrast, for target speech in noisy environments (e.g., a single target source with interference), BSS generally outperforms BF. BSS also suffers from output stream permutation issues (e.g., the mapping of the output stream to the source signal can change dynamically), which tends to be more pronounced in quiet environments. The signal separation module 318 achieves optimal performance in both quiet and noisy environments with reduced computational resource usage by dynamically selecting appropriate signal separation methods (e.g., BF and BSS).
[0042] During initial operation, the signal separation module 318 receives audio input 402 (e.g., mixed-signal audio). Audio input 402 can be received as input to a first signal separation algorithm 404 (e.g., BF) or a second signal separation algorithm 406 (e.g., BSS). The first and second signal separation algorithms can be different from each other. The first and second signal separation algorithms can be algorithms of different categories. For example, the first signal separation algorithm can be the BF algorithm, and the second signal separation algorithm can be the BSS algorithm. Alternatively, the first and second signal separation algorithms can be different algorithms within the same category. For example, the first signal separation algorithm can be the Infomax BSS algorithm, and the second signal separation algorithm can be the FastICA BSS algorithm. The first signal separation algorithm 404 or the second signal separation algorithm 406 can be set as the default signal separation algorithm, meaning that the default signal separation algorithm is assumed to be optimal before the signal separation module 318 begins determining the optimal signal separation module 318. Separated audio 418 can be output from the signal separation module 318. In one or more embodiments, additional signal separation algorithms are carefully considered. For example, a third category of signal separation algorithm (e.g., a hybrid BF and BSS algorithm) and / or a third signal separation algorithm (e.g., the BF algorithm) can be used.
[0043] As a non-limiting example, the signal-separated audio 418 can also be evaluated according to one or more parameters including noise level. In this regard, the signal-separated audio 418 can be passed to the environment classification module 410. At the environment classification module 410, the audio is analyzed to classify the noise level in the environment (e.g., environment 104), and an environment type label 411 is set accordingly. The classification of noise levels can be performed by a machine learning model, statistical model, etc., configured to determine whether the environment is quiet or noisy relative to a training dataset of audio data labeled as noisy or quiet, a training dataset of audio data classified based on threshold noise level, and / or a previous classification of previous audio data.
[0044] If the environment is relatively noisy (e.g., as indicated by environment type label 411), the signal-separated audio 418 can also be passed to the noise classification module 412. At the noise classification module 412, the audio is analyzed to classify noise in the environment. For example, noise can be classified as transient or stationary. Noise can also be classified into different types, such as music, loud voices, pink / white / brown, etc. The classification of noise types can be performed by machine learning models, statistical models, etc., to determine whether the noise in the environment is relatively transient or stationary.
[0045] The signal separation algorithm is determined at the signal separation algorithm selection module 414. The signal separation algorithm selection module 414 is configured to determine which signal separation algorithm (e.g., BF or BSS) is likely to perform better in the current operating scenario. The signal separation algorithm selection module 414 may select the signal separation algorithm based on environment type flag 411, noise type flag 413, echo intensity 416, and / or signal-to-noise ratio. Echo intensity 416 may be obtained from an acoustic echo cancellation process (e.g., from AEC module 314). The signal-to-noise ratio may be determined by the signal separation algorithm selection module 414 based on the level of the desired signal (e.g., user speech) and the level of background noise. The signal separation algorithm flag 415 is set according to the selected signal separation algorithm.
[0046] In an example implementation, audio input 402 is routed to a first signal separation algorithm 404 (e.g., BF) or a second signal separation algorithm 406 (e.g., BSS), one of which can be designated as the default or initial signal separation algorithm. The output from the default signal separation algorithm can be (e.g., via one or more modules) transmitted to a signal separation algorithm selection module 414 to determine whether predefined parameters (e.g., noise level, noise classification, echo intensity, and / or signal-to-noise ratio) are met.
[0047] For example, in a scenario where the active signal separation algorithm is the first signal separation algorithm 404, a set of predefined parameters may include echo intensity at or above an echo intensity threshold and noise level below a noise level threshold. The signal separation algorithm selection module 414 may receive input including an environment type flag 411 and an echo intensity 416 to determine whether the set of predefined parameters is satisfied. If the signal separation algorithm selection module 414 determines that the echo intensity is below the echo intensity threshold and the environment type flag 411 indicates that the environment classification module 410 determines that the noise level from the output of the first signal separation algorithm 404 (selected by default in this case) is below a noise threshold, then the set of predefined parameters is satisfied, and the signal separation algorithm selection module 414 may output an indication (e.g., signal separation algorithm flag 415) that may (e.g., via a processor) change the active signal separation algorithm to the second signal separation algorithm 406.
[0048] If the signal separation algorithm is updated by the signal separation algorithm selection module 414 (e.g., from the first signal separation algorithm 404 to the second signal separation algorithm 406, or vice versa), then the transition from the signal-separated audio generated by the previous algorithm to the signal-separated audio generated by the newly selected algorithm can be smoothed after remapping to reduce audio artifacts. This is because the signal separation algorithm may have an independent mapping for the source direction (also referred to as the source angle in this document) to the output stream, as described in more detail below.
[0049] Figure 5 This document describes an example process 500 for dynamically selecting a far-field signal separation algorithm according to one or more exemplary embodiments. For illustrative purposes, process 500 is described herein primarily with reference to the preceding figures (especially the signal separation algorithm selection module 414). One or more blocks (or operations) of process 500 may be performed by one or more other components of other suitable devices. Furthermore, for illustrative purposes, the blocks of process 500 are described herein as occurring sequentially or linearly. However, multiple blocks of process 500 may occur in parallel. Additionally, the blocks of process 500 need not be performed in the order shown, and / or one or more blocks of process 500 need not be performed and / or may be replaced by other operations.
[0050] In instance process 500, at block 502, a signal separation module (e.g., signal separation module 318) may receive first audio data. The signal separation module may be included in the computing system (e.g., computing system 200) of a voice control device (e.g., voice control device 102). The computing system may include one or more microphones (e.g., input device interface 206) configured to receive audio data from one or more audio sources (e.g., user 108 and environment 104). The audio data may be continuously captured by one or more microphones. References herein to “first audio data,” “second audio data,” etc., may refer to audio data captured within a first cycle, a second cycle, etc. The audio data may be passed to an FFV module (e.g., FFV module 214) of the computing system for FFV processing, which includes signal separation at the signal separation module.
[0051] At block 504, the signal separation module can process the first audio data using a first signal separation algorithm. The first audio data (e.g., a mixed-signal audio data stream) can be received as input to a BF or BSS algorithm, which outputs the first audio data as signal-separated audio. The signal separation algorithm is not limited to BF and BSS, and the signal separation module is not limited to either of these two algorithms. One of the signal separation algorithms can be set as the default algorithm.
[0052] The signal separation module can select a signal separation algorithm based on whether the separated audio from block 504 satisfies at least one parameter. The signal separation module dynamically updates to the optimal signal separation algorithm according to the operating scenario of the voice control device. If the audio output from the signal separation module satisfies at least one parameter, then the signal separation algorithm is considered optimal. Parameters may include noise level and noise type, as further described below; however, other parameters should be carefully considered.
[0053] For example, to select the optimal signal separation algorithm, the signal-separated audio data from block 504 can first be passed to an environment classification module (e.g., environment classification module 410), which is configured to determine the noise level of the signal-separated audio data. If the environment is relatively noisy (e.g., as indicated by an environment type marker), the signal-separated audio can also be passed to a noise classification module (e.g., noise classification module 412), which is configured to determine the type of noise in the signal-separated audio data.
[0054] The optimal signal separation algorithm is determined at the signal separation algorithm selection module (e.g., signal separation algorithm selection module 414). This module is configured to determine which signal separation algorithm (e.g., BF or BSS) is likely to perform better in the current operating scenario and sets a signal separation algorithm flag (e.g., signal separation algorithm flag 415) based on the optimal algorithm. The signal separation algorithm selection module may select the signal separation algorithm based on environment type flags (e.g., quiet or noisy), noise type flags (e.g., stationary or transient), echo intensity, and / or signal-to-noise ratio. The following section discusses... Figure 6 The parameters and how to select the optimal signal separation algorithm will be discussed in further detail.
[0055] If the first audio processed by the first signal separation algorithm is optimal, then at block 505, the processed first audio can be output from the signal separation module 318. Otherwise, at block 506, the optimal signal selection algorithm (e.g., the second signal separation algorithm) can be selected.
[0056] At block 507, a signal separation module (e.g., signal separation module 318) may receive second audio data. The second audio data may be audio data received after the first audio data.
[0057] At box 508, if the signal separation algorithm at box 506 has been changed, the signal separation module can process the second audio data using the optimal signal separation algorithm. The audio data (e.g., a mixed-signal audio data stream) can be received as input to a signal separation module that uses a different signal separation algorithm than the first one, and output as the signal-separated audio.
[0058] In one or more embodiments, when the signal separation module processes audio data using signal separation, the signal separation module may switch from the currently used signal separation algorithm to the optimal signal separation algorithm from block 506. During this switch, artifacts may be introduced into the audio because there is typically no standard mapping from source to output channel between signal separation algorithms. For example, in the BF algorithm, source A may be mapped to output channel 1 and source B to output channel 2, while this may not be the case with the BSS algorithm, which maps source A to output channel 2 and source B to output channel 1. This mismatch can lead to artifacts that can corrupt audio data, which can also affect downstream processing and user experience. To reduce the likelihood of unwanted artifacts in the output audio while changing the signal selection algorithm, an audio smoothing module (e.g., audio smoothing module 408) uses audio source direction to perform channel mapping on information from the previous and updated signal separation algorithms to reduce mismatches in the source-to-output channel mapping, details of which are described below. Figure 7 Let's discuss this in detail.
[0059] At box 510, the signal-separated audio data can be output. The signal-separated audio data can also be sent to the environment classification module and the noise classification module for continuous updating of the signal separation algorithm at box 504.
[0060] Figure 6 This document describes an example process 600 for updating a far-field signal separation algorithm according to one or more exemplary embodiments. For illustrative purposes, process 600 is described herein primarily with reference to the preceding figures (particularly to signal separation algorithm selection module 414). One or more blocks (or operations) of process 600 may be performed by one or more other components of other suitable devices. Furthermore, for illustrative purposes, the blocks of process 600 are described herein as occurring sequentially or linearly. However, multiple blocks of process 600 may occur in parallel. Additionally, the blocks of process 600 need not be performed in the order shown, and / or one or more blocks of process 600 need not be performed and / or may be replaced by other operations.
[0061] A signal separation algorithm selection module (e.g., signal separation algorithm selection module 414) can select a signal separation algorithm from a set of signal separation algorithms. One or more of the signal separation algorithms can be associated with one or more predefined parameters indicating the situation in which the corresponding signal separation algorithm may be optimal. Procedure 600 describes three sets of parameters that will indicate the optimality of the first signal separation algorithm and two sets of parameters that will indicate the optimality of the second signal separation algorithm.
[0062] In process 600, at block 602, the signal separation algorithm selection module may receive an indication of echo intensity (e.g., echo intensity 416). Echo intensity is a measurement attributable to the amount of audio feedback from audio playback on the voice control device. Echo intensity can be obtained from an AEC module (e.g., AEC module 314). The echo intensity can be compared to a threshold level of the echo intensity. The threshold level of the echo intensity can be a predetermined or dynamic amount. For example, the threshold level can be based on the loudness of a stereo reference (e.g., stereo reference 316) of the voice control device. If the echo intensity is at or above the threshold level, then the BSS algorithm can be used at block 610. Otherwise, process 600 may continue to block 604. In one or more embodiments, process 600 may begin at block 604.
[0063] At box 604, the environment classification module analyzes the signal-separated audio to classify noise levels in an environment (e.g., environment 104) and sets an environment type label accordingly (e.g., environment type label 411). For example, noise levels can be classified as quiet or noisy. The classification of noise levels can be performed by a machine learning model, statistical model, or the like that determines the probability that an environment is relatively quiet or noisy. Relativity can be between sources of signal-separated audio data, between current signal-separated audio data and previously signal-separated audio data, and / or a noise threshold (e.g., predetermined or dynamic). For example, a cluster analysis of environmental sources can be performed on the audio data and historical audio data (e.g., from a buffer storing audio over a period of time) to determine whether the sources are quiet (e.g., below a threshold) or noisy (e.g., above a threshold). If the noise level is classified as quiet, then the BF algorithm can be used at box 612. Otherwise, process 600 can continue to box 606.
[0064] At box 606, the noise classification module analyzes the audio to classify noise in the environment and sets a noise type label (e.g., noise type label 413) based on the noise classification. For example, noise can be classified as transient (e.g., characterized by high amplitude, short duration sounds (e.g., speech)) or stationary (e.g., characterized primarily by unchanging audio (e.g., humming or white noise)). The noise type classification can be performed by a machine learning model, statistical model, etc., that determines the probability that the noise in the environment is relatively transient or stationary. Relativity can be between sources of signal-separated audio data, between current signal-separated audio data and previously signal-separated audio data, and / or as a noise type threshold (e.g., predetermined or dynamic). For example, cluster analysis can be performed on the environmental sources of the audio data to determine the probability that the source is transient. If the noise is not classified as stationary, then the BFF algorithm can be used at box 610. Otherwise, process 600 can continue to box 608. In one or more embodiments, if the noise is classified as stationary, then the BF algorithm can be used at box 612.
[0065] At block 608, the signal separation algorithm selection module determines the signal-to-noise ratio (SNR) of the audio data. SNR is a measurement of the desired signal relative to background noise. SNR can be determined by comparing two levels and returning an indication of whether the noise level affects the ratio of the designed signal. For example, the desired signal can be a speech signal, and the noise can be noise from the signal-separated audio data. SNR can be compared to a threshold level for SNR. The threshold level can be a predetermined or dynamic value. For example, the threshold level can be based on the loudness of a stereo reference from a voice control device. If the SNR is not lower than the threshold level, the BF algorithm can be used at block 612. Otherwise, process 600 can use the BSS algorithm at block 610.
[0066] Figure 7 This document describes a flowchart of an example process 700 for transitioning between far-field signal separation algorithms according to one or more exemplary embodiments. For illustrative purposes, process 700 is described herein primarily with reference to previous figures (particularly audio smoothing module 408). One or more blocks (or operations) of process 700 may be performed by one or more other components of other suitable devices. Furthermore, for illustrative purposes, the blocks of process 700 are described herein as occurring sequentially or linearly. However, multiple blocks of process 700 may occur in parallel. Additionally, the blocks of process 700 need not be performed in the order shown, and / or one or more blocks of process 700 need not be performed and / or may be replaced by other operations.
[0067] In process 700, at block 702, the audio smoothing module (e.g., audio smoothing module 408) can match the audio stream of audio data processed by the previous algorithm with the audio stream of audio data processed by the new (e.g., optimal) algorithm. The matching can be based on the source direction corresponding to the audio stream. Matching can also be based on other parameters, such as the correlation between the first and second audio streams.
[0068] The audio smoothing module may receive a signal separation algorithm flag (e.g., signal separation algorithm flag 415) indicating whether the signal separation module will change the signal separation algorithm. For example, the signal separation module may use the BF algorithm, but changes in the operating conditions of the voice control device may alternatively authorize the use of the BSS algorithm, as determined by the signal separation algorithm selection module. To reduce artifacts artificially introduced into the audio due to changes in the signal separation algorithms, the transition between audio data output from one signal separation algorithm and audio data output from another signal separation algorithm can be smoothed by correcting source-to-stream mapping mismatches between the audio data outputs from the signal separation algorithms.
[0069] When the signal separation algorithm changes, the audio smoothing module can receive audio data output from a first signal separation algorithm (e.g., first signal separation algorithm 404) and audio data output from a second signal separation algorithm (e.g., second signal separation algorithm 406). The first signal separation algorithm can be a BSS algorithm and the second signal separation algorithm can be a BF algorithm. Each signal separation algorithm can receive mixed-signal audio input and output signal-separated audio data containing one or more streams. For example, both the BF and BSS algorithms use N audio inputs captured by N microphones in an array and separate audio from different sources into M different output audio streams (where M is typically less than or equal to N). Each audio stream can contain audio from a different source with higher clarity. The audio stream-to-source mapping can depend on the convergence path used by the BF and BSS algorithms and can change over time. When the audio stream-to-source mapping is inconsistent between the BF and BSS algorithms, artifacts may be introduced into the output audio data.
[0070] The audio smoothing module can generate an angular distance matrix. The angular distance matrix can be a rectangular array, where columns represent streams from one signal separation algorithm and rows represent streams from another signal separation algorithm. In one or more implementations, only the upper diagonal of the angular distance matrix can be generated to save computational resources. The elements of the matrix can be angular distances, which are the absolute values of the differences between the angular distances of streams from one algorithm and the angular distances of corresponding streams from another algorithm.
[0071] For example, assuming M = 2 and θ = source angle, the source-to-stream mapping of the previous active signal separation algorithm can be expressed as stream1 = θ. O1 and flow 2 = θ O2Furthermore, the source-to-stream mapping of the new signal separation algorithm can be represented as stream 1 = θ N1 and flow 2 = θ N2 The upper diagonal M x M angular distance matrix is:
[0072]
[0073] The upper diagonal M x M angular distance matrix can be represented as a set {{|θ O1 -θ N1 |,|θ O1 -θ N2 |},{|θ O2 -θ N2 |}}.
[0074] The angular distance matrix is updated to distinguish between streams from previous algorithms that match the new algorithm and streams from previous algorithms that do not match the new algorithm. The output streams from both the previous and new algorithms are matched based on their angular distances (e.g., the difference between their associated source angles). Streams from the two algorithms with matching source angles are stitched together to avoid audio artifacts. Streams from mismatched source directions are randomly stitched together with the remaining streams from the previous algorithm, as these streams are treated as new sources, which can be attributed to changes in operating conditions (e.g., the previous conditions had one speech, but the new conditions have two).
[0075] To update the matrix, every angular distance above the angular distance threshold is set to infinity. Even if both algorithms map the same source in the same flow, their angles may not perfectly match. Therefore, the angular distance threshold can be set to a tolerance that allows the flows to be accurately mapped together between algorithms despite slight differences in the corresponding angular distances between each flow. For example, if the first flow estimate of the first source in the BF algorithm is at 45 degrees, and the second flow estimate of the first source in the BSS algorithm is at 48 degrees, then the flows can be mapped together with a threshold of 3; however, if the first flow estimate of the first source in the BSS algorithm is at 58 degrees, the elements of the matrix corresponding to the flow can be set to infinity because the distance |58-45| is greater than 3.
[0076]
[0077] The angular distance matrix can be sorted. For example, the values in the angular distance matrix can be sorted in ascending order.
[0078]
[0079] From the sorted matrix, a set of distances for the previous algorithm and / or the new algorithm can be derived. For example, a set of distances for the BF algorithm could be {3,∞} and {|θ}. O2 -θ N2|}. As another example, a set of distances in the BSS algorithm can be {|θ}. O2 -θ N2 |,∞} and {3}. In one or more embodiments, the set of distances may alternatively be derived and then sorted.
[0080] Using a set of distances derived from the matrix of the previous algorithm, the minimum distance for each flow of the previous algorithm can be identified. For example, if the set of distances for the BF algorithm is {3,∞} for the first flow and {|θ} for the second flow... O2 -θ N2 If |}, then the minimum distance of the first-order flow can be 3 and the minimum distance of the second-order flow can be |θ. O2 -θ N2 The smoothing module can iterate through several sets of angular distances for each flow using the previous or new algorithm.
[0081] A stream from a previous signal separation algorithm can be mapped to a stream from a new signal separation algorithm. For a specific set of angular distances corresponding to a stream from a previous signal separation algorithm, a minimum angular distance (e.g., the angular distance with the minimum value) can be identified. The minimum angular distance can be associated with two streams (e.g., the stream from which the minimum angular distance is derived). In the case of a tie, the tie can be randomly broken. The two streams can then be mapped together.
[0082] Flows that are mapped together can be removed from the matrix. That is, the angular distance values associated with two flows can be removed from the matrix so that they are no longer mapped to another source. After removing the angular distance values from the matrix, the smoothing module continues to determine whether another set of angular distances is associated with another flow from the previous signal separation algorithm. The smoothing module continues to map the flows from the previous signal separation algorithm to the flows of the new signal separation algorithm until all flows from the previous signal separation algorithm have been mapped. If the matrix is an M x M matrix, then the result is a one-to-one mapping.
[0083] Once the stream of the previous signal separation algorithm is mapped, the mapped stream can then be stitched together by fading out the previous signal separation algorithm (e.g., the stream of the previous signal separation algorithm) (e.g., decreasing the volume) and fading in the new signal separation algorithm (e.g., the stream of the new signal separation algorithm) (e.g., increasing the volume) at boxes 704 and 706, respectively.
[0084] Those skilled in the art will understand that the various illustrative blocks, modules, elements, components, methods, and algorithms described herein can be implemented as electronic hardware, computer software, or a combination of both. To illustrate this hardware-software interchangeability, the various illustrative blocks, modules, elements, components, methods, and algorithms have been broadly described above in terms of their functionality. Whether this functionality is implemented as hardware or software depends on the specific application and design constraints imposed on the entire system. Those skilled in the art can implement the functionality in different ways for each specific application. Various components and blocks can be arranged differently (e.g., in different orders or partitioned in different ways), all without departing from the scope of this art.
[0085] It should be understood that any particular order or hierarchy of blocks in the disclosed process is an illustration of the instance method. Based on design preferences, it should be understood that a particular order or hierarchy of blocks in the process may be rearranged, or all described blocks may be executed. Any block may be executed concurrently. In one or more embodiments, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system components in the embodiments described above should not be construed as requiring this separation in all embodiments, and it should be understood that the program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0086] As used in this specification and any claim of this application, the terms "base station," "receiver," "computer," "server," "processor," and "memory" all refer to electronic or other technical devices. These terms exclude persons or groups of persons. For the purposes of this specification, the term "display" means to make a display on an electronic device.
[0087] As used herein, the phrase “at least one of…” or “one or more of…” preceding a series of items, along with the terms “and” or “or” used to separate any item, modifies the list as a whole, rather than modifying each member of the list (i.e., each item). The phrase “at least one of…” or “one or more of…” does not require selection of at least one of each listed item; rather, the phrase allows for the meaning of at least one of any item and / or at least one of any combination of items and / or at least one of each item. For example, the phrases “at least one [one or more] of A, B, and C” or “at least one [one or more] of A, B, or C” each refer to only A, only B, or only C; any combination of A, B, and C; and / or at least one of each of A, B, and C.
[0088] The predicates “configured to,” “operable to,” and “programmed to” do not imply any particular tangible or intangible modification to the object but are intended to be used interchangeably. In one or more embodiments, a processor configured to monitor and control operation or components may also mean a processor programmed to monitor and control operation, or a processor operable to monitor and control operation. Similarly, a processor configured to execute code may be interpreted as a processor programmed to execute code or operable to execute code.
[0089] For example, the terms "aspect," "the aspect," "on the other hand," "some aspects," "one or more aspects," "implementation," "the implementation," "another implementation," "some implementations," "one or more implementations," "example," "the embodiment," "another embodiment," "some implementations," "one or more implementations," "configuration," "the configuration," "another configuration," "some configurations," "one or more configurations," "the technology," "the disclosure," and other variations thereof are provided for convenience and do not imply that disclosures relating to such phrases are essential to the technology or that this disclosure applies to all configurations of the technology. Disclosures relating to such phrases may apply to all configurations or one or more configurations. Disclosures relating to such phrases may provide one or more instances. For example, phrases referring to "aspect" or "some aspects" may refer to one or more aspects, and vice versa, and this similarly applies to other foregoing phrases.
[0090] The word “exemplary” is used herein to mean “serving as an example, illustration, or description.” Any embodiment described herein as “exemplary” or “example” is not necessarily to be construed as preferred or advantageous over other embodiments. Furthermore, within the scope of the terms “comprising,” “having,” etc., used in the description or claims, this term is intended to be inclusive in a manner similar to the phrase “comprising,” as “comprising” is interpreted as a transitional word when used in the claims.
[0091] All structural and functional equivalents of elements throughout all aspects described herein that are known or subsequently known to a person skilled in the art are expressly incorporated herein by reference and are intended to be covered by the claims. Furthermore, nothing disclosed herein is intended to be exclusive to the public, regardless of whether such disclosure is expressly recited in the claims. No claim element shall be interpreted in accordance with 35 U.S.SC §112(f) unless the element is expressly stated using the phrase “component for…” or, in the case of a method claim, the element is stated using the phrase “step for…”.
[0092] The preceding description is provided to enable those skilled in the art to practice the various aspects described herein. Various modifications to these aspects will readily be apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects. Therefore, the claims are not intended to be limited to the aspects shown herein, but should be consistent with the full scope of the language used in the claims, wherein reference to an element in the singular form, unless specifically stated otherwise, does not mean "one and only one," but rather "one or more." Unless otherwise specifically stated, the term "some" refers to one or more. Male pronouns (e.g., his) include female pronouns (e.g., her), and vice versa. Titles and subtitles (if any) are used for convenience only and do not limit this disclosure.
Claims
1. A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform operations, the operations including: Receive the first audio data; The first audio data is processed by a first signal separation algorithm; In response to the output of the first signal separation algorithm satisfying at least one parameter, the processed first audio data is output; and In response to the output of the first signal separation algorithm not satisfying at least one parameter: Select a second signal separation algorithm that is different from the first signal separation algorithm; The second audio data is received after the first audio data is received in terms of timing. The second audio data is processed using the second signal separation algorithm; During the processing of the second audio data, a switch from the first signal separation algorithm to the second signal separation algorithm is performed in response to selecting the second signal separation algorithm, wherein the switch from the first signal separation algorithm to the second signal separation algorithm includes: Based on the direction of the first audio stream of the first audio data and the direction of the second audio stream of the second audio data, the first audio stream and the second audio stream are matched; Fade out of the first audio stream; and Fade into the second audio stream; and Output the processed second audio data.
2. The non-transitory computer-readable medium of claim 1, wherein the at least one parameter comprises one or more of echo intensity, noise level, noise classification, and signal-to-noise ratio.
3. The non-transitory computer-readable medium of claim 1, wherein the operation further comprises responding to the output of the second signal separation algorithm not satisfying the at least one parameter: A third signal separation algorithm is selected, which is different from the first signal separation algorithm and the second signal separation algorithm and is at least one of beamforming algorithm and blind source separation algorithm; Receive third-party audio data; The third audio data is processed using the third signal separation algorithm; and The processed third audio data is output.
4. The non-transitory computer-readable medium according to claim 1, wherein: The first signal separation algorithm is the default algorithm.
5. The non-transitory computer-readable medium according to claim 1, wherein: The first audio data and the second audio data contain at least voice data.
6. The non-transitory computer-readable medium according to claim 1, wherein: The first signal separation algorithm is at least one of a beamforming algorithm and a blind source separation algorithm; and The second signal separation algorithm is at least one of a blind source separation algorithm and a beamforming algorithm.
7. The non-transitory computer-readable medium of claim 1, wherein matching the first audio stream with the second audio stream includes generating an angular distance matrix.
8. A speech processing system, comprising: A controller configured to perform operations including: Receive the first audio data; The first audio data is processed by a first signal separation algorithm; In response to the output of the first signal separation algorithm satisfying at least one parameter, the processed first audio data is output; and In response to the output of the first signal separation algorithm not satisfying at least one parameter: Select a second signal separation algorithm that is different from the first signal separation algorithm; The second audio data is received after the first audio data is received in terms of timing. The second audio data is processed using the second signal separation algorithm; During the processing of the second audio data, a switch from the first signal separation algorithm to the second signal separation algorithm is performed in response to selecting the second signal separation algorithm, wherein the switch from the first signal separation algorithm to the second signal separation algorithm includes: Based on the direction of the first audio stream of the first audio data and the direction of the second audio stream of the second audio data, the first audio stream and the second audio stream are matched; Fade out of the first audio stream; and Fade into the second audio stream; and Output the processed second audio data.
9. The speech processing system according to claim 8, wherein the at least one parameter includes one or more of echo intensity, noise level, noise classification, and signal-to-noise ratio.
10. The speech processing system of claim 8, wherein the operation further includes responding to the output of the second signal separation algorithm not satisfying the at least one parameter: A third signal separation algorithm is selected, which is different from the first signal separation algorithm and the second signal separation algorithm and is at least one of beamforming algorithm and blind source separation algorithm; Receive third-party audio data; The third audio data is processed using the third signal separation algorithm; and The processed third audio data is output.
11. The speech processing system according to claim 8, wherein: The first audio data and the second audio data contain at least voice data.
12. The speech processing system according to claim 8, wherein: The first signal separation algorithm is at least one of a beamforming algorithm and a blind source separation algorithm; and The second signal separation algorithm is at least one of a blind source separation algorithm and a beamforming algorithm.
13. The speech processing system according to claim 8, wherein the operation further comprises: During the processing of the second audio data, the algorithm switches from the first signal separation algorithm to the second signal separation algorithm in response to the selection of the second signal separation algorithm.
14. The speech processing system according to claim 8, wherein: The first signal separation algorithm is the default algorithm.
15. An integrated circuit for speech processing, comprising: Logic, configured to perform operations, including: Receive the first audio data; The first audio data is processed by a first signal separation algorithm; In response to the output of the first signal separation algorithm satisfying at least one parameter, the processed first audio data is output; and In response to the output of the first signal separation algorithm not satisfying at least one parameter: Select a second signal separation algorithm that is different from the first signal separation algorithm; The second audio data is received after the first audio data is received in terms of timing. The second audio data is processed using the second signal separation algorithm; During the processing of the second audio data, a switch from the first signal separation algorithm to the second signal separation algorithm is performed in response to selecting the second signal separation algorithm, wherein the switch from the first signal separation algorithm to the second signal separation algorithm includes: Based on the direction of the first audio stream of the first audio data and the direction of the second audio stream of the second audio data, the first audio stream and the second audio stream are matched; Fade out of the first audio stream; and Fade into the second audio stream; and Output the processed second audio data.
16. The integrated circuit for speech processing according to claim 15, wherein the at least one parameter comprises one or more of echo intensity, noise level, noise classification, and signal-to-noise ratio.
17. The integrated circuit for speech processing according to claim 15, wherein the operation further includes responding to the output of the second signal separation algorithm not satisfying the at least one parameter: A third signal separation algorithm is selected, which is different from the first signal separation algorithm and the second signal separation algorithm and is at least one of beamforming algorithm and blind source separation algorithm; Receive third-party audio data; The third audio data is processed using the third signal separation algorithm; and The processed third audio data is output.
18. The integrated circuit for speech processing according to claim 15, wherein: The first audio data and the second audio data contain at least voice data.
19. The integrated circuit for speech processing according to claim 15, wherein: The first signal separation algorithm is at least one of a beamforming algorithm and a blind source separation algorithm; and The second signal separation algorithm is at least one of a blind source separation algorithm and a beamforming algorithm.
20. The integrated circuit for speech processing according to claim 15, wherein the first signal separation algorithm is the default algorithm.
Citation Information
Patent Citations
Voice signal separating method, device thereof, electronic equipment and storage medium
CN109410978A
Sound signal identification method and device
CN113314135A
