The present invention relates generally to the transmission and recording of audio signals. More particularly, the present invention provides for a reduction of information required to transmit or store a given audio signal while maintaining a given level of perceived quality in the output signal.
Many communications systems face the problem that the demand for information transmission and storage capacity often exceeds the available capacity. As a result there is considerable interest among those in the fields of broadcasting and recording to reduce the amount of information required to transmit or record an audio signal intended for human perception without degrading its subjective quality. Similarly there is a need to improve the quality of the output signal for a given bandwidth or storage capacity.
Two principle considerations drive the design of systems intended for audio transmission and storage: the need to reduce information requirements and the need to ensure a specified level of perceptual quality in the output signal. These two considerations conflict in that reducing the quantity of information transmitted can reduce the perceived quality of the output signal. While objective constraints such as data rate are usually imposed by the communications system itself, subjective perceptual requirements are usually dictated by the application.
Traditional methods for reducing information requirements involve transmitting or recording only a selected portion of the input signal, with the remainder being discarded. Preferably, only that portion deemed to be either redundant or perceptually irrelevant is discarded. If additional reduction is required, preferably only a portion of the signal deemed to have the least perceptual significance is discarded.
Speech applications that emphasize intelligibility over fidelity, such as speech coding, may transmit or record only a portion of a signal, referred to herein as a “baseband signal”, which contains only the perceptually most relevant portions of the signal's frequency spectrum. A receiver can regenerate the omitted portion of the voice signal from information contained within that baseband signal. The regenerated signal generally is not perceptually identical to the original, but for many applications an approximate reproduction is sufficient. On the other hand, applications designed to achieve a high degree of fidelity, such as high-quality music applications, generally require a higher quality output signal. To obtain a higher quality output signal, it is generally necessary to transmit a greater amount of information or to utilize a more sophisticated method of generating the output signal.
One technique used in connection with speech signal decoding is known as high frequency regeneration (“HFR”). A baseband signal containing only low-frequency components of a signal is transmitted or stored. A receiver regenerates the omitted high-frequency components based on the contents of the received baseband signal and combines the baseband signal with the regenerated high-frequency components to produce an output signal. Although the regenerated high-frequency components are generally not identical to the high-frequency components in the original signal, this technique can produce an output signal that is more satisfactory than other techniques that do not use HFR. Numerous variations of this technique have been developed in the area of speech encoding and decoding. Three common methods used for HFR are spectral folding, spectral translation, and rectification. A description of these techniques can be found in Makhoul and Berouti, “High-Frequency Regeneration in Speech Coding Systems”, ICASSP 1979 IEEE International Conf. on Acoust., Speech and Signal Proc., Apr. 2-4, 1979.
Although simple to implement, these HFR techniques are usually not suitable for high quality reproduction systems such as those used for high quality music. Spectral folding and spectral translation can produce undesirable background tones. Rectification tends to produce results that are perceived to be harsh. The inventors have noted that in many cases where these techniques have produced unsatisfactory results, the techniques were used in bandlimited speech coders where HFR was restricted to the translation of components below 5 kHz.
The inventors have also noted two other problems that can arise from the use of HFR techniques. The first problem is related to the tone and noise characteristics of signals, and the second problem is related to the temporal shape or envelope of regenerated signals. Many natural signals contain a noise component that increases in magnitude as a function of frequency. Known HFR techniques regenerate high-frequency components from a baseband signal but fail to reproduce a proper mix of tone-like and noise-like components in the regenerated signal at the higher frequencies. The regenerated signal often contains a distinct high-frequency “buzz” attributable to the substitution of tone-like components in the baseband for the original, more noise-like high-frequency components. Furthermore, known HFR techniques fail to regenerate spectral components in such a way that the temporal envelope of the regenerated signal preserves or is at least similar to the temporal envelope of the original signal.
A number of more sophisticated HFR techniques have been developed that offer improved results; however, these techniques tend to be either speech specific, relying on characteristics of speech that are not suitable for music and other forms of audio, or require extensive computational resources that cannot be implemented economically.
It is an object of the present invention to provide for the processing of audio signals to reduce the quantity of information required to represent a signal during transmission or storage while maintaining the perceived quality of the signal. Although the present invention is particularly directed toward the reproduction of music signals, it is also applicable to a wide range of audio signals including voice.
According to an aspect of the present invention, a method for reconstructing an audio signal having a baseband portion and a highband portion is disclosed. The method includes obtaining a decoded baseband audio signal by decoding an encoded audio signal and obtaining a plurality of subband signals by filtering the decoded baseband audio signal. The encoded audio signal includes spectral components of the baseband portion and does not include spectral components of the highband portion. The number of the spectral components of the baseband portion also is capable of varying dynamically. The method further includes generating a high-frequency reconstructed signal by copying a number of consecutive subband signals of the plurality of subband signals and obtaining an envelope adjusted high-frequency signal by adjusting, based on an estimated spectral envelope of the highband portion, a spectral envelope of the high-frequency reconstructed signal. The estimated spectral envelope is extracted from the encoded audio signal. The method further includes generating a noise component based on a noise parameter and obtaining a combined high-frequency signal by adding the noise component to the envelope adjusted high-frequency signal. The noise parameter is extracted from the encoded audio signal, and the noise parameter indicates a level of noise contained in the highband portion. A phase of the high-frequency reconstructed signal is adjusted. Finally, the method includes obtaining a time-domain reconstructed audio signal by combining the decoded baseband audio signal and the combined high-frequency signal to obtain a time-domain reconstructed audio signal. The method may be implemented by an audio decoding device comprising one or more hardware elements.
Other aspects of the present invention are described below and set forth in the claims.
The various features of the present invention and its preferred implementations may be better understood by referring to the following discussion and the accompanying drawings in which like reference numerals refer to like elements in the several figures. The contents of the following discussion and the drawings are set forth as examples only and should not be understood to represent limitations upon the scope of the present invention.
Communication systems, which are restricted to transmitting over a channel that has a limited bandwidth or recording on a medium that has limited capacity, encounter problems when the demand for information exceeds this available bandwidth or capacity. As a result there is a continuing need in the fields of broadcasting and recording to reduce the amount of information required to transmit or record an audio signal intended for human perception without degrading its subjective quality. Similarly there is a need to improve the quality of the output signal for a given transmission bandwidth or storage capacity.
A technique used in connection with speech coding is known as high-frequency regeneration (“HFR”). Only a baseband signal containing low-frequency components of a speech signal are transmitted or stored. The receiver 142 regenerates the omitted high-frequency components based on the contents of the received baseband signal and combines the baseband signal with the regenerated high-frequency components to produce an output signal. In general, however, known HFR techniques produce regenerated high-frequency components that are easily distinguishable from the high-frequency components in the original signal. The present invention provides an improved technique for spectral component regeneration that produces regenerated spectral components perceptually more similar to corresponding spectral components in the original signal than is provided by other known techniques. It is important to note that although the techniques described herein are sometimes referred to as high-frequency regeneration, the present invention is not limited to the regeneration of high-frequency components of a signal. The techniques described below may also be utilized to regenerate spectral components in any part of the spectrum.
The analysis filterbank 705 may be implemented by essentially any time-domain to frequency-domain transform. The transform used in a preferred implementation of the present invention is described in Princen, Johnson and Bradley, “Subband/Transform Coding Using Filter Bank Designs Based on Time Domain Aliasing Cancellation,” ICASSP 1987 Conf. Proc., May 1987, pp. 2161-64. This transform is the time-domain equivalent of an oddly-stacked critically sampled single-sideband analysis-synthesis system with time-domain aliasing cancellation and is referred to herein as “O-TDAC”.
According to the O-TDAC technique, an audio signal is sampled, quantized and grouped into a series of overlapped time-domain signal sample blocks. Each sample block is weighted by an analysis window function. This is equivalent to a sample-by-sample multiplication of the signal sample block. The O-TDAC technique applies a modified Discrete Cosine Transform (“DCT”) to the weighted time-domain signal sample blocks to produce sets of transform coefficients, referred to herein as “transform blocks”. To achieve critical sampling, the technique retains only half of the spectral coefficients prior to transmission or storage. Unfortunately, the retention of only half of the spectral coefficients causes a complementary inverse transform to generate time-domain aliasing components. The O-TDAC technique can cancel the aliasing and accurately recover the input signal. The length of the blocks may be varied in response to signal characteristics using techniques that are known in the art; however, care should be taken with respect to phase coherency for reasons that are discussed below. Additional details of the O-TDAC technique may be obtained by referring to U.S. Pat. No. 5,394,473.
To recover the original input signal blocks from the transform blocks, the O-TDAC technique utilizes an inverse modified DCT. The signal blocks produced by the inverse transform are weighted by a synthesis window function, overlapped and added to recreate the input signal. To cancel the time-domain aliasing and accurately recover the input signal, the analysis and synthesis windows must be designed to meet strict criteria.
In one preferred implementation of a system for transmitting or recording an input digital signal sampled at a rate of 44.1 kilosamples/second, the spectral components obtained from the analysis filterbank 705 are divided into four subbands having ranges of frequencies as shown in Table I.
The baseband signal analyzer 710 selects which spectral components to discard and which spectral components to retain for the baseband signal. This selection can vary depending on input signal characteristics or it can remain fixed according to the needs of an application; however, the inventors have determined empirically that the perceived quality of an audio signal deteriorates if one or more of the signal's fundamental frequencies are discarded. It is therefore preferable to preserve those portions of the spectrum that contain the signal's fundamental frequencies. Because the fundamental frequencies of voice and most natural musical instruments are generally no higher than about 5 kHz, a preferred implementation of the transmitter 136 intended for music applications uses a fixed cutoff frequency at or around 5 kHz and discards all spectral components above that frequency. In the case of a fixed cutoff frequency, the baseband signal analyzer need not do anything more than provide the fixed cutoff frequency to the filter 715 and the spectral analyzer 722. In an alternative implementation, the baseband signal analyzer 710 is eliminated and the filter 715 and the spectral analyzer 722 operate according to the fixed cutoff frequency. In the subband structure shown above in Table I, for example, the spectral components in only subband 0 are retained for the baseband signal. This choice is also suitable because the human ear cannot easily distinguish differences in pitch above 5 kHz and therefore cannot easily discern inaccuracies in regenerated components above this frequency.
The choice of cutoff frequency affects the bandwidth of the baseband signal, which in turn influences a tradeoff between the information capacity requirements of the output signal generated by the transmitter 136 and the perceived quality of the signal reconstructed by the receiver 142. The perceived quality of the signal reconstructed by the receiver 142 is influenced by three factors that are discussed in the following paragraphs.
The first factor is the accuracy of the baseband signal representation that is transmitted or stored. Generally, if the bandwidth of a baseband signal is held constant, the perceived quality of a reconstructed signal will increase as the accuracy of the baseband signal representation is increased. Inaccuracies represent noise that will be audible in the reconstructed signal if the inaccuracies are large enough. The noise will degrade both the perceived quality of the baseband signal and the spectral components that are regenerated from the baseband signal. In an exemplary implementation, the baseband signal representation is a set of frequency-domain transform coefficients. The accuracy of this representation is controlled by the number of bits that are used to express each transform coefficient. Coding techniques can be used to convey a given level of accuracy with fewer bits; however, a basic tradeoff between baseband signal accuracy and information capacity requirements exists for any given coding technique.
The second factor is the bandwidth of the baseband signal that is transmitted or stored. Generally, if the accuracy of the baseband signal representation is held constant, the perceived quality of a reconstructed signal will increase as the bandwidth of the baseband signal is increased. The use of wider bandwidth baseband signals allows the receiver 142 to confine regenerated spectral components to higher frequencies where the human auditory system is less sensitive to differences in temporal and spectral shape. In the exemplary implementation mentioned above, the bandwidth of the baseband signal is controlled by the number of transform coefficients in the representation. Coding techniques can be used to convey a given number of coefficients with fewer bits; however, a basic tradeoff between baseband signal bandwidth and information capacity requirements exists for any given coding technique.
The third factor is the information capacity that is required to transmit or store the baseband signal representation. If the information capacity requirement is held constant, the baseband signal accuracy will vary inversely with the bandwidth of the baseband signal. The needs of an application will generally dictate a particular information capacity requirement for the output signal that is generated by the transmitter 136. This capacity must be allocated to various portions of the output signal such as a baseband signal representation and an estimated spectral envelope. The allocation must balance the needs of a number of conflicting interests that are well known for communication systems. Within this allocation, the bandwidth of the baseband signal should be chosen to balance a tradeoff with coding accuracy to optimize the perceived quality of the reconstructed signal.
The spectral envelope estimator 720 analyzes the audio signal to extract information regarding the signal's spectral envelope. If available information capacity permits, an implementation of the transmitter 136 preferably obtains an estimate of a signal's spectral envelope by dividing the signal's spectrum into frequency bands with bandwidths approximating the human ear's critical bands, and extracting information regarding the signal magnitude in each band. In most applications having limited information capacity, however, it is preferable to divide the spectrum into a smaller number of subbands such as the arrangement shown above in Table I. Other variations may be used such as calculating a power spectral density, or extracting the average or maximum amplitude in each band. More sophisticated techniques can provide higher quality in the output signal but generally require greater computational resources. The choice of method used to obtain an estimated spectral envelope generally has practical implications because it generally affects the perceived quality of the communication system; however, the choice of method is not critical in principle. Essentially any technique may be used as desired.
In one implementation using the subband structure shown in Table I, the spectral envelope estimator 720 obtains an estimate of the spectral envelope only for subbands 0, 1 and 2. Subband 3 is excluded to reduce the amount of information required to represent the estimated spectral envelope.
The spectral analyzer 722 analyzes the estimated spectral envelope received from the spectral envelope estimator 720 and information from the baseband signal analyzer 710, which identifies the spectral components to be discarded from a baseband signal, and calculates one or more noise-blending parameters to be used by the receiver 142 to generate a noise component for translated spectral components. A preferred implementation minimizes data rate requirements by computing and transmitting a single noise-blending parameter to be applied by the receiver 142 to all translated components. Noise-blending parameters can be calculated by any one of a number of different methods. A preferred method derives a single noise-blending parameter equal to a spectral flatness measure that is calculated from the ratio of the geometric mean to the arithmetic mean of the short-time power spectrum. The ratio gives a rough indication of the flatness of the spectrum. A higher spectral flatness measure, which indicates a flatter spectrum, also indicates a higher noise-blending level is appropriate.
In an alternative implementation of the transmitter 136, the spectral components are grouped into multiple subbands such as those shown in Table I, and the transmitter 136 transmits a noise-blending parameter for each subband. This more accurately defines the amount of noise to be mixed with the translated frequency content but it also requires a higher data rate to transmit the additional noise-blending parameters.
The filter 715 receives information from the baseband signal analyzer 710, which identifies the spectral components that are selected to be discarded from a baseband signal, and eliminates the selected frequency components to obtain a frequency-domain representation of the baseband signal for transmission or storage.
The filter 715 may be implemented in essentially any manner that effectively removes the frequency components that are selected for discarding. In one implementation, the filter 715 applies a frequency-domain window function to the frequency-domain representation of the input audio signal. The shape of the window function is selected to provide an appropriate trade off between frequency selectivity and attenuation against time-domain effects in the output audio signal that is ultimately generated by the receiver 142.
The signal formatter 725 generates an output signal along communication channel 140 by combining the estimated spectral envelope information, the one or more noise-blending parameters, and a representation of the baseband signal into an output signal having a form suitable for transmission or storage. The individual signals may be combined in essentially any manner. In many applications, the formatter 725 multiplexes the individual signals into a serial bit stream with appropriate synchronization patterns, error detection and correction codes, and other information that is pertinent either to transmission or storage operations or to the application in which the audio information is used. The signal formatter 725 may also encode all or portions of the output signal to reduce information capacity requirements, to provide security, or to put the output signal into a form that facilitates subsequent usage.
The deformatter 805 processes the signal received from communication channel 140 in a manner that is complementary to the formatting process provided by the signal formatter 725. In many applications, the deformatter 805 receives a serial bit stream from the channel 140, uses synchronization patterns within the bit stream to synchronize its processing, uses error correction and detection codes to identify and rectify errors that were introduced into the bit stream during transmission or storage, and operates as a demultiplexer to extract a representation of the baseband signal, the estimated spectral envelope information, one or more noise-blending parameters, and any other information that may be pertinent to the application. The deformatter 805 may also decode all or portions of the serial bit stream to reverse the effects of any coding provided by the transmitter 136. A frequency-domain representation of the baseband signal is passed to the spectral component regenerator 810, the noise-blending parameters are passed to the blending filter 818, and the spectral envelope information is passed to the gain adjuster 820.
The spectral component regenerator 810 regenerates missing spectral components by copying or translating all or at least some of the spectral components of the baseband signal to the locations of the missing components of the signal. Spectral components may be copied into more than one interval of frequencies, thereby allowing an output signal to be generated with a bandwidth greater than twice the bandwidth of the baseband signal.
In an implementation of the receiver 142 that uses only subbands 0 and 1 shown above in Table I, the baseband signal contains no spectral components above a cutoff frequency at or about 5.5 kHz. Spectral components of the baseband signal are copied or translated to a range of frequencies from about 5.5 kHz to about 11.0 kHz. If a 16.5 kHz bandwidth is desired, for example, the spectral components of the baseband signal can also be translated into ranges of frequencies from about 11.0 kHz to about 16.5 kHz. Generally, the spectral components are translated into non-overlapping frequency ranges such that no gap exists in the spectrum including the baseband signal and all copied spectral components; however, this feature is not essential. Spectral components may be translated into overlapping frequency ranges and/or into frequency ranges with gaps in the spectrum in essentially any manner as desired.
The choice of which spectral components should be copied can be varied to suit the particular application. For example, spectral components that are copied need not start at the lower edge of the baseband and need not end at the upper edge of the baseband. The perceived quality of the signal reconstructed by the receiver 142 can sometimes be improved by excluding fundamental frequencies of voice and instruments and copying only harmonics. This aspect is incorporated into one implementation by excluding from translation those baseband spectral components that are below about 1 kHz. Referring to the subband structure shown above in Table I as an example, only spectral components from about 1 kHz to about 5.5 kHz are translated.
If the bandwidth of all spectral components to be regenerated is wider than the bandwidth of the baseband spectral components to be copied, the baseband spectral components may be copied in a circular manner starting with the lowest frequency component up to the highest frequency component and, if necessary, wrapping around and continuing with the lowest frequency component. For example, referring to the subband structure shown in Table I, if only baseband spectral components from about 1 kHz to 5.5 kHz are to be copied and spectral components are to be regenerated for subbands 1 and 2 that span frequencies from about 5.5 kHz to 16.5 kHz, then baseband spectral components from about 1 kHz to 5.5 kHz are copied to respective frequencies from about 5.5 kHz to 10 kHz, the same baseband spectral components from about 1 kHz to 5.5 kHz are copied again to respective frequencies from about 10 kHz to 14.5 kHz, and the baseband spectral component from about 1 kHz to 3 kHz are copied to respective frequencies from about 14.5 kHz to 16.5 kHz. Alternatively, this copying process can be performed for each individual subband of regenerated components by copying the lowest-frequency component of the baseband to the lower edge of the respective subband and continuing through the baseband spectral components in a circular manner as necessary to complete the translation for that subband.
The translation of spectral components may create discontinuities in the phase of the regenerated components. The O-TDAC transform implementation described above, for example, as well as many other possible implementations, provides frequency-domain representations that are arranged in blocks of transform coefficients. The translated spectral components are also arranged in blocks. If spectral components regenerated by translation have phase discontinuities between successive blocks, audible artifacts in the output audio signal are likely to occur.
The phase adjuster 815 adjusts the phase of each regenerated spectral component to maintain a consistent or coherent phase. In an implementation of the receiver 142 which employs the O-TDAC transform described above, each of the regenerated spectral components is multiplied by the complex value ejΔω, where Δω represents the frequency interval each respective spectral component is translated, expressed as the number of transform coefficients that correspond to that frequency interval. For example, if a spectral component is translated to the frequency of the adjacent component, the translation interval Δω is equal to one. Alternative implementations may require different phase adjustment techniques appropriate to the particular implementation of the synthesis filterbank 825.
The translation process may be adapted to match the regenerated components with harmonics of significant spectral components within the baseband signal. Two ways in which translation may be adapted is by changing either the specific spectral components that are copied, or by changing the amount of translation. If an adaptive process is used, special care should be taken with regard to phase coherency if spectral components are arranged in blocks. If the regenerated spectral components are copied from different base components from block to block or if the amount of frequency translation is changed from block to block, it is very likely the regenerated components will not be phase coherent. It is possible to adapt the translation of spectral components but care must be taken to ensure the audibility of artifacts caused by phase incoherency is not significant. A system that employs either multiple-pass techniques or look-ahead techniques could identify intervals during which translation could be adapted. Blocks representing intervals of an audio signal in which the regenerated spectral components are deemed to be inaudible are usually good candidates for adapting the translation process.
The blending filter 818 generates a noise component for the translated spectral components using the noise-blending parameters received from the deformatter 805. The blending filter 818 generates a noise signal, computes a noise-blending function using the noise-blending parameters and utilizes the noise-blending function to combine the noise signal with the translated spectral components.
A noise signal can be generated by any one of a variety of ways. In a preferred implementation, a noise signal is produced by generating a sequence of random numbers having a distribution with zero mean and variance of one. The blending filter 818 adjusts the noise signal by multiplying the noise signal by the noise-blending function. If a single noise-blending parameter is used, the noise-blending function generally should adjust the noise signal to have higher amplitude at higher frequencies. This follows from the assumptions discussed above that voice and natural musical instrument signals tend to contain more noise at higher frequencies. In a preferred implementation when spectral components are translated to higher frequencies, a noise-blending function has a maximum amplitude at the highest frequency and decays smoothly to a minimum value at the lowest frequency at which noise is blended.
One implementation uses a noise-blending function N(k) as shown in the following expression:
where max(x,y)=the larger of x and y;
In this implementation, the value of B varies from zero to one, where one indicates a flat spectrum that is typical of a noise-like signal and zero indicates a spectral shape that is not flat and is typical of a tone-like signal. The value of the quotient in equation 1 varies from zero to one as k increases from kMIN to kMAX. If B is equal to zero, the first term in the “max” function varies from negative one to zero; therefore, N(k) will be equal to zero throughout the regenerated spectrum and no noise is added to regenerated spectral components. If B is equal to one, the first term in the “max” function varies from zero to one; therefore, N(k) increases linearly from zero at the lowest regenerated frequency kMIN up to a value equal to one at the maximum regenerated frequency kMAX. If B has a value between zero and one, N(k) is equal to zero from kMIN up to some frequency between kMIN and kMAX, and increases linearly for the remainder of the regenerated spectrum. The amplitude of the regenerated spectral components is adjusted by multiplying the regenerated components with the noise-blending function. The adjusted noise signal and the adjusted regenerated spectral components are combined.
This particular implementation described above is merely one suitable example. Other noise blending techniques may be used as desired.
The gain adjuster 820 adjusts the amplitude of the regenerated signal according to the estimated spectral envelope information received from the deformatter 805.
The gain-adjusted regenerated spectral components provided by the gain adjuster 820 are combined with the frequency-domain representation of the baseband signal received from the deformatter 805 to form a frequency-domain representation of a reconstructed signal. This may be done by adding the regenerated components to corresponding components of the baseband signal.
The synthesis filterbank 825 transforms the frequency-domain representation into a time domain representation of the reconstructed signal. This filterbank can be implemented in essentially any manner but it should be inverse to the filterbank 705 used in the transmitter 136. In the preferred implementation discussed above, receiver 142 uses O-TDAC synthesis that applies an inverse modified DCT.
The width and location of the baseband signal can be established in essentially any manner and can be varied dynamically according to input signal characteristics, for example. In one alternative implementation, the transmitter 136 generates a baseband signal by discarding multiple bands of spectral components, thereby creating gaps in the spectrum of the baseband signal. During spectral component regeneration, portions of the baseband signal are translated to regenerate the missing spectral components.
The direction of translation can also be varied. In another implementation, the transmitter 136 discards spectral components at low frequencies to produce a baseband signal located at relatively higher frequencies. The receiver 142 translates portions of the high-frequency baseband signal down to lower-frequency locations to regenerate the missing spectral components.
The regeneration techniques discussed above are able to generate a reconstructed signal that substantially preserves the spectral envelope of the input audio signal; however, the temporal envelope of the input signal generally is not preserved.
In the first method, the transmitter 136 determines the temporal envelope of the input audio signal in the time domain and the receiver 142 restores the same or substantially the same temporal envelope to the reconstructed signal in the time domain.
The analysis filterbank 205 may be implemented in essentially any manner such as one or more Quadrature Mirror Filters (QMF) connected in cascade or, preferably, by a pseudo-QMF technique that can divide an input signal into any integer number of subbands in one filter stage. Additional information about the pseudo-QMF technique may be obtained from Vaidyanathan, “Multirate Systems and Filter Banks,” Prentice Hall, N.J., 1993, pp. 354-373.
One or more of the subband signals are used to form the baseband signal. The remaining subband signals contain the spectral components of the input signal that are discarded. In many applications, the baseband signal is formed from one subband signal representing the lowest-frequency spectral components of the input signal, but this is not necessary in principle. In one preferred implementation of a system for transmitting or recording an input digital signal sampled at a rate of 44.1 kilosamples/second, the analysis filterbank 205 divides the input signal into four subbands having ranges of frequencies as shown above in Table I. The lowest-frequency subband is used to form the baseband signal.
Referring to the implementation shown in
The analysis filterbank 205 passes the higher-frequency subband signal to the temporal envelope estimator 210 and the modulator 211. The temporal envelope estimator 210 provides an estimated temporal envelope of the higher-frequency subband signal to the modulator 211 and to the output signal formatter 225. The modulator 211 divides the amplitude of the higher-frequency subband signal by the estimated temporal envelope and passes to the analysis filterbank 212 a representation of the higher-frequency subband signal that is flattened temporally. The analysis filterbank 212 generates a frequency-domain representation of the flattened higher-frequency subband signal. The spectral envelope estimator 720 and the spectral analyzer 722 provide an estimated spectral envelope and one or more noise-blending parameters, respectively, for the higher-frequency subband signal in essentially the same manner as that described above, and pass this information to the signal formatter 225.
The signal formatter 225 provides an output signal along communication channel 140 by assembling a representation of the flattened baseband signal, the estimated temporal envelopes of the baseband signal and the higher-frequency subband signal, the estimated spectral envelope, and the one or more noise-blending parameters into the output signal. The individual signals and information are assembled into a signal having a form that is suitable for transmission or storage using essentially any desired formatting technique as described above for the signal formatter 725.
The temporal envelope estimators 210 and 213 may be implemented in wide variety of ways. In one implementation, each of these estimators processes a subband signal that is divided into blocks of subband signal samples. These blocks of subband signal samples are also processed by either the analysis filterbank 212 or 215. In many practical implementations, the blocks are arranged to contain a number of samples that is a power of two and is greater than 256 samples. Such a block size is generally preferred to improve the efficiency and the frequency resolution of the transforms used to implement the analysis filterbanks 212 and 215. The length of the blocks may also be adapted in response to input signal characteristics such as the occurrence or absence of large transients. Each block is further divided into groups of 256 samples for temporal envelope estimation. The size of the groups is chosen to balance a tradeoff between the accuracy of the estimate and the amount of information required to convey the estimate in the output signal.
In one implementation, the temporal envelope estimator calculates the power of the samples in each group of subband signal samples. The set of power values for the block of subband signal samples is the estimated temporal envelope for that block. In another implementation, the temporal envelope estimator calculates the mean value of the subband signal sample magnitudes in each group. The set of means for the block is the estimated temporal envelope for that block.
The set of values in the estimated envelope may be encoded in a variety of ways. In one example, the envelope for each block is represented by an initial value for the first group of samples in the block and a set of differential values that express the relative values for subsequent groups. In another example, either differential or absolute codes are used in an adaptive manner to reduce the amount of information required to convey the values.
The synthesis filterbank 280 receives the frequency-domain representation of the flattened baseband signal and generates a time-domain representation using a technique that is inverse to that used by the analysis filterbank 215 in the transmitter 136. The modulator 281 receives the estimated temporal envelope of the baseband signal from the deformatter 265, and uses this estimated envelope to modulate the flattened baseband signal received from the synthesis filterbank 280. This modulation provides a temporal shape that is substantially the same as the temporal shape of the original baseband signal before it was flattened by the modulator 214 in the transmitter 136.
The signal processor 808 receives the frequency-domain representation of the flattened baseband signal, the estimated spectral envelope and the one or more noise-blending parameters from the deformatter 265, and regenerates spectral components in the same manner as that discussed above for the signal processor 808 shown in
The modulated subband signal and the modulated higher-frequency subband signal are combined to form a reconstructed signal, which is passed to the synthesis filterbank 287. The synthesis filterbank 287 uses a technique inverse to that used by the analysis filterbank 205 in the transmitter 136 to provide along path 145 an output signal that is perceptually indistinguishable or nearly indistinguishable from the original input signal received from path 115 by the transmitter 136.
In the second method, the transmitter 136 determines the temporal envelope of the input audio signal in the frequency domain and the receiver 142 restores the same or substantially the same temporal envelope to the reconstructed signal in the frequency domain.
Referring to
The temporal envelope estimator 707 may be implemented in a number of ways. The technical basis for one implementation of the temporal envelope estimator may be explained in terms of the linear system shown in equation 2:
y(t)=h(t)·x(t) (2)
where y(t)=a signal to be transmitted;
Equation 2 may be rewritten as:
Y[k]=H[k]*X[k] (3)
where Y[k]=a frequency-domain representation of the input signal y(t);
Referring to
In a preferred implementation of the transmitter 136, the filterbank 705 applies a transform to blocks of samples representing the signal y(t) to provide the frequency-domain representation Y[k] arranged in blocks of transform coefficients. Each block of transform coefficients expresses a short-time spectrum of the signal of the signal y(t). The frequency-domain representation X[k] is also arranged in blocks. Each block of coefficients in the frequency-domain representation X[k] represents a block of samples for the temporally-flat signal x(t) that is assumed to be wide sense stationary (WSS). It is also assumed the coefficients in each block of the X[k] representation are independently distributed (ID). Given these assumptions, the signals can be expressed by an ARMA model as follows:
Equation 4 can be solved for al and bq by solving for the autocorrelation of Y[k]:
where E{ } denotes the expected value function;
Equation 5 can be rewritten as:
where RYY[n] denotes the autocorrelation of Y[n]; and
If we further assume the linear system represented by H[k] is only autoregressive, then the second term on the right side of equation 6 is equal to the variance σ2X of X[k]. Equation 6 can then be rewritten as:
Equation 7 can be solved by inverting the following set of linear equations:
Given this background, it is now possible to describe one implementation of a temporal envelope estimator that uses frequency-domain techniques. In this implementation, the temporal envelope estimator 707 receives a frequency-domain representation Y[k] of an input signal y(t) and calculates the autocorrelation sequence RXX[m] for −L≦m≦L. These values are used to construct the matrix shown in equation 8. The matrix is then inverted to solve for the coefficients ai. Because the matrix in equation 8 is Toeplitz, it can be inverted by the Levinson-Durbin algorithm. For information, see Proakis and Manolakis, pp. 458-462.
The set of equations obtained by inverting the matrix cannot be solved directly because the variance σ2X of X[k] is not known; however, the set of equations can be solved for some arbitrary variance such as the value one. Once solved for this arbitrary value, the set of equations yields a set of unnormalized coefficients {a′0, . . . , a′L}. These coefficients are unnormalized because the equations were solved for an arbitrary variance. The coefficients can be normalized by dividing each by the value of the first unnormalized coefficient a′0, which can be expressed as:
The variance can be obtained from the following equation.
The set of normalized coefficients {1, a1, . . . , aL} represents the zeroes of a flattening filter FF that can be convolved with a frequency-domain representation Y[k] of an input signal y(t) to obtain a frequency-domain representation X[k] of a temporally-flattened version x(t) of the input signal. The set of normalized coefficients also represents the poles of a reconstruction filter FR that can be convolved with the frequency-domain representation X[k] of a temporally-flat signal x(t) to obtain a frequency-domain representation of that flat signal having a modified temporal shape substantially equal to the temporal envelope of the input signal y(t).
The temporal envelope estimator 707 convolves the flattening filter FF with the frequency-domain representation Y[k] received from the filterbank 705 and passes the temporally-flattened result to the filter 715, the baseband signal analyzer 710, and the spectral envelope estimator 720. A description of the coefficients in flattening filter FF is passed to the signal formatter 725 for assembly into the output signal passed along path 140.
Referring to
The temporal envelope regenerator 807 may be implemented in a number of ways. In an implementation compatible with the implementation of the envelope estimator discussed above, the deformatter 805 provides a set of coefficients that represent the poles of a reconstruction filter FR, which is convolved with the frequency-domain representation of the reconstructed signal.
Alternative implementations are possible. In one alternative for the transmitter 136, the spectral components of the frequency-domain representation received from the filterbank 705 are grouped into frequency subbands. The set of subbands shown in Table I is one suitable example. A flattening filter FF is derived for each subband and convolved with the frequency-domain representation of each subband to temporally flatten it. The signal formatter 725 assembles into the output signal an identification of the estimated temporal envelope for each subband. The receiver 142 receives the envelope identification for each subband, obtains an appropriate regeneration filter FR for each subband, and convolves it with a frequency-domain representation of the corresponding subband in the reconstructed signal.
In another alternative, multiple sets of coefficients {Ci}j are stored in a table. Coefficients {1, a1, . . . , aL} for flattening filter FF are calculated for an input signal, and the calculated coefficients are compared with each of the multiple sets of coefficients stored in the table. The set {Ci}j in the table that is deemed to be closest to the calculated coefficients is selected and used to flatten the input signal. An identification of the set {Ci}j that is selected from the table is passed to the signal formatter 725 to be assembled into the output signal. The receiver 142 receives the identification of the set {Ci}j, consults a table of stored coefficient sets to obtain the appropriate set of coefficients {Ci}j, derives a regeneration filter FR that corresponds to the coefficients, and convolves the filter with a frequency-domain representation of the reconstructed signal. This alternative may also be applied to subbands as discussed above.
One way in which a set of coefficients in the table may be selected is to define a target point in an L-dimensional space having Euclidean coordinates equal to the calculated coefficients (a1, . . . , aL) for the input signal or subband of the input signal. Each of the sets stored in the table also defines a respective point in the L-dimensional space. The set stored in the table whose associated point has the shortest Euclidean distance to the target point is deemed to be closest to the calculated coefficients. If the table stores 256 sets of coefficients, for example, an eight-bit number could be passed to the signal formatter 725 to identify the selected set of coefficients.
The present invention may be implemented in a wide variety of ways. Analog and digital technologies may be used as desired. Various aspects may be implemented by discrete electrical components, integrated circuits, programmable logic arrays, ASICs and other types of electronic components, and by devices that execute programs of instructions, for example. Programs of instructions may be conveyed by essentially any device-readable media such as magnetic and optical storage media, read-only memory and programmable memory.
Number | Name | Date | Kind |
---|---|---|---|
3684838 | Kahn | Aug 1972 | A |
3995115 | Kelly | Nov 1976 | A |
4051331 | Strong | Sep 1977 | A |
4232194 | Adams | Nov 1980 | A |
4419544 | Adelman | Dec 1983 | A |
4610022 | Kitayama | Sep 1986 | A |
4667340 | Arjmand | May 1987 | A |
4757517 | Yatsuzuka | Jul 1988 | A |
4776014 | Zinser, Jr. | Oct 1988 | A |
4790016 | Mazor | Dec 1988 | A |
4866777 | Mulla | Sep 1989 | A |
4885790 | McAulay | Dec 1989 | A |
4914701 | Zibman | Apr 1990 | A |
4935963 | Jain | Jun 1990 | A |
4964166 | Wilson | Oct 1990 | A |
5001758 | Galand | Mar 1991 | A |
5054072 | McAulay | Oct 1991 | A |
5054075 | Hong | Oct 1991 | A |
5109417 | Fielder | Apr 1992 | A |
5127054 | Hong | Jun 1992 | A |
5327457 | Leopold | Jul 1994 | A |
5394473 | Davidson | Feb 1995 | A |
5566154 | Suzuki | Oct 1996 | A |
5579434 | Kudo | Nov 1996 | A |
5583962 | Davis | Dec 1996 | A |
5587998 | Velardo, Jr. | Dec 1996 | A |
5623577 | Fielder | Apr 1997 | A |
5636324 | Teh | Jun 1997 | A |
5729607 | DeFries | Mar 1998 | A |
5744739 | Jenkins | Apr 1998 | A |
5812947 | Dent | Sep 1998 | A |
5937378 | Serizawa | Aug 1999 | A |
5950156 | Ueno | Sep 1999 | A |
5953697 | Lin | Sep 1999 | A |
5956674 | Smyth | Sep 1999 | A |
6019607 | Jenkins | Feb 2000 | A |
6078882 | Sato | Jun 2000 | A |
6104996 | Yin | Aug 2000 | A |
6159014 | Jenkins | Dec 2000 | A |
6167375 | Miseki | Dec 2000 | A |
6169813 | Richardson | Jan 2001 | B1 |
6173062 | Dibachi | Jan 2001 | B1 |
6178217 | Defries | Jan 2001 | B1 |
6336092 | Gibson | Jan 2002 | B1 |
6341165 | Gbur | Jan 2002 | B1 |
6424939 | Herre | Jul 2002 | B1 |
6487535 | Smyth | Nov 2002 | B1 |
6507820 | Deutgen | Jan 2003 | B1 |
6675144 | Tucker | Jan 2004 | B1 |
6680972 | Liljeryd | Jan 2004 | B1 |
6708145 | Liljeryd | Mar 2004 | B1 |
6829360 | Iwata | Dec 2004 | B1 |
6941263 | Wang | Sep 2005 | B2 |
6978236 | Liljeryd | Dec 2005 | B1 |
7003451 | Kjorling | Feb 2006 | B2 |
7219065 | Vandali | May 2007 | B1 |
7379866 | Gao | May 2008 | B2 |
7483758 | Liljeryd | Jan 2009 | B2 |
7831434 | Mehrotra | Nov 2010 | B2 |
8015368 | Sharma | Sep 2011 | B2 |
8069050 | Thumpudi | Nov 2011 | B2 |
8086451 | Hetherington | Dec 2011 | B2 |
8285543 | Truman | Oct 2012 | B2 |
8457956 | Truman | Jun 2013 | B2 |
20010044722 | Gustafsson | Nov 2001 | A1 |
20020007280 | McCree | Jan 2002 | A1 |
20020016698 | Tokuda | Feb 2002 | A1 |
20020087304 | Kjorling | Jul 2002 | A1 |
20020103637 | Henn | Aug 2002 | A1 |
20030158726 | Philippe | Aug 2003 | A1 |
20050004803 | Smeets | Jan 2005 | A1 |
20050065792 | Gao | Mar 2005 | A1 |
20060106619 | Iser | May 2006 | A1 |
Number | Date | Country |
---|---|---|
2305534 | Mar 2007 | CA |
19509149 | Sep 1996 | DE |
0746116 | Dec 1996 | EP |
1158800 | Nov 2001 | EP |
2002-027429 | Jan 2002 | JP |
WO 9857436 | Dec 1998 | SE |
448436 | Aug 2001 | TW |
9857436 | Dec 1998 | WO |
0045379 | Aug 2000 | WO |
0180223 | Oct 2001 | WO |
0191111 | Nov 2001 | WO |
0241302 | May 2002 | WO |
Entry |
---|
Atkinson, I. A.; et al., “Time Envelope LP Vocoder: A New Coding Technique at Very Low Bit Rates,” 4.sup.th European Conference on Speech Communication and Technology, ESCA Eurospeech '95 Madrid, Sep. 1995, ISSN 1018-4074, pp. 241-244. |
ATSC Standard: Digital Audio Compression (AC-3), Rev. A, Aug. 20, 2001, Sections 1-4, 6, 7.3, 8. |
Bosi, et al., “ISO/IEC MPEG-2 Advanced Audio Coding,” J. Audio Eng. Soc., vol. 45, No. 10, Oct. 1997, pp. 789-814. |
Edler, “Codierung von Audiosignalen mit uberlappender Transformation and Adaptivene Fensterfunktionen,” Frequenz, 1989, vol. 43, pp. 252-256. |
Galand, et al.; “High-Frequency Regeneration of Base-Band Vocoders by Multi-Pulse Excitation,” IEEE Int. Conf. on Speech and Sig. Proc., Apr. 1987, pp. 1934-1937. |
Grauel, Christoph, “Sub-Band Coding with Adaptive Bit Allocation,” Signal Processing, vol. 2 No. 1, Jan. 1980, No. Holland Publishing Co., ISSN 0 165-1684, pp. 23-30. |
Gustafsson H et al., “Speech Bandwidth Extension”, Aug. 22, 2001, pp. 809-812. |
Hans, M., et al., “An MPEG Audio Layered Transcoder,” 105th AES Convention, San Franciso, Sep. 1998, pp. 1-18. |
Herre, et al., “Enhancing the Performance of Perceptual Audio Coders by Using Temporal Noise Shaping (TNS),” 101st AES Convention, Nov. 1996, preprint 4384. |
Herre, et al., “Exploiting Both Time and Frequency Structure in a System That Uses an Analysis/Synthesis Filterbank with High Frequency Resolution,” 103rd AES Convention, Sep. 1997, preprint 4519. |
Herre, et al., “Extending the MPEG-4 AAC Codec by Perceptual Noise Substitution,” 104th AES Convention, May 1998, preprint 4720. |
Karsson G. et al., “Extension of Finite Length Signals for Sub-Band Coding” Signals Processing, Elsevier Science Publishers B. V. Amsterdam, NL LNKD0DO:10.1016/0165-1684(89)90019-4, vol. 17, No. 2, Jun. 1, 1989, pp. 161-168. |
Laroche, et al., “New phase-Vocoder Techniques for Pitch-Shifting, Harmonizing and Other Exotic Effects,” Proc. IEEE Workshop on Applications of Signal Processing to Audio and Acoustics, New Paltz, New York, Oct. 1999, pp. 91-94. |
Liu, Chi-Min, et al.; “Design of the Coupling Schemes for the Dolby AC-3 Coder in Stereo Coding”, Int. Conf. on consumer Electronics, ICCE, Jun. 2, 1998, IEEE XP010283089; pp. 328-329. |
Makhoul, et al.; “High-Frequency Regeneration in Speech Coding Systems,” IEEE Int. Conf. on Speech and Sig. Proc., Apr. 1979, pp. 428-431. |
Nakajima, Y., et al. “MPEG Audio Bit Rate Scaling on Coded Data Domain” Acoustics, Speech and Signal Processing, 1998, Proceedings of the 1998 IEEE Int'l Conf. on Seattle, WA, May 12-15, 1998, New York IEEE pp. 3669-3672. |
Rabiner, et al., “Digital Processing of Speech Signals,”: Prentice-Hall, 1978, pp. 396-404. |
Stott, “DRM—key technical features,” EBU Technical Review, Mar. 2001, pp. 1-24. |
Sugiyama, et. al., “Adaptive Transform Coding With an Adaptive Block Size (ATC-ABS)”, IEEE Intl. Conf on Acoust., Speech, and Sig. Proc., Apr. 1990. |
Zinser, “An Efficient, Pitch-Aligned High-Frequency Regeneration Technique for RELP Vocoders,” IEEE Int. Conf. on Speech and Sig. Proc., Mar. 1985, p. 969-972. |
Number | Date | Country | |
---|---|---|---|
20170148454 A1 | May 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15370085 | Dec 2016 | US |
Child | 15425827 | US | |
Parent | 14735663 | Jun 2015 | US |
Child | 15133367 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15258415 | Sep 2016 | US |
Child | 15370085 | US | |
Parent | 15203528 | Jul 2016 | US |
Child | 15258415 | US | |
Parent | 15133367 | Apr 2016 | US |
Child | 15203528 | US | |
Parent | 14709109 | May 2015 | US |
Child | 14735663 | US | |
Parent | 13906994 | May 2013 | US |
Child | 14709109 | US | |
Parent | 13601182 | Aug 2012 | US |
Child | 13906994 | US | |
Parent | 13357545 | Jan 2012 | US |
Child | 13601182 | US | |
Parent | 12391936 | Feb 2009 | US |
Child | 13357545 | US | |
Parent | 10113858 | Mar 2002 | US |
Child | 12391936 | US |