Forced gap insertion for comprehensive listening
By inserting imposed gaps in the audio playback signal and monitoring non-playback sounds, accurate estimation of background noise and noise compensation are achieved, solving the problem of poor noise compensation in the existing technology, improving user experience and device simplification.
Patent Information
- Application Number
- CN201980046995.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-27
- Filing Date
- 2019-07-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2039-07-26
AI Technical Summary
The existing technology is difficult to accurately measure and automatically adjust the noise compensation of the audio playback system in a background noise environment, especially when there are multi-channel speaker configurations and microphones in the device, resulting in poor noise compensation effects and affecting the user experience.
By inserting forced gaps into the audio playback signal, using microphones to monitor non-playback sounds and generating background noise estimates, noise compensation is achieved, reducing the need for echo cancellers, improving noise estimation accuracy and user experience.
It effectively reduces the noise compensation system's dependence on the echo canceller, improves the accuracy of noise estimation and user experience, reduces equipment complexity and cost, and is suitable for multi-channel speaker configurations.
Smart Images

Figure CN112437957B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of priority to U.S. Patent Application No. 62 / 711,012, filed on July 27, 2018, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present invention relates to systems and methods for performing pervasive listening (e.g., estimating background noise) in an audio signal playback environment, and optionally also using the results of the pervasive listening (e.g., noise estimation) to generate or process an audio signal (e.g., perform noise compensation on the audio signal) for playback. In some embodiments, the pervasive listening includes introducing at least one gap in the playback signal (e.g., in a selected frequency band of the playback signal), thereby generating a modified playback signal, and performing the pervasive listening during playback of the modified playback signal. Background Art
[0004] As used herein, a "comprehensive listening" method (e.g., implemented by a comprehensive listening application running on a suitably programmed processor) refers to a method that includes monitoring sounds in a playback environment other than playback sounds emitted from any speaker in the playback environment (in response to an audio playback signal), and optionally generating or modifying an audio playback signal in response to at least one result of the monitoring (e.g., for the purpose of improving the playback of the audio content in some respect). The monitored sounds are sometimes referred to herein as "non-playback sounds." Non-playback sounds are captured by at least one microphone in the playback environment. There may (but need not be) one or more human users in the playback environment, and comprehensive listening can be implemented to improve the playback experience of (multiple) such users. The expression "comprehensive listener" is sometimes used herein to refer to a system or device (e.g., a suitably programmed processor) configured to perform a comprehensive listening method.
[0005] Typical holistic listening methods do not monitor non-playback sounds for the purpose of detecting or characterizing transient events (e.g., utterances of short-word speech) in the playback environment, where, in this context, a "transient" event means an event that lasts less than about 0.5 seconds. However, in some cases, monitoring of non-playback sounds by a holistic listener may be implemented in a manner that is intended to detect or characterize transient events in the playback environment that last less than 0.5 seconds (e.g., 200 milliseconds or less). Examples of non-playback sounds monitored by a holistic listener include (but are not limited to) background noise or the speech of at least one human user in the playback environment (or other sounds that indicate the activity or presence of at least one human user) on a time scale longer than a single short utterance of a human user. For example, a non-playback sound may be the sound of a vacuum cleaner operated by a human user, or the utterance of a long-duration voice command.
[0006] Comprehensive listening may include the accumulation of observations of non-playback sounds (over time, e.g., each observation is made during a time interval of a different gap in a different frequency band) to create a statistical inference or estimate of some aspect of the non-playback sounds. Some embodiments of a comprehensive listener may use an imposed gap (inserted into the playback signal according to embodiments of the present invention) to monitor non-playback sounds that occur "in" the imposed gap, in the sense that the non-playback sounds occur during the time interval of the gap in the frequency band(s) where the gap exists. For example, some embodiments of a comprehensive listener may use an imposed gap (inserted into the playback signal according to embodiments of the present invention) to infer the occurrence of a transient or non-playback sound event from the sudden, contemporaneous (i.e., within a single short time interval) onset of energy in each of three (or other small number of) imposed gaps (each in a different frequency band), where the energy detected in each gap is an unexpected and substantially unlikely (given the statistics determined by the comprehensive listener as a result of accumulating observations in each of a plurality of different frequency bands) amount of energy.
[0007] In an example of a global listener using imposed gaps (inserted according to an embodiment of the present invention), 40 different frequency bands may be used for the insertion of gaps, and at least one imposed gap is inserted in every 4 consecutive frequency bands to allow the global listener to estimate the full spectrum of non-playback sounds by detecting non-playback sounds in each gap. In a typical implementation, this may require inserting a sequence of 10 to 20 imposed gaps, each having a duration of about 20 ms to 100 ms. Thus, at least about 200 milliseconds (200 ms) to 2 seconds may be required to obtain an estimate (by monitoring non-playback sounds in a recorded sequence of imposed gaps). In some contemplated embodiments, the global listener will require a time in the range of from about 0.5 seconds to 1 second to determine an estimate of non-playback sounds (over the full frequency range) by monitoring non-playback sounds in a sequence of imposed gaps.
[0008] As another example, if a non-playback sound in a narrow frequency band is to be detected by the full listener, the full listener may need up to about 4 seconds to detect the non-playback sound (e.g., if a gap is imposed in the frequency band just before the non-playback sound begins). In a typical implementation (with 40 frequency bands available for inserting imposed gaps, each with a duration of about 100 ms), it may take up to about 2 seconds (on average) to detect a non-playback sound in any of the frequency bands.
[0009] In cases where the playback signal is quiet in at least one frequency band (even without any imposed gaps inserted in such frequency bands according to embodiments of the present invention), it is possible for a full listener to detect very brief events or non-playback sound events (e.g., events with a duration much shorter than any of the examples mentioned herein) even without imposed gap insertion.
[0010] With the rapid increase in the number of always-listening smart speaker devices entering homes and workplaces, the need is increasing for devices to learn more about their environment so that they can provide a better experience and be more helpful to the user. One such feature is noise compensation (an example of a comprehensive listening approach). Noise compensation ensures that the listener always hears the music and the voice assistant's voice regardless of the ambient noise conditions. Smart voice assistants must also listen to new user requests in a variety of adverse acoustic environments.
[0011] When a device is playing back music and other audio content, the task of estimating ambient conditions and activity in the playback environment is significantly more difficult because the device hears its own voice (the "echo" problem) and background activity. Acoustic echo cancellation, the standard proposed solution to this problem, is the process of modeling the way echo is received at the device microphone so that it can be removed, leaving a residual signal representing the background scene. Since echo cancellation is a computationally expensive task that increases in complexity with the number of playback channels and microphones present in a device, it is not unreasonable to expect lower-cost devices and devices with multi-channel speaker configurations to require microphone capabilities with only weak or non-existent echo cancellation available. Cheaper and lower-cost devices are also easier to wear and closer to the user because they are more portable and can be placed in more locations in the home or workplace.
[0012] The popularity of portable electronic devices means that people interact with audio every day in many different environments. For example, listening to music, watching entertainment content, listening to audible notifications and instructions, and participating in voice calls. The listening environment in which these activities occur is often inherently noisy, and the background noise conditions are constantly changing, which can impair the enjoyment and intelligibility of the listening experience. Placing the user in a loop of manually adjusting the playback level in response to changing noise conditions distracts the user from the listening task and increases the cognitive burden required to participate in the audio listening task.
[0013] Noise Compensated Media Playback (NCMP) alleviates this problem by adjusting the volume of any media being played to suit the noise conditions the media is being played back in. The concept of NCMP is well known, and many publications claim to have solved the problem of how to implement NCMP effectively.
[0014] While a related field called "active noise cancellation" attempts to physically eliminate interfering noise through the reproduction of sound waves, NCMP adjusts the level of the playback audio so that the adjusted audio can be heard in the playback environment and the sound is clear in the presence of background noise.
[0015] The main challenge in any practical implementation of NCMP is to automatically determine the current background noise level experienced by the listener, especially in the case where media content is being played through loudspeakers, where the background noise and media content are acoustically highly coupled. Solutions involving microphones face the problem that the media content and the noise conditions are observed together (detected by the microphone).
[0016] Figure 1A typical audio playback system implementing NCMP is shown. The system includes a content source 1 that outputs an audio signal indicative of audio content (sometimes referred to herein as media content or playback content) and provides the audio signal to a noise compensation subsystem 2. The audio signal is intended to be played back to generate sounds indicative of the audio content (in an environment). The audio signal may be a speaker feed (and the noise compensation subsystem 2 may be coupled and configured to apply noise compensation thereto by adjusting the playback gain of the speaker feed), or another element of the system may generate a speaker feed in response to the audio signal (e.g., the noise compensation subsystem 2 may be coupled and configured to generate a speaker feed in response to the audio signal and apply noise compensation to the speaker feed by adjusting the playback gain of the speaker feed).
[0017] Figure 1 The system also includes a noise estimation subsystem 5 coupled as shown, at least one speaker 3 (coupled and configured to emit sounds indicative of media content) for responding to an audio signal (or a noise-compensated version of an audio signal generated in subsystem 2), and a microphone 4. In operation, microphone 4 and speaker 3 are in a playback environment (e.g., a room), and microphone 4 generates a microphone output signal indicative of both background (ambient) noise in the environment and echoes of the media content. The noise estimation subsystem 5 (sometimes referred to herein as a noise estimator) is coupled to microphone 4 and is configured to use the microphone output signal to generate an estimate of the current background noise level (s) in the environment ( Figure 1 The noise compensation subsystem 2 (sometimes referred to herein as a noise compensator) is coupled and configured to apply noise compensation by adjusting the audio signal (e.g., adjusting the playback gain of the audio signal) (or adjusting speaker feeds generated in response to the audio signal) in response to the noise estimate generated by the noise estimation subsystem 5, thereby generating a noise-compensated audio signal (e.g., a noise compensator) indicative of compensated media content. Figure 1 Typically, subsystem 2 adjusts the playback gain of the audio signal so that the sound emitted in response to the adjusted audio signal is audible and intelligible in the playback environment in the presence of background noise (as estimated by noise estimation subsystem 5).
[0018] As will be described below, a background noise estimator (e.g., Figure 1 Noise estimator 5).
[0019] Many publications have addressed the problem of noise compensated media playback (NCMP), and audio systems that compensate for background noise can be successful in many ways.
[0020] It has been proposed to perform NCMP in the absence of a microphone using other sensors instead (e.g., a speedometer in the case of an automobile). However, this approach is not as effective as a microphone-based solution that actually measures the interfering noise level experienced by the listener. It has also been proposed to perform NCMP by relying on a microphone located in an acoustic space that is decoupled from the sound indicative of the playback content, but this approach has prohibitive limitations for many applications.
[0021] The NCMP methods mentioned in the previous paragraph do not attempt to accurately measure the noise level using microphones that also capture playback content, because of the "echo problem" that occurs when the playback signal captured by the microphone is mixed with the noise signal of interest to the noise estimator. In contrast, these methods try to ignore this problem either by constraining the compensation they apply so as not to form an unstable feedback loop, or by measuring other content that somewhat predicts the noise level experienced by the listener.
[0022] It has also been proposed to solve the problem of estimating background noise from a microphone output signal (indicative of both background noise and playback content) by attempting to correlate the playback content with the microphone output signal and subtracting an estimate of the playback content captured by the microphone (referred to as "echo") from the microphone output. The content of the microphone output signal indicating playback content X and background noise N emitted from the speaker(s) when the microphone captures the sound can be represented as WX+N, where W is a transfer function determined by the speaker(s) emitting the sound indicating the playback content, the microphone, and the environment (e.g., the room) in which the sound propagates from the speaker(s) to the microphone. For example, an academically proposed method for estimating noise N (refer to Figure 2 In the embodiment described above, a linear filter W' is adapted to facilitate an estimate W'X of the echo (the playback content captured by the microphone) WX to be subtracted from the microphone output signal. Even if nonlinearity is present in the system, nonlinear implementations of the filter W' are rarely implemented due to computational cost.
[0023] Figure 2is a diagram of a system for implementing the above-described conventional method (sometimes referred to as echo cancellation) for estimating background noise in an environment in which (multiple) speakers emit sounds indicative of playback content. A playback signal X is presented to a speaker system S (e.g., a single speaker) in an environment E. A microphone M is located in the same environment E, and there is background noise N in the environment E, and typically at least one human user (listener) L. In response to the playback signal X, the speaker system S emits sound, which (together with any ambient noise N present in the environment E) arrives at the microphone M. The microphone output signal is Y=WX+N, where W represents the transfer function, which is the combined response of the speaker system S, the playback environment E, and the microphone M. Given by Figure 2 The overall method implemented by the system is used to adaptively derive the transfer function W from Y and X using any of a variety of adaptive filter methods. Figure 2 As shown, a linear filter W' is adaptively determined as an approximation of the transfer function W. The playback signal content ("echo") indicated by the microphone signal M is estimated as W'X, and W'X is subtracted from Y to yield an estimate of the noise N, Y'=WX-W'X+N. If there is a positive bias in the estimate, then adjusting the level of X in proportion to Y' creates a feedback loop. An increase in Y' in turn increases the level of X, which introduces an upward bias into the estimate of N (Y'), which in turn increases the level of X, and so on. This form of solution would rely heavily on the ability of the adaptive filter W' to subtract W'X from Y to remove a significant amount of the echo WX from the microphone signal M.
[0024] To maintain Figure 2 To stabilize the system, further filtering of the signal Y' is usually required. Since most noise compensation embodiments in the art show mediocre performance, most solutions may usually bias the noise estimate downward and introduce aggressive time smoothing to keep the system stable. This is at the expense of reduced motion compensation and very slow motion compensation.
[0025] Noise compensation for compensating for ambient noise conditions (e.g., automatically leveling the playback content to speakers) is a well-known and desired feature, but has not been convincingly implemented. Using microphones to measure ambient noise conditions also measures the playback content to the speakers, which presents significant challenges to the noise estimation (e.g., online noise estimation) required to implement noise compensation. Some embodiments of the present invention are noise estimation methods and systems that generate noise estimates that can be used to perform noise compensation (e.g., to implement many embodiments of noise-compensated media playback) in an improved manner (including inserting imposed gaps into the playback signal).
[0026] Since echo cancellation is a computationally expensive task that increases in complexity as the number of playback channels and microphones present in a device increases, it is not unreasonable to expect lower cost devices and devices with multi-channel speaker configurations to require noise compensation capabilities with only weak or non-existent echo cancellation available. Cheaper and lower cost devices are also easier to wear and closer to the user because they are more portable and can be placed in more locations in the home or workplace. This category of devices is the best candidate for using noise compensation because the device can optimize the sound heard by the user through proximity convenience.
[0027] At the time (or time interval) of the audio signal, the sampling gap or "gap" (defined below) in the frequency band is a time and frequency segment after the audio content of the audio signal in the playback and capture time and frequency segments that can indicate the background noise in the playback environment. When the device (in the playback environment) is silent and not playing any audio content, all time and frequency segments of the sound captured in the playback environment can indicate the background noise in the playback environment. When audio content (e.g., music content) is played back by the device, the output of each microphone in the environment will be corrupted by noise.
[0028] U.S. Provisional Patent Application No. 62 / 663,302, cited above, describes a method and system for detecting and utilizing sampling gaps in the context of noise estimation, with or without performing echo cancellation. When such a system performs noise estimation in the context of performing echo cancellation, the residual cancellation signal (e.g., Figure 2 The signal Y' or Fig.12 The M'res) typically has many gaps, and in general, the performance of the system is independent of the content. When such a system performs noise estimation without echo cancellation, the quality of the noise estimation (and therefore the user experience during playback of content that is noise compensated using the estimated noise) becomes content-dependent because the type and frequency of gaps in the content affects the quality of the noise estimation. In both cases (with and without echo cancellation), the method and system described in U.S. application No. 62 / 663,302 are able to utilize available gaps (in the playback content, or in the playback content and the residual cancellation signal) to estimate the background noise level. The inventors have recognized that with respect to noise estimation (e.g., noise estimation of the type described in U.S. application No. 62 / 663,302) or another comprehensive listening method, the novel step of "forcing" gaps to appear in the playback content can improve the performance of noise estimation (especially when noise estimation is performed without echo cancellation or with weak echo cancellation) or other comprehensive listening methods. Summary of the invention
[0029] In one class of embodiments, the present invention is a comprehensive listening method, the method comprising the following steps:
[0030] inserting at least one gap into at least one selected frequency band of the audio playback signal (e.g., inserting each of the gaps into the selected frequency band of the audio playback signal in a selected time interval) to generate a modified playback signal;
[0031] generating a microphone output signal using a microphone in the playback environment during emission of sound in a playback environment in response to the modified playback signal, wherein the sound is indicative of playback content of the modified playback signal and the microphone output signal is indicative of non-playback sounds in the playback environment and the playback content; and
[0032] The non-playback sounds in the playback environment are monitored (typically including by generating an estimate of at least one aspect of the non-playback sounds in the playback environment) in response to the modified playback signal and the microphone output signal.
[0033] Preferably, each gap is inserted (into a selected frequency band of the playback signal at a selected time interval) in an attempt (i.e., in an intended manner) to cause any artifacts (in sounds emitted in the playback environment in response to the modified playback signal) due to the insertion of the gap to be of low perceptibility to a user in the playback environment and highly recognizable by a comprehensive listener performing the monitoring. Preferably, each gap is inserted (into a selected frequency band at a selected time interval) so that sounds emitted in the playback environment in response to the modified playback signal are perceptible by the user without any noticeable artifacts due to the insertion of the gap, in the sense that any perceived artifacts due to the insertion of the gap are reasonable (not overly objectionable) for the application. For example, in a typical embodiment, any artifacts due to the insertion of the gap are no more perceptible to a human user than any artifacts introduced into the audio by MP3 encoding of the audio.
[0034] In typical embodiments, the comprehensive listening method is a noise estimation method, the microphone output signal is indicative of background noise in the playback environment, and the monitoring comprises generating an estimate of the background noise in the playback environment in response to the modified playback signal and the microphone output signal.
[0035] Typically, the monitoring includes generating an estimate of at least one aspect of non-playback sounds in the playback environment in response to the modified playback signal and the microphone output signal, and the method further includes the step of generating the audio playback signal (e.g., in a comprehensive listening subsystem that also performs monitoring for non-playback sounds) in response to the estimate of at least one aspect of the non-playback sounds in the playback environment (e.g., in an attempt to improve playback of the content of the audio playback signal).
[0036] In some embodiments, each gap is inserted into the playback signal based on urgency (e.g., in response to an urgency value indicating urgency) or a need for a gap (e.g., in at least one particular frequency band of the playback signal). In some embodiments, each gap is inserted into the playback signal based on a need for a gap (i.e., urgency for gap insertion) (e.g., in each of a set of frequency bands of the playback signal) (e.g., in response to an urgency value indicating the need) and based on an expected perceptual effect of inserting a gap in the playback signal (e.g., in at least one particular frequency band of the playback signal at a particular time interval) (e.g., in response to a perceptual degrees of freedom value indicating an expected perceptual effect of inserting a gap) (e.g., in a manner that includes balancing the urgency for a gap and the expected perceptual effect of inserting a gap).
[0037] In some embodiments, the method comprises the following steps:
[0038] determining a probability distribution indicating a probability of each frequency band in a set of frequency bands of the playback signal; and
[0039] At least one of the frequency bands in the group is randomly selected according to the probability distribution, and a gap is inserted in each of the at least one of the frequency bands. In some such embodiments, the probability distribution is based on the need for a gap in each of the frequency bands in the group of frequency bands of the playback signal (i.e., the urgency of inserting a gap). In some such embodiments, the probability distribution is based on the expected perceptual effect of inserting a gap into each of the frequency bands in the group of frequency bands of the playback signal. In some such embodiments, the probability distribution is based on the need for a gap in each of the frequency bands in the group of frequency bands of the playback signal and the expected perceptual effect of inserting the gap into each of the frequency bands.
[0040] In a typical embodiment, a comprehensive listening (e.g., noise estimation or noise compensation) method includes the step of generating an urgency value (i.e., (multiple) signals or data indicating an urgency value) in response to the microphone output signal and the modified playback signal. In some such embodiments, the urgency value indicates the need for a gap in each of a set of frequency bands of the playback signal (i.e., the urgency of inserting a gap), and the need for a gap in each of the frequency bands is based on the time that has passed since a previous gap occurred in the frequency band. Typically, the insertion of each gap into the playback signal is based at least in part on (e.g., performed in response to) the urgency value.
[0041] In some (but not all) embodiments, monitoring for non-playback sound includes performing echo cancellation in response to the microphone output signal and the modified playback signal.
[0042] In some embodiments, monitoring for non-playback sounds includes generating a background noise estimate, the method further includes the step of generating an audio playback signal (e.g., in a comprehensive listening subsystem that also performs monitoring for non-playback sounds) in response to the background estimate (e.g., in an attempt to improve playback of content of the audio playback signal), and the step of generating the audio playback signal includes performing noise compensation on the input audio signal in response to the background estimate.
[0043] Aspects of the present invention include a system configured (e.g., programmed) to perform any embodiment of the method of the present invention or its steps, and a tangible non-transitory computer-readable medium (e.g., a disk or other tangible storage medium) implementing non-transitory storage of data, the tangible non-transitory computer-readable medium storing code for performing (e.g., executable to perform) any embodiment of the method of the present invention or its steps. For example, an embodiment of the system of the present invention may be or include a programmable general-purpose processor, a digital signal processor, or a microprocessor, which is programmed and / or otherwise configured with software or firmware to perform any of a variety of operations on data, including embodiments of the method of the present invention or its steps. Such a general-purpose processor may be or include a computer system, which includes an input device, a memory, and a processing subsystem, which is programmed (and / or otherwise configured) to perform an embodiment of the method of the present invention (or its steps) in response to data asserted thereto. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is a block diagram of an audio playback system implementing noise compensated media playback (NCMP).
[0045] Figure 2is a block diagram of a conventional system for generating a noise estimate from a microphone output signal according to a conventional method known as echo cancellation.The microphone output signal is generated by capturing sounds (indicative of playback content) and noise in a playback environment.
[0046] Figure 3 is a spectrogram of a modified audio signal into which an imposed gap has been inserted by performing an embodiment of the method of the present invention.
[0047] Figure 4 is a graph of a band gain as a function of frequency, which is applied to a band of an audio signal to impose a gap in the audio content of the signal in the band according to some embodiments of the present invention. The gain (and the gap) has a center frequency f0 and a bandwidth B. According to embodiments of the present invention, the depth of the gap can be set (e.g., by interpolation) to a desired value between 0 dB and -Z dB.
[0048] Figure 5 is the profile of the band gain as a function of time, which is applied to the frequency band of the audio signal to shift the gap ( Figure 4 The same gap as shown in FIG. 1 is imposed into the audio content of the signal in the frequency band. Three time intervals t1, t2 and t3 of the gap are indicated.
[0049] Figure 6 is a graph illustrating an example of a band division structure (including 49 frequency bands) of an audio signal in which a gap is inserted according to some embodiments of the present invention.
[0050] Figure 7 is a block diagram of an embodiment of a comprehensive listening system of the present invention configured to insert gaps (imposed gaps) into an audio signal.
[0051] Figure 8 is a block diagram of another embodiment of a comprehensive listening system of the present invention configured to insert gaps (imposed gaps) into an audio signal.
[0052] Fig. 9 is a block diagram of another embodiment of a comprehensive listening system of the present invention configured to insert gaps (imposed gaps) into an audio signal.
[0053] Fig.10 is a block diagram of another embodiment of a comprehensive listening system of the present invention configured to insert gaps (imposed gaps) into an audio signal.
[0054] Fig.11is a block diagram of an embodiment of a system of the present invention, the system being used to generate a background noise estimate for each frequency band of a microphone output signal, and to perform noise compensation on an input audio signal using the noise estimate to generate a compensated audio signal, including by inserting gaps (imposed gaps) into the compensated audio signal.
[0055] Fig.12 yes Fig.11 A more detailed block diagram of an example implementation of a system.
[0056] Fig.13 yes Fig.12 A block diagram of an example of an implementation of the noise estimation subsystem 37 of the system.
[0057] Fig.14 is a graph of the current band-divided energy of the playback content (curve E) and the perceptual masking curve of the playback content (curve M), each curve being plotted as a function of energy in dB (indicated on the vertical axis) versus frequency band (indicated on the horizontal axis) for each of 49 exponentially spaced frequency bands (Band 0 to Band 48).
[0058] Fig.15 is a block diagram of an embodiment of the imposed gap applicator of the present invention.
[0059] Symbols and terminology
[0060] Throughout this disclosure, including in the claims, a "gap" in an audio signal (and in the playback content of the audio signal) refers to a time (or time interval) in the signal where the playback content (e.g., in at least one frequency band) is missing (or the level of the playback content is less than a predetermined value). The audio signal may have a band-divided frequency domain representation (in each of a series of times or time intervals of the signal), the band-divided frequency domain representation comprising frequency domain playback content in each of a set of different frequency bands (at each time or time interval), and the audio signal may have a gap in at least one of the frequency bands (at a time or time interval of the audio signal).
[0061] Throughout this disclosure, including in the claims, "speaker" and "loudspeaker" are used synonymously to refer to any sound-emitting transducer (or set of transducers) driven by a single speaker feed. A typical set of headphones includes two speakers. A speaker may be implemented to include multiple transducers (e.g., a woofer and a tweeter) that are all driven by a single common speaker feed (the speaker feed may undergo different processing in different circuit branches coupled to different transducers).
[0062] Throughout this disclosure, including in the claims, expressions “operating on” a signal or data (e.g., filtering, scaling, transforming, or applying a gain to a signal or data) are used in a broad sense to mean operating directly on a signal or data or on a processed version of a signal or data (e.g., a version of a signal that has been initially filtered or preprocessed before being operated on).
[0063] Throughout this disclosure, including in the claims, the expression "system" is used in a broad sense to refer to a device, system, or subsystem. For example, a subsystem that implements a decoder may be referred to as a decoder system, and a system that includes such a subsystem (e.g., a system that generates X output signals in response to a plurality of inputs, where the subsystem generates M of the inputs and the other XM inputs are received from external sources) may also be referred to as a decoder system.
[0064] Throughout this disclosure, including in the claims, the term "processor" is used in a broad sense to refer to a system or device that is programmable or otherwise configurable (e.g., with software or firmware) to perform operations on data (e.g., audio, or video or other image data). Examples of processors include field programmable gate arrays (or other configurable integrated circuits or chipsets), digital signal processors that are programmed and / or otherwise configured to perform pipeline processing on audio or other sound data, programmable general purpose processors or computers, and programmable microprocessor chips or chipsets.
[0065] Throughout this disclosure, including in the claims, the terms "couples" or "coupled" are used to refer to either direct or indirect connections. Thus, if a first device couples to a second device, that connection may be through a direct connection or through an indirect connection via other devices and connections. DETAILED DESCRIPTION
[0066] Many embodiments of the present invention are technically possible. It will be apparent to a person skilled in the art how to implement these embodiments after reading this disclosure. Figures 3 to 14 Several embodiments of the systems and methods of the present invention are described.
[0067] According to typical embodiments of the present invention, gaps (referred to as "imposed" gaps) are inserted into an audio playback signal to introduce intentional distortion of the audio playback content in order to provide awareness of background noise (or other non-playback sounds in the playback environment) to be monitored. Typically, imposed gaps are artificially inserted into specific frequency bands where corresponding noise (or other non-playback sounds) estimates are out of date (e.g., so that imposed gaps can be automatically used according to the gap confidence framework described in U.S. Provisional Patent Application No. 62 / 663,302). In some embodiments, the distortion is carefully perceptually masked to provide a good quality listening experience even when imposed gaps are introduced, and responsive noise estimation (or other comprehensive listening methods) can be implemented in a content-independent manner even without using an echo canceller.
[0068] In some embodiments, a series of imposed gaps are inserted into the playback signal, each imposed gap being in a different frequency band (or set of frequency bands) of the playback signal, to allow a full listener to detect non-playback sounds occurring "in" each imposed gap, meaning that the non-playback sounds occur both during the time interval in which the gap occurs and in the frequency band(s) in which the gap is inserted. Figure 3 is an example of a spectrogram of a modified audio playback signal into which such an imposed gap has been inserted by performing an embodiment of the present invention. More specifically, in order to generate Figure 3 , performing an embodiment of the method of the present invention on an audio playback signal to introduce an imposed gap in its frequency band (e.g., Figure 3 The gaps G1, G2 and G3 shown in FIG. 4 are used to generate a modified audio playback signal. Figure 3 In the frequency spectrum diagram shown, the position along the horizontal axis indicates time, while the position along the vertical axis indicates the frequency of the content of the modified audio playback signal at a certain moment. The density of points in each small area (each such area centered at a point having vertical and horizontal coordinates) indicates the energy of the content of the modified audio playback signal at the corresponding frequency and moment (areas with higher density indicate content with greater energy, and areas with lower density indicate content with lower energy). Therefore, gap G1 appears at a time earlier (i.e., in the time interval) than the time when gap G2 or G3 appears (i.e., the time interval in which gap G2 or G3 appears), and gap G1 is inserted in a frequency band higher than the frequency band in which gap G2 or G3 has been inserted.
[0069] According to typical embodiments of the present invention, the introduction of imposed gaps into the playback signal is different from simplex device operation, in which the device pauses the content playback stream (e.g., in order to better hear the user and the user's environment). According to typical embodiments of the present invention, the introduction of imposed gaps into the playback signal is optimized to significantly reduce (or eliminate) the perceptibility of artifacts caused by the introduced gaps during playback, preferably so that the imposed gaps have no or only minimal perceptible effect on the user, but so that the output signal of a microphone in the playback environment indicates the imposed gaps (e.g., so that the gaps can be utilized to implement a comprehensive listening method). By using imposed gaps introduced according to typical embodiments of the present invention, a comprehensive listening system can monitor non-playback sounds (e.g., sounds indicative of background activity and / or noise in the playback environment) even without using an acoustic echo canceller.
[0070] refer to Figure 4 and Figure 5 Next, examples of parametrically imposed gaps that can be inserted into a frequency band of an audio playback signal are described, as well as criteria for selecting parameters of such imposed gaps. The parametrically imposed gap is a playback content attenuation G using a frequency band attenuation whose profile in both time and frequency is similar to Figure 4 and Figure 5 The contour is shown. By Figure 4 ) and bandwidth B (also as Figure 4 The gap is imposed by applying an attenuation G to the playback signal over a frequency range (“band”) defined by , where the attenuation varies as a function of time at each frequency in the band (i.e., in each frequency bin within the band) with a profile similar to Figure 5 The maximum value of the attenuation G (as a function of the frequency across the band) can be controlled to increase from 0 dB (at the lowest frequency of the band) to the maximum attenuation (suppression depth) Z at the center frequency f0 (as shown in FIG. Figure 4 as shown), and decreases (as the frequency increases above the center frequency) to 0 dB (at the highest frequency of the band).
[0071] Figure 4 is a graph indicating the profile of a frequency band attenuation G as a function of frequency (i.e., frequency bins) that is applied to frequency components of an audio signal to impose gaps into the audio content of the signal in the frequency band. The audio signal may be a playback signal (e.g., a channel of a multi-channel playback signal), and the audio content may be playback content.
[0072] Figure 5 is the profile of the band attenuation G as a function of time, which is applied to the frequency component at the center frequency f0 to convert Figure 4The gaps indicated in are imposed on the audio content of the signal in the band. For every other frequency component in the band, the profile of the band gain as a function of time is similar to Figure 5 The outline shown is similar, but Figure 5 The suppression depth Z is replaced by the interpolated suppression depth kZ, where k is a factor ranging from 0 to 1 (as a function of frequency) such that kZ has Figure 4 For each frequency component, it is also from 0dB to the suppression depth kZ (for example, at the center frequency, such as Figure 5 As shown, k=1) interpolates the attenuation G (as a function of time), for example to reduce musical artifacts caused by the introduction of gaps. The three regions (time intervals) t1, t2 and t3 of this latter interpolation are shown in FIG. Figure 5 shown.
[0073] Therefore, when for a specific frequency band (i.e., a frequency band centered at the center frequency f0, such as Figure 4 When the gap imposition operation occurs (as shown in FIG. 1 ), the attenuation G applied to each frequency component in the frequency band (i.e., applied to each bin within the frequency band) follows the formula: Figure 5 The trace shown. Starting at 0 dB, the attenuation drops to a depth of -kZ dB in t1 seconds, remains at that depth for t2 seconds, and finally rises back to 0 dB in t3 seconds. The choice of the total time t1+t2+t3 should take into account the time resolution of any frequency transformation used to analyze the microphone feed, as well as a reasonable duration that is not too annoying to the user.
[0074] Typical embodiments of the present invention insert imposed gaps according to a predetermined, fixed band division structure that covers the full frequency spectrum of the audio playback signal and includes B 计数 frequency bands (of which B 计数 is the quantity, for example, B 计数=49). To impose a gap in any of the bands, a band attenuation is applied in the band. Specifically, for the jth band, an attenuation Gj is applied over the frequency region defined by the band. In determining the number of bands and the width of each band, a tradeoff exists between the perceptual impact (narrower bands with gaps are better because they typically have a smaller perceptual impact) and the usefulness of the gaps (wider bands with gaps are better for implementing noise estimation (and other comprehensive listening methods) and in all bands of the full spectrum, for example, in response to changes in background noise or playback environment conditions, reducing the time required to converge to a new noise estimate (or other values monitored by comprehensive listening) ("convergence" time)). If only a limited number of gaps can be imposed at a time, it takes longer to impose gaps sequentially in a large number of small bands (than to impose gaps sequentially in a smaller number of larger bands), resulting in a longer convergence time. Larger bands (with gaps) provide a lot of information about background noise (or other values monitored by comprehensive listening) at once, but have a larger perceptual impact.
[0075] Figure 6 The figure shows an example of a band division structure of a playback signal, where B 计数 Equal to 49, and with the center frequency of each of 25 of the 49 bands indicated along the horizontal axis, the band division structure has been determined to be a reasonable middle ground for the compromise described above. Figure 6 Each frequency band of the structure has a predetermined gap associated with it, where the maximum suppression depth of the gap (in each bin within the frequency band) is given by Figure 6 The degree of darkness in the figure at the right side of is indicated (in a manner explained below). Figure 6 The widths of the frequency bands are chosen to increase logarithmically with frequency (as with critical bands), and the widths of the imposed gaps in each band (and the number of bins that are the centers of the imposed gaps in each band) are also chosen to increase logarithmically with frequency. This facilitates interoperability with other components that operate in this region to perform perceptual audio processing. Following the critical band partitioning structure, the logarithmically distributed band partitioning structure makes efficient use of a smaller number of frequency bands. Figure 6 Within each frequency band (e.g., a band with a center frequency of 7109.4 Hz), there are 256 frequency bins (in Figure 6 For each bin, there is an associated suppression depth kZ, which is the maximum suppression applied to the playback content in such bin (as described above with reference to Figure 4 and Figure 5 described), where Z corresponds to Figure 5 where Z is the value in , and k is a scaling factor ranging from 0 to 1 as a function of the frequency of the bin within the relevant frequency band. For each bin within each frequency band, the scaling factor k is given by Figure 6 The degree of darkness in the graph on the right indicates that, therefore, the maximum scale factor k=1 of the frequency band with a center frequency of 7109.4 Hz appears in a relatively low frequency bin (in about the 70th bin), and the maximum scale factor k=1 of the frequency band with a center frequency of 17859.4 Hz appears in a relatively high frequency bin (in about the 180th bin).
[0076] When evaluating the introduction of imposed gaps in the frequency band of the playback content (refer to Figure 4 and Figure 5 When considering the perceptual impact of the type of imposed gap discussed above, for each frequency band, referring to the three timing parameters t1, t2, t3 and the depth Z discussed above and the number of frequency bands B 计数 In a typical embodiment of the present invention, these parameters have default values, as well as minimum and maximum values, as indicated in Table 1 below:
[0077] Table 1: Examples of parameters for imposing gaps in the frequency bands of the playback signal.
[0078]
[0079] Preferably, the imposed gap is inserted according to a predetermined band division structure (e.g. Figure 6 Each imposed gap (in the frequency band of the playback content) is introduced based on a discrete selection made by the band partitioning structure of the playback content and the selected time intervals at which the imposed gaps are to be inserted.
[0080] To implement the exemplary embodiment of the present invention, a group B of the playback signal should be 计数 The choice is made as to which discrete band(s) of the frequency bands to impose gap(s) in, and when each such gap should be imposed. Next, factors associated with this choice are discussed, including methods for quantifying and balancing:
[0081] 1. The need to impose a gap in the frequency band (sometimes referred to herein as the "urgency" factor); and
[0082] 2. The degree to which imposing a gap will have a perceptual impact (a factor sometimes referred to herein as "perceived degrees of freedom").
[0083] In some embodiments of the present invention, the B of the playback signal 计数 For each of the B bands, an urgency and perceptual freedom estimate is determined to attempt to insert an imposed gap in a manner that minimizes overall urgency and achieves an acceptably low (e.g., minimized) perceptual cost (e.g., in a non-optimal statistical sense). This can be implemented, for example, as follows. 计数 The discrete probability distribution P is defined over the possible outcomes (i.e., the probability that a choice B is chosen at a particular time).计数 The probability of each frequency band in each time interval w f Once, this distribution P is randomly sampled to select a set of values into which (within the corresponding time interval) an imposed gap is inserted (e.g., with the values as in reference Figure 4 , Figure 5 and Figure 6 By randomly selecting from the distribution, the perceptual impact of gaps can be reduced because less predictable and structured audio artifacts will result. The distribution P can be determined in any of a number of different ways. Preferably, the distribution P balances and prioritizes frequency bands that have a high need (urgency) for gaps to be imposed and have a low perceptual impact once imposed. For example, one such distribution is:
[0084] in,
[0085] P′ k =δ*U k +(1-δ)*F k ,
[0086] And among them, U k and F k are the values indicating the urgency and perceived freedom of the “k”th frequency band, P’ k is the (non-normalized) probability of selecting the “k”th frequency band, δ is a parameter indicating the relative importance of urgency and perceived freedom considerations, and the summation is performed over all frequency bands (such that P k is the P' of the "k"th frequency band k normalized version of ).
[0087] Figure 7 is a block diagram of a system configured to insert imposed gaps in an audio signal (sometimes referred to as an audio playback signal) by means of a total listening method (implemented by a total listening subsystem 71). The total listening subsystem 71 is sometimes referred to herein as a "total listener". Figure 7 An imposed gap imposing subsystem (imposed gap imposing device) 70 of the system is coupled and configured to insert imposed gaps in the audio playback signal. Typically, the audio playback signal includes K channels (each channel indicating a different playback content channel), where K is a positive integer, and the imposed gap imposing device 70 is configured to analyze the channels and impose gaps in one or more of the channels during each time interval in a series of time intervals. Thus, the K audio playback channels output from the imposed gap imposing subsystem 70 may have imposed gaps therein.
[0088] Each channel of the audio signal input to the imposed gap imposition subsystem 70 is indicative of audio content (sometimes referred to herein as media content or playback content), and is intended to undergo playback to generate sounds indicative of the audio content (in environment E). Each channel of the audio signal output from the imposed gap imposition subsystem 70 may be a speaker feed, or another element of the system may generate a speaker feed in response to each channel of the audio signal output from the imposed gap imposition subsystem 70. In the playback environment E, K speaker feeds are asserted to a speaker system S (comprising at least one speaker).
[0089] The omni-listening subsystem 71 (which, in some embodiments, is an omni-listening application running on a suitably programmed processor) is coupled and configured to monitor the playback environment E for sounds other than the playback sounds emitted from the speaker system S (responsive to speaker feeds) in the environment E ("non-playback" sounds). Specifically, a microphone M in the environment E captures sounds in the environment E and asserts a microphone output signal Mic indicative of the captured sounds to the omni-listening subsystem 71. The captured sounds include the playback sounds emitted from the speaker system S, as well as the non-playback sounds that may be or include background noise, and / or the voice of at least one human user L in the environment E (or other sounds indicative of the activity or mere presence of the at least one human user).
[0090] By monitoring the environment E for non-playback sounds revealed by imposed gaps (i.e., in frequency bands and time intervals corresponding to the imposed gaps) that have been inserted into the playback content in accordance with the present invention, the performance of the holistic listening subsystem 71 is improved relative to the performance that would be achieved without the insertion of the imposed gaps.
[0091] Optionally, the full listening subsystem 71 is coupled and further configured to generate an audio playback signal in response to at least one result of the monitoring performed by the full listening subsystem 71, the audio playback signal being input to the imposed gap applicator 70 (e.g., for the purpose of improving in some aspect the audio signal playback by the speaker system S). The full listening subsystem 71 may generate the audio playback signal by modifying the input audio playback signal (e.g., as will be described below). Figure 8 For example, in some embodiments, the full listening subsystem 71 is coupled and configured to perform processing (e.g., noise compensation) on an input audio signal (typically including K playback content channels) to generate an input to the imposed gap applier 70 (e.g., as described below). Figure 8The processed audio playback signal is provided to the imposed gap applier 70, and the output of the imposed gap applier is (or is used to generate) a set of K speaker feeds asserted to the speaker subsystem S.
[0092] A speaker system S (comprising at least one speaker) is coupled and configured to emit sound (in a playback environment E) in response to each speaker feed determined by the output of the imposed gap imposition subsystem 70. The output of the imposed gap imposition subsystem 70 may consist of a single playback channel or two or more playback channels. In typical operation, each speaker of the speaker system S receives a speaker feed of playback content of a different channel indicative of the output of the imposed gap imposition subsystem 70. In response, the speaker system S emits sound in the playback environment E. Typically, the sound is perceived by at least one user (L) present in the environment E.
[0093] Figure 7 The microphone output signal "Mic" is generated using a microphone M, which is present in the same acoustic space as the speaker system S ( Figure 7 environment E), and in which there is typically at least one user (human listener) L.
[0094] The full listening subsystem 71 is provided with a microphone output signal Mic. In response to the microphone output signal Mic, the full listening subsystem 71 monitors (or attempts to monitor) non-playback sounds in the environment E. Non-playback sounds are sounds other than sounds emitted by the speaker system S. For example, non-playback sounds may be background noise and / or sounds spoken by the user L (or sounds caused by the user's activities). The full listening subsystem 71 is also provided with K channels (which may include imposed gaps) output from the imposed gap application subsystem 70. The K channels provided to the full listening subsystem 71 are sometimes referred to herein as K channels of "echo references". Each echo reference channel may contain an imposed gap that has been automatically imposed therein by the imposed gap application subsystem 70 to help the full listening subsystem 71 perform its monitoring task.
[0095] In a typical embodiment, the imposed gap applier 70 inserts a gap in the audio playback signal in response to an urgency data value indicating the urgency of inserting the gap (in each of a plurality of frequency bands and in each of a series of time intervals). In some embodiments, the imposed gap applier 70 determines the urgency data value using a predetermined fixed estimate of the urgency for each of the frequency bands (e.g., as indicated by a probability distribution of the type described above) or an urgency estimate for each frequency band (in each of the time intervals) generated by the imposed gap applier 70 (e.g., based on the playback signal input to the imposed gap applier 70, and optionally also based on a history of imposed gap insertions by the imposed gap applier 70).
[0096] Figure 8 is a block diagram of another system configured to insert imposed gaps in an audio playback signal via an all-listening method (implemented by an all-listening subsystem 72). Figure 8 system and Figure 7 The system is the same as Figure 8 The comprehensive listening subsystem 72 (coupled as shown) replaces Figure 7 The full listening subsystem 71 is provided, and the full listening subsystem 72 generates a playback signal that is input to the imposed gap applier 70 (eg, by modifying an input audio playback signal provided as input to the full listening subsystem 72).
[0097] The holistic listening subsystem 72 (which, in some embodiments, is a holistic listening application running on a suitably programmed processor) is coupled and configured to monitor non-playback sounds in the playback environment E. Non-playback sounds are sounds in the environment E other than playback sounds emitted from the speaker system S (in response to asserting the speaker feed(s) to said speaker system S). Specifically, a microphone M in the environment E captures sounds in the environment E, and asserts a microphone output signal Mic indicative of the captured sounds to the holistic listening subsystem 72. The captured sounds include playback sounds emitted from the speaker system S, as well as non-playback sounds. Non-playback sounds may be or include background noise, and / or speech of at least one human user L in the environment E (or other sounds indicative of the activity or mere presence of said at least one human user L).
[0098] By monitoring the environment E for non-playback sounds revealed by imposed gaps (i.e., in frequency bands and time intervals corresponding to the imposed gaps) inserted into the playback content by the imposed gap application subsystem 70 in accordance with the present invention, the performance of the overall listening subsystem 72 is improved relative to the performance that would be obtained without the insertion of the imposed gaps.
[0099] The full listening subsystem 72 is also coupled and configured to perform audio signal processing (e.g., noise compensation) on the input audio signal (typically including K playback content channels) in response to at least one result of the monitoring performed by the full listening subsystem 72 to generate a processed audio playback signal (typically including K processed playback content channels) that is input to the imposed gap applier 70 (e.g., for the purpose of improving in some aspect the audio signal playback by the speaker system S). The processed audio playback signal is provided to the imposed gap applier 70, and the output of the imposed gap applier is (or is used to generate) a set of K speaker feeds asserted to the speaker subsystem S. An example of an implementation of the full listening subsystem 72 is the noise compensation subsystem 62 and the audio playback signal to be described below. Fig.11 A noise estimation subsystem 64 of the system.
[0100] Fig. 9 is a block diagram of another system configured to insert imposed gaps in an audio playback signal via an omni-listening method (implemented by omni-listening subsystem 73). Fig. 9 system and Figure 7 The system is the same as Fig. 9 The comprehensive listening subsystem 73 (coupled as shown) replaces Figure 7 Comprehensive listening subsystem 71.
[0101] exist Fig. 9 In the system, the imposed gap applier 70 operates in response to an urgency signal U asserted by the omni-listening subsystem 73 to the imposed gap applier 70, such that the omni-listening subsystem 73 controls the imposed gap insertion based on the need for gaps in the playback signal. It is expected that different implementations of the omni-listening subsystem 73 will have different requirements for the quality and quantity of gaps in the frequency band of the microphone output signal Mic. For example, in the case where the omni-listening subsystem 73 implements an omni-listening method that depends on the presence or absence of speech utterances of user L in the playback environment E, the omni-listening subsystem 73 will only be interested in gaps that occur within a typical speech frequency range. Typically, the urgency signal U indicates a series of urgency value sets [U0, U1, ...U N ], where N is a predetermined number of frequency bands (of the full frequency range of the playback signal) into which the imposed gap imposing subsystem 70 may insert imposed gaps (i.e., into which one imposed gap is inserted per frequency band), and U i is the urgency value for the "i"th frequency band in which the imposed gap imposing subsystem 70 may insert an imposed gap. The urgency values in each set of urgency values (corresponding to time) may be generated according to any embodiment of the inventive method for determining urgency, and indicate (by the imposed gap imposing subsystem 70) the urgency of inserting an imposed gap in the N frequency bands (at that time).
[0102] In some embodiments of the comprehensive listening subsystem 73, the urgency signal U indicates a fixed (time-invariant) set of urgency values [U0, U1, ... U2] determined by a probability distribution defining the probability of inserting a gap for each of the N frequency bands. N ]. Thus, in response to this fixed set of urgency values, the imposed gap imposition subsystem 70 operates to insert (on average) fewer imposed gaps in those frequency bands having lower urgency values (i.e., lower probability values determined by the probability distribution), and to insert (on average) more imposed gaps in those frequency bands having higher urgency values (i.e., higher probability values). In some embodiments of the comprehensive listening subsystem 73, the urgency signal U indicates a set of urgency values [U0, U1, ...U N ], for example, a different urgency value for each different time in the series. Each such set of different urgency values can be determined by a different probability distribution for each of the different times. Various examples of urgency signals U and urgency values indicated thereby are described in more detail below.
[0103] Figure 7 , Figure 8 and Fig. 9 Embodiments (for example, Figure 7 , Figure 8 and Fig. 9 Each of the comprehensive listening subsystems in the may (but is not required to) implement acoustic echo cancellation. Fig.10 is a block diagram of another system configured to insert imposed gaps in an audio playback signal via a total listening method (implemented by the total listening subsystem 76). Fig.10 system and Fig. 9 The system is the same as Fig.10 The comprehensive listening subsystem 76 (coupled as shown) replaces Fig. 9 A comprehensive listening subsystem 73, and Fig.10 Embodiments of the present invention include an echo cancellation subsystem (echo canceller) 74 that performs echo cancellation on the microphone output signal Mic, for example, to attempt to prevent unintentional echo from leaking through the system. The output of the imposed gap imposition subsystem 70 (which may include an imposed gap) is provided to the echo canceller 74 as an echo reference. In a typical implementation, the echo canceller 74 is configured as follows: Fig.12 Alternatively, the echo canceller 74 may be implemented in another (eg, conventional) manner.
[0104] Fig.11is a block diagram of a noise compensation system including a noise estimation subsystem (noise estimator) 64 , a noise compensation gain application subsystem (noise compensation subsystem) 62 , and an imposed gap application subsystem (imposed gap applicator) 70 . Fig.11 The system is described above Figure 8 An example of an embodiment of a system in which the noise compensation subsystem 62 is Fig.11 The noise estimator 64 corresponds to (and implements) Figure 8 The overall listening subsystem 72 of the present invention is configured to provide an urgency signal U to the imposed gap applicator 70, and the noise estimator 64 is configured to provide an urgency signal U to the imposed gap applicator 70. The urgency signal U may be the urgency signal U of the above reference Fig. 9 Any type mentioned or described elsewhere in this document. Fig.11 In the system, the imposed gap application subsystem 70 operates in response to the urgency signal U so that the noise estimator 64 controls the imposed gap insertion based on the need for gaps in the playback signal.
[0105] Noise compensation systems (e.g. Fig.11 Noise compensation systems (such as those described in U.S. Provisional Patent Application No. 62 / 663,302, referenced above) can work in the presence of weak or absent echo cancellation, but can suffer from content-dependent response times, especially in the case of music, television, and movie content. The time it takes for the noise compensation system to respond to changes in the background noise profile in the playback environment is critical to the user experience, more so than the accuracy of the actual noise estimate. When the playback content provides few or no gaps that provide a glimpse of the background noise, the noise estimate will remain fixed even when noise conditions change. While interpolating and imputing missing values in the noise estimate spectrum typically helps, it is still possible for large regions of the noise estimate spectrum to be locked and become stale.
[0106] Fig.11An exemplary embodiment of the imposed gap applier 70 of the system is operable to provide imposed gaps (in the playback signal) that occur frequently enough (in each frequency band of interest at the output of the imposed gap applier 70) so that the background noise estimate (by the noise estimator 64) can be updated frequently enough to respond to typical changes in the profile of the background noise N in the playback environment E. The imposed gap applier subsystem 70 is configured to introduce imposed gaps in the compensated audio playback signal (having K channels, where K is a positive integer) output from the noise compensation subsystem 62. The noise estimator 64 is configured to search for gaps (including imposed gaps inserted by the imposed gap applier subsystem 70) in each channel of the compensated audio playback signal and generate noise estimates for the frequency bands (and in the time intervals) where the gaps occur. The noise estimator 64 is also configured to use the resulting information about the detected gaps to generate (and assert to the imposed gap imposing subsystem 63) an urgency signal whose urgency value tracks the urgency of inserting imposed gaps in the frequency band of the compensated audio playback signal.
[0107] Without the imposed gap applying subsystem 70, Fig.11 The system is similar to conventional noise compensation systems (e.g. Figure 1 A system) is provided in which a noise estimator 64 accepts a microphone feed Mic (the output of a microphone M in a playback environment E) and a reference of a compensated audio playback signal (the input of a speaker system S in the playback environment E). The noise estimate generated in the noise estimation subsystem 64 is provided to a noise compensation subsystem 62, which applies a compensation gain to the input playback signal 23 (from a content source 22) to flatten each frequency band thereof to a desired playback level. The noise compensated audio playback signal (output from the noise compensation subsystem 62) and the urgency metric for each frequency band (indicated by an urgency signal output by the noise estimation subsystem 64) are provided to an imposed gap applicator 70, which imposes gaps in the compensated playback signal (preferably according to an optimization process). Speaker feed(s) are provided to each speaker of the speaker system S, each speaker feed indicating the content of a different channel of the noise compensated playback signal (output from the imposed gap applicator 70).
[0108] although Fig.11 Some embodiments of the system may perform echo cancellation as an element of the noise estimation performed by the system (e.g., Fig.12 26, 32, 34 and 35), but Fig.11 Other embodiments of the system do not perform echo cancellation. Fig.11 The elements for implementing echo cancellation are not specifically shown.
[0109] exist Fig.11 A typical implementation of the time domain to frequency domain (and / or frequency domain to time domain) transform of the signal is not shown, but for convenience, applying the noise compensation gain (in the noise compensation subsystem 62), analyzing the content for gap imposition (in the noise estimator 64 and / or the imposed gap applier 70), and inserting the imposed gap (by the imposed gap applier 70) are typically implemented in the same transform domain, where the resulting output audio is resynthesized into PCM (time domain) audio prior to playback or further encoding for transmission.
[0110] By using the imposed gap applicator 70, the amount of gap that would occur without the imposed gap applicator 70 is typically increased (from Fig.11 The number of gaps in each channel of the compensated playback signal (output by the noise compensation subsystem 62 of the system) is used to significantly reduce the noise caused by Fig.11 The need for any echo canceller implemented by the system is reduced, and in some cases even the need for echo cancellation is eliminated entirely.
[0111] exist Figures 7 to 11 In any of the systems of FIG. 1 , simple post-processing circuits such as time domain peak limiting or speaker protection may be implemented between the imposed gap applicator 70 and the speaker system S. However, post-processing with the ability to boost and compress the speaker feed has the potential to eliminate or degrade the quality of the imposed gap inserted by the imposed gap applicator, and therefore, these types of post-processing are preferably implemented at some point in the signal processing path before the imposed gap applicator 70.
[0112] Next describe Fig.12 , Fig.12 yes Fig.11 A more detailed block diagram of an example implementation of a system. Fig.12 The system is configured to generate an estimate of background noise in a playback environment E and to perform noise compensation on an input audio signal using the noise estimate. Fig.13 yes Fig.12 0046 is a block diagram of an example of an implementation of the noise estimation subsystem 37.
[0113] Fig.12 The noise estimation subsystem 37 is configured to generate an estimate of the background noise in the playback environment E (typically a series of noise estimates, each corresponding to a different time interval). Fig.12The system also includes a noise compensation subsystem 62 that is coupled and configured to noise compensate an input audio signal 23 (from a source 22) using a noise estimate output from the noise estimation subsystem 37 (or a post-processed version of such a noise estimate output from the post-processing subsystem 39 in the event that the post-processing subsystem 39 operates to modify the noise estimate output from the noise estimation subsystem 37) to generate a noise compensated version (playback signal 25) of the input signal 23. An imposed gap imposing subsystem 70 is configured to (in response to an urgency signal U provided thereto from the noise estimation subsystem 37) insert an imposed gap into the output of the noise compensation subsystem 62, thereby generating a playback signal 25 (each channel of which may have an imposed gap inserted therein).
[0114] Fig.12 The imposed gap applying subsystem 70 and Fig.11 The imposed gap applying subsystem 70 is identical to and has been referenced to Fig.11 The operation of the noise compensation subsystem 62 is described. Fig.12 The urgency signal U and Fig.11 The urgency signal U is the same as Fig.12 The noise estimation subsystem 37 may be configured to generate an urgency signal in any of the manners described herein (e.g., Fig.11 The noise compensation subsystem 62 can be configured to generate the urgency signal U in any of the ways described above.
[0115] Fig.12 The noise compensation subsystem 62 and Fig.11 The noise compensation subsystem 62 is the same as that of Fig.11 The operation of the noise compensation subsystem 62 is described.
[0116] Fig.12The system includes a content source 22, which is coupled and configured to output an audio signal 23 and provide the audio signal 23 to a noise compensation subsystem 62. The signal 23 indicates at least one channel of audio content (sometimes referred to herein as media content or playback content) and is intended to undergo playback to generate (in environment E) sounds indicative of each channel of the audio content. The audio signal 23 may be a speaker feed (or two or more speaker feeds in the case of multi-channel playback content), and the noise compensation subsystem 62 may be coupled and configured to apply noise compensation to each such speaker feed by adjusting the playback gain of the speaker feed. Alternatively, another element of the system may generate a speaker feed (or multiple speaker feeds) in response to the audio signal 23 (e.g., the noise compensation subsystem 62 may be coupled and configured to generate at least one speaker feed in response to the audio signal 23, and apply noise compensation to each speaker feed by adjusting the playback gain of the speaker feed so that the playback signal 25 consists of at least one noise-compensated speaker feed). Fig.12 In the operating mode of the system, the noise compensation subsystem 62 does not perform noise compensation, so that the audio content of the playback signal 25 is the same as the audio content of the signal 23 (except for the extent of any imposed gap modification inserted by the imposed gap application subsystem 70).
[0117] A speaker system S (comprising at least one speaker) is coupled and configured to emit sound (in a playback environment E) in response to a playback signal 25. The signal 25 may consist of a single playback channel, or may consist of two or more playback channels. In typical operation, each speaker of the speaker system S receives a speaker feed indicating playback content of a different channel of the signal 25. In response, the speaker system S emits sound (in the playback environment E) in response to the speaker feed(s). The sound is perceived by a user (human listener) L (in the environment E) as a noise-compensated version of the playback content of the input signal 23.
[0118] Next, refer to Fig.12 , describes embodiments of methods and systems for calculating a series of estimates of background noise levels for each of a plurality of different frequency bands of playback content. It should be understood that Fig.12 Elements (excluding playback environment E, speaker system S, microphone M, and user L) can be implemented in or as a processor, wherein those elements of such elements that perform signal (or data) processing operations (including those elements referred to herein as subsystems) are implemented in software, firmware, or hardware.
[0119] Microphone output signal (for example, Fig.12The signal "Mic") is generated by using the occupied Fig.12 The same acoustic space ( Fig.12 environment E) microphone (e.g. Fig.12 Two or more microphones may be used (e.g., their respective outputs combined) to generate the microphone output signal, and thus, the term "microphone" is used in this document in a broad sense to refer to a single microphone or two or more microphones operated to generate a single microphone output signal. The microphone output signal indicates the acoustic playback signal (from Fig.12 The playback content of the sound emitted by the speaker system S) and the competing background noise, and is transformed (e.g., by Fig.12 The time-frequency transform element 32 of FIG. 3 is converted into a frequency domain representation, thereby generating frequency domain microphone output data, and the frequency domain microphone output data is banded (for example, by Fig.12 33) into the power domain, thereby generating a microphone output value (e.g., Fig.12 For each frequency band, the calibration gain G is used to adjust the level of the corresponding value in the value (one of the values M') to produce the adjusted value M. The calibration gain G needs to be applied to correct the level difference in the digital playback signal (value S') and the digitized microphone output signal level (value M'). A method for automatically determining G (for each frequency band) by measurement is discussed below.
[0120] For each channel (e.g., Fig.12 The noise-compensated signal 25 of each channel is frequency-converted (e.g., by Fig.12 The frequency domain playback content data (of all channels) is downmixed (in the case where signal 25 comprises two or more channels) and the resulting single frequency domain playback content data stream is band-divided (e.g. by Fig.12 27, preferably using the same band splitting operation performed by element 33 to generate the value M') to produce the playback content value S' (e.g., Fig.12 The values S' should also be delayed in time (before these values are processed according to embodiments of the present invention) to take into account any latency in the hardware (e.g., due to A / D and D / A conversions). This adjustment may be considered a coarse adjustment.
[0121] Fig.12The system may include: an echo canceller 34, which is coupled as shown and configured to generate an echo-canceled noise estimate by echo-canceling the frequency domain values output from elements 26 and 32; and a band division subsystem 35, which is coupled and configured to frequency band-divide the echo-canceled noise estimate (residual value) output from the echo canceller 34 to generate band-divided echo-canceled noise estimate values M'res (including a value M'res for each frequency band).
[0122] In the case where signal 25 is a multi-channel signal (comprising Z playback channels), a typical implementation of echo canceller 34 receives (from element 26) a plurality of frequency domain playback content value streams (one stream per channel) and applies filter W′ to each playback channel. i (corresponding to Figure 2 In this case, the frequency domain representation of the microphone output signal Y can be expressed as W1X+W2X+...+W Z X+N, where each W i is the transfer function of a different speaker (the "i"th speaker) among the Z speakers. This embodiment of the echo canceller 34 subtracts each W' from the frequency domain representation of the microphone output signal Y. i X estimates (one estimate per channel) to generate Figure 2 A single echo-cancelled noise estimate (or "residual") value stream corresponding to the echo-cancelled noise estimate Y'.
[0123] Each adaptive filter used by the echo canceller 34 to generate the echo-cancelled noise estimate (ie, each adaptive filter implemented by the echo canceller 34, which corresponds to Figure 2 The filter coefficients of the filter W') are band divided in the band dividing element 36. The band divided filter coefficients are provided from element 36 to the subsystem 43 for use by the subsystem 43 to generate the gain value G for use by the noise estimation subsystem 37.
[0124] Optionally, the echo canceller 34 is omitted (or does not operate), and therefore no adaptive filter values are provided to the band division element 36, and no band-divided adaptive filter values are provided from 36 to the subsystem 43. In this case, the subsystem 43 generates the gain value G in one of the ways (described below) without using the band-divided adaptive filter values.
[0125] If an echo canceller is used (i.e., if Fig.12 The system includes and uses Fig.12 34 and 35), the residual value output from the echo canceller 34 is divided into bands (e.g., Fig.12The band division subsystem 35 of the embodiment of the present invention is used to generate the band-divided noise estimate values M'res. The calibration gain G (generated by the subsystem 43) is applied to the values M'res (i.e., the gain G includes a set of band-specific gains, one gain for each band, and each band-specific gain is applied to the values M'res in the corresponding band) to bring the signal (indicated by the values M'res) into the same level domain as the playback signal (indicated by the values S'). For each band, the calibration gain G is used to adjust the level of the corresponding value in the values M'res to generate the adjusted values Mres.
[0126] If no echo canceller is used (ie, if echo canceller 34 is omitted or not operating), then Fig.12 and Fig.13 In this case, the band-divided value M' (from element 33) is asserted as Fig.13 The input of the gain stage of 12 (instead of Fig.13 The values M'res shown and Fig.13 The input of the gain stage 11. Fig.13 The gain stage 12) applies the gain G to the value M' to generate the adjusted value M, and the adjusted value M (rather than Fig.13 The adjusted value Mres) shown is processed by the subsystem 20 (using the gap confidence value) in the same manner as (and not instead of) the adjusted value Mres to generate a noise estimate.
[0127] In a typical embodiment (including Fig.13 In the embodiment shown), the noise estimation subsystem 37 is configured to perform minimum value following on the playback content value S' to locate the gap in the adjusted version (Mres) of the noise estimate value M'res (i.e., the gap is determined by the adjusted version (Mres)). Preferably, this is done by setting the reference Fig.13 Described method to implement.
[0128] exist Fig.13 In the illustrated embodiment, the noise estimation subsystem 37 includes a pair of minimum followers (13 and 14) that both operate with analysis windows of the same size. Minimum follower 13 is coupled and configured to operate on the value S' to produce a value S indicating the minimum value of the value S' (in each analysis window). min The minimum follower 14 is coupled and configured to operate on the value Mres to produce a value M indicating a minimum value of the value Mres (in each analysis window). resminSince the values S', M, and Mres are at least approximately time-aligned (as indicated by comparison of the playback content value S' with the microphone output value M) in a gap in the playback content (e.g., an imposed gap inserted by imposed gap imposition subsystem 70), then:
[0129] A minimum in the value Mres (echo canceller residual) can be confidently considered to be indicative of a noise estimate in the playback environment; and
[0130] A minimum among the values M (microphone output signal) can be confidently considered to be indicative of a noise estimate in the playback environment.
[0131] At times other than during intermittent periods of playback content, the minimum in the value Mres (or value M) may not indicate an accurate estimate of the noise in the playback environment.
[0132] In response to the microphone output signal (M) and S min The sample aggregator subsystem 20 is configured to use M resmin The value of (or, in the absence of echo cancellation, the value of M) is used as a candidate noise estimate, and the gap confidence value (generated by subsystem 16) is used as an indication of the reliability of the candidate noise estimate.
[0133] More specifically, Fig.13 The sample aggregator subsystem 20 operates to aggregate candidate noise estimates (M resmin ) are combined together in a manner weighted by the gap confidence values (which have been generated in subsystem 16) so that for each analysis window (i.e., the analysis window of aggregator 20, which has Fig.13 The subsystem 20 generates a final noise estimate of the length τ2 indicated, wherein weighted candidate noise estimates corresponding to gap confidence values indicating low gap confidence are not weighted or are weighted less than weighted candidate noise estimates corresponding to gap confidence values indicating high gap confidence. Thus, the subsystem 20 uses the gap confidence values to output a series of noise estimates (a set of current noise estimates, including one noise estimate for each frequency band in each analysis window).
[0134] A simple example of subsystem 20 is a minimum follower (of gap confidence weighted samples), e.g., including candidate samples in the analysis window only if the associated gap confidence is above a predetermined threshold (M resmin The value of) is the minimum follower (that is, if the sample M resmin If the gap confidence of the sample M is equal to or greater than the threshold, the subsystem 20 assigns a weight of "1" to the sample M. resmin , and if the sample M resminIf the gap confidence of is less than the threshold, the subsystem 20 assigns the weight “zero” to the sample M. resmin Other embodiments of the subsystem 20 aggregate the gap confidence weighted samples (M) in other ways. resmin values, each of which is weighted by a corresponding gap confidence value in the gap confidence values in the analysis window) (e.g., determining an average of the gap confidence weighted samples or otherwise aggregating the gap confidence weighted samples). An exemplary embodiment of the subsystem 20 for aggregating gap confidence weighted samples is (or includes) a linear interpolator / single-pole smoother whose update rate is controlled by the gap confidence values.
[0135] Subsystem 20 can be used to input samples (M resmin A strategy of ignoring gap confidence is adopted when the value of (is below the current noise estimate (determined by subsystem 20) in order to track the descent under noise conditions even if no gap is available.
[0136] Preferably, the subsystem 20 is configured to effectively maintain the noise estimate during intervals of low gap confidence until a new sampling opportunity determined by the gap confidence occurs. For example, in a preferred embodiment of the subsystem 20, when the subsystem 20 determines that the current noise estimate (in one analysis window) and then the gap confidence value (generated by the subsystem 16) indicates a low confidence that a gap exists in the playback content (e.g., the gap confidence value indicates a gap confidence below a predetermined threshold), the subsystem 20 continues to output the current noise estimate until the gap confidence value (in a new analysis window) indicates a higher confidence that a gap exists in the playback content (e.g., the gap confidence value indicates a gap confidence above a threshold), at which point the subsystem 20 generates (and outputs) an updated noise estimate. According to a preferred embodiment of the present invention, by using gap confidence values to generate noise estimates in this way (including by maintaining the noise estimate during intervals of low gap confidence until a new sampling opportunity determined by the gap confidence occurs), rather than relying solely on candidate noise estimate values output from the minimum follower 14 as a series of noise estimates (without determining and using gap confidence values) or generating noise estimates in other ways in a conventional manner, the lengths of all adopted minimum follower analysis windows (i.e., τ1, the analysis window length of each of the minimum followers 13 and 14, and τ2, the analysis window length of the aggregator 20 when the aggregator 20 is implemented as a minimum follower of gap confidence weighted samples) can be reduced by approximately one order of magnitude compared to conventional methods, thereby increasing the speed at which the noise estimation system can track noise conditions when gaps do exist.
[0137] As described herein, the noise estimator 37 is preferably also configured to generate and report (to the imposed gap applier 70) an urgency signal U indicative of an urgency value. Examples of such urgency signals (and the manner in which such examples may be generated) are described herein.
[0138] Reference again Fig.12 , describing in more detail an implementation of the noise estimation system ( Fig.12 ) as shown. As described above, noise compensation is performed on the playback content 23 using the noise estimate spectrum generated by the noise estimation subsystem 37 (by the noise compensation subsystem 62). The output of the noise compensation subsystem 62 is provided to the imposed gap applicator 70, which (in typical operation) inserts an imposed gap in each of its channels, thereby generating noise compensated playback content 25. The speaker feeds determined from the noise compensated playback content 25 are played to a human listener (e.g., user L) through a speaker system S in a playback environment E. The microphone M receives both the ambient (surrounding) noise and the playback content (echo) in the same acoustic environment (environment E) as the human listener.
[0139] The noise compensated playback content 25 is transformed (in element 26) and downmixed and band divided (in element 27) to produce the value S'. The microphone output signal is transformed (in element 32) and band divided (in element 33) to produce the value M'. If an echo canceller (34) is used, the residual signal (echo-canceled noise estimate) from the echo canceller is band divided (in element 35) to produce the value Mres'.
[0140] Subsystem 43 determines a calibration gain G (for each frequency band) based on a microphone-to-digital mapping that captures the level difference between the playback content (e.g., the output of the time-frequency domain transform element 26) and the playback content as received by the microphone at the point where it is tapped in the digital domain and provided to the noise estimator for each frequency band. Each set of current values of gain G is provided from subsystem 43 to noise estimator 37.
[0141] Subsystem 43 may access at least one of the following three data sources:
[0142] Factory preset gains (stored in memory 40);
[0143] the state of the gain G generated (by subsystem 43) (and stored in memory 41) during a previous session;
[0144] Where an AEC (e.g., echo canceller 34) is present and in use, the band-divided AEC filter coefficient energies (e.g., determining the AEC filter coefficients corresponding to the AEC implemented by the echo canceller) are Figure 2The energy of the adaptive filter of the filter W' by the band division element 36 is obtained by dividing the AEC filter coefficients by these bands (e.g., provided to Fig.12 The energy of subsystem 43 in the system) is used as an online estimate of the gain G.
[0145] If AEC is not used (for example, if the Fig.12 If the version of the system does not include the echo canceller 34 , the subsystem 43 generates the calibration gain G from the gain value in the memory 40 or 41 .
[0146] Thus, in some embodiments, subsystem 43 is configured such that Fig.12 The system performs self-calibration by determining calibration gains (e.g., based on the band-divided AEC filter coefficient energies provided by the band-dividing element 36) for the noise estimation subsystem 37 to apply to the playback signal, microphone output signals, and echo cancellation residual values to implement noise estimation.
[0147] Reference again Fig.12 , optionally post-processing (in a post-processing subsystem 39) the series of noise estimates produced by the noise estimator 37, including by performing one or more of the following operations on the series of noise estimates:
[0148] Perform imputation on missing noise estimates from the partially updated noise estimates;
[0149] constraining the shape of the current noise estimate to preserve sound quality; and
[0150] Constrain the absolute value of the current noise estimate.
[0151] The microphone-to-digital mapping performed by subsystem 43 to determine the gain value G captures the level difference between the playback content (e.g., the output of the time-frequency domain transform element 26) at the point (for each frequency band) that is tapped in the digital domain to be provided to the noise estimator and the playback content as received by the microphone. This mapping is primarily determined by the physical separation and characteristics of the speaker system and the microphone, and the electrical amplification gains used in the sound reproduction and microphone signal amplification.
[0152] In the most basic case, the microphone-to-digital mapping may be a pre-stored factory adjustment that may be measured during production design on a sample of devices, and then reused for all such devices being produced.
[0153] When using AEC (for example, Fig.12When using an echo canceller 34), more complex control of the microphone to digital mapping is possible. An online estimate of the gain G can be determined by taking the size of the adaptive filter coefficients (determined by the echo canceller) and band-splitting them together. For a sufficiently stable echo canceller design, and with sufficient smoothing of the estimated gain (G'), this online estimate can be as good as an off-line pre-prepared factory calibration. This makes it possible to use the estimated gain G' in place of the factory adjustment. Another benefit of calculating the estimated gain G' is that any deviations from the factory defaults for each device can be measured and taken into account.
[0154] Although the estimated gain G' can replace the factory-determined gain, a robust method for determining the gain G for each band (which combines the factory gain and the online estimated gain G') is as follows:
[0155] G = max(min(G′, F+L), FL)
[0156] Where F is the factory gain of the band, G' is the estimated gain of the band, and L is the maximum allowed deviation from the factory setting. All gains are in dB. If the value G' is outside the indicated range for a long time, it may indicate a hardware failure and the noise compensation system may decide to fall back to a safe behavior.
[0157] It is possible to use the embodiment according to the present invention (for example, by Fig.12 A series of noise estimates generated by the element 37 of the system (e.g., by Fig.12 A higher quality noise compensation experience can be maintained by post-processing steps performed by the element 39 of the system. For example, post-processing that forces the noise spectrum to conform to a specific shape in order to remove peaks can help prevent the compensation gain from distorting the sound quality of the playback content in an unpleasant way.
[0158] Aspects of some embodiments of the noise estimation method and system of the present invention are (e.g., by Fig.12 39 of the system, for example, implementing a missing value handling strategy to update old noise estimates that have become outdated (for some frequency bands) due to a lack of gaps in the playback content, even though noise estimates for other frequency bands have been adequately updated. In embodiments where a sufficient number of gaps (including imposed gaps inserted by operation of the imposed gap applier 70) are continuously available and frequency bands are rarely outdated, outdated missing value handling may not be necessary.
[0159] As described above, the operation of the imposed gap applier 70 may cause a sufficient number of gaps (including imposed gaps) to exist in the content 25 to allow implementation of Fig.12A version of the system that does not include an echo canceller. Removing the echo canceller from the noise compensation system desirably:
[0160] Saves a lot of development time, because echo cancellers require a lot of time and research to adjust to ensure cancellation performance and stability;
[0161] Savings in computational time, as large adaptive filter banks (used to implement echo cancellation) are typically resource intensive and often require high-precision algorithms to run; and
[0162] The need for shared clock domains and time alignment between the microphone signal and the playback audio signal is eliminated. Echo cancellation relies on both the playback signal and the recorded signal being synchronized on the same audio clock.
[0163] The noise estimator (eg, implemented in accordance with any exemplary embodiment of the present invention without echo cancellation) may run at an increased block rate / smaller FFT size to further save complexity. Echo cancellation performed in the frequency domain typically requires a narrow frequency resolution.
[0164] When echo cancellation is used to generate a noise estimate (including by inserting imposed gaps into the playback signal) in accordance with some embodiments of the present invention, the performance of the echo canceller can be reduced without impairing the user experience (when the user listens to noise-compensated playback content implemented using the noise estimate generated by such embodiments of the present invention), because the echo canceller only needs to perform enough cancellation to reveal the gaps (including imposed gaps) in the playback content, and does not need to maintain a high ERLE for playback content peaks ("ERLE" here refers to echo return loss enhancement, which is a measure of how much echo (in dB) is removed by the echo canceller).
[0165] Next, a method for determining an urgency value or a signal (U) indicative of an urgency value is described (which can be implemented in any of many different embodiments of the comprehensive listening method of the invention).
[0166] The urgency value of a frequency band indicates the need to impose a gap in the frequency band. Three methods for determining the urgency value U are proposed: k strategy, where U k represents the urgency of inserting an imposed gap in band k, and U represents a set of B 计数 A vector of urgency values for all bands in bands:
[0167] U=[U0,U1,U2,...].
[0168] The first strategy (sometimes referred to herein as Method 1) determines a fixed urgency value. This method is the simplest and simply allows the urgency vector U to be a predetermined fixed amount. When used with a fixed perceptual degrees of freedom measure, this can be used to implement a system that randomly inserts imposed gaps over time. Figure 7 or Figure 8 A system is sufficient to implement this method, since the method does not require a time-related urgency value to be supplied by a comprehensive listening application. Therefore:
[0169] U=[u0,u1,u2,...,u X ]
[0170] Where X = B 计数 , and every value u k (For k from k = 1 to k = B 计数 ) is the predetermined fixed urgency value of the "k" frequency band. k A setting of 1.0 will express an equal degree of urgency in all frequency bands.
[0171] The second strategy (sometimes referred to herein as Method 2) determines an urgency value that depends on the time that has passed since the previous gap occurred. Typically, it is expected that the urgency will gradually increase over time and return to a low urgency once an imposed gap or an existing gap results in an update to the overall listening results (e.g., an update to the background noise estimate).
[0172] Therefore, the urgency value U in each band (band k) k can be the number of seconds since a gap was seen (by the global listener) in band k. Thus:
[0173] U k (t) = min(tt g , U max )
[0174] where t g is the time when the last gap is seen for band k, and U max is a tuning parameter that limits the urgency to a maximum size. It should be noted that t g Can be updated based on the presence of gaps that initially existed in the playback content. Can be updated by (e.g., Figure 7 or Figure 8 of the system) by imposing a gap applicator or by (e.g., Fig. 9 , Fig.10 , Fig.11 or Fig.12A comprehensive listening subsystem (in a system) calculates urgency in this manner. If urgency is calculated by a comprehensive listening subsystem, then criteria for what is considered a gap may be more appropriate for the subsystem (compared to if urgency was determined externally). For example, in noise compensation, the current noise conditions in the playback environment determine what is considered a gap in the output playback signal. That is, the playback signal must be quieter when the environment in which the gap occurs is quiet than when the environment is noisier. Similarly, when implementing a comprehensive listening method that depends on the presence or absence of a user's voice utterance in the playback environment, urgency of frequency bands typically occupied by human speech will generally be more important.
[0175] The third strategy (sometimes referred to herein as Method 3) determines an event-based urgency value. In this context, "event-based" means relying on some event or activity (or need for information) that is external to the playback environment or that is detected or inferred to have occurred in the playback environment. The urgency determined by the comprehensive listening subsystem may change suddenly with the start of new user behavior or changes in playback environment conditions. For example, such changes may cause the comprehensive listener to urgently need to observe background activity in order to make a decision, or quickly adjust the playback experience to the new conditions, or implement changes in the overall urgency or the desired density and time between gaps in each frequency band. Table 2 below provides examples of multiple contexts and scenarios and corresponding event-based urgency changes:
[0176] Table 2
[0177]
[0178] The fourth strategy (sometimes referred to herein as Method 4) determines the urgency value using a combination of two or more of Methods 1, 2, and 3. For example, each of Methods 1, 2, and 3 can be combined into a joint strategy, represented by a general formula of the following type:
[0179] U k (t) = u k *min(tt g , U max )*V k
[0180] where u k is a fixed unitless weighting factor that controls the relative importance of each frequency band, V k is a scalar value that is adjusted in response to changes in context or user behavior that require a rapid change of urgency, and t is defined above. g and U max Typically, under normal operation, the value of V k Expected to remain at value 1.0.
[0181] Next, a method is described for determining perceptual degrees of freedom values (or signals indicative thereof) for use by an imposed gap applier to insert imposed gaps in a playback signal (which may be implemented in any of many different embodiments of the comprehensive listening method of the present invention).
[0182] In this context, "F" is defined as indicating the perceived degrees of freedom value f k , where each of such perceptual degrees of freedom values has a relatively large magnitude when the perceptual impact of imposing a gap in the corresponding frequency band k at a certain point in time is low, and each of such perceptual degrees of freedom values has a relatively small magnitude (less than the relatively large magnitude) when the perceptual impact of imposing a gap in the frequency band k at a certain point in time is high. For example, the perceptual degrees of freedom value f k It can be the inverse of the perceptual distortion introduced by the imposed gap in the "k"th frequency band.
[0183] The first strategy determines a fixed value for the perceived degrees of freedom. For example, "F" can be a predetermined fixed vector:
[0184] F=[f0,f1,f2,...,f X ]
[0185] Where X = B 计数 (the number of available frequency bands into which the imposed gaps can be inserted) and the value f k (For k between k=1 and k=B 计数 ) is a predetermined fixed perceptual degrees of freedom value for the “k” frequency band. Although for all f k , f k = 1.0 will treat all frequency bands equally (which means that in response to the same perceptual freedom value, the imposed gap will not be inserted preferentially in a particular one of the frequency bands), but in reality different frequency bands may have intrinsic differences in perceptual capabilities. In particular, gaps inserted in the frequency bands below 1 kHz and above 6 kHz may have a greater perceptual impact than gaps between these frequencies. A fixed perceptual freedom vector that takes this phenomenon into account may be effective in some implementations of imposed gap insertion.
[0186] The second strategy uses a perceptual masking curve to determine the perceptual freedom value. In this strategy, the imposed gaps inserted into the playback content stream can be considered a distortion. Selecting the frequency bins (or frequency bands) in which to place the distortion among a set of discrete frequency bins is also a problem encountered in the field of information hiding and lossy audio codecs. Those skilled in the art of information hiding and lossy audio compression will be familiar with the concept of perceptual masking curves. Such curves help indicate that human listeners cannot hear the distortion caused by the addition of noise.
[0187] There are many known methods for determining perceptual masking curves that utilize any number of psychoacoustic effects. For example, two such methods are frequency masking and time masking. Examples of these methods are described in Swanson, MD, Kobayashi, Mei and Tewfik, Ahmed (1998), Multimedia Data-Embedding and Watermarking Technologies, Proceedings of the IEEE, Vol. 86, No. 6, pp. 1064-1087.
[0188] To calculate f according to the second strategy k value, introducing a perceptual masking curve M, which has a span of B 计数 The discrete value of the frequency band. Fig.14 is an example of the current band-divided energy of playback content (curve E) and the perceptual masking curve (curve M) of the playback content, each curve being plotted as a function of energy in dB (indicated on the vertical axis) versus frequency band (indicated on the horizontal axis) for each of 49 exponentially spaced frequency bands (Band 0 to Band 48). Modifications of playback content in frequency bands where energy E is below masking curve M are perceptually less audible than frequency bands where energy E is above masking curve M. Therefore, the distance between the values of the curves (for the "k"th frequency band) is taken as the perceptual degree of freedom f of the "k"th frequency band. k :
[0189] f k =M k -E k .
[0190] Next, an example embodiment for determining a perceptual degree of freedom value based on a perceptual masking calculation is described. In the example, the energy of the playback content (E k )for:
[0191] E = [E0, E1, E2, ...], and
[0192] The purpose is to generate a masking threshold (M k ):
[0193] M = [M0, M1, M2, ...]
[0194] The perceptual degrees of freedom value f of the "k"th frequency band is k The difference M k -E k(for the "k"th band) is a value inversely proportional to the perceptibility of the imposed gap in the "k"th band. Here, the definition of the masking threshold does not guarantee the imperceptibility of the inserted imposed gap. It is well known how to use masking curves in scenarios where imperceptibility has been demonstrated and confirmed using controlled signals and conditions, however the calculation of perceptual freedom only requires that the curve be indicative of this, rather than normative.
[0195] Loud signals have the ability to mask quieter signals nearby in frequency, a phenomenon known as "frequency masking" (or "spectral masking" or "simultaneous masking"). In the example, the concept of frequency masking is applied to the band-divided energy E to determine the masking threshold M by expanding the energy according to the following algorithm k :
[0196] M0=E0,
[0197] M k =max(E k-1 *s k-1 , E k ) for frequency bands k=1, 2, ..., B 计数 -1, and
[0198] M k =max(M k+1 *s k+1 , M k ) for frequency band k = 0, 1, ..., B 计数 -2,
[0199] where the lines are executed sequentially (during each execution, M is updated k The value "k" in , and where s k is the expansion factor obtained from the psychoacoustic model. The expansion factor is typically proportional to the bandwidth of the corresponding frequency band. For logarithmically spaced frequency bands with increasing bandwidth, the following simple linear approximation is usually sufficient:
[0200] in
[0201]
[0202] The ability of playback of a loud signal to mask the playback of a quieter signal occurring shortly thereafter is a phenomenon known as "temporal masking". In an example, temporal masking is modeled by applying a decaying exponential to the band-divided energy. In an example, forward temporal masking is applied to determine the masking threshold M of the masking curve according to the following algorithm: k,t (for each curve for different values of time t), where M k,tis the masking threshold for band k of the curve for time t, the algorithm will truncate to the masking threshold M determined above k The exponential of each of the T previous values is applied to the model:
[0203] For each different frequency band index k,
[0204] where for each frequency band k, there are T entries for that frequency band (the value M for time t) k , and the value M for each of the T-1 previous times k ) takes a maximum value ("max()"). The parameter α in the above expression is the decay rate of the exponential, which will depend on the block rate / sampling rate of the system. A value α that achieves a decay rate of 0.1 dB / ms is a reasonable default value α.
[0205] The exemplary method of determining the masking threshold value optionally includes a step of enhancing the masking curve. In this step, the masking curve is enhanced (emphasized) to lift the curve upward for the low energy band, which generally gives good results when using the enhanced curve for inserting gaps. This last step is optional and is useful if the (non-enhanced) masking curve is too conservative for the application of the imposed gap. A typical implementation of the enhancement step is to increase each previously determined value M by 1. k Replaced with the following boost values:
[0206]
[0207] Next, typical aspects of probabilistically enforced gap insertion implemented according to some embodiments of the present invention are described.
[0208] Once the urgency and perceived freedom values have been calculated or otherwise determined, they are combined (in some embodiments that impose gap insertion) to form the discrete probability distribution P (described above):
[0209] P′ k =δ*U k +(1-δ)*F k
[0210]
[0211] The parameter δ controls the urgency (U k ) relative to the perceived degrees of freedom (F k ) This probability distribution is easy to adjust and control.
[0212] An example of an algorithm for selecting the frequency band of the playback signal in which to insert the imposed gap (using the probability distribution from the previous paragraph), in each analysis frame, is as follows:
[0213] 1. Calculate or otherwise determine the value U of the current analysis frame k and F k (Optionally, the limit value U k So that the value does not exceed the value Uma x );
[0214] 2. Calculate the value P (of distribution P) k , selecting (extracting) a frequency band from said values for imposed gap insertion; and
[0215] 3. If at least T has passed since the last gap was imposed p seconds, then
[0216] a. randomly draw N frequency bands from distribution P, and
[0217] b. Discard U k Below the threshold U min or F k Above threshold F min any frequency band, and
[0218] c. After step 3a and step 3b, start gap imposition in the remaining frequency bands.
[0219] By randomly selecting from the distribution P, structured patterns of gaps are avoided which would otherwise produce their own perceptible artifacts. Step 3b ultimately reduces the number of gaps actually produced, but has the important advantage of being very easy to adjust and highly connected to the perceptual cost of the system. The following table sets forth typical default values for the values of the parameters in the example method to optimize the overall distribution shape to have a reduced perceptible impact and a timely response to urgency.
[0220]
[0221] Next, refer to Fig.15 , describing embodiments of the imposed gap applicator of the present invention (e.g., Figure 7 , Figure 8 , Fig. 9 , Fig.10 , Fig.11 or Fig.12 Embodiment of the imposed gap applicator 70). Fig.15 As shown, Fig.15 is a block diagram of such an embodiment of an imposed gap applicator, the input to which is the K channels of the audio playback signal (eg, when Fig.15 System implementation Figure 8 The imposed gap applicator 70 has been Figure 8 The K channels output by the comprehensive listening subsystem 72). Fig.15 The system comprises a downmixing and band splitting subsystem 80 configured to downmix K input channels to a mono feed and to band split the mono feed so as to provide a set of B for the mono feed. 计数 The output of subsystem 80 is provided to a perceptual masking subsystem 81, which is configured to calculate a perceptual degrees of freedom signal F indicating the value of the playback energy for each time interval of each frequency band. 计数 The perceptual degrees of freedom value F for each frequency band k Subsystem 81 may be configured to determine the perceived degrees of freedom value F k , such that the perceived degrees of freedom value is any of the examples of perceived degrees of freedom values described herein.
[0222] The output of subsystem 81 is provided to a probability distribution subsystem 82, which is configured to determine a probability distribution P (e.g., a fixed, time-invariant distribution, or a distribution that is updated at times corresponding to different time intervals of the mono feed). Based on the probability distribution, a set of N frequency bands (e.g., a set of N frequency bands for each time interval of the mono feed) may be randomly drawn by subsystem 83 so that subsystem 84 may insert an imposed gap in each set of drawn frequency bands. Subsystem 82 is typically configured to generate (and optionally update, for each of a plurality of different time intervals of the mono feed) the probability distribution P so that it is a distribution of the following form (which is described above in the present disclosure):
[0223] in,
[0224] P′ k =δ*U k +(1-δ)*F k ,
[0225] And among them, F k is the perceived degree of freedom value determined by subsystem 81 (e.g., for the relevant time interval), U k is a value indicating the urgency of each frequency band (i.e., U k is the urgency value of the “k”th frequency band), P’ k is the (non-normalized) probability of selecting the “k”th frequency band, δ is a parameter indicating the relative importance of urgency and perceived freedom considerations, and is summed over all frequency bands (such that P k is the P' of the "k"th frequency band knormalized version of ).
[0226] In some embodiments, from an external source (e.g., Fig. 9 Comprehensive listening subsystem 73 or Fig.11 The noise estimation subsystem 64) provides an indication of the urgency value U to the subsystem 82 k The external source is typically a full listener (e.g., an intelligent voice assistant, a noise estimator, or a background activity classifier). Alternatively, the subsystem 82 is configured to determine the urgency value U k (eg, for a time interval of the playback signal), such that the urgency value is any example of an urgency value described herein. The subsystem 82 is configured to k and the perceived degrees of freedom F k The combination is performed to determine (and in some cases, update) the probability distribution P.
[0227] Subsystem 83 is coupled and configured to randomly select (extract) a set of N frequency bands (once for each time interval of the mono feed) from the probability distribution P (for the corresponding time intervals) determined by subsystem 82, and typically also to check that the frequency bands in each set of extracted frequency bands all satisfy a minimum requirement F (of the type described above). min and U min If the urgency value U corresponding to the extracted frequency band k Or the perceived degrees of freedom F k Does not meet minimum requirements F min and U min If the relevant requirements are not met, the frequency band is usually discarded (without inserting the imposed gap into it).
[0228] Subsystem 83 is configured to notify gap imposition subsystem 84 of each set of frequency bands in which an imposed gap is to be inserted (one set for each time interval of the mono feed determined by subsystem 80). In response to each such notification, subsystem 84 is configured to insert an imposed gap in each frequency band that has been notified (during the appropriate time interval). The insertion of each imposed gap includes the calculation of the imposed gap gains G to be applied, and the application of these gains to the K channels of playback content in the appropriate frequency bands and time intervals (for each channel), thereby inserting an imposed gap in each such channel where non-playback sound can be monitored during playback (by a full listener).
[0229] Next, typical imposed gap application system behavior is described assuming different choices of methods for determining urgency values (i.e., methods 1, 2, 3, and 4 described above) and different choices of methods for determining perceptual degrees of freedom values (i.e., methods for determining fixed perceptual degrees of freedom values described above, and methods for determining perceptual degrees of freedom values using at least one masking curve described above). Table 3 (shown below) compares typical behaviors of imposed gap application systems for indicated choices of methods for determining urgency and perceptual degrees of freedom values.
[0230] Table 3
[0231]
[0232] The following table describes aspects of different embodiments of imposed gap insertion that can rely on different types of masking to insert imposed gaps at low perceptual cost. These aspects include factors that can be used to shape and create perceptual masking curves for calculating perceptual degrees of freedom in some embodiments.
[0233]
[0234] Aspects of some embodiments of the invention include the following:
[0235] Methods and systems for inserting imposed sampling gaps into playback content without significant perceptual impact to the user for the purpose of improving the performance of a full listening approach (capturing both playback and non-playback sounds using a local microphone);
[0236] Methods and systems for inserting forced sampling gaps into playback content based on urgency or need;
[0237] Methods and systems for inserting imposed sampling gaps into playback content based on relative perceptual impact using masking curves;
[0238] Methods and systems for inserting an imposed sampling gap into playback content based on a balance between the relative perceptual impact of the gap insertion and the urgency of the gap insertion;
[0239] Methods and systems for inserting imposed sampling gaps into playback content for the purpose of improving performance of an overall listening approach (as opposed to barge-in ducking or pausing playback audio), whereby defining parameters of the imposed sampling gaps are determined in proportion to the duration over which components of a noise estimate are not updated, and / or whereby defining parameters of the imposed sampling gaps are determined by an optimization process that minimizes the perceptual impact of the imposed gaps by taking into account temporal and spatial proximity to the playback audio signal;
[0240] Methods and systems for extending noise compensation functionality by using imposed sampling gaps, whereby a trigger for imposing the presence of a gap in playback content is automatically linked to the duration elapsed since a component of the noise estimate has been updated, and / or whereby a trigger for imposing the presence of a gap in playback content is requested by an auxiliary device or user demand;
[0241] Methods and systems for extending noise compensation functionality and / or background sound perception, including by imposed gap insertion, using a perceptual model to implement the impact of imposed gap insertion, for example, balancing the need or desire for accumulation of inserted imposed gaps.
[0242] Next, a system of the present invention (eg, Fig.11 or Fig.12 An example of the operation of an embodiment of a system of FIG. 10 is provided. When a sampling gap is missing in the playback content, the system (e.g., Fig.11 When the noise estimate determined by the noise estimation subsystem 64) is stagnant, three situations may occur:
[0243] 1. Noise conditions improve and the estimate becomes sticky;
[0244] 2. The noise condition decreases and the estimate becomes sticky; or
[0245] 3. Noise conditions persist, and estimates stick.
[0246] In case 3 (when the noise condition persists), the system will continue to perform compensation in the previously determined manner, but since the system cannot distinguish this case from the other cases, the impact of the imposed gap during case 3 is taken into account.
[0247] Table 4 described below lists the evaluation of three cases where imposed gaps are introduced to combat stale noise estimates due to the lack of available sampling gaps in the playback content.
[0248] Table 4
[0249]
[0250] Case 1 and Case 2 are expected to be short-lived events, lasting only until the time it takes for the system to reconverge (with the inserted imposed gap) to reach an accurate noise estimate. Case 1 should reconverge quickly, because even a small gap will help the system find the increased noise conditions. Case 2 should also reconverge quickly due to the positive feedback in the compensation system (which favors lowering the noise estimate for stability considerations). Case 3 will be the stable state of the system as long as the content is dense and the gaps are insufficient. Therefore, for Case 3, the impact of the imposed gap on the audio quality should be considered primarily.
[0251] Table 4 shows the trend between urgency and the potential perceptibility of the imposed gap. Higher urgency generally implies that the system is struggling to hear the background conditions, so the signal-to-noise ratio (SNR) of the playback content is high. A higher SNR of the playback content to the background noise will provide less masking, increasing the chance that the imposed gap is more perceptible.
[0252] Exemplary embodiments of the method of the present invention include the following:
[0253] E1. A comprehensive listening method comprising the following steps:
[0254] inserting at least one gap into at least one selected frequency band of the audio playback signal to generate a modified playback signal;
[0255] generating a microphone output signal using a microphone in the playback environment during emission of sound in a playback environment in response to the modified playback signal, wherein the sound is indicative of playback content of the modified playback signal and the microphone output signal is indicative of non-playback sounds in the playback environment and the playback content; and
[0256] The playback environment is monitored for the non-playback sounds in response to the modified playback signal and the microphone output signal.
[0257] E2. A method as described in E1, wherein each of the gaps is inserted into a selected frequency band in a selected time interval of the audio playback signal in an attempt to make any artifacts produced by the insertion of the gaps in the sounds emitted in the playback environment in response to the modified playback signal have low perceptibility to users in the playback environment and high recognizability during the monitoring.
[0258] E3. A method as described in E1, wherein each of the gaps is inserted into a selected frequency band in a selected time interval of the audio playback signal so that the sounds emitted in the playback environment in response to the modified playback signal can be perceived by the user without any noticeable artifacts caused by the insertion of the gaps.
[0259] E4. A method as described in E1, wherein each of the gaps is inserted into a selected frequency band of the audio playback signal, and each of the selected frequency bands is determined by selecting from a set of frequency bands of the audio playback signal using a perceptual degrees of freedom value, wherein the perceptual degrees of freedom value indicates the expected perceptual effect of inserting a gap in each frequency band in the set of frequency bands.
[0260] E5. A method as described in E4, wherein the perceptual degrees of freedom values are determined based on at least one frequency masking consideration, so that when one of the perceptual degrees of freedom values is a near-peak of a near-peak band close to a peak energy band of the set of frequency bands, for frequency bands farther away from the peak energy band than the near-peak band, each of the perceptual degrees of freedom values indicates an expected perceptual effect greater than the near-peak.
[0261] E6. A method as described in E4, wherein the perceptual degrees of freedom values are determined based on at least one temporal masking consideration such that when the audio playback signal indicates at least one loud playback sound event, those perceptual degrees of freedom values for a first time interval of the audio playback signal occurring shortly after the loud playback sound event indicate a lower expected perceptual effect than those perceptual degrees of freedom values for a second time interval of the audio playback signal, wherein the second time interval is later than the first time interval.
[0262] E7. A method as described in E1, wherein the comprehensive listening method is a noise estimation method, the microphone output signal indicates background noise in the playback environment, and the monitoring includes generating an estimate of the background noise in the playback environment in response to the modified playback signal and the microphone output signal.
[0263] E8. The method of E1, wherein the monitoring comprises generating an estimate of at least one aspect of the non-playback sounds in the playback environment in response to the modified playback signal and the microphone output signal, and wherein the method further comprises the steps of:
[0264] The audio playback signal is generated responsive to the estimation of at least one aspect of the non-playback sounds in the playback environment.
[0265] E9. The method of E1, wherein each of the gaps is inserted into the playback signal based on a need for a gap in at least one frequency band of the playback signal.
[0266] E10. The method of E9, wherein each of the gaps is inserted into the playback signal in response to an urgency value indicating an urgency of inserting a gap in each of a set of frequency bands of the playback signal.
[0267] E11. A method as described in E9, wherein each gap is inserted into the playback signal in response to an urgency value indicating the urgency of inserting a gap in each of a set of frequency bands in the playback signal, and based on the expected perceptual effect of inserting a gap in each of the set of frequency bands in the playback signal.
[0268] E12. A method as described in E9, wherein an urgency value indicating the urgency of inserting a gap in each of a set of frequency bands of the playback signal is used in a manner that includes balancing the urgency of gap insertion and the expected perceptual effect, and each of the gaps is inserted into the playback signal based on the expected perceptual effect of inserting a gap in each of the set of frequency bands of the playback signal in at least one specific time interval of the playback signal.
[0269] E13. The method as described in E1, comprising the following steps:
[0270] determining a probability distribution indicating a probability of each frequency band in a set of frequency bands of the playback signal; and
[0271] At least one of the frequency bands in the group is randomly selected according to the probability distribution, and a gap is inserted in each of the at least one of the frequency bands.
[0272] E14. The method of E13, wherein the probability distribution is based on a need for a gap in each of the set of frequency bands of the playback signal.
[0273] E15. The method of E13, wherein the probability distribution is based on the need for a gap in each of the set of frequency bands of the playback signal and the expected perceptual effect of inserting the gap in each frequency band.
[0274] E16. The method as described in E1, comprising the following steps:
[0275] An urgency value is generated in response to the microphone output signal and the modified playback signal, wherein the urgency value indicates a need for a gap in each of a set of frequency bands of the playback signal, the need for a gap being based on a time that has elapsed since a previous gap occurred in each of the frequency bands, and wherein insertion of each gap into the playback signal is based at least in part on the urgency value.
[0276] E17. The method of E1, wherein monitoring the non-playback sound comprises generating a background noise estimate, wherein the method further comprises the following steps:
[0277] Generating the audio playback signal in response to the background estimate includes generating by performing noise compensation on an input audio signal in response to the background estimate.
[0278] E18. A system comprising:
[0279] a microphone positioned and configured to generate a microphone output signal during emission of sound in a playback environment, wherein the sound is indicative of playback content of the modified playback signal, and wherein the microphone output signal is indicative of non-playback sounds in the playback environment and the playback content;
[0280] an imposed gap application subsystem coupled to receive an audio playback signal and configured to insert at least one gap into at least one selected frequency band of the audio playback signal to generate the modified playback signal; and
[0281] A full-scale listening subsystem is coupled to receive the microphone output signal and the modified playback signal and is configured to monitor the non-playback sounds in the playback environment in response to the modified playback signal and the microphone output signal.
[0282] E19. A system as described in E18, wherein the imposed gap application subsystem is configured to insert each of the gaps into a selected frequency band in a selected time interval of the audio playback signal in an attempt to make any artifacts produced by the insertion of the gaps in sounds emitted in the playback environment in response to the modified playback signal have low perceptibility to a user in the playback environment and high recognizability during performance of the monitoring.
[0283] E20. A system as described in E18, wherein the imposed gap application subsystem is configured to insert each of the gaps into a selected frequency band of the audio playback signal, including performing the insertion by selecting each of the selected frequency bands from a set of frequency bands of the audio playback signal using a perceptual degrees of freedom value, wherein the perceptual degrees of freedom value indicates an expected perceptual effect of inserting a gap in each frequency band in the set of frequency bands.
[0284] E21. A system as described in E20, wherein the perceptual degrees of freedom value has been determined based on at least one frequency masking consideration.
[0285] E22. A system as described in E20, wherein the perceptual degree of freedom value has been determined based on at least one temporal masking consideration.
[0286] E23. The system of E18, wherein the microphone output signal is indicative of background noise in the playback environment, and the holistic listening subsystem is configured to generate an estimate of the background noise in the playback environment in response to the modified playback signal and the microphone output signal.
[0287] E24. The system of E18, wherein the comprehensive listening subsystem is coupled and configured to:
[0288] generating an estimate of at least one aspect of the non-playback sounds in the playback environment in response to the modified playback signal and the microphone output signal; and
[0289] The audio playback signal is generated in response to the estimation of at least one aspect of the non-playback sounds in the playback environment.
[0290] E25. The system of E18, wherein the imposed gap imposition subsystem is configured to insert each of the gaps into the playback signal based on a need for a gap in at least one frequency band of the playback signal.
[0291] E26. A system as described in E25, wherein the imposed gap application subsystem is configured to insert each gap into the playback signal in response to an urgency value indicating the urgency of inserting a gap in each of a set of frequency bands of the playback signal.
[0292] E27. A system as described in E25, wherein the imposed gap application subsystem is configured to respond to an urgency value indicating the urgency of inserting a gap in each of a set of frequency bands in the playback signal, and to insert each of the gaps into the playback signal based on an expected perceptual effect of inserting a gap in each of the set of frequency bands in the playback signal.
[0293] E28. A system as described in E25, wherein the imposed gap application subsystem is configured to use an urgency value indicating the urgency of inserting a gap in each of a set of frequency bands of the playback signal in a manner that includes balancing the urgency of gap insertion and the expected perceptual effect, and inserting each of the gaps into the playback signal based on the expected perceptual effect of inserting a gap in each of the set of frequency bands of the playback signal in at least one specific time interval of the playback signal.
[0294] E29. The system of E18, wherein the imposed gap applying subsystem is configured to:
[0295] determining a probability distribution indicating a probability of each frequency band in a set of frequency bands of the playback signal; and
[0296] At least one of the frequency bands in the group is randomly selected according to the probability distribution, and a gap is inserted in each of the at least one of the frequency bands.
[0297] E30. The system of E29, wherein the probability distribution is based on a need for a gap in each of the set of frequency bands of the playback signal.
[0298] E31. A system as described in E29, wherein the probability distribution is based on the need for a gap in each of the set of frequency bands of the playback signal and the expected perceptual effect of inserting the gap in each frequency band.
[0299] E32. The system of E18, wherein the comprehensive listening subsystem is configured to:
[0300] An urgency value is generated in response to the microphone output signal and the modified playback signal, wherein the urgency value indicates a need for a gap in each of a set of frequency bands of the playback signal, the need for a gap being based on a time that has elapsed since a previous gap occurred in each of the frequency bands, and wherein the imposed gap imposition subsystem is coupled to receive the urgency value and is configured to insert each of the gaps into the playback signal in a manner based at least in part on the urgency value.
[0301] E33. The system of E18, wherein the comprehensive listening subsystem is coupled and configured to:
[0302] monitoring the non-playback sounds, including by generating a background noise estimate, and
[0303] Generating the audio playback signal in response to the background estimate includes generating by performing noise compensation on an input audio signal in response to the background estimate.
[0304] Aspects of the invention include a system or device configured (e.g., programmed) to perform any embodiment of the method of the invention, and a tangible computer-readable medium (e.g., a disk) storing code for implementing any embodiment of the method of the invention or its steps. For example, the system of the invention may be or include a programmable general-purpose processor, digital signal processor, or microprocessor that is programmed and / or otherwise configured with software or firmware to perform any of a variety of operations on data, including embodiments of the method of the invention or its steps. Such a general-purpose processor may be or include a computer system that includes an input device, a memory, and a processing subsystem that is programmed (and / or otherwise configured) to perform embodiments of the method of the invention (or its steps) in response to data asserted thereto.
[0305] Some embodiments of the system of the present invention (e.g., Fig.15 Some embodiments of the system, or Fig.12 62, 70, 26, 27, 34, 32, 33, 35, 36, 37, 39 and 43 of the system, or Figure 7 The components 70 and 71 of the system, or Figure 8 The components 70 and 72 of the system, or Fig. 9 The components 70 and 73 of the system, or Fig.10 The system elements 70, 74 and 76 or Fig.11 The elements 62, 70 and 64 of the system of the present invention are implemented as a configurable (e.g., programmable) digital signal processor (DSP) that is configured (e.g., programmed and otherwise configured) to perform the desired processing on the (multiple) audio signals, including performing an embodiment of the method of the present invention. Alternatively, an embodiment of the system of the present invention (e.g., Fig.15 Some embodiments of the system, or Fig.12 62, 70, 26, 27, 34, 32, 33, 35, 36, 37, 39 and 43 of the system, or Figure 7 The components 70 and 71 of the system, or Figure 8 The components 70 and 72 of the system, or Fig. 9 The components 70 and 73 of the system, or Fig.10 The system elements 70, 74 and 76 or Fig.11 The elements 62, 70 and 64 of the system of the present invention are implemented as a general-purpose processor (e.g., a personal computer (PC) or other computer system or microprocessor, which may include an input device and a memory), which is programmed with software or firmware and / or otherwise configured to perform any of a variety of operations including embodiments of the method of the present invention. Alternatively, the elements of some embodiments of the system of the present invention are implemented as a general-purpose processor or DSP configured (e.g., programmed) to perform embodiments of the method of the present invention, and the system also includes other elements (e.g., one or more speakers and / or one or more microphones). A general-purpose processor configured to perform an embodiment of the method of the present invention will typically be coupled to an input device (e.g., a mouse and / or keyboard), a memory, and a display device.
[0306] Another aspect of the present invention is a computer-readable medium (e.g., a disk or other tangible storage medium) storing code for performing any embodiment of the method of the present invention or its steps (e.g., an encoder executable to perform any embodiment of the method of the present invention or its steps).
[0307] Although specific embodiments of the present invention and applications of the present invention have been described herein, it is clear to those skilled in the art that many changes may be made to the embodiments and applications described herein without departing from the scope of the present invention as described and claimed herein. It should be understood that although certain forms of the present invention have been shown and described, the present invention is not limited to the specific embodiments described and shown or the specific methods described.
Claims
1. A comprehensive listening approach, The following steps are involved: inserting at least one gap into at least one selected frequency band in a selected time interval of the audio playback signal to generate a modified playback signal; generating a microphone output signal using a microphone in the playback environment during emission of a sound in the playback environment in response to the modified playback signal, wherein the sound is indicative of playback content of the modified playback signal and the microphone output signal is indicative of non-playback sounds in the playback environment as well as the playback content; as well as The playback environment is monitored for the non-playback sounds in response to the modified playback signal and the microphone output signal.
2. The method according to claim 1, in, Each gap is inserted into a selected frequency band in the selected time interval of the audio playback signal in an attempt to make any artifacts resulting from the insertion of the gaps in sounds emitted in the playback environment in response to the modified playback signal have low perceptibility to a user in the playback environment and high recognizability during the monitoring of the non-playback sounds.
3. The method according to claim 1 or 2, in, Each gap is inserted into a selected frequency band in a selected time interval of the audio playback signal such that sounds emitted in the playback environment in response to the modified playback signal can be perceived by a user without any noticeable artifacts resulting from the insertion of the gaps.
4. The method according to claim 1 or 2, in, Each gap is inserted into a selected frequency band of the audio playback signal, and each of the selected frequency bands is determined by selection from a set of frequency bands of the audio playback signal implemented using a perceptual degrees of freedom value, wherein the perceptual degrees of freedom value indicates an expected perceptual effect of inserting a gap in each frequency band in the set of frequency bands.
5. The method according to claim 4, in, The perceptual degrees of freedom values are determined based on at least one frequency masking consideration such that when one of the perceptual degrees of freedom values is a near-peak of a near-peak band close to a peak energy band of the set of frequency bands, for frequency bands farther from the peak energy band than the near-peak band, each of the perceptual degrees of freedom values indicates an expected perceptual effect greater than that indicated by the near-peak.
6. The method according to claim 4, in, The perceptual degrees of freedom values are determined based on at least one temporal masking consideration such that, when the audio playback signal indicates at least one loud playback sound event, those perceptual degrees of freedom values for a first time interval of the audio playback signal occurring shortly after the loud playback sound event indicate a lower expected perceptual effect than those perceptual degrees of freedom values for a second time interval of the audio playback signal, wherein the second time interval is later than the first time interval.
7. The method according to claim 1 or 2, in, The comprehensive listening method is a noise estimation method, the microphone output signal is indicative of background noise in the playback environment, and the monitoring of the non-playback sounds comprises generating an estimate of the background noise in the playback environment in response to the modified playback signal and the microphone output signal.
8. The method according to claim 1 or 2, in, The monitoring of the non-playback sounds comprises generating an estimate of at least one aspect of the non-playback sounds in the playback environment in response to the modified playback signal and the microphone output signal, and wherein the method further comprises the steps of: The audio playback signal is generated responsive to the estimation of at least one aspect of the non-playback sounds in the playback environment.
9. The method according to claim 1 or 2, in, Each gap is inserted into the audio playback signal based on a need for a gap in at least one frequency band of the audio playback signal.
10. The method according to claim 9, in, Each gap is inserted into the audio playback signal in response to an urgency value indicating an urgency for inserting a gap in each of a set of frequency bands of the audio playback signal.
11. The method according to claim 9, in, In response to an urgency value indicating an urgency to insert a gap in each of a set of frequency bands of the audio playback signal, and based on an expected perceptual effect of inserting a gap in each of the set of frequency bands of the audio playback signal, each gap is inserted into the audio playback signal.
12. The method according to claim 9, in, An urgency value indicating the urgency of inserting a gap in each of a set of frequency bands of the audio playback signal is used in a manner that includes balancing the urgency of gap insertion and an expected perceptual effect, and each gap is inserted into the audio playback signal based on the expected perceptual effect of inserting a gap in each of the set of frequency bands of the audio playback signal in at least one time interval of the audio playback signal.
13. The method according to claim 1 or 2, The following steps are involved: determining a probability distribution indicating a probability of each frequency band in a set of frequency bands of the audio playback signal; as well as At least one of the frequency bands in the set of frequency bands is randomly selected according to the probability distribution, and a gap is inserted in each of the at least one of the frequency bands.
14. The method according to claim 13, in, The probability distribution is based on a need for a gap in each of the frequency bands in the set of frequency bands of the audio playback signal.
15. The method of claim 13, in, The probability distribution is based on a need for a gap in each of the set of frequency bands of the audio playback signal and an expected perceptual effect of inserting the gap.
16. The method according to claim 1 or 2, The following steps are involved: An urgency value is generated in response to the microphone output signal and the modified playback signal, wherein the urgency value indicates a need for a gap in each of a set of frequency bands of the audio playback signal, the need for a gap being based on a time that has elapsed since a previous gap occurred in each of the frequency bands, and wherein insertion of each gap into the audio playback signal is based at least in part on the urgency value.
17. The method according to claim 1 or 2, in, The monitoring of the non-playback sound comprises generating a background noise estimate, wherein the method further comprises the steps of: Generating the audio playback signal in response to the background noise estimate includes generating by performing noise compensation on an input audio signal in response to the background noise estimate.
18. A comprehensive listening system, include: a microphone positioned and configured to generate a microphone output signal during emission of sound in a playback environment, wherein the sound is indicative of playback content of the modified playback signal, and wherein the microphone output signal is indicative of non-playback sounds in the playback environment and the playback content; an imposed gap application subsystem coupled to receive an audio playback signal and configured to insert at least one gap into at least one selected frequency band in a selected time interval of the audio playback signal to generate the modified playback signal; and A full-scale listening subsystem is coupled to receive the microphone output signal and the modified playback signal and is configured to monitor the non-playback sounds in the playback environment in response to the modified playback signal and the microphone output signal.
19. The system of claim 18, in, The imposed gap application subsystem is configured to insert each gap into a selected frequency band in the selected time interval of the audio playback signal in an attempt to cause any artifacts resulting from the insertion of the gaps in sounds emitted in the playback environment in response to the modified playback signal to have low perceptibility to a user of the playback environment and high recognizability during the monitoring of the non-playback sounds.
20. The system of claim 18 or 19, in, The imposed gap application subsystem is configured to insert each gap into a selected frequency band of the audio playback signal, including performing the insertion by selecting each of the selected frequency bands from a set of frequency bands of the audio playback signal using a perceptual degrees of freedom value indicating an expected perceptual effect of inserting a gap in each frequency band in the set of frequency bands.
21. The system of claim 20, in, The perceptual degrees of freedom value has been determined based on at least one frequency masking consideration.
22. The system of claim 20, in, The perceptual degrees of freedom value has been determined based on at least one temporal masking consideration.
23. The system of claim 18 or 19, in, The microphone output signal is indicative of background noise in the playback environment, and the holistic listening subsystem is configured to generate an estimate of the background noise in the playback environment in response to the modified playback signal and the microphone output signal.
24. The system of claim 18 or 19, in, The comprehensive listening subsystem is coupled and configured to: generating an estimate of at least one aspect of the non-playback sounds in the playback environment in response to the modified playback signal and the microphone output signal; as well as The audio playback signal is generated in response to the estimation of at least one aspect of the non-playback sounds in the playback environment.
25. The system of claim 18 or 19, in, The imposed gap imposition subsystem is configured to insert each gap into the audio playback signal based on a need for a gap in at least one frequency band of the audio playback signal.
26. The system of claim 25, in, The imposed gap imposition subsystem is configured to insert each gap into the audio playback signal in response to an urgency value indicating an urgency of inserting a gap in each frequency band of a set of frequency bands of the audio playback signal.
27. The system of claim 25, in, The imposed gap imposition subsystem is configured to respond to an urgency value indicating an urgency for inserting a gap in each of a set of frequency bands of the audio playback signal, and to insert each gap into the audio playback signal based on an expected perceptual effect of inserting a gap in each of the set of frequency bands of the audio playback signal.
28. The system of claim 25, in, The imposed gap application subsystem is configured to use an urgency value indicating the urgency of inserting a gap in each of a set of frequency bands of the audio playback signal in a manner that includes balancing the urgency of gap insertion and an expected perceptual effect, and to insert each gap into the audio playback signal based on an expected perceptual effect of inserting a gap in each of the set of frequency bands of the audio playback signal in at least one time interval of the audio playback signal.
29. The system of claim 18 or 19, in, The imposed gap applying subsystem is configured to: determining a probability distribution indicating a probability of each frequency band in a set of frequency bands of the audio playback signal; as well as At least one of the frequency bands in the set of frequency bands is randomly selected according to the probability distribution, and a gap is inserted in each of the at least one of the frequency bands.
30. The system of claim 29, in, The probability distribution is based on a need for a gap in each of the frequency bands in the set of frequency bands of the audio playback signal.
31. The system of claim 29, in, The probability distribution is based on a need for a gap in each of the set of frequency bands of the audio playback signal and an expected perceptual effect of inserting the gap.
32. The system of claim 18 or 19, in, The comprehensive listening subsystem is configured to: An urgency value is generated in response to the microphone output signal and the modified playback signal, wherein the urgency value indicates a need for a gap in each of a set of frequency bands of the audio playback signal, the need for a gap being based on a time that has elapsed since a previous gap occurred in each of the frequency bands, and wherein the imposed gap imposition subsystem is coupled to receive the urgency value and is configured to insert each of the gaps into the audio playback signal in a manner based at least in part on the urgency value.
33. The system of claim 18 or 19, in, The comprehensive listening subsystem is coupled and configured to: monitoring the non-playback sounds, including by generating a background noise estimate, and Generating the audio playback signal in response to the background noise estimate includes generating by performing noise compensation on an input audio signal in response to the background noise estimate.
34. A computer-readable medium storing a program, the program comprising codes for executing the method according to any one of claims 1 to 17.
35. A computer program product comprising a program, the program comprising codes for executing the method according to any one of claims 1 to 17.
