1. Field of the Invention
The present invention generally relates to communication systems used to transmit speech signals. More particularly, the present invention relates to methods for enhancing the intelligibility of speech signals received over a communication network from a far-end telephony terminal for playback at a near-end telephony terminal.
2. Background
Various background concepts will now be discussed in reference to an example conventional communication system 100 shown in
First telephony terminal 102 operates in a well-known manner to play back the received speech signals to near-end user 108 via a loudspeaker 112.
As further shown in
Furthermore, although near-end user 108 may increase the volume of loudspeaker 112, there is typically a limit on how much amplification can be applied to the speech signal received from far-end user 110 before that signal is subject to digital saturation or clipping. Additionally, even when the speech signal received from far-end user 110 has been amplified to a level immediately below which clipping occurs or to a level at which slight clipping occurs, the speech signal may still not be loud enough to be intelligible over the acoustic background noise.
Various techniques have been described in the literature that can be used to increase the loudness of a speech signal subject to a magnitude limit (such as amplitude compression) or to make the speech signal more intelligible. However, many of these techniques distort the speech signal.
What is needed, therefore, is a speech intelligibility enhancement (SIE) system and method that improves the intelligibility of a speech signal received over a communication network from a far-end telephony terminal for playback at a near-end telephony terminal when the near-end terminal is located in an environment with loud acoustic background noise. The desired SIE system and method should function automatically without any user input and also achieve improved intelligibility while minimizing distortion to the received speech signal.
A speech intelligibility enhancement (SIE) system and method is described herein that may be used to improve the intelligibility of a speech signal to be played back by an audio device when the audio device is located in an environment with loud acoustic background noise. In an embodiment, the audio device comprises a near-end telephony terminal and the speech signal comprises a speech signal received over a communication network from a far-end telephony terminal for playback at the near-end telephony terminal. The SIE system is integrated with an acoustic echo canceller and shares information therewith.
In particular, a system is described herein. The system includes estimation logic, a processing module and an acoustic echo canceller. The estimation logic is configured to calculate characteristics associated with a near-end speech signal to be transmitted by an audio device and/or a far-end speech signal received for playback by the audio device. The processing module is configured to receive the calculated characteristics and to modify the far-end speech signal based on at least the calculated characteristics to increase the intelligibility thereof. The acoustic echo canceller is configured to receive the calculated characteristics and to suppress acoustic echo present in the near-end speech signal based on at least the calculated characteristics.
A method is also described herein. In accordance with the method, characteristics associated with a near-end speech signal to be transmitted by an audio device and/or a far-end speech signal received for playback by the audio device are calculated. The far-end speech signal is modified based on at least the calculated characteristics to increase the intelligibility thereof. Acoustic echo present in the near-end speech signal is suppressed based on at least the calculated characteristics.
Another system is described herein. The system includes a first processing module and a second processing module. The first processing module is configured to receive a portion of a first speech signal and to modify the portion of the first speech signal to increase the intelligibility of the portion of the first speech signal prior to playback thereof, wherein the degree of modification applied to the portion of the first speech signal is based on at least an estimated level of background noise. The second processing module is configured to receive a portion of a second speech signal and to modify the portion of the second speech signal to increase the intelligibility of the portion of the second speech signal prior to playback thereof, wherein the degree of modification applied to the portion of the second speech signal is based on at least the estimated level of background noise. The system may further include a combiner that is configured to combine at least the modified portion of the first speech signal and the modified portion of the second speech signal to produce an output speech signal for playback.
An additional method is described herein. In accordance with the method, a portion of a first speech signal is received. The portion of the first speech signal is modified to increase the intelligibility of the portion of the first speech signal prior to playback thereof, wherein the degree of modification applied to the portion of the first speech signal is based at least on an estimated level of background noise. A portion of a second speech signal is received. The portion of the second speech signal is modified to increase the intelligibility of the portion of the second speech signal prior to playback thereof, wherein the degree of modification applied to the portion of the second speech signal is based at least on an estimated level of background noise. The method may further include combining the modified portion of the first speech signal and the modified portion of the second speech signal to produce an output speech signal for playback.
A method for updating an amount of gain to be applied to a first speech signal received for playback by an audio device is also described herein. In accordance with the method, it is determined whether a second speech signal to be transmitted from the audio device constitutes active speech. Responsive to determining that at least the second speech signal does not constitute active speech, the amount of gain is reduced in response to an increase in an estimated level of the first speech signal and the amount of gain is increased in response to a decrease in the estimated level of the first speech signal. Responsive to determining that at least the second speech signal does constitute active speech, the amount of gain is reduced in response to an increase in the estimated level of the first speech signal and the amount of gain is not increased in response to a decrease in the estimated level of the first speech signal.
Further features and advantages of the invention, as well as the structure and operation of various embodiments of the invention, are described in detail below with reference to the accompanying drawings. It is noted that the invention is not limited to the specific embodiments described herein. Such embodiments are presented herein for illustrative purposes only. Additional embodiments will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein.
The accompanying drawings, which are incorporated herein and form part of the specification, illustrate the present invention and, together with the description, further serve to explain the principles of the invention and to enable a person skilled in the relevant art(s) to make and use the invention.
The features and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings, in which like reference characters identify corresponding elements throughout. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The drawing in which an element first appears is indicated by the leftmost digit(s) in the corresponding reference number.
The following detailed description refers to the accompanying drawings that illustrate exemplary embodiments of the present invention. However, the scope of the present invention is not limited to these embodiments, but is instead defined by the appended claims. Thus, embodiments beyond those shown in the accompanying drawings, such as modified versions of the illustrated embodiments, may nevertheless be encompassed by the present invention.
References in the specification to “one embodiment,” “an embodiment,” “an example embodiment,” or the like, indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of persons skilled in the relevant art(s) to implement such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
A speech intelligibility enhancement (SIE) system and method is described herein that can be used to improve the intelligibility of a speech signal received over a communication network from a far-end telephony terminal for playback at a near-end telephony terminal. The SIE system and method is particularly useful in a scenario in which a user of the near-end telephony terminal attempts to conduct a telephone call in an environment with loud acoustic background noise, as described in the Background Section above. Generally speaking, the SIE system and method, which may be implemented as part of the near-end telephony terminal, monitors both the speech signal received from the far-end telephony terminal and a near-end background noise signal and, based on both signals, modifies the speech signal to increase the intelligibility while minimizing the distortion thereof.
In one embodiment, the SIE system and method increases intelligibility by maintaining a desired minimum signal-to-noise ratio (SNR) between the speech signal being played back on a loudspeaker of the near-end telephony terminal and the ambient background noise. The minimum SNR is determined such that the speech remains intelligible in the presence of the ambient background noise.
In a further embodiment, the SIE system and method is configured to attain the minimum SNR by applying a pure linear gain to the speech signal received from the far-end telephony terminal. However, should digital saturation of the output waveform be reached before the minimum SNR has been reached, then the SIE system and method performs amplitude compression to allow greater subsequent amplification of lower level segments of the received speech signal.
In accordance with a particular implementation of the SIE system and method, the performance of amplitude compression followed by amplification is carried out in such a manner that digital saturation is impossible. Thus, the system and method is guaranteed never to saturate and cause clipping of the speech output signal. As will be described in more detail herein, this is achieved in part by using a frame-by-frame instant attack approach to tracking the waveform envelope of the received speech signal and then using information derived from such waveform envelope tracking to limit the amount of gain that may ultimately be applied to the received speech signal.
In a still further embodiment, the SIE system and method monitors the degree of amplitude compression and uses this information as an input (in a feedback manner) to control an amount of spectral shaping that is applied to the received speech signal. If no amplitude compression is applied, then no spectral shaping is applied since the minimum SNR was attained without amplitude compression. However, if amplitude compression is applied, then this indicates that there was not enough digital “headroom” to attain the minimum SNR through the application of a simple linear gain. The application of amplitude compression allows for further increases in loudness, but at some point this technique is also not sufficient to ensure intelligibility. Hence, at a certain point spectral shaping is enabled based on the amount of amplitude compression. The amount of amplitude compression can also be thought of as the amount of linear gain that had to be discarded (on the highest amplitudes), but was required to reach the minimum SNR. Viewed this way, the amount of amplitude compression provides a good indicator of the remaining shortage of intelligibility, which must be provided using different means in order to reach the minimum SNR for intelligibility. Hence, in accordance with this embodiment, the amount of spectral shaping applied is a function of at least the amount of amplitude compression that was applied.
In an alternative embodiment, the amount of spectral shaping applied is a function of the amount of digital headroom (or lack thereof) between the signal level required to achieve the minimum SNR and the digital saturation point or some other point at which amplitude compression will be applied. Note that in additional embodiments, spectral shaping may be applied to the received speech signal in a manner that is not dependent on feedback concerning the degree of amplitude compression or the amount of digital headroom available.
The example SIE system and methods described herein may advantageously be implemented in a wide variety of telephony terminals including but not limited to, corded telephones, cordless telephones, cellular telephones, Bluetooth® headsets, or any other telephony terminals configured to pick up and transmit speech signals representative of the voice of a near-end user to a far-end user and to receive and play back speech signals representative of the voice of the far-end user to the near-end user.
Generally speaking, the components of example SIE system 200 operate together to improve the intelligibility of a speech signal received over a communication network from a far-end telephony terminal (referred to herein as the “far-end speech signal”) for playback by a near-end telephony terminal of which SIE system 200 is a part. In
Certain components of system 200 will now be briefly described and additional details about each component will be provided in the sub-sections below. AGC logic 222 is configured to compensate for variations in the level of the far-end speech signal. For example, such variations may be due to variation of network connections, acoustic coupling, or the like. AGC logic 222 calculates a gain scaling factor that, when applied to the far-end speech signal, brings the far-end speech signal to a nominal signal level.
AVB logic 224 is configured to automatically boost the level of the far-end speech signal to maintain at least a minimum SNR as the level of near-end background noise increases. In particular, AVB logic 224 is configured to maintain at least a predetermined minimum far-end speech signal to near-end noise ratio by calculating an additional gain to be applied to the far-end speech signal if the level of the near-end background noise is such that the level of the far-end speech signal after AGC yields an SNR below the predetermined minimum SNR.
Level estimator 206 is configured to determine an estimated level of the far-end speech signal and to provide this information to AGC logic 222 and AVB logic 224 for use in performing gain calculations.
Compression logic 226 is configured to apply a time-varying gain to the far-end speech signal that allows for application of the full AVB gain to attain the desired minimum SNR without digital saturation or clipping of the output signal. In determining the time varying gain, compression logic 226 takes into account all the gains to be applied to the far-end speech signal before playback (for example, user volume gain, echo suppression gain, or the like). In one implementation, a single gain is applied to the far-end speech signal to achieve the intended effect while in an alternate implementation a separate gain is applied by each of AGC logic 222, AVB logic 224 and compression logic 226 in order to achieve the intended effect. Generally speaking, compression logic 226 operates by applying more attenuation to larger waveform peaks than to lower peaks. Effectively, compression logic 226 boosts the low-amplitude regions of the far-end speech signal when AVB logic 224 cannot maintain the intelligibility of the far-end speech signal without causing saturation. In particular, compression logic 226 applies smaller gains to the high-amplitude regions of the far-end speech signal and larger gains to the low-amplitude regions. This has the effect of compressing the high-amplitude regions relative to the low-amplitude regions, thus the name. Such amplitude compression may be simply referred to as “compression” elsewhere in this document as shorthand. In effect, compression logic 226 amplifies the low-amplitude regions relative to the high-amplitude regions without exceeding the digital saturation level, and therefore has the effect of increasing the loudness of the far-end speech signal without introducing digital saturation.
Waveform envelope tracker 208 is configured to perform waveform envelope tracking on the far-end speech signal and to provide waveform tracking information to AGC/AVB/compressor block 212 that can be used by that block to determine exactly how much headroom there is to digital saturation in the far-end speech signal prior to modifying it.
Dispersion filter 204 is configured to reduce a peak-to-average ratio of the waveform samples of the far-end speech signal so that the filtered speech signal has smaller peak values and thus allows more headroom for AVB logic 224 to boost the far-end speech signal without introducing digital saturation. In an exemplary embodiment of the present invention, dispersion filtering is achieved using an all-pass filter. Such an all-pass filter can be either fixed or adaptive. A fixed all-pass filter is lower in complexity but can achieve only a smaller reduction of the magnitude peak of the far-end speech. Conversely, an adaptive all-pass filter has higher complexity but also has the potential to achieve a larger reduction of the magnitude peak.
Spectral shaping block 202 is configured to boost certain local peaks of the spectral envelope (called “formants”) of the far-end speech signal above the near-end noise floor to make the far-end speech signal more intelligible. In particular, spectral shaping block 202 is configured to boost certain formants of the far-end speech signal above the spectral values of the near-end noise at corresponding frequencies. In trying to understand spoken speech, humans normally rely on recognizing the frequencies of the speech formants. Therefore, by boosting certain formants of the far-end speech signal above the noise floor, spectral shaping block 202 makes the far-end speech more intelligible. In one embodiment, the second and third formants of the far-end speech signal are boosted relative to the first formant since the second and third formants are more important from the perspective of speech intelligibility than the first formant.
In one exemplary embodiment of the present invention, spectral shaping is implemented by adaptive high-pass filtering. For example, such adaptive high-pass filtering may be used to boost the second and third formants of the far-end speech signal relative to the first formant, since the second and third formants are located at higher frequencies than the first formant. The degree of high-pass filtering may depend on the far-end speech as well as the near-end noise. The high-pass filter may consist of a single-stage filter or multiple stages of filters, where different stages have different adaptation characteristics. For example, the high-pass filter may contain two stages of high-pass filters, with a slowly-evolving first stage having a long adaptation time constant and a rapidly-evolving second stage having a relatively short adaptation time constant.
In accordance with one implementation of SIE system 200, the signal processing techniques performed by AGC logic 222, AVB logic 224, compression logic 226, dispersion filter 204 and spectral shaping block 202 are applied one-by-one in a specific sequence so as to minimize the distortion introduced to the far-end speech signal, with each new technique being applied only when necessary. For example, AGC may first be applied by AGC logic 222 to bring the far-end speech to a nominal level. If the background noise level is low, AGC may be the only technique applied. As the background noise level increases, AVB may be applied by AVB logic 224 to increase the volume of the far-end speech signal. As the background noise level increases further, compression may then be applied by compression logic 226 to further boost the low-amplitude regions of the far-end speech signal if AVB is not sufficient to maintain the intelligibility of the far-end speech signal. As the background noise level increases even further, dispersion filtering can be applied by dispersion filter 204 to reduce the peak-to-average ratio of the far-end speech signal, thereby providing additional headroom for performing AVB. If the background noise is so loud that the above four techniques are not sufficient, spectral shaping can then be applied by spectral shaping block 202 to further enhance the speech intelligibility by exploiting the properties of human perception.
With further reference to the foregoing example implementation, AGC and AVB are applied first since those techniques hardly introduce any distortion to the far-end speech signal. Compression however can make speech sound slightly unnatural due to the compression of natural dynamic range, and dispersion filtering may introduce a slight distortion to the speech; therefore, these two techniques are applied only when AGC and AVB alone cannot provide sufficient intelligibility of the far-end speech signal. Finally, depending on the telephony terminal, spectral shaping may make the most dramatic and audible modification of the far-end speech signal and thus this technique is only applied when the above four techniques do not provide sufficient intelligibility of the far-end speech.
In alternate implementations, exceptions to this approach may be made. For example, in certain embodiments techniques that increase distortion in a traditional sense are applied before the amount of linear gain that may be applied without reaching digital saturation has been exhausted. One example of such an embodiment is an embodiment that limits high waveform amplitudes below a maximum digital amplitude to protect the auditory system of a user from exposure to uncomfortable, or possibly, damaging signal levels.
Each of the foregoing components of system 200 and the manner in which such components operate to implement aspects of the present invention will now be described. In the following description, it is assumed that the speech signal being processed comprises a series of digital samples and that the series of digital samples is divided into discrete time segments termed frames. In the description, individual frames are referred to by a frame counter, wherein a frame counter k generally refers to the frame currently being processed and frame counter k−1 refers to the immediately previous frame.
It should be understood that while most of the algorithm parameters given below are specified assuming a sampling rate of 8 kHz for telephone-bandwidth speech, persons skilled in the relevant art(s) should have no problem extending the techniques presented below to other sampling rates, such as 16 kHz for wideband speech. Therefore, the parameters specified are only meant to be exemplary values and are not limiting.
1. Spectral shaping block 202
In SIE system 200, spectral shaping block 202 is configured to receive the far-end speech signal (shown as “Receive-in” in
Spectral shaping block 202 is configured to boost certain formants of the far-end speech signal above the near-end noise floor so that they can be recognized by the near-end telephony terminal user and thus help that user understand the speech. Since the far-end speech signal is changing with time, such spectral shaping is preferably adaptive in order to increase effectiveness. Also, to avoid introducing distortion, such spectral shaping is preferably evolved in a smooth manner.
One possible manner of performing such spectral shaping is to perform spectral analysis followed by synthesis. This may be accomplished by using a Fast Fourier Transform (FFT) and inverse FFT, or using sub-band analysis and sub-band synthesis. For example, with FFT or sub-band analysis of both the far-end speech and the near-end noise, a determination can be made as to whether the formants of the far-end speech signal are below the noise floor. If so, those spectral components of the far end speech signal around the formants are boosted (i.e., a gain is applied) such that they are at least Y dB above the noise floor, where Y is determined and tuned empirically. Then, the modified frequency-domain representation of the far-end speech is converted back to a time domain signal.
Although the foregoing method allows for precise control of the SNR at each formant frequency, one drawback of the method is that it requires significant complexity. In an exemplary embodiment of the present invention, the spectral shaping is achieved with very-low-complexity time-domain filtering using a low-order high-pass filter. The use of such a high-pass filter achieves two goals. First, it helps to boost the second and third formants of the far-end speech signal. The second and third formants are more critical to speech intelligibility and are often much lower in intensity as compared with the first formant and thus are frequently buried under the noise floor when in a noisy environment. Second, it attenuates the first formant around or below 500 Hz, which normally dominates the energy content of the voiced speech signal and which often overloads the tiny loudspeakers used in many telephony devices. By attenuating the first formant relative to the second and third formants, the high-pass filter allows more energy that is useful for intelligibility to be emitted from such tiny loudspeakers before overloading them.
In one embodiment of the present invention, the high-pass spectral shaping filter consists of two cascaded filters: a slowly-evolving spectral shaping filter and a rapidly-evolving spectral shaping filter, each of which is controlled by different adaptation mechanisms.
In accordance with one implementation, slowly-evolving spectral shaping filter 302 has the form of
x(n)=rin(n)−b·rin(n−1) (1)
where x(n) is the output, rin (n) is the input, and b is the filter coefficient. The filter coefficient is determined according to a table lookup
b=btbl[idx], (2)
where the table can be
btbl[ ]={0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8}, (3)
and the index is determined according to
in which Nb
The frequency response of the filters given by the coefficients in Eq. 3 and the filter of Eq. 1 are shown in graph 400 of
In one implementation, rapidly-evolving spectral shaping filter 304 includes two control parameters. The first control parameter is given by
ratio=1−10−(α·V
where α is a control parameter, e.g. α=0.375. The second control parameter is given by
where
r
sm(k,m)=λ·rsm(k−1,m)+(1−λ)·rcor(m) (7)
The smoothing constant A can have a value of 0.75, for example. In the equation the auto correlation is calculated as
where N is the frame size, e.g. 40 samples, corresponding to 5 ms at 8 kHz. The final filter coefficient of rapidly evolving spectral shaping filter 304 is given by
c=max(γ·rho·ratio,0), (9)
where γ controls the maximum filter coefficient, e.g. γ=0.75. The filter equation for the rapidly evolving spectral shaping is given by
y(n)=x(n)−c·x(n−2)−c·y(n−1). (10)
In accordance with the foregoing, rapidly-evolving spectral shaping filter 304 is a second-order pole-zero high-pass filter having one pole and two zeros, with a transfer function of
where c is the single parameter that controls the shape of the frequency response of the filter. The family of frequency response curves for different values of c is plotted in graph 500 of
Rapidly-evolving spectral shaping filter 304 is designed to have relatively sharp attenuation at or below about 500 Hz, where the first formant of voiced speech usually is. Also, it boosts the second and third formants relative to the first formant. This filter is also designed to have exactly the same magnitude response value of 0 dB at half the sampling frequency. This makes it easier to achieve a seamless transition to a higher band when using a split-band system in wideband applications. In other words, a high band filter can always start at 0 dB no matter what the value of the filter control parameter c is, and the corresponding composite magnitude response will always be continuous at the band boundary of the low band (where this filter is) and the high band.
Another important feature is that at frequencies above 3400 Hz, the magnitude responses in
Slowly-evolving spectral shaping filter 302 and rapidly-evolving spectral shaping filter 304 can be combined into a single spectral shaping filter, if desired, by convolving the filter response of slowly evolving spectral shaping filter 302 with the zero section of rapidly evolving spectral shaping filter 304, and maintaining the pole section of rapidly evolving spectral shaping filter 304.
Note that in the specific implementation discussed above, the operation of slowly-evolving spectral shaping filter 302 and rapidly-evolving spectral shaping filter 304 is controlled, in part, by Vloss (k−1), which is the smoothed volume loss (or loss in headroom) resulting from compression applied by compression logic 226 and fed back by compression tracker 210. The smoothed volume loss provides an indication of the remaining shortage of intelligibility in the far-end speech signal after the application of compression thereto. This shortage must be compensated for using different means in order to reach a minimum SNR for intelligibility. Hence, in accordance with this embodiment, the amount of spectral shaping applied is a function of the smoothed volume loss.
However, the present invention is not limited to this approach and spectral shaping may be applied to the far-end speech signal in a manner that is not controlled by the smoothed volume loss or by any other measurement of the degree of compression applied to the far-end speech signal by compression logic 226. Furthermore, although spectral shaping is described herein as one of a plurality of techniques used for performing SIE, persons skilled in the relevant art(s) will appreciate that spectral shaping alone can be used to enhance speech intelligibility.
2. Dispersion Filter 204
As shown in
The function of dispersion filter 204 is to reduce the peak-to-average ratio for waveform sample magnitudes of the far-end speech signal. One way to measure the “average” is the Root-Mean-Square (RMS) value that is well-known in the art. Some of the speech vowel signals are fairly “peaky”—that is, they have a high peak-to-RMS ratio. In this case, such speech signals cannot be amplified to a very loud level before the waveform peaks are clipped at digital saturation level. Dispersion filter 204 can “disperse” or effectively smear out such waveform peaks so that the energy of the waveform peak is more evenly distributed across the time axis after such filtering.
When it achieves this, the peak-to-RMS ratio is reduced. In other words, for the same RMS value or energy level, the waveform magnitude peak is reduced, leaving more “headroom” to digital saturation for AVB logic 224 to utilize. The waveform can then be amplified more before clipping occurs, and this will boost the effective volume of the far-end speech signal and enhance the speech intelligibility. Generally speaking, if dispersion filter 204 can reduce the peak-to-RMS ratio by X dB and if AVB logic 224 can fully utilize this additional X dB of headroom, then after application of AVB the output signal level will be X dB higher without clipping.
There are many ways to perform dispersion filtering. Since one of the objectives of the SIE system and method is to minimize the distortion introduced to the far-end speech signal, an exemplary embodiment of the present invention uses an all-pass filter as the dispersion filter, because an all-pass filter has a completely flat magnitude frequency response of value 1 and thus does not introduce any magnitude distortion whatsoever. The only distortion it can introduce is phase distortion, but human ears are generally not very sensitive to phase distortion.
Since the magnitude frequency response of an all-pass filter has value 1 for all frequencies, the input signal and the output signal of an all-pass filter have exactly the same RMS value. Therefore, with all-pass filtering, minimizing the peak-to-RMS ratio is exactly the same as minimizing the waveform peak value.
As is well-known in the art, an all-pass filter is a pole-zero filter with the numerator polynomial and denominator polynomial of its transfer function sharing the same set of polynomial coefficients except with the order reversed. With proper design, even a fixed 6th-order all-pass filter can provide on average nearly 2 dB of reduction in the peak-to-RMS ratio of high-magnitude speech vowel signals. An example transfer function of such a fixed 6th-order all-pass filter optimized for 8 kHz sampled speech is given below.
The filter coefficients may be, for example, a1=−1.787, α2=2.432, a3=−2.565, a4=2.171, a5=−1.408, a6=0.699. An exemplary embodiment of the present invention can use such a fixed all-pass filter. Using such a fixed all-pass filter has the advantage of relatively low complexity.
It is also possible to make the all-pass filter adaptive to achieve more waveform peak reduction, albeit at the cost of higher complexity. The poles and zeros of the all-pass filter can be adapted according to the local characteristics of the speech waveform so as to maximize the reduction of the waveform peak magnitude. In addition, just as the smoothed volume loss, Vloss(k), can be used to control the spectral shaping filter(s) in spectral shaping block 202, Vloss(k) can also be used to control an adaptive all-pass filter. For example, similarly to how the spectral shaping is gradually increased by an increasing Vloss(k), the amount of dispersion can be gradually increased by an increasing Vloss(k). This can be achieved by mapping the Vloss(k) to a scaling factor that is applied to the radii of the poles of the dispersion filter. The mapping maps a low Vloss(k) to a scaling factor close to zero (effectively disabling dispersion), and a high Vloss(k) to a scaling factor close to one (allowing full dispersion). The usage of Vloss(k) to control the dispersion is shown by the dashed line connecting compression tracker 210 to dispersion filter 204 in
The effect of all-pass dispersion filtering is illustrated in
It can be seen from
Therefore, in this example of
A similar waveform plot for an example female speech signal is shown in
Through experiments, it was found that the optimal all-pass filter for a given frame of voiced speech signal usually has its poles and zeros located near but not exactly at the speech formant frequencies. (Here “optimal” is in the sense of minimizing the peak-to-RMS ratio, or equivalently, minimizing the waveform peak magnitude.) Also, it was found that the degree of waveform peak reduction is controlled by how close the poles (and the corresponding zeros) of the all-pass filter are to the unit cycle. As the radii of the poles approach the range of 0.90 to 0.95, large waveform peak reduction can be achieved. On the other hand, as the radii of the poles approaches zero, the effect of all-pass filtering gradually diminishes.
Based on such an observation, an exemplary embodiment of the present invention employs an adaptive all-pass filter where the radii of its poles are set at or near zero during silence regions of the far-end speech signal and are adapted toward the range of 0.90 to 0.95 during high-magnitude vowel regions. Also, at or near the beginning of a voiced region of the far-end speech signal, the frequencies (or equivalently, polar angles) of the poles of the adaptive all-pass filter are set to the pole frequencies of an optimal fixed all-pass filter, such as the 6th-order fixed all-pass filter shown above. Then, during the syllable of that vowel sound, the pole frequencies are adapted frame by frame to try to maintain near optimality by tracking the change in that vowel speech signal. One example way of performing such tracking is to estimate the formant frequencies and then use such formant frequencies to guide the adaptation of the pole frequencies of the all-pass filter (with the corresponding changes to the frequencies of the zeros).
The estimate of formant frequencies need not be very accurate, and certainly not to the same degree of accuracy required by some formant-based speech synthesis systems. Basically, in terms of minimizing the waveform magnitude peak, what matters is the relative phase relationship between pitch harmonics near prominent peaks of the spectral envelope of the speech signal. Therefore, even a crude estimation of rough formant frequencies based on picking frequencies of spectral peaks in the frequency response of a short-term predictive synthesis filter (often called the “LPC filter” in speech coding literature) will suffice.
In addition to (or in place of) such guidance from estimated formant frequencies, one can also use a closed-loop pole frequency search to find the optimal pole frequencies and to guide the adaptation of such pole frequencies. It was found that when an all-pass filter is used, the pole frequencies cannot change too much from frame to frame, otherwise there will be a significant difference in the group delays of the filtered signals in the adjacent frames which will cause an audible waveform disturbance. To minimize the possibility of such distortion, the closed-loop pole frequency search limits this search range to be in the neighborhoods of the previous pole frequencies. It was found that a frequency resolution of 5 to 10 Hz is sufficient to achieve most of the magnitude peak reduction. Therefore, a few pole frequency candidates, which are in the neighborhood of the pole frequencies used in the last frame and which are 5 to 10 Hz away from each other, are tried, and the set of pole frequencies achieving the maximum waveform peak reduction subject to a constraint of tracking the formant trajectory is selected as the winner for the current frame, and the all-pass filter is constructed from this set of pole frequencies and a given set of default pole radii.
In the example all-pass filters described above, a filter order of 6 was used because that gives three pole pairs (and the corresponding three zero pairs), which are sufficient to track the first three formants in speech signals that account for most of the speech energy. During the search of the optimal pole frequencies for the adaptive all-pass filter, it is advantageous in terms of computational complexity to search one pole pair at a time. For example, the frequency of the first pole pair can be searched in the frequency range of the first speech formant (typically 270 to 730 Hz) using a frequency grid of 5 to 10 Hz. After the frequency of the first pole pair that minimizes the waveform peak magnitude is identified, with the first pole pair fixed at that optimal frequency and with the effect of the first pole pair taken into account, the frequency of the second pole pair can then be searched in the frequency range of the second speech formant (typically 840 to 2290 Hz). Similarly, after the optimal frequency of the second pole pair is also identified and the effect of the optimal second pole pair taken into account, the frequency of the third pole pair can be searched in the frequency range of the third speech formant (typically 1690 to 3010 Hz). It is also possible to do joint optimization of the frequencies of the pole pairs. Although it has a higher complexity, an adaptive all-pass filter has the potential of achieving significantly more waveform peak reduction than a fixed all-pass filter.
Besides a fixed all-pass filter and a fully adaptive all-pass filter, a third possible implementation for dispersion filter 204 is a switched-adaptive all-pass filter, which achieves a compromise between a fixed all-pass filter and a fully adaptive all-pass filter in terms of complexity and performance. In a switched-adaptive all-pass filter, a collection of N all-pass filter candidates are carefully pre-designed and optimized. Then, in actual filtering, each of the N filter candidates is tried, and the system identifies the filter candidate that minimizes the speech waveform peak magnitude while also satisfying the constraint that the differences between the pole locations (or group delays) of filters in adjacent frames are below pre-set thresholds. Simulations have shown that such a switched-adaptive all-pass filter can achieve significant improvement in waveform peak magnitude reduction over a fixed all-pass filter while also avoiding the waveform distortion due to significant difference between group delays of the filter output signals of adjacent frames.
3. Level Estimator 206
In SIE system 200, level estimator 206 is configured to perform level estimation on the signal output from dispersion filter 204 (i.e., the far-end speech signal after spectral shaping and dispersion filtering have been applied thereto). However, depending upon the implementation, the level of the original far-end speech signal input to spectral shaping block 202 can instead be estimated, or level estimation can be performed on both the signal input to spectral shaping block 202 and the signal output from dispersion filter 204. However, for complexity considerations it may be desirable to perform level estimation on only one of the signals, and in practice SIE system 200 will perform satisfactorily when level estimation is performed only on the output of dispersion filter 204. As shown in
4. Waveform Envelope Tracker 208
Waveform envelope tracker 208 is configured to perform waveform envelope tracking on the signal output from dispersion filter 204 (i.e., the far-end speech signal after spectral shaping and dispersion filtering have been applied thereto) and to provide waveform tracking information to AGC/AVB/compressor block 212. This allows AGC/AVB/compressor block 212 to determine exactly how much headroom there is to digital saturation in the signal prior to modifying it. In one embodiment, waveform envelope tracker 208 is configured to calculate the maximum absolute amplitude of the signal waveform in the current frame, e.g. 5 milliseconds (ms). In further accordance with this embodiment, waveform envelope tracker 208 also maintains a buffer of the maximum absolute amplitudes of the past two 5 ms frames. This allows waveform envelope tracker 208 to calculate the maximum absolute amplitude of the signal waveform over the past 15 ms. The intent in covering 15 ms is to make sure that at least one pitch period is considered in the maximum. For some talkers of particular low pitch frequency it may be advantageous to increase this value from 15 ms to a larger value. In accordance with this embodiment, waveform envelope tracker 208 calculates the waveform tracking information as
mx(k)=max[φ,15/16·mx(k−1))], (13)
where k is the frame counter and φ is the maximum absolute amplitude of the signal waveform over the past 15 ms. Effectively, this embodiment of waveform envelope tracker 208 provides instant attack and exponential decay.
5. AGC/AVB/Compressor block 212
First, AGC logic 222, if enabled, calculates a logarithmic AGC gain to bring the input signal (i.e., the signal output from dispersion filter 204) to a predefined nominal level:
G
AGC
=L
nom
−L
R, (14)
where Lnom is the predefined nominal level and LR is the estimated input level as provided by level estimator 206. In one embodiment, GAGC is subject to a minimum and maximum, e.g. −20 dB and +20 dB. An alternate implementation of this AGC logic is described below in Section D.
Subsequently, AVB logic 224 calculates the receive-to-ambient-background-noise ratio after AGC as
R2Snoise=default_volume+GAGC+LR+C−LSnoise, (15)
where default_volume is a constant representing a volume providing a comfortable listening level in quiet conditions, LSnoise is the estimated ambient noise level, and C is a calibration term to ensure that R2Snoise reflects what the user is experiencing. In one embodiment, the parameter LSnoise may be provided from another component within the telephony device in which SIE system 200 is implemented. For example, the other component may be a sub-band acoustic echo canceller (SBAEC).
AVB logic 224 then calculates the target AVB gain as
where TR2Snoise is the minimum target SNR between speech and ambient background noise, and mxGAVB is a maximum allowable AVB gain, e.g. 20 dB. In order to change the AVB gain gradually, in one embodiment it is constrained to change in small step sizes, and the actual AVB gain is calculated as
where Δ is the step size, e.g. 1 dB.
With respect to the minimum target SNR, in practice a value of 15 dB may work in an embodiment in which the telephony terminal is a hanging style Bluetooth® headset. However, it is anticipated that the specific value will depend somewhat on the actual telephony terminal implementation. For example, an alternative Bluetooth® headset having an in-ear style speaker that provides a good acoustic seal will prevent some of the ambient background noise from reaching the auditory system of the user. In that case, a lower minimum SNR such as 6 dB may work. If the attenuation by the seal is accounted for in the calculations in the algorithm, e.g. the SNR is specified at the point of the ear drum, then the desired minimum SNR should be more device independent. However, in practice it may not be simple to account for such factors as the seal.
The receive-signal-to-ambient-background-noise ratio is a key parameter that is monitored by SIE system 200. Note that the far-end speech signal and the near-end noise are two different signals in two different domains. Even for the same far-end speech signal level as “seen” by SIE system 200, different loudness levels may be perceived by the user of the near-end telephony terminal depending on the gain applied to the speech signal before playback, the loudspeaker sensitivity, and a number of other factors. Similarly, even for the same near-end background noise level in the acoustic domain, SIE system 200 may see different noise levels depending on the microphone sensitivity, the gain applied to the microphone signal, or the like. Therefore, it is anticipated that for each type of telephony terminal, some calibration will be needed so that the predetermined SNR target as measured by the SIE system and method makes sense.
After the actual AVB gain has been calculated, AVB logic 224 then calculates the desired total gain as
G
desired=volume+GAGC+GAVB, (18)
where volume is the user volume of the telephony terminal (set by the user). Depending upon the implementation, there could be an additional term corresponding to a loss dictated by an echo suppression algorithm. This term is shown as “receive suppression” in
Compression logic 226 then computes the final gain, wherein the final gain represents any compression that will be applied. The instant attack of the waveform envelope tracking as described above in reference to Eq. 13 taken together with the following gain calculations essentially guarantees that saturation and clipping will never occur.
To compute the final gain, compression logic 226 first calculates a compression point, Cp, relative to maximum digital amplitude in a manner that is adaptive and that takes into account the user volume and a calibration value for a “nominal” user (at a nominal listening level in quiet):
C
p=max└Cp,default
where Cp,default
This adaptive approach to determining the compression point advantageously allows the compression point to move up and down with the user volume. For example, a compression point of 6 dB means that compression logic 226 will limit the waveform amplitude to 6 dB below maximum digital amplitude. For a user who prefers and uses a higher volume compared to another user, this means that compression point will be closer to maximum digital amplitude, and hence the signal will compressed at a higher level allowing higher waveform levels. For a user with a 3 dB louder volume setting, the compression will occur at a waveform amplitude that is 3 dB higher.
In further accordance with this approach, the waveform amplitude will be limited by compression logic 226 to a level that is below the maximum digital amplitude, and hence the full digital range may not be utilized for some users. In cases where this is undesirable, the compression point could be fixed to 0 dB. For example, this could apply to telephony terminals that are unable to provide sufficient volume for any user. However, where a telephony terminal is capable of providing more than enough loudness for a user (i.e., the loudness can be increased to a point that is uncomfortable for the user), the above approach of adaptively determining the compression point ensures that a level of discomfort will not be exceeded. Instead, loudness is achieved by amplifying the lower level segments while preventing the higher level segments from exceeding the compression point, which can be viewed as representing the maximum waveform amplitude of comfort.
Consequently, using this adaptive approach to determine the compression point, a higher maximum waveform is allowed for a user with a higher user volume setting, acknowledging that this particular user prefers louder levels. Conversely, a user with high sensitivity applying a lower user volume setting will be protected by a lower compression point (further below maximum digital amplitude). Instead of achieving intelligibility by uncomfortable levels via linear gain, the intelligibility is achieved by the additional features such as amplification of lower levels, spectral shaping, and dispersion.
In some sense, the adaptive nature of the compression point offers acoustic shock protection to users by limiting the maximum amplitude of waveforms that the auditory system is exposed to. The use of such a compression point also means that sometimes the maximum possible linear gain is not applied, and instead intelligibility is achieved by other means in order to honor the user's sensitivity to pure linear gain. Hence, in the interest of avoiding user discomfort, processing that introduces distortion in a traditional sense may be activated before distortion-less processing (linear gain) has been exhausted. However, from the perspective of the auditory system of the user the discomfort can be considered a distortion, and hence the above-described application of processing that increases distortion in a traditional sense should not be considered a violation of the prescribed philosophy of applying increasingly more aggressive processing as noise levels increase.
Furthermore, not only does the adaptive compression point accommodate users with different sensitivity, it also accommodates a varying acoustic seal for a single user. This frequently occurs when the user is using a cellular telephone, Bluetooth® headset, or like device that is often coupled and uncoupled from the ear, acoustically. If the seal is 3 dB worse during one use, the user would naturally increase volume by 3 dB to achieve the same loudness. Consequently, the compression point will move up by 3 dB, and everything will behave as before. As can be seen from Eq. 19 the compression point is not allowed to go beyond 0 dB, i.e. the maximum digital amplitude. This, along with the instant attack of the waveform tracking, prevents any kind of saturation.
It should be noted that in some cases it may be beneficial to allow some digital saturation since this will also provide some additional loudness. In terms of determining the permissible amount of saturation, a suitable trade-off must be made between loudness and distortion from saturation. As described in commonly-owned, co-pending U.S. patent application Ser. No. 12/109,017 (entitled “Audio Signal Shaping for Playback by Audio Devices” and filed Apr. 24, 2008), the entirety of which is incorporated by reference herein, soft-clipping may be used to minimize objectionable distortion. In such an implementation, the threshold in Eq. 19 will not be 0, but rather a negative number with an absolute value corresponding to the acceptable level of clipping.
After the compression point Cp has been determined, compression logic 226 calculates the overall gain headroom, Gheadroom, between the waveform and the compression point as
where MAXAMPL is the maximum digital amplitude of the output in the system, e.g. 32768 for a 16-bit output. The gain headroom is calculated as the gain required to bring the waveform envelope tracking information, denoted mx(k), to the compression point, or just below if a margin, Gmargin, is desired due to finite precision of fixed point arithmetic, e.g. Gmargin=1 dB. In the special case where the compression point is 0 dB, and hence corresponds to the point of saturation, the gain headroom corresponds to the headroom between the waveform envelope and saturation, less the margin, Gmargin.
Compression logic 226 then calculates the final gain, Gfinal to be applied to the current frame as the minimum of the desired linear gain and the gain headroom (observing the compression point). The time-varying final gain creates the compression effect due to lower level frames having greater gain headroom than higher level frames.
Gfinal=min[Gdesired, Gheadroom], (21)
Compression logic 226 then converts the final gain Gfinal from the log domain to the linear domain
g=10G
and gain application module 802 applies the converted gain g to the output signal from spectral shaping block 202/dispersion filter 204 to produce the output signal (denoted “receive-out” in
r
out(n)=g·y(n). (23)
6. Compression Tracker 210
Compression tracker 210 is configured to monitor the shortage in headroom, or instantaneous volume loss
V
instloss
=G
desired
−G
final, (24)
and to calculate an average version according to the following equations. First a peak tracker is updated according to
Then, compression tracker 210 applies second order smoothing to calculate the smoothed volume loss
V
loss(k)=2β·Vloss(k−1)−β2·Vloss(k−2)+1/βVpeakloss(k), (26)
where β is a smoothing factor, e.g. β=1023/1024. Compression tracker 210 feeds back the smoothed volume loss Vloss(k) back to spectral shaping block 202 and optionally dispersion filter 204 to control the operation thereof.
As shown in
First level estimator 902 is configured to determine an estimated level of the far-end speech signal and to provide this information to AGC logic 908 and AVB logic 910 for use in performing gain calculations. By performing level estimation directly on the original far-end speech signal (as opposed to the far-end speech signal after processing by dynamic filtering block 904), first level estimator 902 is able to provide AGC logic 908 and AVB logic 910 with a more accurate estimate of the level of the far-end speech signal as received from the communication network. However, in accordance with this implementation, first level estimator 902 cannot take into account any loss in level due to the processing of the far-end speech signal by dynamic filtering block 904. In contrast, if level estimation for the purposes of performing AGC and AVB operations were performed after dynamic filtering, this could lead to the removal of the higher intensity components (i.e., lower-frequency components) which have less impact on intelligibility or loudness. In either case, one could include logic to compensate for the loss of loudness due to the operations of dynamic filtering block 904 to provide a more accurate estimate of the final loudness that a user would experience.
Dynamic filtering block 904 is configured to filter the far-end speech signal in an adaptive manner in order to increase intelligibility of the signal and to obtain more digital headroom for boosting of the signal by AVB logic 910 while avoiding the introduction of an impermissible level of digital saturation. The operations performed by dynamic filtering block 904 may include any of the functions attributed to spectral shaping block 202 and/or dispersion filter 204 as described above in reference to system 200 of
In alternate implementations, the degree of spectral shaping or dispersion filtering applied may be a function of a long-term or average level of the far-end speech signal or as a function of the level of lower-frequency components of the far-end speech signal. The level of such lower-frequency components may be determined, for example, by passing the far-end speech signal through a low-pass filter that has a roughly inverse shape to a high-pass filter used by dynamic filtering block 904.
Second level estimator 906 is configured to determine an estimated level of the far-end speech signal after it has been processed by dynamic filtering block 906. This estimate is then provided to suppression logic 912, compression logic 914 and ASP logic 916 for use in calculations performed by those blocks.
AGC logic 908 is configured to compensate for variations in the level of the far-end speech signal, as estimated by first level estimator 902. For example, such variations may be due to variation of network connections, acoustic coupling, or the like. AGC logic 908 calculates a gain scaling factor that, when applied to the far-end speech signal, brings the far-end speech signal to a nominal signal level. AGC logic 908 may operate in a like manner to that described above in reference to AGC logic 222 of system 200 or in a manner to be described below in Section D.
AVB logic 910 is configured to calculate an additional gain to be applied to the far-end speech signal so as to maintain a minimum SNR between the level of the far-end speech signal (after application of the gain calculated by AGC logic 908) and the level of the near-end background noise. AVB logic 910 may operate in a like manner to that described above in reference to AVB logic 224 of system 220.
Suppression logic 912 is configured to apply an echo suppression algorithm to the far-end speech signal in order to attenuate the effects of acoustic echo on that signal. The output of suppression logic 912 is a loss to be applied to the far-end speech signal.
Compression logic 914 is configured to determine a time varying gain to be applied to the far-end speech signal to ensure that, after application of the gain calculated by AGC logic 908, the gain calculated by AVB logic 910, the gain calculated by suppression logic 912, and a gain associated with a user volume setting, the audio output waveform does not exceed (or exceeds by only a permissible amount) a digital saturation or clipping point of the telephony device.
ASP logic 916 is configured to adaptively determine a compression point (i.e., an offset from a maximum digital amplitude at which saturation occurs) below which the maximum amplitude of the far-end speech signal must be maintained in order to protect users of the telephony device from acoustic shock or discomfort. ASP logic 916 may thus be thought of as calculating an additional loss that must be applied to the far-end speech signal in addition to that determined by compression logic 914. Volume application block 918 is configured to receive the far-end speech signal after processing by dynamic filtering block 904 and to apply the gains calculated by AGC logic 908, AVB logic 910, suppression logic 912, compression logic 914 and ASP logic 916, as well as a gain associated with a user volume, thereto. Soft clipper 920 is configured to receive the audio signal output by volume application block 918 and apply soft clipping thereto. Soft clipper 920 operates by manipulating the dynamic range of the audio signal output by volume application block 918 such that the level of the signal does not exceed a soft clipping limit. The soft clipping limit may be less than a limit imposed by the compression logic 914/ASP logic 916. In accordance with such an embodiment, at higher volumes, the dynamic range of the audio signal output by volume application block 918 will exceed the soft clipping limit of soft clipper 920. This overdriving of soft clipper 920 will lead to some level of clipping distortion. However, through careful selection of the limit imposed by compression logic 914/ASP logic 916 and the soft clipping limit, the amount of clipping distortion can advantageously be held to an acceptable level while maintaining loudness. An example of the use of soft clipping subsequent to amplitude compression is described in previously-referenced U.S. patent application Ser. No. 12/109,017, the entirety of which is incorporated by reference herein.
As shown in
A combiner 1004 is configured to receive the long-term level estimate generated by long-term level estimator 1002 and to add a current AGC gain thereto. The output of this operation is provided to decision logic 1006.
Decision logic 1006 determines whether or not the output of combiner 1004 exceeds a target level. If the output exceeds the target level, then a logic block 1008 operates to adjust the current AGC gain downward so that the target level can be maintained. Conversely, if the output does not exceed the target level, then a logic block 1010 operates to adjust the current AGC gain upward so that the target level can be maintained. Note that in certain embodiments, the target level may be a configurable parameter.
In an embodiment, long-term level estimator 1002 is also configured to receive a “receive active” signal from a sub-band acoustic echo canceller (SBAEC) that indicates whether or not the far-end speech signal constitutes active speech as well as a “send active” signal from the SBAEC that indicates whether or not a near-end speech signal to be transmitted to a far-end telephony device constitutes active speech. In a circumstance in which both the “receive active” and “send active” signals are asserted, long-term level estimator 1002 will not reduce the long-term level estimate it produces regardless of the short-term level estimates received (i.e., the long-term level estimate will not be allowed to adapt downward). The net result of this will be that the magnitude of the AGC gain will not be adapted upward even if the short-term level estimates are decreasing. This feature is intended to ensure that AGC logic 1000 does not operate to undo a loss that may be applied to the far-end speech signal by an echo suppressor when both the “receive active” and “send active” signals are asserted.
However, when both the “receive active” and “send active” signals are asserted, long-term level estimator 1002 will remain capable of increasing the long-term level estimate that it produces based on the short-term level estimates received (i.e., the long-term level estimate is allowed to adapt upward). This ensures that the AGC gain can still be adapted downward to maintain the target signal level if the far-end speech signal is too loud.
In an embodiment, AVB logic that operates in conjunction with AGC logic 1000 (e.g., AVB logic 224 of system 200 or AVB logic 910 of system 900) is configured to determine the amount of AVB gain to be applied to the far-end speech signal based also on a long-term level estimate that is not allowed to adapt downward when both the near-end speech signal and the far-end speech signal are determined to constitute active speech. This ensures that the AVB logic also does not operate to undo echo suppression that may have been applied to the far-end speech signal.
However, the long-term level estimate used by the AVB logic is allowed to adapt upward when both the near-end speech signal and the far-end speech signal are determined to constitute active speech.
In a further embodiment, long-term level estimator 1002 is capable of determining whether the far-end speech signal constitutes tones or stationary (i.e., non-speech) signals based on an analysis of the short-term level estimate. In further accordance with such an embodiment, if it is determined that the far-end speech signal constitutes tones or stationary signals, long-term level estimator 1002 will prevent the long-term level estimate from adapting downward but allow the long-term level estimate to adapt upwards in a like-manner to that described above when both the when both the “receive active” and “send active” signals are asserted.
Note that in one implementation, the compression point used for applying amplitude compression (as previously described) can be made adaptive such that a different compression point is used when the “send active” signal is asserted (which may be indicative of doubletalk) or when the far-end speech signal is determined to constitute tones or stationary signals.
As further shown in
Sub-band acoustic canceller 1104 includes a number of components including a first sub-band analysis block 1112, a second sub-band analysis block 1114, a sub-band cancellation block 1116, a combiner 1118, a receive estimation block 1120, a send estimation block 1122, a post processing block 1124 and a sub-band synthesis block 1126. The operation of each of these components will now be described. First sub-band analysis block 1112 is configured to receive a time-domain version of the near-end speech signal and to convert the signal into a plurality of frequency sub-band components. First sub-band analysis block 1112 may also down-sample the near-end speech signal as part of this process. Second sub-band analysis block 1114 is configured to receive a time-domain version of the modified far-end speech signal output by receive processing block 1102 and to convert the signal into a plurality of frequency sub-band components. First sub-band analysis block 1112 may also down-sample the near-end speech signal as part of this process.
Sub-band cancellation block 1116 receives the sub-band representation of the near-end speech signal and the modified far-end speech signal and operates to determine, on a sub-band by sub-band basis, components of the near-end speech signal that represent acoustic echo and thus should be cancelled from the signal. To perform this function, sub-band cancellation block 1116 analyzes the level of correlation between the near-end speech signal and the modified far-end speech signal. The sub-band echo components are provided to a combiner 1118 which operates to subtract the echo components from the near-end speech signal on a sub-band by sub-band basis.
Post processing block 1124 is configured to receive the signal output by combiner 1118 and to perform non-linear processing thereon to remove residual echo as well as to perform processing thereon to suppress noise present in the signal.
Sub-band synthesis block 1126 is configured to receive the output from post processing block 1124, which is represented as a plurality of frequency sub-band components, and to convert the plurality of sub-band components into a time domain representation of a modified version of the near-end speech signal. Sub-band synthesis block 1126 may also up-sample the modified version of the near-end speech signal as part of this process. The modified version of the near-end speech signal produced by sub-band synthesis block 1126 is then output for encoding and subsequent transmission to the far-end telephony terminal over the communication network.
Receive estimation block 1120 is configured to receive the sub-band components of the modified far-end speech signal and to estimate levels associated with each of the sub-bands that are used by sub-band cancellation block 1116 for performing acoustic echo cancellation functions and by post processing block 1124 for performing non-linear processing and noise suppression. The estimated levels may include, for example, an estimated level of a speech signal component present within each sub-band, an estimated level of a noise component present within each sub-band, or the like.
Send estimation block 1122 is configured to receive the sub-band components of the near-end speech signal after echo cancellation and to estimate levels associated with each of the sub-bands that are used by sub-band cancellation block 1116 for performing acoustic echo cancellation functions and by post processing block 1124 for performing non-linear processing and noise suppression. The estimated levels may include, for example, an estimated level of a speech signal component present within each sub-band, an estimated level of a noise component present within each sub-band, or the like.
In accordance with an embodiment of the present invention, sub-band acoustic canceller 1104 provides certain information generated during the performance of echo cancellation and noise suppression operations to receive processing block 1102. Receive processing block 1102 then uses such information to perform SIE operations. Such information will now be described.
In one embodiment, sub-band acoustic canceller 1104 provides a measure of voice activity in the far-end speech signal to one or more level estimator(s) in receive processing block 1102. The measure of voice activity may be used to control the level estimation function. The measure of voice activity may be determined, for example, by counting the number of sub-bands in which the energy significantly exceeds a noise floor. Because sub-band acoustic canceller 1104 analyzes the far-end speech signal in sub-bands, it is capable of providing a more accurate measure of voice activity than an analysis of a time-domain signal would provide.
In a further embodiment, sub-band acoustic canceller 1104 also provides a measure of voice activity in the near-end speech signal to one or more level estimator(s) in receive processing block. This measure of voice activity may also be used to control the level estimation function. For example, as described in Section D, above, AGC logic within receive processing block 1102 may use a measure of the voice activity in the far-end speech signal and in the near-end speech signal to prevent upward adaption of a long-term level estimate when both the far-end speech signal and the near-end speech signal are deemed to constitute speech.
In another embodiment, sub-band acoustic canceller 1104 provides an estimate of the noise level present in the near-end speech signal to receive processing block 1102. For example, AVB logic within receive processing block 1102 may receive an estimate of the noise level present in the near-end speech signal from sub-band acoustic canceller 1104 and use this estimate to determine a far-end speech signal to near-end noise ratio as previously described.
Since sub-band acoustic canceller 1104 estimates noise levels on a frequency sub-band basis, the estimate of the noise level present in the near-end speech signal may be determined by assigning greater weight to certain sub-bands as opposed to others in order to ensure that the estimated noise level represents noise that would be perceptible to a human (in other words to ensure that the estimated noise level is a measure of the loudness of the noise as opposed to the intensity).
Furthermore, since sub-band acoustic canceller 1104 estimates noise levels on a frequency sub-band basis, sub-band acoustic canceller 1104 can provide the sub-band noise level estimates to a spectral shaping block within receive processing block 1102, such that spectral shaping may be performed as a function of the spectral shape of the noise. For example, different spectral shaping may be applied when the noise is white as opposed to flat.
It is noted that in
In one embodiment, the SIE processing described above is applied only to a narrowband component of a wideband speech signal. In an alternate embodiment, the previously-described SIE processing is made applicable to wideband speech by also modifying the wideband component of a wideband speech signal. For example, in one embodiment, the gain of filters used to modify the far-end speech signal by receive processing block 1102 at 3.4 kHz (or 4 kHz) are extended across the wideband component. In slowly evolving spectral shaping, a table of the gain for the wideband component may be utilized, wherein the gain is a function of the narrowband filter. In one implementation, for rapidly evolving spectral shaping, the gain of the filter at 4 kHz is unity, so that there is no need to modify the wideband component.
The foregoing concept may also be extended to other sets of signal components sampled at various sampling rates, such as 8 kHz/16 kHz/48 kHz or 8 kHz/48 kHz.
For example, telephony terminal 1200 is configured to receive a plurality of speech signals, denoted “Receive in” 1 through “Receive in” m, and to combine those signals to produce a single output speech signal denoted “Receive out.” Each of the signals “Receive in” 1-m may comprise, for example and without limitation, a different far-end speech signal in a multi-party conference call or a different audio channel in a multi-channel audio signal.
As shown in
As further shown in
Compression and soft clipping logic 1204 is configured to apply amplitude compression and/or soft clipping to the signal produced by the combination of the outputs of receive processing blocks 12021-1202m. Such amplitude compression and/or soft clipping may be applied to ensure that the signal produced by the combination of the outputs of receive processing blocks 12021-1202m does not exceed a digital saturation point or only exceeds the digital saturation point by a permissible amount. Note that in an alternate implementation, compression and soft clipping may be separately applied to each signal output from each of receive processing blocks 12021-1202m and then further applied to the signal produced by the combination of those outputs.
As also shown in
Sub-band acoustic canceller 1204 provides certain information generated during the performance of echo cancellation and noise suppression operations to receive processing blocks 12021-1202m. Each of receive processing blocks 12021-1202m then uses such information to perform SIE operations. The information provided may include, for example and without limitation, a measure of voice activity in the far-end speech signal, a measure of voice activity in the near-end speech signal, or an estimate of the noise level present in the far-end speech signal.
In the implementation described above in reference to
Example methods for processing a speech signal for playback by an audio device in accordance with various embodiments of the present invention will now be described in reference to flowcharts depicted in
In particular,
At step 1304, a level of background noise is estimated. At step 1306, a signal-to-noise ratio (SNR) is calculated based on the estimated level of the speech signal and the estimated level of the background noise. At step 1308, an amount of gain to be applied to the portion of the speech signal is calculated based on at least a difference between a predetermined SNR and the calculated SNR. At step 1310, the amount of gain is applied to the portion of the speech signal.
In one embodiment, performing step 1306 comprises calculating an automatic gain control (AGC) gain required to bring the estimated level of the speech signal to a predefined nominal level and then calculating the SNR based on the estimated level of the speech signal after application of the AGC gain thereto and the estimated level of the background noise. For example, as described elsewhere herein, this step may comprise calculating:
R2Snoise=default_volume+GAGC+LR+C−LSnoise,
wherein R2Snoise is the calculated SNR, default_volume is a constant representing a default volume, GAGC is the AGC gain, LR is the estimated level of the speech signal, LSnoise is the estimated level of the background noise and C is a calibration term.
In one embodiment, performing step 1308 comprises performing a number of steps. These steps include calculating a target gain as the difference between the predetermined SNR and the calculated SNR. Then, an actual gain is compared to the target gain, wherein the actual gain represents an amount of gain that was applied to a previously-received portion of the speech signal. If the target gain exceeds the actual gain by at least a fixed amount, then the amount of gain to be applied to the portion of the speech signal is calculated by adding the fixed amount of gain to the actual gain. However, if the target gain is less than the actual gain by at least the fixed amount, then the amount of gain to be applied to the portion of the speech signal is calculated by subtracting the fixed amount of gain from the actual gain.
In another embodiment, performing step 1308 comprises summing at least a user volume of the audio device, an amount of gain determined based on the difference between the predetermined SNR and the calculated SNR, and an amount of gain required to bring the estimated level of the speech signal to a predefined nominal level.
In a further embodiment, performing step 1308 comprises first calculating a desired gain to be applied to the portion of the speech signal based on at least the difference between the predetermined SNR and the calculated SNR. Then, a determination is made as to whether the application of the desired gain to the portion of the speech signal would cause a reference amplitude associated with the portion of the speech signal to exceed a predetermined amplitude limit. If it is determined that the application of the desired gain to the portion of the speech signal would cause the reference amplitude to exceed the predetermined amplitude limit, then an amount of gain to be applied to the portion of the speech signal is calculated that is less than the desired gain. For example, as described elsewhere herein, calculating an amount of gain to be applied to the portion of the speech signal that is less than the desired gain may comprise calculating
Gfinal=min[Gdesired, Gheadroom],
wherein Gfinal is the amount of gain to be applied to the portion of the speech signal, Gdesired is the desired gain and Gheadroom is an estimate of the difference between the reference amplitude associated with the portion of the speech signal and the predetermined amplitude limit.
In further accordance with this embodiment, a difference may be calculated between the desired gain and the amount of gain to be applied to the portion of the speech signal. Spectral shaping may then be applied to at least one subsequently-received portion of the speech signal, wherein the degree of spectral shaping applied is based at least in part on the difference. Alternatively or additionally, dispersion filtering may be performed on at least one subsequently-received portion of the speech signal, wherein the degree of dispersion applied by the dispersion filtering is based at least in part on the difference.
In one embodiment, each of the first, second and third conditions is indicative of a need for a corresponding first, second and third degree of speech intelligibility enhancement, wherein the second degree is greater than the first degree and the third degree is greater than the second degree. The function based on at least the estimated level of background noise may comprise, for example, a signal-to-noise ratio (SNR) that is calculated based on an estimated level of the speech signal and the estimated level of the background noise.
Although it is not shown in
At step 1504, a first gain to be applied to the portion of the speech signal is received.
At step 1506, compression is applied to the portion of the speech signal if the application of the first gain to the portion of the speech signal would cause the reference amplitude associated with the portion of the speech signal to exceed a predetermined amplitude limit. In one embodiment, the predetermined amplitude limit comprises a maximum digital amplitude that can be used to represent the speech signal. In an alternate embodiment, the predetermined amplitude limit comprises an amplitude that is a predetermined number of decibels above or below a maximum digital amplitude that can be used to represent the speech signal.
The method of flowchart 1500 may further include adaptively calculating the predetermined amplitude limit. In one embodiment, adaptively calculating the predetermined amplitude limit comprises adaptively calculating the predetermined amplitude limit based at least on a user-selected volume.
Depending upon the implementation, the application of compression in step 1506 may include applying a second gain to the portion of the speech signal that is less than the first gain, wherein the second gain is calculated as an amount of gain required to bring the reference amplitude associated with the portion of the speech signal to the predetermined amplitude limit. As described previously herein, calculating the second gain may comprise calculating:
wherein Gheadroom is the second gain, MAXAMPL is a maximum digital amplitude that can be used to represent the speech signal, mx(k) is the reference amplitude associated with the portion of the speech signal, Gmargin is a predefined margin and Cp is a predetermined number of decibels.
At step 1508, a value representative of an amount of compression applied to the portion of the speech signal during step 1506 is calculated. In one embodiment, calculating this value comprises calculating an instantaneous volume loss by determining a difference between the first gain and the second gain described in the previous paragraph and then calculating an average version of the instantaneous volume loss.
At step 1510, spectral shaping and/or dispersion filtering is applied to at least one subsequently-received portion of the speech signal wherein the degree of spectral shaping and/or dispersion filtering applied is controlled at least in part by the value calculated during step 1508.
At step 1604, a degree of spectral shaping to be applied to the portion of the speech signal to increase the intelligibility thereof is adaptively determined. Various methods may be used to adaptively determine the degree of spectral shaping to be applied. For example, a degree of compression that was or is estimated to be applied to the speech signal may be determined and the degree of spectral shaping to be applied may be determined as a function of at least the degree of compression.
As another example, a level of the speech signal may be calculated and the degree of spectral shaping to be applied may be determined as a function of at least the level of the speech signal.
As still another example, a level of one or more sub-band components of the speech signal may be calculated and the degree of spectral shaping to be applied may be determined as a function of at least the level(s) of the sub-band component(s).
As a further example, a level of background noise may be estimated and the degree of spectral shaping to be applied may be determined as a function of at least the level of the background noise. Estimating the level of the background noise may comprise estimating a level of one or more sub-band components of the background noise and determining the degree of spectral shaping to be applied as a function of at least the estimated level of the background noise may comprise determining the degree of spectral shaping as a function of at least the level(s) of the sub-band component(s).
As a still further example, a spectral shape of the background noise may be determined and the degree of spectral shaping to be applied may be determined as a function of at least the spectral shape of the background noise.
At step 1606, the determined degree of spectral shaping is applied to the portion of the speech signal. Applying the determined degree of spectral shaping to the portion of the speech signal may comprise amplifying at least one selected formant associated with the portion of the speech signal relative to at least one other formant associated with the portion of the speech signal. For example, applying the determined degree of spectral shaping to the portion of the speech signal may comprise amplifying a second and third formant associated with the portion of the speech signal relative to a first formant associated with the portion of the speech signal.
In one embodiment, applying the determined degree of spectral shaping to the portion of the speech signal comprises performing time-domain filtering on the portion of the speech signal using an adaptive high-pass filter.
Performing time-domain filtering on the portion of the speech signal using an adaptive high-pass filter may comprise performing time-domain filtering on the portion of the speech signal using a first adaptive spectral shaping filter and a second adaptive spectral shaping filter, wherein the second adaptive spectral shaping filter is configured to adapt more rapidly than the first adaptive spectral shaping filter. For example, the first adaptive spectral shaping filter may have the form
x(n)=rin(n)−b·rin(n−1)
wherein x(n) is the output of the first adaptive spectral shaping filter, rin(n) is the input to the first adaptive spectral shaping filter, and b is a filter coefficient that increases as a degree of compression that was or is estimated to be applied to the speech signal increases. In further accordance with this example, the second adaptive spectral shaping filter may have the form:
y(n)=x(n)−c·x(n−2)−c·y(n−1)
wherein y(n) is the output of the second adaptive spectral shaping filter, x(n) is the input to the second adaptive spectral shaping filter and c is a control parameter. The control parameter c may be calculated based upon a degree of compression that was or is estimated to be applied to the speech signal. The control parameter c may also be calculated based upon a measure of a slope of a spectral envelope of the speech signal.
Alternatively, performing time-domain filtering on the portion of the speech signal using an adaptive high-pass filter may comprise using only the first adaptive spectral shaping filter described above or using only the second adaptive spectral shaping filter described above.
In one embodiment, performing dispersion filtering on the portion of the speech signal as described in reference to step 1702 comprises reducing a peak-to-average ratio associated with the portion of the speech signal. Reducing a peak-to-average ratio associated with the portion of the speech signal may comprise, for example, reducing a peak-to-RMS ratio associated with the portion of the speech signal.
Performing dispersion filtering on the portion of the speech signal as described in reference to step 1702 may also comprise passing the portion of the speech signal through a fixed all-pass filter. The fixed all-pass filter may comprise, for example, a fixed sixth-order all-pass filter.
Alternatively, performing dispersion filtering on the portion of the speech signal as described in reference to step 1702 may comprise passing the portion of the speech signal through an adaptive all-pass filter. In accordance with such an embodiment, poles and zeros of the adaptive all-pass filter may be adapted based on local characteristics of the speech signal. For example, radii of the poles of the adaptive all-pass filter may be decreased during silence regions of the speech signal and increased during vowel regions of the speech signal. As another example, pole frequencies of the adaptive all-pass filter may be set to pole frequencies of a fixed all-pass filter during an initial portion of a voiced region of the speech signal and then the pole frequencies may be adapted during subsequent portions of the speech signal by tracking changes in the speech signal. Tracking changes in the speech signal may include estimating formant frequencies of the speech signal and guiding the adaptation of the pole frequencies of the all-pass filter based on the estimated formant frequencies. Tracking changes in the speech signal may also comprises performing a closed-loop pole frequency search to determine optimal pole frequencies and then guiding the adaptation of the pole frequencies of the all-pass filter based on the optimal pole frequencies. Performing the closed-loop pole frequency search to determine the optimal pole frequencies may comprise limiting the closed-loop pole frequency search to predefined search ranges around optimal pole frequencies associated with a previously-processed portion of the speech signal.
In another embodiment in which performing dispersion filtering on the portion of the speech signal comprises passing the portion of the speech signal through an adaptive all-pass filter, the adaptive all-pass filter may be adapted based on a value representative of an amount of compression applied to one or more previously-processed portions of the speech signal. Adapting the filter in this manner may include calculating a scaling factor based on the value representative of the amount of compression, wherein the scaling factor increases as the value increases, and then applying the scaling factor to radii of poles of the adaptive all-pass filter.
In a further embodiment, performing dispersion filtering on the portion of the speech signal as described in reference to step 1702 comprises passing the portion of the speech signal through an all-pass filter comprises selecting one of a collection of N all-pass filter candidates.
As shown in
At step 1904, the far-end speech signal is modified based on at least the calculated characteristics to increase the intelligibility thereof. In an embodiment in which the calculated characteristics comprise one or more estimated levels of background noise corresponding to one or more sub-band components of the near-end speech signal, this step may comprise performing spectral shaping on the far-end speech signal based on one or more of the estimated levels of background noise corresponding to one or more of the sub-band components.
At step 1906, acoustic echo present in the near-end speech signal is suppressed based on at least the calculated characteristics.
In one embodiment of the method of flowchart 1900, calculating characteristics in step 1902 comprises determining whether voice activity is present in the far-end speech signal and modifying the far-end speech signal in step 1904 comprises controlling the operation of a level estimator based on the determination, wherein the level estimator calculates an estimated signal level associated with the far-end speech signal, and applying a gain to the far-end speech signal wherein the amount of gain applied is based on the estimated signal level. Determining whether voice activity is present in the far-end speech signal may comprise analyzing one or more sub-band components of the far-end speech signal.
In another embodiment of the method of flowchart 1900, calculating characteristics in step 1902 comprises determining whether voice activity is present in the near-end speech signal and modifying the far-end speech signal in step 1904 comprises controlling the operation of a level estimator based on the determination, wherein the level estimator calculates an estimated signal level associated with the far-end speech signal, and applying a gain to the far-end speech signal wherein the amount of gain applied is based on the estimated signal level. Determining whether voice activity is present in the near-end speech signal may comprise analyzing one or more sub-band components of the near-end speech signal.
In a further embodiment of the method of flowchart 1900, calculating characteristics in step 1902 comprises calculating the estimated level of background noise at one or more microphones in a plurality of microphones associated with the audio device. Calculating the estimated level of background noise at one or more microphones in the plurality of microphones associated with the audio device may comprise modifying an estimated level of background noise associated with the near-end speech signal to account for a noise changing effect produced by a beamformer coupled to the plurality of microphones.
At step 2006, a portion of the second speech signal is received.
At step 2008, the portion of the second speech signal is modified to increase the intelligibility thereof, wherein the degree of modification applied to the portion of the second speech signal is based at least on an estimated level of background noise.
At step 2010, the modified portion of the first speech signal and the modified portion of the second speech signal to produce an output speech signal for playback.
The foregoing method of flowchart 2000 may further include applying amplitude compression to the output speech signal and/or applying soft clipping to the output speech signal. In the foregoing method of flowchart 2000, step 2004 may include applying compression to the portion of the first speech signal to produce the modified portion of the first speech signal and/or applying soft clipping to the portion of the first speech signal to produce the modified portion of the first speech signal. Likewise, step 2008 may include applying compression to the portion of the second speech signal to produce the modified portion of the second speech signal and/or applying soft clipping to the portion of the second speech signal to produce the modified portion of the second speech signal.
If it is determined during decision step 2104 that the second speech signal does not constitute active speech, then the amount of gain is reduced in response to an increase in an estimated level of the first speech signal and the amount of gain is increased in response to a decrease in the estimated level of the first speech signal as shown at step 2106. However, if it is determined during decision step 2104 that the second speech signal does constitute active speech, then the amount of gain is reduced in response to an increase in the estimated level of the first speech signal and the amount of gain is not increased in response to a decrease in the estimated level of the first speech signal as shown at step 2108.
The method of flowchart 2100 may further include updating the estimated level of the first speech signal. Updating the estimated level of the first speech signal may include calculating a short-term estimate of the level of the first speech signal based on a received portion of the first speech signal and then updating a long-term estimate of the level of the first speech signal based on the short-term estimate. In accordance with such an embodiment, performing step 2108 of flowchart 2100 may comprise not decreasing the long-term estimate of the level of the first speech signal responsive to a decrease in the short-term estimate of the level of the first speech signal.
The method of flowchart 2100 may further include determining whether the first speech signal constitutes a tone and performing step 2108 responsive also to determining that the first speech signal constitutes a tone. The method of flowchart 2100 may still further include determining whether the first speech signal constitutes a stationary signal and performing step 2108 responsive also to determining that the first speech signal constitutes a stationary signal.
In particular,
A further example of the operation of SIE system 200 will now be described in reference to waveform plots shown in
In contrast, now assume that the user is using a telephony device that does include SIE system 200 to play back the far-end speech signal plotted in
It will be apparent to persons skilled in the relevant art(s) that various elements and features of the present invention, as described herein, may be implemented in hardware using analog and/or digital circuits, in software, through the execution of instructions by one or more general purpose or special-purpose processors, or as a combination of hardware and software.
The following description of a general purpose computer system is provided for the sake of completeness. Embodiments of the present invention can be implemented in hardware, or as a combination of software and hardware. Consequently, embodiments of the invention may be implemented in the environment of a computer system or other processing system. An example of such a computer system 3100 is shown in
Computer system 3100 includes one or more processors, such as processor 3104. Processor 3104 can be a special purpose or a general purpose digital signal processor. Processor 3104 is connected to a communication infrastructure 3102 (for example, a bus or network). Various software implementations are described in terms of this exemplary computer system. After reading this description, it will become apparent to a person skilled in the relevant art(s) how to implement the invention using other computer systems and/or computer architectures.
Computer system 3100 also includes a main memory 3106, preferably random access memory (RAM), and may also include a secondary memory 3120. Secondary memory 3120 may include, for example, a hard disk drive 3122 and/or a removable storage drive 3124, representing a floppy disk drive, a magnetic tape drive, an optical disk drive, or the like. Removable storage drive 3124 reads from and/or writes to a removable storage unit 3128 in a well known manner. Removable storage unit 3128 represents a floppy disk, magnetic tape, optical disk, or the like, which is read by and written to by removable storage drive 3124. As will be appreciated by persons skilled in the relevant art(s), removable storage unit 3128 includes a computer usable storage medium having stored therein computer software and/or data.
In alternative implementations, secondary memory 3120 may include other similar means for allowing computer programs or other instructions to be loaded into computer system 3100. Such means may include, for example, a removable storage unit 3130 and an interface 3126. Examples of such means may include a program cartridge and cartridge interface (such as that found in video game devices), a removable memory chip (such as an EPROM, or PROM) and associated socket, and other removable storage units 3130 and interfaces 3126 which allow software and data to be transferred from removable storage unit 3130 to computer system 3100.
Computer system 3100 may also include a communications interface 3140. Communications interface 3140 allows software and data to be transferred between computer system 3100 and external devices. Examples of communications interface 3140 may include a modem, a network interface (such as an Ethernet card), a communications port, a PCMCIA slot and card, etc. Software and data transferred via communications interface 3140 are in the form of signals which may be electronic, electromagnetic, optical, or other signals capable of being received by communications interface 3140. These signals are provided to communications interface 3140 via a communications path 3142. Communications path 3142 carries signals and may be implemented using wire or cable, fiber optics, a phone line, a cellular phone link, an RF link and other communications channels.
As used herein, the terms “computer program medium” and “computer usable medium” are used to generally refer to media such as removable storage units 3128 and 3130 or a hard disk installed in hard disk drive 3122. These computer program products are means for providing software to computer system 3100.
Computer programs (also called computer control logic) are stored in main memory 3106 and/or secondary memory 3120. Computer programs may also be received via communications interface 3140. Such computer programs, when executed, enable the computer system 3100 to implement the present invention as discussed herein. In particular, the computer programs, when executed, enable processor 3100 to implement the processes of the present invention, such as any of the methods described herein. Accordingly, such computer programs represent controllers of the computer system 3100. Where the invention is implemented using software, the software may be stored in a computer program product and loaded into computer system 3100 using removable storage drive 3124, interface 3126, or communications interface 3140.
In another embodiment, features of the invention are implemented primarily in hardware using, for example, hardware components such as application-specific integrated circuits (ASICs) and gate arrays. Implementation of a hardware state machine so as to perform the functions described herein will also be apparent to persons skilled in the relevant art(s).
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example, and not limitation. It will be apparent to persons skilled in the relevant art that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. For example, although embodiments of the present invention are described herein as operating within the context of a telephony terminal, the present invention is not so limited and embodiments of the present invention may be implemented in any device capable of processing an audio signal for playback in the presence of background noise. Furthermore, the processing of an audio signal for playback as described herein may encompass processing the audio signal for immediate playback, processing the audio signal for storage followed by subsequent retrieval and playback, processing the audio signal for playback by the same device on which such processing occurs, or processing the audio signal for transmission to and playback by a different device.
The present invention has been described above with the aid of functional building blocks and method steps illustrating the performance of specified functions and relationships thereof The boundaries of these functional building blocks and method steps have been arbitrarily defined herein for the convenience of the description. Alternate boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed. Any such alternate boundaries are thus within the scope and spirit of the claimed invention. One skilled in the art will recognize that these functional building blocks can be implemented by discrete components, application specific integrated circuits, processors executing appropriate software and the like or any combination thereof. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.
This application claims priority to U.S. Provisional Patent Application No. 61/052,553, filed May 12, 2008, the entirety of which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
61052553 | May 2008 | US |