1. Technical Field
This disclosure relates to speech and noise detection, and more particularly to, a system that interfaces one or more communication channels that are robust to network dropouts and temporary signal losses.
2. Related Art
Voice activity detection may separate speech from noise by comparing noise estimates to thresholds. A threshold may be established by monitoring minimum signal amplitudes.
When a signal is lost or a network drops a call, systems that track minimum amplitudes may falsely identify voice activity. In some situations, such as when a signal is conveyed through a downlink channel, false detections may result in unnecessary attenuation when parties speak simultaneously.
Voice activity detection is robust to a low and high signal-to-noise ratio speech and signal loss. The voice activity detector divides an aural signal into one or more spectral bands. Signal magnitudes of the frequency components and the respective noise components are estimated. A noise adaptation rate modifies estimates of noise components based on differences between the signal to the estimated noise and signal variability.
Other systems, methods, features, and advantages will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features, and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.
The system may be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like referenced numerals designate corresponding parts throughout the different views.
Speech may be detected by systems that process data that represent real world conditions such as sound. During a hands free call, some of these systems determine when a far-end party is speaking so that sound reflection or echo may be reduced. In some environments, an echo may be easily detected and dampened. If a downlink signal is present (known as a receive state Rx), and no one in a room is talking, the noise in the room may be estimated and an attenuated version of the noise may be transmitted across an uplink channel as comfort noise. The far end talker may not hear an echo.
When a near-end talker speaks, a noise reduced speech signal may be transmitted (known as a transmit state (Tx)) through an uplink channel. When parties speak simultaneously, signals may be transmitted and received (known as double-talk (DT)). During a DT event, it may be important to receive the near-side signal, and not transmit an echo from a far-side signal. When the magnitude of an echo is lower than the magnitude of the near-side speaker, an adaptive linear filter may dampen the undesired reflection (e.g., echo). However, when the magnitude of the echo is greater than the magnitude of the near-side speaker, by even as much as 20 dB (higher than the near-side speaker's magnitude), for example, then the echo reduction for a natural echo-free communication may not apply a linear adaptive filter, in these conditions, an echo cancellation process may apply a non-linear filter.
Just how much additional echo reduction may be required to substantially dampen an echo may depend on the ratio of the echo magnitude to a talker's magnitude and an adaptive filter's convergence or convergence rate. In some situations, the strength of an echo may be substantially dampened by a linear filter. A linear filter may minimize a near-side talker's speech degradation. In surroundings in which occupants move, a complete convergence of an adaptive filter may not occur due to the noise created by the speakers or listener's movement. Other system may continuously balance the aggressiveness of the nonlinear or residual echo suppressor with a linear filter.
When there is no near-side speech, residual echo suppression may be too aggressive. In some situations, an aggressive suppression may provide a benefit of responding to sudden room-response changes that may temporarily reduce the effectiveness of an adaptive linear filter. Without an aggressive suppression, echo, high-pitched sounds, and/or artifacts may be heard. However, if the near side speaker is speaking, there may be more benefits to applying less residual suppression so that the near-side speaker may be heard more clearly if there is a high confidence level that no far-side speech has been detected then a residual suppression may not be needed.
Identifying far-side speech may allow systems to convert voice into a format that may be transmitted and reconverted into sound signals that have a natural sounding quality. A voice activity decision, or VAD, may detect speech by setting or programming an absolute or dynamic threshold that is retained in a local or remote memory. When the threshold is met or exceeded, a VAD flag or marker may identify speech. When identifications fail, some failures may be caused by the low intensity of the speech signal, resulting in detection failures. When signal-to-noise ratios are high, failures may result in false detections.
Failures may transition from too many missed detections to too many false detections. False detections may occur when the noise and gain levels of the downlink signals are very dynamic, such as when a far-side speaker is speaking from a moving car. In some alternative systems, the noise detected within a downlink channel may be estimated. In these systems, a signal-to-noise ratio threshold may be compared. The systems may provide the benefit of providing more reliable voice decisions that are independent of measured or estimated amplitudes.
In some systems that process noise estimates, such as VAD systems, assumptions may be violated. Violation may occur in communications systems rind networks. Some systems may assume that if a signal level falls below a current noise estimate then the current estimate may be too high. When a recording from a microphone falls below a current noise estimate, then the noise estimate may not be accurate. Because signal and noise levels add, in some conditions the magnitude of a noisy signal may not fall below a noise, regardless of how it may be measured.
In some systems, a noise estimate may track a floor or minimum over time and a noise estimate may be set to a smoothed multiple of that minimum. A downlink signal may be subject to significant amount of processing along a communication channel from its source to the downlink output. Because of this processing, the assumption that the noise may track a floor or minimum may be violated.
In a use-case, the downlink signal may be temporarily lost due to dropped packets that may be caused by a weak channel connection (e.g., a lost Bluetooth link), poor network reception, or interference. Similarly, short losses may be caused by processor under-runs, processor overruns, wiring faults, and/or other causes. In another use-case, the downlink signal may be gated. This may happen in GSM and CDMA networks, where silence is detected and comfort noise is inserted. When a far-end is noisy, which may occur when a far-end caller is traveling, the periods of comfort noise may not match (e.g., may be significantly lower in amplitude) the processed noise sent during a Tx mode or the noise that is detected in speech intervals. A noise estimate that falls during these periods of dropped or gated silence may fail to estimate the actual noise, resulting in a significant underestimate of the noise level.
In some systems, a noise estimate that is continually driven below the actual noise that accompanies a signal may cause a VAD system to falsely identify the end of such gated or dropout periods as speech. With the noise estimate programmed to such a low level, the detection of actual speech (e.g., when the signal returns) may also cause a VAD system to identify the signal as speech (e.g., set a VAD flag or marker to a true state). Depending on the duration and level of each dropout, the result may be extended periods of false detection that may adversely affect call quality.
To improve call quality and speech detection, some system may not detect speech by deriving only a noise estimate or by tracking only a noise floor. These system may process many factors (e.g., two or more) to adapt or derive a noise estimate. The factors may be robust and adaptable to many net work-related processes. When two or more frequency hands are processed, the systems may adapt or derive noise estimates for each band by processing identical factors (e.g., as in
The signal received from the far side may be the downlink signal. The downlink signal may be heard by the near side when transformed through a speaker into audible sound. An exemplary downlink process is shown in
In
A DC bias may be removed or substantially dampened by a DC filtering process at optional 305. A DC bias may not be common, but nevertheless if it occurs, the him may be substantially removed or dampened. In
Xi′=Xi−DCi (1)
DCi=β*Xi* (2)
When β has a small, predetermined value (e.g., about 0.007), the DC bias may be substantially removed or dampened within a predetermined interval (e.g., about 50 ms). This may occur at a predetermined sampling rate (e.g., from about 8 kHz to about 48 kHz that may leave frequency components greater than about 50 Hz unaffected). The filtering process may be carried out through three or more operations. Additional operations may is be executed to avoid an overflow of a 16 bit range.
The input signal may be undivided (e.g., maintain a common hand) or divided into two, or more frequency bands (e.g., from 1 to N). When the signal is not divided the system may de-color the noise by filtering the signal through a low order Linear Predicative Coding filter or another filter to whiten the signal and normalize the noise to a white noise band. When filtered, some systems may not divide the signal into multiple bands, as any speech component regardless of frequency would exceed the detected noise. When an input signal is divided, the system may adapt or derive noise estimates tot each band by processing identical factors for each band (e.g., as in
In
At 315 the magnitudes of the low and high frequency bands are estimated. A root mean square of the filtered time series in each band may estimate the magnitude. Alternative processes may convert an output to fixed-point magnitude in each band Mb that may be computed from an average absolute value of each PCM value in each band Xi(3).
Mb=1/N*Σ|Xbi| (3)
In equation 3, N comprises the number of samples in one frame or block of PCM data (e.g., N may 64 or another non-zero number). The magnitude may be converted (though not required) to the log domain to facilitate other calculations. The calculations that may occur after 315 may be derived from the magnitude estimates on a frame-by-frame basis. Some processes do not can out further calculations on the PCM value.
At 325 the noise estimate adaptation may occur quickly at the initial segment of the PCM stream. One method may adapt the noise estimate by programming an initial noise estimate to the magnitude of a of initial frames (e.g., the first few frames) and then for a short period of time (e.g., a predetermined amount such as about 200 ms) a leaky-integrator or IIR may adapt to the magnitude:
N′b=Nb+Nβ*(Mb−Nb) (4)
In equation 4, Mb and Nb are the magnitude and noise estimates respectively for band b (low or high) and Nβ is an adaptation rate chosen for quick adaptation.
When an initial state 320 has passed, the SNR of each band may be estimated at 330. This may occur through a subtraction of the noise estimate from the magnitude estimate, both of which are in dB:
SNRb=Mb−Mb (5)
Alternatively, the SNR may be obtained by dividing the magnitude by the noise estimate if both are in the power domain. At 330 the temporal variance of the signal is measured or estimated. Noise may be considered to vary smoothly over time, whereas speech and other transient portions may change quickly over time.
The variability at 330 may be the average squared deviation of a measure Xi from the mean of a set of measures. The mean may be obtained by smoothly and constantly adapting another noise estimate, such as a shadow noise estimate, over time. The shadow noise estimate (SNb) may be derived through a leaky integrator with different nine constants Sβ for rise and fall adaptation rates:
SN′b=SNb+Sβ*(Mb−SNb) )6)
where Sβ is lower when Mb>SNb than when Mb<SNb, and Sβ also varies with the sample rate to give equivalent adaptation time at different sample rates.
The variability at 330 may be derived through equation 6 by obtaining the absolute value of the deviation Δb of the current magnitude Mb from the shadow noise SNb:
Δb=|Mb−SNb| (7)
and then temporally smoothing this again with different time constants for rise and fall adaptation, rates:
V′b=Vb+Vβ3*(Δb−Vb) (8)
where Vβ is higher (e.g., 1.0) when Δb>Vb than when Δb<Vb, and also varies with the sample rate to give equivalent adaptation time at different sample rates.
Noise estimates may be adapted differentially depending on whether the current signal is above or below the noise estimate. Speech signals and other temporally transient events may be expected to rise above the current noise estimate. Signal loss, such as network dropouts (cellular, bluetooth, VoIP, wireless, or other platform or protocols), or off-states, where comfort noise is transmitted, may be expected to fall below the current noise estimate. Because the source of these deviations from the noise estimates may be different, the way in which the noise estimate adapts may also be different.
At 340 the process determines whether the current magnitude is above or below the current noise estimate. Thereafter, an adaptation rate α is chosen by processing one two or more factors. Unless modified, each factor may be programmed to a default value of 1 or about 1.
Because the process of
A factor that may modify the base adaptation rate may describe how different the signal is from the noise estimate. Noise may be expected to vary smoothly over time, so any large and instantaneous deviations in a suspected noise signal may not likely be noise. In some processes, the greater the deviation, the slower the adaptation rate. Within some thresholds θδ (e.g., 2 dB) the noise may adapt at the base rate α, but as the SNR exceeds θδ, the distance factor at 350, δfb may comprise an inverse function of the SNR:
At 355, a variability factor may modify the base adaptation rate. Like the distance factor, the noise may be expected to vary at a predetermined small amount (e.g., +/−3 dB) or rate and the noise may be expected to adapt quickly. But when variation is high the probability of the signal being noise is very low, and therefore the adaptation rate may be expected to slow. Within some thresholds θω (e.g., 3 dB) the noise may be expected to adapt at the base rate α, but as the variability exceeds θω, the variability factor, ωfb may comprise an inverse function of the variability Vb:
The variability factor may be used to slow down the adaptation rate during speech, and may also be used to speed up the adaptation rate when the signal is much higher than the noise estimate, but may be nevertheless stable and unchanging. This may occur when there is a sudden increase in noise. The change may be sudden and/or dramatic, but once it occurs, it may be stable. In this situation, the SNR may still be high and the distance factor at 350 may attempt to reduce adaptation, but the variability will be low so the variability factor at 355 may offset the distance factor (at 350) and speed up the adaptation rate. Two thresholds may be used: one for the numerator nθω and one for the denominator dθω:
So, if nθω is set to a predetermined value (e.g., about 3 dB) and dθω is set to a predetermined value (e.g., about 0.5 dB) then when the variability is very low, e.g., 0.5 dB, then the variability factor ωfb may be about 6. So if noise increases about 10 dB, in this example, then the distance factor δfb would be 2/10=0.2, but when stable, the variability factor ωfb would be about 6, resulting in a fast adaptation rate increase (e.g., of 6×0.2=1.2× the base adaptation rate α).
A more robust variability factor 355 for adaptation within each band may use the maximum variability across two (or more) bands. The modified adaptation rise rate across multiple bands may be generated according to:
α′b=αb×ωfb×δfb (12)
In some processes (and systems), the adaptation rate may be clamped to smooth the resulting noise estimate and prevent overshooting the signal. In some processes (and systems), the adaptation rate is prevented from exceeding some predetermined default value (e.g., 1 dB per frame) and may be prevented from exceeding some percentage of the current SNR, (e.g., 25%).
When noise is estimated from a microphone or receiver signal, a process may adapt down faster than adapting upward because a noisy speech signal may not be less than the actual noise at 360. However, when estimating noise within a downlink signal this may not be the case. There may be situations where the signal drops well below a true noise level (e.g., a signal drop out). In those situations, especially in a downlink processes, the process may not properly differentiate between speech and noise.
In some processes (and systems), the fall adaptation value may be programmed to a high value, but not as high as the rise adaptation value. In other processes, this difference may not be necessary. The base adaptation rate may be attenuated by other factors of the signal. An exemplary value of about −0.25 dB/frame at about 8 kHz may be chosen as the base adaptation rate when the noise falls.
A factor that may modify the base adaptation rate is just how different the signal is from the noise estimate. Noise may be expected to vary smoothly over time, so any large and instantaneous deviations in a suspected noise signal may not likely be noise. In some applications, the greater the deviation, the slower the adaptation rate. Within some threshold θδ (e.g., 3 dB) below, the noise may be expected to adapt at the base rate α, but as the SNR (now negative) falls below −θδ, the distance factor at 365, δfb is an inverse function of the SNR:
Unlike a situation when the SNR is positive, there may be conditions when the signal falls to an extremely low value, one that may not Occur frequently. If the input to a system is analog then it may be unlikely that a frame with pure zeros will occur under normal circumstances. Pure zero frames may occur under some circumstances such as bullet underruns or overrruns, overloaded processors, application errors and other conditions. Even if an analog signal is grounded there, may be electrical noise and come minimal signal level may occur.
Near zero (e.g., +/−1) signals may be unlikely under normal circumstances. A normal speech signal received on a downlink may have some level of noise during speech segments. Values approaching zero may likely represent an abnormal event such as a signal dropout or a gated signal from a network or codec. Rather than speed up the adaptation rate when the signal is received, the process (or system) may slow the adaptation rate to the extent that the signal approaches zero.
A predetermined or programmable signal level threshold may be set below which adaptation rate slows and continues to slow exponentially as it nears zero at 370. In some exemplary processes and systems this threshold θπ may be set to about 18 dB, which may represent signal amplitudes of about +/−8, or the lowest 3 bits of a 16 bit PCM value. A poor signal factor πfb (at 370), if less than θπ may be set equal to:
where Mb is the current magnitude in dB. Thus, if the exemplary magnitude is about 18 dB the factor is about 1; if the magnitude is about 0 then the factor returns to about 0 (and may not adapt down at all); and if the magnitude is half of the threshold, e.g., about 9 dB, the modified adaptation fall rate is computed at this point according to:
α′b=αb×ωfb×δfb (15)
This adaptation rate may also be additionally clamped to smooth the resulting noise estimate and prevent undershooting the signal. In this process the adaptation rate may be prevented from exceeding some default value (e.g., about 1 dB per frame) and may also be prevented from exceeding some percentage of the current SNR, e.g., about 25%.
At 375, the actual adaptation may comprise the addition of the adaptation rate in the log domain, or the multiplication in the magnitude in the power domain:
Nb=Nb+αb (16)
In some cases, such as when performing downlink noise removal, it is useful to know when the signal is noise and not speech at 380. When processing a microphone (uplink) signal a noise segment may be identified whenever the segment is not speech. Noise may be identified through one or more thresholds. However, some downlink signals may have dropouts or temporary signal losses that are neither speech nor noise. In this process noise may be identified when a signal is close to the noise estimate and it has been some measure of time since speech has occurred or has been detected. In some processes, a frame may be noise when a maximum of the SNR across hands (e.g., high and low, identified at 335) is currently above a negative predetermined value (e.g., about −5 dB) and below a positive predetermined value (e.g., about +2 dB) and occurs at a predetermined period after a speech segment has been detected (e.g., it has been no less than about 70 ms since speech was detected).
In some processes, it may be useful to monitor the SNR of the signal over a short period of time. A leaky peak-and-hold integrator or process may be executed. When a maximum SNR across the high and low bands exceeds the smooth SNR, the peak-and-hold process or circuit may rise at a certain rise rate, otherwise it may decay or leak at a certain tall rate at 385. In some processes (and systems), the rise rate may be programmed to about +0.5 dB, and the fall or leak rate may be programmed to about −0.01 dB.
At 390 a reliable voice decision may occur. The decision may not be susceptible to a false trigger off of post-dropout onsets. In some systems and processes, a double window threshold may be further modified by the smooth SNR derived above. Specifically, a signal may be considered to be voice if the SNR exceeds some nominal onset programmable threshold (e.g., about +5 dB). It may no longer be considered voice when the SNR drops below some nominal offset programmable threshold (e.g., about +2 dB). When the onset threshold is higher than the offset threshold, the system or process may end-point around a signal of interest.
To make the decision more robust, the onset and offset thresholds may also vary as a function of the smooth SNR of a signal. Thus, some systems and processes identify a signal level (e.g., a 5 dB SNR signal) when the signal has an overall SNR less than a second level (e.g., about 15 dB). However, if the smooth SNR, as computed above, exceeds a signal level (e.g., 60 dB) then a signal component (e.g., 5 dB) above the noise may have less meaning. Therefore, both thresholds may scale in relation to the smooth SNR reference. In
The function relating the voice detector to the smooth SNR may comprise many functions. For example, the threshold may simply be programmed to a maximum of some normal programmed amount and the smooth SNR minus some programmed value. This process may ensure that the voice detector only captures the most relevant portions of the signal and does not trigger off of background breaths and lip smacks that may be heard in higher SNR conditions.
The descriptions of
A computer-readable medium, machine-readable medium, propagated-signal medium, and/or signal bearing medium may comprise any medium that contains, stores, communicates, propagates, or transports software for use by or in connection with an instruction executable system, apparatus, or device. The machine-readable medium may selectively be, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. A non exhaustive list of examples of a machine-readable medium would include: an electrical or tangible connection having one or more links, a portable magnetic or optimal disk, a volatile memory such as a Random Access Memory “RAM” (electronic), a Read-Only Memory “ROM,” an Erasable Programmable Read-Only Memory (EPROM or flash memory), or an optical fiber. A machine-readable medium may also include a tangible medium upon which software is printed, as the software may be electronically stored as an image or in another format (e.g., through an optical scan), then compiled by a controller, and/or interpreted or otherwise processed. The processed medium may then be stored in a local or remote computer and/or a machine memory.
When used as a noise detector and voice detector, the process or system) accurately identifies noise. In
In
A DC bias may be removed or substantially dampened by as DC filter at optional 305. A DC bias may not be common, but nevertheless if it occurs, the bias may be substantially removed or dampened. An estimate of the DC bias (1) may be subtracted from each PCM value Xi. The DC bias DCi may then be updated (e.g., slowly updated) after each sample PCM value (2).
X′i=Xi−DCi (1)
DCi+=β*Xi′ (2)
When β has a small, predetermined value e.g., about 0.007), the DC bias may be substantially removed or dampened within a predetermined interval (e.g., about 50 ms). This may occur at a predetermined sampling rate (e.g., from about 8 kHz to about 48 kHz that may leave frequency components greater than about 50 Hz unaffected). The filtering may be carried out through three or more operations. Additional operations may be executed to avoid an overflow of a 16 bit range.
The input signal may be divided into two, three, or more frequency bands through a filter or digital signal processor or may be undivided. When divided, the systems may adapt or derive noise estimates for each band by processing identical (e.g., as in
In
A magnitude estimator device 915 estimates the magnitudes of the frequency bands. A root mean square of the filtered time series in each band may estimate the magnitude. Alternative systems may convert an output to fixed-point magnitude in each band Mb that may be computed from an average absolute value of each PCM value in each band Xi(3):
Mb=1/N*Σ|Xbi| (3)
In equation 3, N comprises the number of samples in one frame or block of PCM data (e.g., N may 64 or another non-zero number). The magnitude may be converted (though not required) to the log domain to facilitate other calculations. The calculations may be derived from the magnitude estimates on a frame-by-frame basis. Some systems do not carry out farther calculations on the PCM value.
The noise estimate adaptation may occur quickly at the initial segment of the stream. One system may adapt the noise estimate by programming an initial noise estimate to the measured magnitude of a series of initial frames (e.g., the first few frames) and then for a short period of time (e.g., a predetermined amount such as about 200 ms) leaky-integrator or IIR 925 may adapt to the magnitude:
N′b=Nb+Nβ*(Mb−Nb) (4)
In equation 4, Mb and Nb are the magnitude and noise estimates respectively for band b (low or high) and Nβ is an adaptation rate chosen for quick adaptation.
When an initial state is passed is identified by a signal monitor device 920, the SNR of each band may be estimated by an estimator or measuring device 930. This may occur through a subtraction of the noise estimate from the magnitude estimate, both of which are in dB:
SNRb=Mb−Nb (5)
Alternatively, the SNR may be obtained by dividing the magnitude by the noise estimate if both are in the power domain. The temporal variance of the signal is measured or estimated. Noise may be considered to vary smoothly over time whereas speech and other transient portions may change quickly over time.
The variability may be estimated by the average squared deviation of a measure Xi from the mean of a set of measures. The mean may be obtained by smoothly and constantly adapting another noise estimate, such as a shadow noise estimate, over time. The shadow noise estimate (SNb) may be derived through a leaky integrator with different time constants Sβ for rise and fall adaptation rates:
SN′b=SNb+Sβ*(Mb−SNb) (6)
where Sβ is lower when Mb>SNb than when Mb<SNb, and Sβ also varies with the sample rate to give equivalent adaptation time at different sample rates.
The variability may be derived from equation 6 by obtaining the absolute value of the deviation Δb of the current magnitude Mb from the shadow noise SNb;
Δb−|Mb−SNb| (7)
and then temporally smoothing this again with different time constants or rise and fall adaptation rates:
V′bVb+Vβ*(Δb−Vb) (8)
where Vβ is higher (e.g., 1.0) when Δb>Vb than when Δb<Vb, and also varies with the sample rate to give equivalent adaptation time at different sample rates.
Noise estimates may be adapted differentially depending on whether the current signal is above or below the noise estimate. Speech signals and other temporally transient events may be expected to rise above the current noise estimate. Signal loss, such as network dropouts (cellular, Bluetooth, VoIP, wireless, or other platforms or protocols), or off states, where comfort noise is transmitted, may be expected to fall below the current noise estimate. Because the source of these deviations from the noise estimates may be different, the way in which the noise estimate adapts may also be different.
A comparator 940 determines whether the current magnitude is above or below the current noise estimate. Thereafter, an adaptation rate α is chosen by processing one, two, three, or more factors. Unless modified, each factor may be programmed to a default value of 1 or about 1.
Because the system of
A factor that may modify the base adaptation rate may describe how different the signal is from the noise estimate. Noise may be expected to vary smoothly over time, so any large and instantaneous deviations in a suspected noise signal may not likely be noise. In some systems, the greater the deviation, the slower the adaptation rate. Within some thresholds θδ (e.g., 2 dB) the noise may adapt at the base rate α, but as the SNR exceeds θδ, a distance factor adjustor 950 may generate a distance factor, δfb may comprise an inverse function of the SNR:
A variability factor adjuster device 955 may modify the base adaptation rate. Like the input to the distance factor adjuster 950, the noise may be expected to vary at a predetermined small amount (e.g., +/−3 dB) or rate and the noise may be expected to adapt quickly. But when variation is high the probability of the signal being noise is very low, and therefore the adaptation rate may be expected to slow. Within some thresholds θω (e.g., 3 dB) the noise may be expected to adapt at the base rate α, but as the variability exceeds θω, the variability factor, ωfb may comprise an inverse function of the variability Vb:
The variability factor adjuster device 955 may be used to slow down the adaptation rate during speech, and may also be used to speed up the adaptation rate when the signal is much higher than the noise estimate, but may be nevertheless stable and unchanging. This may occur when there is a sudden increase in noise. The change may be sudden and/or dramatic, but once it occurs, it may be stable. In this situation, the SNR may still be high and the distance factor adjuster device 950 may attempt to reduce adaptation, but the variability will be low so the variability factor adjuster device 955 may offset the distance factor and speed up the adaptation rate. Two thresholds may be used one for the numerator nθω and one for the denominator dθω:
A more robust variability factor adjuster device 955 for adaptation within each band may use the maximum variability across two (or more) bands. The modified adaptation rise rate across multiple bands may be generated according to:
α′b=αb×ωfb×δfb (12)
In some systems, the adaptation rate may be clamped to smooth the resulting noise estimate and prevent overshooting the signal. In some systems, the adaptation rate is prevented from exceeding some predetermined default value (e.g., 1 dB per frame) and may be prevented from exceeding some percentage of the current SNR, (e.g., 25%).
When noise is estimated from a microphone or receiver signal, a system may adapt down faster than adapting upward because a noisy speech signal may not be less than the actual noise at fall adaptation factor generated by a fall adaptation factor adjuster device 960. However, when estimating noise within a downlink signal this may not be the case. There may be situations where the signal drops well below a true noise level (e.g., a signal drop out). In those situations, especially in a downlink condition, the system may not properly differentiate between speech and noise.
In some systems, the fall adaptation factor adjusted may be programmed to generate a high value, but not as high as the rise adaptation value. In other systems, this difference may not be necessary. The base adaptation rate may be attenuated by other factors of the signal.
A factor that may modify the base adaptation rate is just how different the signal is from the noise estimate. Noise may be expected to vary smoothly over time so any large and instantaneous deviations in a suspected noise signal may not likely be noise. In some systems, the greater the deviation, the slower the adaptation rate. Within some threshold θδ (e.g., 3 dB) below, the noise may be expected to adapt at the base rate α, but as the SNR (now negative) falls below −θδ, the distance factor adjuster 965 may derive a distance factor, δfb is an inverse function of the SNR:
Unlike a situation when the SNR is positive, there may be conditions when the signal falls to an extremely low value, one that may not occur frequently. Near zero e.g., +/−1) signals may be unlikely under normal circumstances. A normal speech signal received on a downlink may have some level of noise during speech segments. Values approaching zero may likely represent an abnormal event such as a signal dropout or a gated signal from a network or codec. Rather than speed up the adaptation rate when the signal is received, the system may slow the adaptation rate to the extent that the signal approaches zero.
A predetermined or programmable signal level threshold may be set below which adaptation rate slows and continues to slow exponentially as it nears zero. In some exemplary systems this threshold θπ may be set to about 18 dB, which may represent signal amplitudes of about +/−8, or the lowest 3 bits of a 16 bit PCM value. A poor signal factor πfb generated by a poor signal factor adjuster 370, if less than θπ may be set equal to:
where Mb is the current magnitude in dB. Thus, if the exemplary magnitude is about 18 dB the factor is about 1; if the magnitude is about 0 then the factor returns to about 0 (and may not adapt down at all), and if the magnitude is half of the threshold, e.g., about 9 dB, the modified adaptation fall rate is computed at this point, according to:
α′b=αb×ωfb×δfb (15)
This adaptation rate may also be additionally clamped to smooth the resulting noise estimate and prevent undershooting the signal. In this system the adaptation rate may be prevented from exceeding some default value (e.g., about 1 dB per frame) and may also be prevented from exceeding some percentage of the current SNR, e.g., about 25%.
An adaptation noise estimator device 975 derives a noise estimate that may comprise the addition of the adaptation rate in the log domain, or the multiplication in the magnitude in the power domain:
Nb=Nb+αb (16)
In some cases, such as when performing downlink noise removal, it is useful to know when the signal is noise and not speech, which may be identified by a noise decision controller 980. When processing a microphone (uplink) signal a noise segment may be identified whenever the segment is not speech. Noise may be identified through one or more thresholds. However, some downlink signals may have dropouts or temporary signal losses that are neither speech nor noise. In this system noise may be identified when a signal is close to the noise estimate and it has been some measure of time since speech has occurred or has been detected. In some systems, a frame may be noise when a maximum of the SNR (measured or estimated by controller 935) across the high and low bands is currently above a negative predetermined value (e.g., about −5 dB) and below a positive predetermined value (e.g., about +2 dB) and occurs at a predetermined period after a speech segment has been detected (e.g., it has been no less thaw about 70 ms since speech was detected).
In some systems, it may be useful to monitor the SNR of the signal over a short period of time. A leaky peak-and-hold integrator may process the signal. When a maximum SNR across the high and low bands exceeds the smooth SNR, the peak-and-hold device may generate an output that rises at a certain rise rate, otherwise it may decay or leak at a certain fall rate by adjuster device 985. In some systems, the rise rate may be programmed to about +0.5 dB, and the fall or leak rate may be programmed to about −0.01 dB.
A controller 990 makes a reliable, voice decision. The decision may not be susceptible to a false trigger off of post-dropout onsets. In some systems, a double-window threshold may be further modified by the smooth SNR derived above. Specifically, a signal may be considered to be voice, if the SNR exceeds some nominal onset programmable threshold (e.g., about +5 dB), it may no longer be considered voice when the SNR drops below some nominal offset programmable threshold (e.g., about +2 dB). When the onset threshold is higher than the offset threshold, the system or process may end-point around a signal of interest.
To make the decision more robust, the onset and offset thresholds may also vary as a function of the smooth SNR of a signal. Thus, some systems identify a signal level (e.g., a 5 dB SNR signal) when the signal has an overall SNR less than a second level (e.g., about 15 dB). However, if the smooth SNR, as computed above, exceeds a signal level (e.g., 60 dB) then a signal component (e.g., 5 dB) above the noise may have less meaning. Therefore, both thresholds may scale in relation to the smooth SNR reference. In
The function relating the voice detector to the smooth SNR may comprise many functions. For example, the threshold may simply be programmed to a maximum of some nominal programmed amount and the smooth SNR minus some programmed value. This system may ensure that the voice detector only captures the most relevant portions of the signal and does not trigger off of background breaths and lip smacks that may be heard in higher SNR conditions.
While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.
This application is a continuation of U.S. application Ser. No. 12/428,811, filed Apr. 23, 2009, which claims the benefit of priority from U.S. Provisional Application No. 61/125,949, filed Apr. 30, 2008, both of which are incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4486900 | Cox et al. | Dec 1984 | A |
4531228 | Noso et al. | Jul 1985 | A |
4630305 | Borth et al. | Dec 1986 | A |
4811404 | Vilmur et al. | Mar 1989 | A |
4843562 | Kenyon et al. | Jun 1989 | A |
5012519 | Adlersberg et al. | Apr 1991 | A |
5027410 | Williamson et al. | Jun 1991 | A |
5056150 | Yu et al. | Oct 1991 | A |
5146539 | Doddington et al. | Sep 1992 | A |
5313555 | Kamiya | May 1994 | A |
5384853 | Kinoshita et al. | Jan 1995 | A |
5400409 | Linhard | Mar 1995 | A |
5426703 | Hamabe et al. | Jun 1995 | A |
5479517 | Linhard | Dec 1995 | A |
5485522 | Solve et al. | Jan 1996 | A |
5495415 | Ribbens et al. | Feb 1996 | A |
5502688 | Recchione et al. | Mar 1996 | A |
5526466 | Takizawa | Jun 1996 | A |
5544080 | Kobayashi et al. | Aug 1996 | A |
5568559 | Makino | Oct 1996 | A |
5584295 | Muller et al. | Dec 1996 | A |
5617508 | Reaves | Apr 1997 | A |
5677987 | Seki et al. | Oct 1997 | A |
5680508 | Liu | Oct 1997 | A |
5684921 | Bayya et al. | Nov 1997 | A |
5692104 | Chow et al. | Nov 1997 | A |
5701344 | Wakui | Dec 1997 | A |
5910011 | Cruse | Jun 1999 | A |
5933801 | Fink et al. | Aug 1999 | A |
5937377 | Hardiman et al. | Aug 1999 | A |
5949888 | Gupta et al. | Sep 1999 | A |
5949894 | Nelson et al. | Sep 1999 | A |
6011853 | Koski et al. | Jan 2000 | A |
6163608 | Romesburg et al. | Dec 2000 | A |
6167375 | Miseki et al. | Dec 2000 | A |
6173074 | Russo | Jan 2001 | B1 |
6175602 | Gustafsson et al. | Jan 2001 | B1 |
6182035 | Mekuria | Jan 2001 | B1 |
6192134 | White et al. | Feb 2001 | B1 |
6199035 | Lakaniemi et al. | Mar 2001 | B1 |
6405168 | Bayya et al. | Jun 2002 | B1 |
6415253 | Johnson | Jul 2002 | B1 |
6434246 | Kates et al. | Aug 2002 | B1 |
6507814 | Gao | Jan 2003 | B1 |
6587816 | Chazan et al. | Jul 2003 | B1 |
6643619 | Linhard et al. | Nov 2003 | B1 |
6681202 | Miet et al. | Jan 2004 | B1 |
6687669 | Schrögmeier et al. | Feb 2004 | B1 |
6766292 | Chandran et al. | Jul 2004 | B1 |
6782363 | Lee et al. | Aug 2004 | B2 |
6822507 | Buchele | Nov 2004 | B2 |
6859420 | Coney et al. | Feb 2005 | B1 |
6910011 | Zakarauskas | Jun 2005 | B1 |
6959056 | Yeap et al. | Oct 2005 | B2 |
7043030 | Furuta | May 2006 | B1 |
7117145 | Venkatesh et al. | Oct 2006 | B1 |
7117149 | Zakarauskas | Oct 2006 | B1 |
7133825 | Bou-Ghazale | Nov 2006 | B2 |
7171003 | Venkatesh et al. | Jan 2007 | B1 |
7236929 | Hodges | Jun 2007 | B2 |
7464029 | Visser et al. | Dec 2008 | B2 |
7590524 | Kim | Sep 2009 | B2 |
7844453 | Hetherington | Nov 2010 | B2 |
20010028713 | Walker | Oct 2001 | A1 |
20020071573 | Finn | Jun 2002 | A1 |
20020176589 | Buck et al. | Nov 2002 | A1 |
20030018471 | Cheng et al. | Jan 2003 | A1 |
20030040908 | Yang et al. | Feb 2003 | A1 |
20030191641 | Acero et al. | Oct 2003 | A1 |
20030216907 | Thomas | Nov 2003 | A1 |
20030216909 | Davis et al. | Nov 2003 | A1 |
20040078200 | Alves | Apr 2004 | A1 |
20040138882 | Miyazawa | Jul 2004 | A1 |
20040165736 | Hetherington et al. | Aug 2004 | A1 |
20040167777 | Hetherington et al. | Aug 2004 | A1 |
20050114128 | Hetherington et al. | May 2005 | A1 |
20050240401 | Ebenezer | Oct 2005 | A1 |
20060034447 | Alves et al. | Feb 2006 | A1 |
20060074646 | Alves et al. | Apr 2006 | A1 |
20060100868 | Hetherington et al. | May 2006 | A1 |
20060115095 | Glesbrecht et al. | Jun 2006 | A1 |
20060116873 | Hetherington et al. | Jun 2006 | A1 |
20060136199 | Nongpiur et al. | Jun 2006 | A1 |
20060251268 | Hetherington et al. | Nov 2006 | A1 |
20060287859 | Hetherington et al. | Dec 2006 | A1 |
20070033031 | Zakarauskas | Feb 2007 | A1 |
20070055508 | Zhao et al. | Mar 2007 | A1 |
20080046249 | Thyssen et al. | Feb 2008 | A1 |
20080243496 | Wang | Oct 2008 | A1 |
20090055173 | Sehlstedt | Feb 2009 | A1 |
20090254340 | Sun et al. | Oct 2009 | A1 |
20090265167 | Ehara et al. | Oct 2009 | A1 |
20090276213 | Hetherington | Nov 2009 | A1 |
Number | Date | Country |
---|---|---|
2158847 | Sep 1994 | CA |
2157496 | Oct 1994 | CA |
2158064 | Oct 1994 | CA |
100 16 619 | Dec 2001 | DE |
0 076 687 | Apr 1983 | EP |
0 629 996 | Dec 1994 | EP |
0 629 996 | Dec 1994 | EP |
0 750 291 | Dec 1996 | EP |
1 429 315 | Jun 2004 | EP |
1 450 353 | Aug 2004 | EP |
1 450 354 | Aug 2004 | EP |
1 669 983 | Jun 2006 | EP |
1 855 272 | Nov 2007 | EP |
06269084 | Sep 1994 | JP |
06319193 | Nov 1994 | JP |
WO 0041169 | Jul 2000 | WO |
WO 0156255 | Aug 2001 | WO |
WO 0173761 | Oct 2001 | WO |
Entry |
---|
Avendano, C., Hermansky, H., “Study on the Dereverberation of Speech Based on Temporal Envelope Filtering,” Proc. ICSLP '96, pp. 889-892, Oct. 1996. |
Berk et al., “Data Analysis with Microsoft Excel”, Duxbury Press, 1998, pp. 236-239 and 256-259. |
Fiori, S., Uncini, A., and Piazza, F., “Blind Deconvolution by Modified Bussgang Algorithm”, Dept. of Electronics and Automatics—University of Ancona (Italy), ISCAS 1999. |
Gordy, J.D. et al., “A Perceptual Performance Measure for Adaptive Echo Cancellers in Packet-Based Telephony,” IEEE, 2005, pp. 157-160. |
Learned, R.E. et al., A Wavelet Packet Approach to Transient Signal Classification, Applied and Computational Harmonic Analysis, Jul. 1995, pp, 265-278, vol. 2, No. 3, USA, XP 000972660. ISSN: 1063-5203. abstract. |
Nakatani, T., Miyoshi, M., and Kinoshita, K., “Implementation and Effects of Single Channel Dereverberation Based on the Harmonic Structure of Speech,” Proc. of IWAENC-2003, pp. 91-94, Sep. 2003. |
Ortega, A. et al., “Speech Reinforce Inside Vehicles,” AES, Jun. 1, 2002; pp. 1-9. |
Puder, H. et al., “Improved Noise Reduction for Hands-Free Car Phones Utilizing Information on a Vehicle and Engine Speeds”, Sep. 4-8, 2000, pp. 1851-1854, vol. 3, XP009030255, 2000. Tampere, Finland, Tampere Univ. Technology, Finland Abstract. |
Quatieri, T.F. et al., Noise Reduction Using a Soft-Decision Sine-Wave Vector Quantizer, International Conference on Acoustics, Speech & Signal Processing, Apr. 3, 1990, pp. 821-824, vol. Conf. 15, IEEE ICASSP, New York, US XP000146895, Abstract, Paragraph 3.1. |
Quelavoine, R. et al., Transients Recognition in Underwater Acoustic with Multi-layer Neural Networks, Engineering Benefits from Neural Networks, Proceedings of the International Conference EANN 1998, Gibraltar, Jun. 10-12, 1998 pp. 330-333, XP 000974500. 1998, Turku, Finland, Syst. Eng. Assoc., Finland. ISBN: 951-97868-0-5. abstract, p. 30 paragraph 1. |
Seely, S., “An Introduction to Engineering Systems”, Pergamon Press Inc., 1972, pp. 7-10. |
Shust, Michael R. and Rogers, James C., Abstract of “Active Removal of Wind Noise From Outdoor Microphones Using Local Velocity Measurements”, J. Acoust. Soc. Am., vol. 104, No. 3, Pt 2, 1998, 1 page. |
Shust, Michael R. and Rogers, James C., “Electronic Removal of Outdoor Microphone Wind Noise”, obtained from the Internet on Oct. 5, 2006 at: <http://www.acoustics.org/press/136th/mshust.htm>, 6 pages. |
Simon, G., Detection of Harmonic Burst Signals, International Journal Circuit Theory and Applications, Jul. 1985, vol. 13, No. 3, pp. 195-201, UK, XP 000974305. ISSN: 0098-9886. abstract. |
Vieira, J., “Automatic Estimation of Reverberation Time”, Audio Engineering Society, Convention Paper 6107, 116th Convention, May 8-11, 2004, Berlin, Germany, pp. 1-7. |
Wahab A. et al., “Intelligent Dashboard With Speech Enhancement”, Information, Communications, and Signal Processing, 1997. ICICS, Proceedings of 1997 International Conference on Singapore, Sep. 9-12, 1997, New York, NY, USA, IEEE, pp. 993-997. |
Zakarauskas, P., Detection and Localization of Nondeterministic Transients in Time series and Application to Ice-Cracking Sound, Digital Signal Processing, 1993, vol. 3, No. 1, pp. 36-45, Academic Press, Orlando, FL, USA, XP 000361270, ISSN: 1051-2004. entire document. |
Number | Date | Country | |
---|---|---|---|
20130073285 A1 | Mar 2013 | US |
Number | Date | Country | |
---|---|---|---|
61125949 | Apr 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12428811 | Apr 2009 | US |
Child | 13676856 | US |