WO2000051014A2 - Modulated complex lapped transform for integrated signal enhancement and coding - Google Patents

Modulated complex lapped transform for integrated signal enhancement and coding Download PDF

Info

Publication number
WO2000051014A2
WO2000051014A2 PCT/US2000/004868 US0004868W WO0051014A2 WO 2000051014 A2 WO2000051014 A2 WO 2000051014A2 US 0004868 W US0004868 W US 0004868W WO 0051014 A2 WO0051014 A2 WO 0051014A2
Authority
WO
WIPO (PCT)
Prior art keywords
coefficients
real
transform
imaginary
signal
Prior art date
Application number
PCT/US2000/004868
Other languages
French (fr)
Other versions
WO2000051014A3 (en
Inventor
Henrique S. Malvar
Original Assignee
Microsoft Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US09/259,669 external-priority patent/US6487574B1/en
Priority claimed from US09/305,690 external-priority patent/US6496795B1/en
Application filed by Microsoft Corporation filed Critical Microsoft Corporation
Priority to AU36060/00A priority Critical patent/AU3606000A/en
Publication of WO2000051014A2 publication Critical patent/WO2000051014A2/en
Publication of WO2000051014A3 publication Critical patent/WO2000051014A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms

Definitions

  • the present invention relates to a system and method for producing modulated complex lapped transforms (MCLTs), and in particular, a system and method for incorporating complex coefficients to modulated lapped transforms (MLTs) to derive MCLTs.
  • MCLTs modulated complex lapped transforms
  • MLTs modulated lapped transforms
  • the Fourier transform is a classical tool used for frequency decomposition of a signal.
  • the Fourier transform breaks a signal down to component frequencies.
  • its usefulness is limited to signals that are stationary, i.e., spectral patterns of signals that do not change appreciably with time. Since most real-world signals, such as audio and video signals, are not stationary signals, localized frequency decompositions are used, such as time- frequency transforms. These transforms provide spectral information that is localized in time.
  • DCT discrete cosine transform
  • the DCT breaks a signal down to component frequencies. For instance, a block of M samples of the signal can be mapped to a block of M frequency components via a matrix of M x M coefficients. To ensure a good energy compaction performance, the DCT approximates the eigenvectors of the autocorrelation matrix of typical signal blocks.
  • Basis functions for the DCT (for type II) can be defined as:
  • a n k is the element of an A transformation matrix in the nth row and Mh column, or equivalently, the nth sample of the ⁇ th basis function.
  • the scaling factors are chosen as:
  • transform coefficients X(k) are computed from the signal block samples x(n) by:
  • the DCT can be used for convolution and correlation, because it satisfies a modified shift property.
  • Typical uses of the DCT are in transform coding, spectral analysis, and frequency-domain adaptive filtering.
  • DCT-IV discrete cosine transform
  • the scaling factor is identical for all basis functions. It should be noted that the DCT-IV basis functions have a frequency shift, when compared to the DCT basis. Nevertheless, these transforms still lead to orthogonal basis.
  • the DCT and DCT-IV are useful tools for frequency-domain signal decomposition. However, they suffer from blocking artifacts.
  • the transform coefficients X(k) are processed in some desired way: quantization, filtering, noise reduction, etc.
  • Reconstructed signal blocks are obtained by applying the inverse transform to such modified coefficients.
  • reconstructed signal blocks are pasted together to form the reconstructed signal (e.g. a decoded audio or video signal)
  • the modulated lapped transform (MLT) eliminates such discontinuities.
  • the MLT is a particular form of a cosine-modulated filter bank that allows for perfect reconstruction. For example, a signal can be recovered exactly from its MLT coefficients.
  • the MLT does not have blocking artifacts, namely, the MLT provides a reconstructed signal that decays smoothly to zero at its boundaries, avoiding discontinuities along block boundaries.
  • the MLT has almost optimal performance for transform coding of a wide variety of signals. Because of these properties, the MLT is being used in many applications, such as many modern audio and video coding systems, including Dolby AC-3, MPEG-2 Layer III, and others.
  • MLT transform coefficients
  • complex subbands are typically needed by noise reduction devices, via spectral subtraction, and acoustic echo cancellation devices.
  • digital audio representations are commonplace. For example, music compact discs (CDs), Internet audio clips, satellite television, digital video discs (DVDs), and telephony (wired or cellular) rely on digital audio techniques.
  • Digital representation of an audio signal is achieved by converting the analog audio signal into a digital signal with an analog-to-digital (A/D) converter. The digital representation can then be encoded, compressed, stored, transferred, utilized, etc.
  • A/D analog-to-digital
  • the digital signal can then be converted back to an analog signal with a digital-to-analog (D/A) converter, if desired.
  • D/A digital-to-analog
  • the A/D and D/A converters sample the analog signal periodically, usually at one of the following standard frequencies: 8 kHz for telephony, Internet, videoconferencing; 11.025 kHz for Internet, CD-ROMs, 16 kHz for videoconferencing, long-distance audio broadcasting, Internet, future telephony; 22.05 kHz for CD-ROMs, Internet; 32 kHz for CD-ROMs, videoconferencing, ISDN audio; 44.1 kHz for Audio CDs; and 48 kHz for Studio audio production.
  • raw bits produced by the A D are usually formatted at 16 bits per audio sample.
  • the storage capacity is about 700 megabytes (5,600 megabits)
  • MiniDiscs can only store about 140 megabytes, and so a compression of about 4:1 is necessary to fit 30 min to 1 hour of audio in a 2.5" MiniDisc.
  • coder/decoder For Internet telephony and most other applications, the raw bit rate is too high for most current channel capacities. As such, an efficient encoder/decoder (commonly referred to as coder/decoder, or codec) with good compressions is used. For example, for Internet telephony, the raw bit rate is 64 kbps, but the desired channel rate varies between 5 and 10 kbps. Therefore, a codec needs to compress the bit rate by a factor between 5 and 15, with minimum loss of perceived audio signal quality. With the recent advances in processing chips, codecs can be implemented either in dedicated hardware, typically with programmable digital signal processor (DSP) chips, or in software in a general-purpose computer. Currently, commercial systems use many different digital audio technologies. Some examples include: ITU-T standards: G.711 , G.726, G.722, G.728, G.723.1 , and G.729; other telephony standards: GSM, half-rate GSM, cellular
  • CDMA IS-733
  • high-fidelity audio Dolby AC-2 and AC-3, MPEG Lll and Llll, Sony MiniDisc
  • Internet audio ACELP-Net, DolbyNet, PictureTel Siren, RealAudio
  • military applications LPC-10 and USFS-1016 vocoders. It is desirable to have codecs that can achieve low computational complexity and exhibit robustness to signal variations for allowing the codec to handle wider range of signals, i.e., the audio signals can be clean speech, noisy speech, multiple talkers, music, etc. without unduly compromising performance.
  • the present invention is embodied in a system and method for performing spectral analysis of a digital signal having a discrete duration.
  • the present invention performs spectral analysis by spectrally decomposing the digital signal at predefined frequencies uniformly distributed over a sampling frequency interval into complex frequency coefficients so that magnitude and phase information at each frequency is immediately available.
  • the system of the present invention produces a modulated complex lapped transform (MCLT) and includes real and imaginary window processors and real and imaginary transform processors.
  • Each window processor has window functions and operators.
  • the real window processor receives the input signal as sample blocks and applies and computes butterfly coefficients for the real part of the signal to produce resulting real vectors.
  • the imaginary window processor receives the input signal as sample blocks and applies and computes butterfly coefficients for the imaginary part of the signal to produce resulting imaginary vectors.
  • the real transform processor computes a spatial transform on the real vectors to produce a real transform coefficient for the MCLT.
  • the imaginary transform processor computes a spatial transform on the imaginary vectors to produce an imaginary transform coefficient for the MCLT.
  • the system can include inverse transform module for inverse transformation of the encoded output.
  • the inverse transform module can include components that are the exact inverse of the inverse real and imaginary transform processors and the real and imaginary inverse window processors.
  • the encoded output is received and processed by inverse real and imaginary transform processors, and then received and processed by real and imaginary inverse window processors to produce an output signal that substantially matches the input signal.
  • FIG. 1 is a block diagram illustrating an apparatus for carrying out the invention
  • FIG. 2 is a general block diagram illustrating a system for computing and encoding modulated complex lapped transforms in accordance with the present invention
  • FIG. 3 is a general block/flow diagram illustrating a system and method for computing modulated lapped transforms in accordance with the present invention
  • FIG. 4 is a detailed block/flow diagram illustrating computation of a modulated complex lapped transform in accordance with the present invention
  • FIGS. 5A and 5B are detailed diagrams illustrating the window operation of the modulated complex lapped transform of FIG. 4;
  • FIG. 6 is a flow diagram illustrating operational computation of a modulated complex lapped transform in accordance with the present invention
  • FIG. 7 is a general block diagram of a full-band adaptive filter
  • FIG. 8 is a general block diagram of a frequency-domain MCLT-based adaptive filter in accordance with the present invention.
  • FIG. 9 is a block diagram of a working example of the adaptive filer of FIG. 8 of the present invention in the form of an acoustic echo cancellation device;
  • FIG. 10 is a general block diagram of an acoustic echo cancellation device with MCLT-based adaptive filters in accordance with the present invention
  • FIG. 11 is a wave signal illustrating sample results of the working example of FIG. 9;
  • FIG. 12 is a general block diagram of a noise reduction device with MCLT- based adaptive filters in accordance with the present invention.
  • FIG. 13 is a flow diagram illustrating operational computation of a noise reduction device incorporating the modulated complex lapped transform of the present invention
  • FIG. 14 is a wave signal illustrating sample results of the working example of FIGS. 12-13.
  • FIG. 15 is a block diagram of a working system of the present invention illustrated as an integrated signal enhancer and noise reducer with a codec.
  • the MCLT of the present invention can achieve short-time spectral decomposition of signals with explicit magnitude and phase information and perfect signal reconstruction.
  • the MCLT of the present invention can use sine functions at defined frequencies and phases to generate an additional orthogonal decomposition.
  • the defined frequencies and phases are preferably the same that the MLT basis functions use for cosine modulation of a particular window function with certain properties.
  • the MCLT of the present invention is easily integrated with
  • the MCLT of a signal Once the MCLT of a signal has been computed, its MLT can be trivially obtained simply by discarding the imaginary parts.
  • the present invention can use both the cosine and sine modulating functions for producing a frame decomposition with desirable properties. Further, the cosine and sine modulations can be used to compute the real and imaginary parts of a transform that has all the magnitude/phase properties of the short-time Fourier transform, while allowing for perfect signal reconstruction. Consequently, the novel MCLT of the present invention can be used in applications such as high- fidelity audio coding, adaptive filtering, acoustic echo cancellation, noise reduction, or any other application where high-fidelity signal reconstruction is required.
  • FIG. 1 and the following discussion are intended to provide a brief, general description of a suitable computing environment in which the invention may be implemented.
  • the invention will be described in the general context of computer-executable instructions, such as program modules, being executed by a computer.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • the invention may be practiced with a variety of computer system configurations, including personal computers, server computers, hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like.
  • the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • program modules may be located on both
  • an exemplary system for implementing the invention includes a general purpose computing device in the form of a conventional computer 100, including a processing unit 102, a system memory
  • the system bus 106 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures.
  • the system memory includes computer storage media in the form of read only memory (ROM) 110 and random access memory (RAM) 112.
  • ROM read only memory
  • RAM random access memory
  • BIOS basic input/output system 114 containing the basic routines that helps to transfer information between elements within computer 100, such as during startup, is stored in ROM 110.
  • the computer 100 may include a hard disk drive 116 for reading from and writing to a hard disk, not shown, a magnetic disk drive 118 for reading from or writing to a removable magnetic disk 120, and an optical disk drive 122 for reading from or writing to a removable optical disk 124 such as a CD
  • the hard disk drive 116, magnetic disk drive 128, and optical disk drive 122 are connected to the system bus 106 by a hard disk drive interface 126, a magnetic disk drive interface 128, and an optical drive interface 130, respectively.
  • the drives and their associated computer-readable media provide storage of computer readable instructions, data structures, program modules and other data for the computer 100.
  • Such computer readable media can be any available media that can be accessed by computer 100.
  • Such computer readable media may comprise communication media and computer storage media.
  • Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
  • modulated data signal means a signal that has one or more of its characteristics set of changed in such a manner as to encode information in the signal.
  • communication media includes wired media such as wired network or direct wired connection, and wireless media such as acoustic, RF, infrared and other wireless media.
  • communication media includes wired media such as a wired network or direct wired connection, and wireless media such as acoustic, RF, infrared and other wireless media.
  • Computer storage media includes any method or technology for the storage of information such as computer readable instructions, data structures, program modules or other data.
  • storage media includes RAM, ROM, EPROM, flash memory or other memory technology, CD-ROM, digital video disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 100. Combinations of any of the above should also be included within the scope of computer readable media.
  • a number of program modules may be stored on the hard disk, magnetic disk 120, optical disk 124, ROM 110 or RAM 112, including an operating system 132, one or more application programs 134, other program modules 136, and program data 138.
  • a user may enter commands and information into the computer 100 through input devices such as a keyboard 140 and pointing device
  • Other input devices may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 102 through a serial port interface 144 that is coupled to the system bus 106, but may be connected by other interfaces, such as a parallel port, game port or a universal serial bus (USB).
  • a monitor 146 or other type of display device is also connected to the system bus 106 via an interface, such as a video adapter 148.
  • computers may also include other peripheral output devices (not shown), such as speakers and printers.
  • the computer 100 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 150.
  • the remote computer 150 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the personal computer 100, although only a memory storage device 152 has been illustrated in FIG. 1.
  • the logical connections depicted in FIG. 1 include a local area network (LAN) 154 and a wide area network (WAN) 156.
  • LAN local area network
  • WAN wide area network
  • Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and Internet.
  • the computer 100 When used in a LAN networking environment, the computer 100 is connected to the local network 154 through a network interface or adapter 158.
  • the computer 100 When used in a WAN networking environment, the computer 100 typically includes a modem 160 or other means for establishing communications over the wide area network 156, such as the Internet.
  • the modem 160 which may be internal or external, is connected to the system bus 106 via the serial port interface 144.
  • program modules depicted relative to the computer 100, or portions thereof may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
  • FIG. 2 is a general block diagram illustrating a system for computing and encoding modulated complex lapped transforms in accordance with the present invention.
  • an input signal 206 is received by a sampling device 208, which breaks the signal into blocks.
  • Each block contains L samples, and each new block is formed by discarding the M oldest samples of the block and adding the M newest input samples to the block.
  • L 2M.
  • real and imaginary window processors 210, 212 for reducing blocking effects
  • real and imaginary transformation processors 220, 222 for coding each block. It should be noted that one window processor with dual real and imaginary computational devices can be used instead of separate real and imaginary window processors.
  • FIG. 3 is a general block/flow diagram illustrating a system and method for computing modulated lapped transforms in accordance with the present invention.
  • the MCLT computation system 300 first receives an input signal 310.
  • a single window processor 312 with real and imaginary computational devices or dual real and imaginary window processors receives a block of M samples of the input signal (box 314).
  • the window processor 312 applies and computes butterfly coefficients, for the real and imaginary parts of the signal (boxes 315, 316), respectively, to produce real and imaginary resulting vectors (boxes 318, 320), respectively.
  • a single transform processor 322 with real and imaginary computational devices or dual real and imaginary transform processors receives the real and imaginary resulting vectors (box 323).
  • the transform processor 318 performs a discrete cosine transform (DCT) operation on the real vectors (box 324) and a discrete sine transform (DST) operation on the imaginary vectors (box 326).
  • DCT discrete cosine transform
  • DST discrete sine transform
  • real and imaginary output signals are respectively produced as vectors with real and imaginary MCLT coefficients corresponding to the input block of samples (boxes 328, 330).
  • the output signal can be processed by transmitting, storing, enhancing, filtering, etc. the signal (box 332).
  • interference within the signal can be reduced with a noise reducer, echo canceller, etc., compression can be achieved by scalar or vector quantization of the MLT coefficients, etc., as desired.
  • FIG. 4 is a detailed block/flow diagram illustrating a modulated complex lapped transform (MCLT) extended from a modulated lapped transform processor (MLT) in accordance with the present invention.
  • a transform processor such as a modulated complex lapped transform processor (MCLT) of the present invention, that is preferably an extension of a modulated lapped transform processor (MLT).
  • MLT is preferably the basis for the MCLT because among other things, although other transform processors, such as discrete cosine transforms (DCT and DCT-IV) are useful tools for frequency-domain signal decomposition, they suffer from blocking artifacts.
  • DCT and DCT-IV discrete cosine transforms
  • transform coefficients X(k) are processed by DCT and DCT-IV transform processors in some desired way, such as quantization, filtering, noise reduction, etc.
  • Reconstructed signal blocks are obtained by applying the inverse transform to such modified coefficients.
  • the reconstructed signal e.g. a decoded audio or video signal
  • the modulated lapped transform MHT eliminates such discontinuities by extending the length of the basis functions to twice the block size, i.e. 2M.
  • the basis functions of the MLT are obtained by extending the DCT-IV functions and multiplying them by an appropriate window, in the form:
  • the MLT can lead to orthogonal or biorthogonal basis and can achieve short-time decomposition of signals as a superposition of overlapping windowed cosine and sine functions. Such functions provide a more efficient tool for localized frequency decomposition of signals than the DCT or DCT-IV.
  • the MLT is a particular form of a cosine-modulated filter bank that allows for perfect reconstruction. For example, a signal can be recovered exactly from its
  • the MLT does not have blocking artifacts, namely, the MLT provides a reconstructed signal that decays smoothly to zero at its boundaries, avoiding discontinuities along block boundaries.
  • the MLT has almost optimal performance, in a rate/distortion sense, for transform coding of a wide variety of signals.
  • the MLT is based on the oddly-stacked time-domain aliasing cancellation (TDAC) filter bank.
  • TDAC time-domain aliasing cancellation
  • the transformation can be redefined by a standard MLT computation:
  • Window functions are primarily employed for reducing blocking effects.
  • Signal Processing with Lapped Transforms by H. S. Malvar, Boston: Artech House, 1992, which is herein incorporated by reference, demonstrates obtaining its basis functions by cosine modulation of smooth window operators, in the form:
  • the direct transform matrix P has an entry in the n-th row and /c-th column of p ⁇ (n,k).
  • the inverse transform matrix has entries P s ( n ⁇ )-
  • x P,f ⁇
  • y p N
  • Reconstructed y vectors are superimposed with M-sample overlap, generating the reconstructed signal y(n).
  • the MLT can be compared with the DCT-IV.
  • DCT-IV For a signal u(n), its length-M orthogonal DCT-IV is defined by:
  • ⁇ u is the M-sample (one block) delay operator.
  • the MLT can be computed from a standard DCT-IV.
  • the product window satisfies:
  • a modulated complex lapped transform is derived.
  • the MCLT transform coefficients X(/c) are computed from the input signal block x(n) by : P X or
  • Construction of the MCLT can be viewed as providing additional sine- modulated functions as a 2x oversampling in the frequency domain, because for every new M real-valued input samples the MCLT computes M complex frequency components.
  • the MCLT functions above form an over- complete basis. Consequently, the MCLT is in fact a 2x oversampled DFT filter bank (using a doubly-odd DFT instead of the traditional DFT), in which the DFT length size is 2M and the frame (block) size is M.
  • the lowest-frequency subband (the "DC" subband) is complex-valued.
  • mapping from the input block x to the reconstructed block y is done via a diagonal matrix of order 2M. This is in n contrast to the MLT, for which the product P,PJ is not diagonal. In fact, the off-
  • the MCLT can be computed via the type-IV discrete cosine transform (DCT-IV).
  • DCT-IV discrete cosine transform
  • the type-IV discrete sine transform (DST-IV) of a signal v(n) is defined by.
  • ⁇ u is the M-sample (one block) delay operator.
  • the MCLT can be computed from a MCLT computational system 400 having a window processor 410, which receives M sample blocks 412 of an input signal 414.
  • the window processor 410 has real and imaginary window operators, real and imaginary transform processors 416, 418, such as a length- M DCT-IV and a length-M DST-IV, respectively, as shown in the simplified block diagram of FIG.4.
  • the real and imaginary window operators of the window processor 410 applies and computes real and imaginary butterfly coefficients, respectively to produce resulting real and imaginary vectors.
  • the length-M DCT-IV 416 receives the real vectors and the length-
  • M DST-IV 418 receives the imaginary vectors.
  • the real transform processor 416 performs a discrete cosine transform (DCT) operation on the real vectors and the imaginary transform processor 418 performs a discrete sine transform (DST) operation on the imaginary vectors.
  • Output signals with real and imaginary parts 424, 426 are produced as vectors with MCLT coefficients corresponding to the input block of samples.
  • n 0, 1 , ... , M/2-1
  • k 0, 1 , ... , M/2-1.
  • the DCT-IV and DST-IV can be implemented with the fast techniques.
  • the inverse MCLT can be computed by simply transposing the components, moving the delays to the bottom half ouputs of the DCT-IV and
  • the fast MCLT computation shown in FIG. 4 does not assume identical analysis and synthesis windows. Therefore, it can be used to compute a biorthogonal MCLT, as long as the windows satisfy the perfect reconstruction condition in eqn. (3).
  • the MCLT computational system 400 of FIG. 4 includes real and imaginary window operators 502, 504. Initially, a first a block of M samples of an input signal x(n) is obtained. Second, for each window operator 502, 504 butterfly coefficients 512, 513 are applied and computed to produce resulting real vectors u(n) and imaginary vectors v(n). The butterfly coefficients are determined by a window function ⁇ h(n) ⁇ 514, 515.
  • the real and imaginary vectors are received by the real and imaginary transform processors 520, 522, which are preferably discrete cosine transform (DCT) and discrete sine transform (DST) processors to produce vectors with real and imaginary MCLT transform coefficients corresponding to the input signal.
  • DCT discrete cosine transform
  • DST discrete sine transform
  • FIG. 6 is a flow diagram illustrating operational computation of a working example of a modulated complex lapped transform in accordance with the present invention.
  • an input buffer x containing M signal samples are read by a MCLT system (box 610).
  • h(n) based butterflies are computed for a cosine (real) part u(n) (box 612), a top half of u(n) is stored in a buffer 616 for use in the next block (box 614) and the top half of u(n) is read from a previous block (box 618).
  • h(n) based butterflies are computed for a sine (imaginary) part v(n) (box 620), a top half of v(n) is stored in a buffer 624 for use in the next block (box 622) and the top half of v(n) is read from a previous block (box 626).
  • a discrete cosine transform, type IV (DCT IV) is then computed on u(n) (box 628) and a discrete sine transform, type IV (DST IV) is computed on v(n) (box 630).
  • DCT IV discrete cosine transform
  • DST IV discrete sine transform
  • v(n) box 630
  • an output buffer U(k) containing the real part of the MCLT is produced (box 632) and an output buffer V(k) containing the imaginary part of the MCLT is produced (box 634).
  • the present invention allows the present invention to provide perfect reconstruction, in that a signal x(n) (where n denotes the discrete-time index) can be recovered exactly from its MCLT coefficients.
  • the MCLT is a linear operator that projects the input block into a frame containing 2M basis functions.
  • the MCLT corresponds to a tight frame (all blocks of same energy are mapped into transform vectors with the same energy), with a magnitude amplification factor equal to two.
  • An advantage of the novel MCLT of the present invention is that the MCLT maps a block of M input signal samples into M complex frequency coefficients. As a result, magnitude and phase information at each frequency is immediately available with the MCLT.
  • the real part of the MCLT is the MLT, which makes for simplified computation of the MLT of a signal whose MCLT is known. This allows for efficient integration with multimedia applications, such as acoustic echo cancellation and audio coding.
  • the MCLT maps a block of M input signal samples into M complex frequency coefficients, the MCLT leads to data expansion of a factor of two. In other words, an oversampling factor of two. This oversampling actually provides good performance in acoustic echo cancellation applications.
  • the MCLT of the present invention provides short-time spectral decomposition of signals with explicit magnitude and phase information and perfect signal reconstruction. Fast computability by means of butterflies followed by discrete cosine transform operators. Also, the real of the MCLT can be computed directly by the techniques discussed above, and the imaginary part can be computed with simple modifications. In addition, the MCLT is easily integrated with MLT-based systems. Further, once the MCLT of a signal has been computed, its MLT can be trivially obtained simply by discarding the imaginary part.
  • FIG. 7 is a general block diagram of a full-band adaptive filter using an adaptive FIR filtering approach.
  • a filtering system 700 such as a full- band adaptive filtering system, includes an input signal x(n) 710 and reference signal r(n) 712 received by an adaptive filter 720.
  • the adaptive filter produces an output signal y(n) 722, which is sent back into the adaptive filter 720 for providing automatic refinement adjustments to the filtering process until the output signal y(n) approximates as closely as possible the reference signal r(n).
  • the adaptive filter is preferably a filter with time-varying coefficients, which are automatically adjusted such that the output of the filter approximates as closely as possible a prescribed reference signal.
  • the adaptive filter has a finite impulse response (FIR)
  • the coefficients can be updated by using a LMS update equation: where ⁇ is a parameter that controls the speed of adaptation.
  • the LMS performs updates as an adaptation rule if the error e(n) has the same sign as the input e(n), i.e. if their product is positive, then
  • the adaptation rule above corresponds to adjusting the coefficient vector w in the negative direction of the gradient of the error with respect to w, i.e. a steepest descent update.
  • the adaptive filter of FIG. 7 can be used in many applications where the response of the filter needs to change in view of varying conditions.
  • Examples include modems (to equalize the signal distortions caused by the telephone lines) and acoustic echo cancellers (to remove the feedback from loudspeakers into microphones). If the input signal has a frequency spectrum that contains many peaks and valleys (i.e., if it is heavily colored), the parameter ⁇ in the
  • LMS update equation has to be set to a very low value, which reduces the speed of adaptation, i.e., the speed in which the error signal e(n) converges to values near zero.
  • the LMS update equation is optimal, in the sense that it will lead to the fastest possible convergence
  • FIG. 8 is a general block diagram of a frequency-domain MCLT-based adaptive filter in accordance with the present invention.
  • the performance of the LMS adaptive filter of FIG. 7 discussed above can be improved for colored input signals by using the new structure in FIG. 8.
  • the signals can be broken into frequency subbands and an adaptive LMS filter can be performed in each subband, as shown in FIG. 8.
  • FIG. 8 depicts the MCLT as the transform operator that performs the frequency decomposition, other transforms could be used, such as a modulated lapped transform (MLT). If real transforms such as the MLT are used, the adaptive filters of each of the subbands have real coefficients. With a complex-valued transform such as the MCLT, the filter coefficients will have complex values.
  • MLT modulated lapped transform
  • the frequency-domain adaptive filter of FIG. 8 includes a first MCLT processor 810 for receiving and processing an input signal x(n) for producing input signal vectors, such as X(0) through X(M-1 ) and a second MCLT processor 810 for receiving and processing an input signal x(n) for producing input signal vectors, such as X(0) through X(M-1 ) and a second MCLT processor 810 for receiving and processing an input signal x(n) for producing input signal vectors, such as X(0) through X(M-1 ) and a second
  • MCLT processor 812 for receiving and processing a reference signal r(n) for producing reference signal vectors, such as R(0) through R(M-1 ). Also included in system 800 are plural adaptive filters 814 for receiving the input signal vectors X(0) through X(M-1) and the reference signal vectors R(0) through R(M- 1) for producing corrected signal vectors, such as Y(0) through Y(M-1) and an inverse modulated complex lapped transform processor (IMCLT) 816.
  • the IMCLT 816 receives and processes the corrected signal vectors Y(0) through Y(M-1) for producing a final output signal y(n) that substantially matches the input signal x(n).
  • the adaptive filter of FIG. 8 there is an adaptive filter for each subband k.
  • the final output y(n) is obtained by applying an inverse MCLT (IMCLT) on the corrected subband/transform coefficients ⁇ Y(k) ⁇ . If the original adaptive filter of FIG. 7 had L coefficients, each adaptive filter in FIG. 8 needs only to have LIM coefficients, for the same time span.
  • IMCLT inverse MCLT
  • the advantages of using the frequency-domain adaptive filter of FIG. 8 include faster convergence, because the signals within each subband are approximately white, even for a heavily colored input. Also, the device of FIG. 8 provides improved error control, because the ⁇ factors for the adaptive filters in each subband can be adjusted independently. Finally, the system in FIG. 8 can have a reduced computational complexity, because of the fast FFT-based algorithms available to compute the transforms.
  • AEC acoustic echo cancellation
  • the AEC can use an adaptive filter that estimates the feedback transfer function from the loudspeaker to the microphone. The estimated echo return is then subtracted from the microphone signal.
  • Simple FIR filters are not ideal because of the length of the impulse response necessary to obtain a reasonable amount of echo reduction (for a 16 kHz sampling rate and an echo window of 100 ms, a 1 ,600-point impulse response is needed).
  • subband adaptive filtering the long FIR full-band filter is replaced by a collection of short FIR filters, one for each subband.
  • a critically sampled filter bank such as the MLT can be used for adaptive filtering, but the uncancelled aliasing due to subband processing may limit the amount of echo reduction to 10 dB or less. Performance can be improved by using cross-filters among neighboring subbands, but the extra degrees of freedom in such adaptive cross-filters usually slows down convergence significantly.
  • subband acoustic echo cancellation AEC can be performed without cross-filters.
  • Each subband can be processed by a short FIR filter with complex taps, as shown in FIG. 8. With a large number of subbands, the subband signals are essentially white, and so each adaptive filter can be adjusted via the normalized LMS computation.
  • FIG. 9 is a block diagram of a speakerphone working example of the adaptive filer of FIG. 8 of the present invention in the form of an acoustic echo cancellation device.
  • the speakerphone system 900 of FIG. 9 includes communication equipment 910 comprising microphone input signals 912 received from a microphone 914, which can be amplified by an amplifier 915 and speaker output signals 916 transmitted to a speaker 918.
  • the system 900 also includes a filter 920, such as the MCLT-based adaptive filter discussed above, for receiving input signals produced by the speaker 918 and reference signals received by the microphone 914.
  • the local microphone not only captures audio signals intended to be transmitted (such as voice signals of a local person), it also captures audio signals that are being attenuated at the local loudspeaker (such as voice signals from a remote person's transmission) as feedback. Unless the speaker feedback is cancelled, that feedback signal is sent back to the remote person. As such, the remote person will hear an echo of his or her own voice transmitted to the local person.
  • the adaptive filter of the present invention includes an MCLT-based adaptive filter for processing and filtering the input and references signal for producing an output signal with information indicating the estimated echo portion of the signal. The estimated echo portion of the output signal is removed or canceled and a resulting clean output signal is sent to the microphone input of the communication equipment 910. Consequently, after an initial audio signal is sent through the system 900, subsequent audio signals with feedback or echoes produced by the loudspeaker 918 are canceled by the adaptive filter 920 before the microphone input is received
  • the output of the adaptive filter will be a good estimate of the portion of the microphone signal that is dependent on the loudspeaker signal, which is precisely the echo.
  • the echo is subtracted from the signal of the microphone 914, as shown in FIG. 9, only the part of the microphone signal that is not correlated with the loudspeaker signal will remain.
  • the remaining part corresponds to the other local sounds, such as the voice of the person speaking and other ambient sounds.
  • FIG. 10 is a general block diagram of an acoustic echo cancellation device (AEC) with MCLT-based adaptive filters in accordance with the present invention.
  • the AEC 1000 of FIG. 10 includes a first MCLT processor 1010 for receiving and processing a loudspeaker signal as an input signal x(n) for producing input signal vectors X(0) through X(M-1) and a second MCLT processor 1012 for receiving and processing a microphone signal as a reference signal r(n) for producing reference signal vectors R(0) through R(M-1 ).
  • adaptive filters 1014 for receiving the input signal vectors X(0) through X(M-1) and the reference signal vectors R(0) through R(M-1).
  • the adaptive filters estimate the echo within the signals, which are then combined with the reference signals for canceling the echoes and producing cleaned and corrected signal vectors, such as Y(0) through Y(M-1).
  • An inverse modulated complex lapped transform processor (IMCLT) 1016 receives and processes the corrected signal vectors Y(0) through
  • Subtraction of the estimated echo from the microphone signal is preferably performed for each subband, resulting in a set of subband signals Y(k) with the echo substantially removed.
  • the AEC and spectral subtraction can be combined using a single MLCT decomposition. For example, spectral subtraction can be applied to the subband signals immediately after the AEC adaptive filters. If the resulting signal is to be encoded by an MLT-based codec, then the MLT coefficients for the audio codec can be obtained by simply taking the real part of the outputs of the spectral subtraction. Therefore, only a single transformation step with the MCLT is necessary to perform simultaneous signal enhancement and coding.
  • an inverse modulated complex transform can be performed on Y(k), as shown in FIG. 8.
  • codec coder/decoder
  • the MCLT-based adaptive filters uses short windows, which leads to low processing delay.
  • Another advantage is that the MCLT allows for perfect signal reconstruction. Also, integrating an MCLT adaptive filter with an MLT-based processing system (for example, an audio codec) is very easy, since the MLT is obtained directly as the real part of the MCLT. Further, for a given number of subbands M (which is also the block size), a windowed Fourier transform decomposes the signal into M/2+1 distinct subbands. The MCLT breaks the signal into M subbands, and so it provides essentially twice the frequency resolution. Therefore, an MCLT- based adaptive filter will converge faster, because narrower subbands tend to have a flatter spectrum.
  • FIG. 11 is a wave signal illustrating sample results of the working example of FIG. 9.
  • the first wave signal (Wave A) is the microphone signal as a recorded echo return.
  • the third wave signal (Wave C) is an output of a 512-band MLT AEC without cross filters, ERR « 5 dB.
  • the bottom wave signal (Wave D) is an output of a 512-band MCLT AEC without cross filters, ERR * 20 dB.
  • the original signal is an actual echo return recorded at 16 kHz sampling from a microphone located at about 20" from the loudspeaker (using a 4" driver).
  • the signals in FIG. 11 show the cancelled echo after convergence of each AEC (which takes a few seconds in all cases).
  • the MLT and MCLT AECs used M 512 subbands and a four-tap adaptive filter in each band (corresponding to an echo window of about 128 ms).
  • the echo attenuation for the MCLT is about 20 dB, which is adequate for many practical teleconferencing applications.
  • the MCLT of the present invention is amenable to other types of frequency-domain processing while allowing for perfect signal reconstruction.
  • another kind of processing that can be efficiently performed in the frequency domain, especially with the MCLT is noise reduction.
  • the AEC usually removes feedback from the loudspeaker, but may not remove other noises, such as ambient noises that may be generated by computers and fans in an office.
  • the signal Y(k) is considered as having a desired signal and a noise component, in the form:
  • noise reduction is achieved by estimating the average noise magnitude ⁇ N(k) ⁇ during low-amplitude signals, i.e., during periods where
  • N e (k) is the noise level estimate for the kt subband, which can be subtracted from Y(k), in the form
  • Yf(k) is the filtered signal.
  • a portion of the estimated magnitude noise is subtracted from the magnitude of each subband signal.
  • the phase is not affected, since the average noise phase is always zero.
  • the parameters ⁇ (k) control how much of the noise estimate is subtracted from each subband signal, and so 0 ⁇ a(k) ⁇ 1 is preferably set. These parameters are preferably adjusted depending on the quality of the noise estimates. For example, if the noise estimate is significantly above the true noise level, the subtraction in eqn. (A) will remove part of the signal, also, leading to noticeable artifacts.
  • FIG. 12 is a general block diagram of a noise reduction device with MCLT-based adaptive filters in accordance with the present invention.
  • the noise reduction device 1200 of FIG. 12 includes an MCLT processor 1210 for receiving and processing an input signal x(n) corrupted by noise for producing input signal vectors X(0) through X(M-1 ), plural subtraction devices 1212, such as subband noise subtraction devices and an inverse modulated complex lapped transform processor (IMCLT) 1216.
  • the plural subband noise subtraction devices 1212 receive the input signal vectors X(0) through X(M-1) and compute magnitude, Xmag(0) through Xmag(M-1), and phase, Xph(0) through Xph(M-1 ), information (box 1218).
  • Noise levels, Ne(0) through Ne(M-1) are estimated from the magnitude, Xmag(0) through Xmag(M-1), information (box 1220).
  • the noise level estimates are combined with the magnitude information for reducing the noise based on the noise level estimated to produce cleaned and corrected magnitude information, which is then sent to a recovery device 1222 for recovering the real and imaginary parts of this information.
  • An inverse modulated complex lapped transform processor (IMCLT) 1216 receives and processes the corrected information as signal vectors Y(0) through Y(M-1), which have MCLT coefficients with reduced noise, for producing a final output signal with noise reduction.
  • IMCLT inverse modulated complex lapped transform processor
  • FIG. 13 is a flow diagram illustrating operational computation of a noise reduction device incorporating the modulated complex lapped transform of the present invention.
  • an input buffer x containing M subband coefficients are read (box 1310) by MCLT processor 1210 of FIG. 12.
  • the MCLT coefficients X(k) are computed (box 1312) and this information is sent to the subband subtraction device 1212 of FIG. 12.
  • it is determined whether a transform coefficient ⁇ X(k) ⁇ is less than a threshold value, Th. If it is, the noise level estimate is adjusted (box 1318), for example with an update function such as:
  • spectral subtraction is performed (box 1320) by the subband subtraction device 1212 of FIG. 12, preferably with the following expression:
  • the noise reduction process is preferably performed right after the echo cancellation process of FIG. 10, otherwise the loudspeaker echo would interfere with the noise estimate and make it less reliable.
  • spectral subtraction as in eqn. (A) can be performed with subband signals derived from a windowed Fourier transform
  • the MCLT perfect reconstruction of the signal can be obtained, which is important in low-noise, high fidelity applications.
  • a windowed Fourier transform usually long windows are needed for good enough signal reconstruction, increasing the processing delay.
  • a windowed Fourier transform decomposes the signal into M/2+1 distinct subbands.
  • the MCLT breaks the signal into M subbands, and so it provides essentially twice the frequency resolution.
  • FIG. 14 is a wave signal illustrating sample results of the working example of FIGS. 12-13 using the MCLT of the present invention with spectral subtraction.
  • the top wave signal (Wave A) is the original speech, corrupted by PC noise,
  • SNR * 15 dB and the bottom wave signal (Wave B) is the processed speech, SNR * 30 dB.
  • the processed file has fewer artifacts than the results obtained using a commercial product that uses standard DFT filter banks for spectral subtraction.
  • FIG. 15 is a block diagram of a working system of the present invention shown as a signal enhancer and noise reducer integrated with a codec.
  • the MCLT, AEC and noise reducer of the present invention as described above, can be integrated with an audio codec for use by a real time communication system, such as audio applications including Internet telephony or other forms of hands-free teleconferencing or telephony.
  • the integration of the MCLT, AEC, noise reducer and codec leads to improved performance, reduced computational complexity, and reduced memory usage and processing delay over current systems.
  • the AEC (element 800 of FIG. 8) and noise reducer (element 1200 of FIG. 12) of the present invention can be integrated with an audio codec to form a novel integrated processor 1500.
  • the integrated processor 1500 of the present invention includes a MCLT processor 1510 (similar to MCLT processor 810 of FIG. 8), an AEC processor 1512 (similar to the AEC processor 800 of FIG. 8), a noise reducer 1516 (similar to the noise reducer 1200 of FIG. 12), a coefficient filter 1516, a magnitude processor 1518, and a codec 1520, which can be any suitable codec.
  • the noise reducer 1516 is preferably included in the codec 1520, as shown in FIG. 15.
  • the codec can be the audio codec (with suitable modifications in accordance with the present invention) described in co-pending U.S. Patent Application Serial No. 09/085,620, filed on May 27, 1998 by Henrique Malvar, entitled "Scalable Audio Coder and Decoder" and assigned to the current assignee, which is herein incorporated by reference.
  • the audio that is captured can be enhanced by operations of the AEC 1512 and noise reducer 1514 of the present invention.
  • the audio signal is preferably coded (compressed) by the codec 1520 to limit the bit rate to a rate that is adequate for the communication channel.
  • the MCLT processor 1510 receives and processes an input signal x(n) for producing input signal vectors, such as X(0) through X(M-1 ) and the AEC processor 1512 receives and processes a reference signal for producing reference signal vectors 1522.
  • the noise reducer 1516 then receives the signal vectors 1514 from the AEC processor 1512 and produces enhanced MCLT coefficients (real and imaginary parts), such as coefficients
  • the AEC does not need to perform an inverse MCLT after the adaptive filters in each subband, if a codec operates in the frequency domain.
  • the same principle applies when the noise reduction process of eqn. (A) is added.
  • the noise reduction step is applied to generate the filtered subband coefficients Y ⁇ (k), which are then sent directly to the codec, without the need to return to the corresponding time- domain signal.
  • the echo-cancelled and noise filtered signal y ⁇ n can be obtained simply by computing an inverse MCLT on the subband signals Yf(k).
  • MLT modulated lapped transform
  • the present invention uses the MCLT as the first processing step in order to avoid performing inverse MCLT computations. This is because, as described above, the MLT is the real part of the MCLT.
  • the enhanced audio signal is available in the MCLT domain, it is not necessary to compute the inverse MCLT to recover the time domain waveform and then compute its MLT. Instead, the imaginary part of the MCLT coefficients are discarded, thereby allowing the system 1500 to obtain the MLT coefficients directly from the real part of the MCLT.
  • coefficients R(k) can be obtained by:
  • the coefficient filter 1516 and the magnitude processor 1518 receive coefficients Y(0) through Y(M-1).
  • the coefficient filter 1516 processes the MCLT coefficients (real and imaginary parts) and discards the imaginary parts of the MCLT coefficients.
  • the integrated system 1500 of FIG. 15 produces accurate masking functions.
  • Patent Application Serial No. 09/085,620 computes weighting functions based on hearing thresholds, defined by functions that approximate the masking phenomena in the human auditory system. Such masking functions can be computed based on the power spectrum of the incoming audio, i.e. the power values at each frequency index k. As such, the spectral magnitudes are approximated by magnitudes of the MLT coefficients.
  • the MLT coefficients are obtained from projected the signal into modulated cosines, their magnitudes are typically not directly proportional to the actual physical r.m.s. (root mean-square) power contained in the signal at each frequency subband.
  • the magnitudes can be computed directly from the real and imaginary parts (cosine and sine projections, respectively), and such magnitudes are then directly proportional to the physical r.m.s. power at each frequency subband k. In that way, the computation of the masking functions are more precise as compared to computations based solely on the MLT (real part) coefficients.
  • the magnitude processor 1518 computes the magnitudes of the MCLT coefficients, such as U(0) through U(M-1 ).
  • the codec 1520 further includes a weighting processor 1524, a masking functions processor 1526 and an encoding processor 1528.
  • the masking functions processor 1526 receives the magnitude coefficients produced by the magnitude processor 1518 and computes masking functions.
  • the weighting processor 1524 receives the masking functions and the real part of the signal from the coefficient filter 1516, such as R(0) through R(M-1) for producing the weighted signal, as described above.
  • the encoding processor 1528 performs quantization and encoding processing to produce the output bitstream.
  • the input signal is transformed from the time domain to the frequency domain once, by means of an MCLT. Therefore, the enhancement functions of the AEC 1512 and the noise reducer 1514 are computed on the MCLT coefficients, while the codec 1520 uses the real part of the MCLT coefficients for quantization and encoding and the magnitudes of the MCLT coefficients for computation of precise auditory masking functions and weighting functions.
  • the computational load can be minimized by performing the MCLT computation once by integrating several components that process the signal in the frequency domain.
  • a speech recognizer 1530 having a coefficient processor 1532 and recognition engine 1534.
  • the speech recognizer 1530 can be located after the magnitudes are computed 1518.
  • the incoming speech signal is divided into blocks of 10 to 30 ms duration.
  • a cepstrum vector is computed, and cepstral coefficients are used for the next step of statistical and language pattern analysis.
  • cepstral coefficients are used for the next step of statistical and language pattern analysis.
  • V(r) can be defined by:
  • the parameter N (the number of spectral coefficients computed) can be set between 10 and 20.
  • a fast Fourier transform (FFT) operator is preferably computed on the incoming block.
  • FFT fast Fourier transform
  • an approximate cepstral vector C(r) can be computed by the coefficient processor 1532 using the MCLT coefficients instead of other coefficients (such as FFT coefficients), such that: M- ⁇ 2 ⁇ rL
  • ⁇ U(k) ⁇ is the set of MCLT coefficients.
  • the speech recognition engine 1534 receives these coefficients for performing speech recognition.
  • this new cepstral vector C(r) is not identical to the original cepstral vector V(r)
  • the patterns present in V( ⁇ will also be present in C(r).
  • Re-training of the spectral recognition engine can be performed, so it will re-adapt to the typical patterns in C(r).

Abstract

The present invention is embodied in a system and method for performing spectral analysis (1500) of a digital signal having a discrete duration by spectrally decomposing the digital signal at predefined frequencies uniformly distributed over a sampling frequency interval into complex frequency coefficients (220, 222) so that magnitude and phase information at each frequency is immediately available to produce a modulated complex lapped transform (MCLT). The present invention includes a MCLT processor (1510), an acoustic echo cancellation device (1512) and a noise reducer (1514) integrated with an encoder/decoder device (1500).

Description

MODULATED COMPLEX LAPPED TRANSFORM FOR INTEGRATED SIGNAL ENHANCEMENT AND CODING
TFCHNICAI FIFi n The present invention relates to a system and method for producing modulated complex lapped transforms (MCLTs), and in particular, a system and method for incorporating complex coefficients to modulated lapped transforms (MLTs) to derive MCLTs.
BACKGROUND ART
In many engineering and scientific applications, it is desirable to analyze a signal in the frequency domain or represent the signal as a linear superposition of various sinusoids. The analysis of the amplitudes and phases of such sinusoids (the signal spectrum) can be useful in multimedia applications for operations such as noise reduction, compression, and pattern recognition, among other things. The Fourier transform is a classical tool used for frequency decomposition of a signal. The Fourier transform breaks a signal down to component frequencies. However, its usefulness is limited to signals that are stationary, i.e., spectral patterns of signals that do not change appreciably with time. Since most real-world signals, such as audio and video signals, are not stationary signals, localized frequency decompositions are used, such as time- frequency transforms. These transforms provide spectral information that is localized in time.
One such transform is the discrete cosine transform (DCT). The DCT breaks a signal down to component frequencies. For instance, a block of M samples of the signal can be mapped to a block of M frequency components via a matrix of M x M coefficients. To ensure a good energy compaction performance, the DCT approximates the eigenvectors of the autocorrelation matrix of typical signal blocks. Basis functions for the DCT (for type II) can be defined as:
Figure imgf000003_0001
where, ank is the element of an A transformation matrix in the nth row and Mh column, or equivalently, the nth sample of the Λth basis function. For
orthonormality, the scaling factors are chosen as:
se
Figure imgf000004_0001
The transform coefficients X(k) are computed from the signal block samples x(n) by:
Figure imgf000004_0002
The DCT can be used for convolution and correlation, because it satisfies a modified shift property. Typical uses of the DCT are in transform coding, spectral analysis, and frequency-domain adaptive filtering.
An alternative transform for spectral analysis is the discrete cosine transform, type IV (DCT-IV). The DCT-IV is obtained by shifting the frequencies of the DCT basis functions in eqn. (A) by π/2M, in the form:
Figure imgf000004_0003
Unlike the DCT, the scaling factor is identical for all basis functions. It should be noted that the DCT-IV basis functions have a frequency shift, when compared to the DCT basis. Nevertheless, these transforms still lead to orthogonal basis.
The DCT and DCT-IV are useful tools for frequency-domain signal decomposition. However, they suffer from blocking artifacts. In typical applications, the transform coefficients X(k) are processed in some desired way: quantization, filtering, noise reduction, etc. Reconstructed signal blocks are obtained by applying the inverse transform to such modified coefficients. When such reconstructed signal blocks are pasted together to form the reconstructed signal (e.g. a decoded audio or video signal), there will be discontinuities at the block boundaries. The modulated lapped transform (MLT) eliminates such discontinuities. The MLT is a particular form of a cosine-modulated filter bank that allows for perfect reconstruction. For example, a signal can be recovered exactly from its MLT coefficients. Also, the MLT does not have blocking artifacts, namely, the MLT provides a reconstructed signal that decays smoothly to zero at its boundaries, avoiding discontinuities along block boundaries. In addition, the MLT has almost optimal performance for transform coding of a wide variety of signals. Because of these properties, the MLT is being used in many applications, such as many modern audio and video coding systems, including Dolby AC-3, MPEG-2 Layer III, and others.
However, one disadvantage of the MLT for some applications is that its transform coefficients are real, and so they do not explicitly carry phase information. In some multimedia applications, such as audio processing, complex subbands are typically needed by noise reduction devices, via spectral subtraction, and acoustic echo cancellation devices. Namely, in many audio processing applications digital audio representations are commonplace. For example, music compact discs (CDs), Internet audio clips, satellite television, digital video discs (DVDs), and telephony (wired or cellular) rely on digital audio techniques. Digital representation of an audio signal is achieved by converting the analog audio signal into a digital signal with an analog-to-digital (A/D) converter. The digital representation can then be encoded, compressed, stored, transferred, utilized, etc. The digital signal can then be converted back to an analog signal with a digital-to-analog (D/A) converter, if desired. The A/D and D/A converters sample the analog signal periodically, usually at one of the following standard frequencies: 8 kHz for telephony, Internet, videoconferencing; 11.025 kHz for Internet, CD-ROMs, 16 kHz for videoconferencing, long-distance audio broadcasting, Internet, future telephony; 22.05 kHz for CD-ROMs, Internet; 32 kHz for CD-ROMs, videoconferencing, ISDN audio; 44.1 kHz for Audio CDs; and 48 kHz for Studio audio production.
Typically, if the audio signal is to be encoded or compressed after conversion, raw bits produced by the A D are usually formatted at 16 bits per audio sample. For audio CDs, for example, the raw bit rate is 44.1 kHz x 16 bits/sample = 705.6 kbps (kilobits per second). For telephony, the raw rate is 8 kHz x 8 bits/sample = 64 kbps. For audio CDs, where the storage capacity is about 700 megabytes (5,600 megabits), the raw bits can be stored, and there is no need for compression. MiniDiscs, however, can only store about 140 megabytes, and so a compression of about 4:1 is necessary to fit 30 min to 1 hour of audio in a 2.5" MiniDisc.
For Internet telephony and most other applications, the raw bit rate is too high for most current channel capacities. As such, an efficient encoder/decoder (commonly referred to as coder/decoder, or codec) with good compressions is used. For example, for Internet telephony, the raw bit rate is 64 kbps, but the desired channel rate varies between 5 and 10 kbps. Therefore, a codec needs to compress the bit rate by a factor between 5 and 15, with minimum loss of perceived audio signal quality. With the recent advances in processing chips, codecs can be implemented either in dedicated hardware, typically with programmable digital signal processor (DSP) chips, or in software in a general-purpose computer. Currently, commercial systems use many different digital audio technologies. Some examples include: ITU-T standards: G.711 , G.726, G.722, G.728, G.723.1 , and G.729; other telephony standards: GSM, half-rate GSM, cellular
CDMA (IS-733); high-fidelity audio: Dolby AC-2 and AC-3, MPEG Lll and Llll, Sony MiniDisc; Internet audio: ACELP-Net, DolbyNet, PictureTel Siren, RealAudio; and military applications: LPC-10 and USFS-1016 vocoders. It is desirable to have codecs that can achieve low computational complexity and exhibit robustness to signal variations for allowing the codec to handle wider range of signals, i.e., the audio signals can be clean speech, noisy speech, multiple talkers, music, etc. without unduly compromising performance. Therefore what is needed is a new audio processing system that integrates an acoustic echo cancellation device and noise reducer with a codec for improving performance, reducing computational complexity, and reducing memory usage and processing delay. Whatever the merits of the above mentioned systems and methods, they do not achieve the benefits of the present invention. DISCI OSURF OF THF INVENTION
To overcome the limitations in the prior art described above, and to overcome other limitations that will become apparent upon reading and understanding the present specification, the present invention is embodied in a system and method for performing spectral analysis of a digital signal having a discrete duration. The present invention performs spectral analysis by spectrally decomposing the digital signal at predefined frequencies uniformly distributed over a sampling frequency interval into complex frequency coefficients so that magnitude and phase information at each frequency is immediately available.
Namely, the system of the present invention produces a modulated complex lapped transform (MCLT) and includes real and imaginary window processors and real and imaginary transform processors. Each window processor has window functions and operators. The real window processor receives the input signal as sample blocks and applies and computes butterfly coefficients for the real part of the signal to produce resulting real vectors. The imaginary window processor receives the input signal as sample blocks and applies and computes butterfly coefficients for the imaginary part of the signal to produce resulting imaginary vectors. The real transform processor computes a spatial transform on the real vectors to produce a real transform coefficient for the MCLT. The imaginary transform processor computes a spatial transform on the imaginary vectors to produce an imaginary transform coefficient for the MCLT. In addition, the system can include inverse transform module for inverse transformation of the encoded output. The inverse transform module can include components that are the exact inverse of the inverse real and imaginary transform processors and the real and imaginary inverse window processors. The encoded output is received and processed by inverse real and imaginary transform processors, and then received and processed by real and imaginary inverse window processors to produce an output signal that substantially matches the input signal. The foregoing and still further features and advantages of the present invention as well as a more complete understanding thereof will be made apparent from a study of the following detailed description of the invention in connection with the accompanying drawings and appended claims.
RRIFF DESCRIPTION OF THF DRAWINGS
Referring now to the drawings in which like reference numbers represent corresponding parts throughout:
FIG. 1 is a block diagram illustrating an apparatus for carrying out the invention;
FIG. 2 is a general block diagram illustrating a system for computing and encoding modulated complex lapped transforms in accordance with the present invention;
FIG. 3 is a general block/flow diagram illustrating a system and method for computing modulated lapped transforms in accordance with the present invention;
FIG. 4 is a detailed block/flow diagram illustrating computation of a modulated complex lapped transform in accordance with the present invention;
FIGS. 5A and 5B are detailed diagrams illustrating the window operation of the modulated complex lapped transform of FIG. 4;
FIG. 6 is a flow diagram illustrating operational computation of a modulated complex lapped transform in accordance with the present invention;
FIG. 7 is a general block diagram of a full-band adaptive filter;
FIG. 8 is a general block diagram of a frequency-domain MCLT-based adaptive filter in accordance with the present invention;
FIG. 9 is a block diagram of a working example of the adaptive filer of FIG. 8 of the present invention in the form of an acoustic echo cancellation device;
FIG. 10 is a general block diagram of an acoustic echo cancellation device with MCLT-based adaptive filters in accordance with the present invention; FIG. 11 is a wave signal illustrating sample results of the working example of FIG. 9;
FIG. 12 is a general block diagram of a noise reduction device with MCLT- based adaptive filters in accordance with the present invention.
FIG. 13 is a flow diagram illustrating operational computation of a noise reduction device incorporating the modulated complex lapped transform of the present invention; and FIG. 14 is a wave signal illustrating sample results of the working example of FIGS. 12-13.
FIG. 15 is a block diagram of a working system of the present invention illustrated as an integrated signal enhancer and noise reducer with a codec.
RFST MODE FOR CARRYING OUT THF INVFNTION
In the following description of the invention, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration a specific example in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.
Introduction:
The MCLT of the present invention can achieve short-time spectral decomposition of signals with explicit magnitude and phase information and perfect signal reconstruction. For instance, the MCLT of the present invention can use sine functions at defined frequencies and phases to generate an additional orthogonal decomposition. The defined frequencies and phases are preferably the same that the MLT basis functions use for cosine modulation of a particular window function with certain properties. In addition, the MCLT of the present invention is easily integrated with
MLT-based systems. Once the MCLT of a signal has been computed, its MLT can be trivially obtained simply by discarding the imaginary parts. The present invention can use both the cosine and sine modulating functions for producing a frame decomposition with desirable properties. Further, the cosine and sine modulations can be used to compute the real and imaginary parts of a transform that has all the magnitude/phase properties of the short-time Fourier transform, while allowing for perfect signal reconstruction. Consequently, the novel MCLT of the present invention can be used in applications such as high- fidelity audio coding, adaptive filtering, acoustic echo cancellation, noise reduction, or any other application where high-fidelity signal reconstruction is required.
FxRmplary Operating Environment
FIG. 1 and the following discussion are intended to provide a brief, general description of a suitable computing environment in which the invention may be implemented. Although not required, the invention will be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with a variety of computer system configurations, including personal computers, server computers, hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located on both local and remote computer storage media including memory storage devices.
With reference to FIG. 1 , an exemplary system for implementing the invention includes a general purpose computing device in the form of a conventional computer 100, including a processing unit 102, a system memory
104, and a system bus 106 that couples various system components including the system memory 104 to the processing unit 102. The system bus 106 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. The system memory includes computer storage media in the form of read only memory (ROM) 110 and random access memory (RAM) 112. A basic input/output system 114 (BIOS), containing the basic routines that helps to transfer information between elements within computer 100, such as during startup, is stored in ROM 110. The computer 100 may include a hard disk drive 116 for reading from and writing to a hard disk, not shown, a magnetic disk drive 118 for reading from or writing to a removable magnetic disk 120, and an optical disk drive 122 for reading from or writing to a removable optical disk 124 such as a CD
ROM or other optical media. The hard disk drive 116, magnetic disk drive 128, and optical disk drive 122 are connected to the system bus 106 by a hard disk drive interface 126, a magnetic disk drive interface 128, and an optical drive interface 130, respectively. The drives and their associated computer-readable media provide storage of computer readable instructions, data structures, program modules and other data for the computer 100. Although the exemplary environment described herein employs a hard disk, a removable magnetic disk 120 and a removable optical disk 130, it should be appreciated by those skilled in the art that other types of computer readable media can store data that is accessible by a computer. Such computer readable media can be any available media that can be accessed by computer 100. By way of example, and not limitation, such computer readable media may comprise communication media and computer storage media. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" means a signal that has one or more of its characteristics set of changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as wired network or direct wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. By way of example, and not limitation, communication media includes wired media such as a wired network or direct wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Computer storage media includes any method or technology for the storage of information such as computer readable instructions, data structures, program modules or other data. By way of example, such storage media includes RAM, ROM, EPROM, flash memory or other memory technology, CD-ROM, digital video disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 100. Combinations of any of the above should also be included within the scope of computer readable media.
A number of program modules may be stored on the hard disk, magnetic disk 120, optical disk 124, ROM 110 or RAM 112, including an operating system 132, one or more application programs 134, other program modules 136, and program data 138. A user may enter commands and information into the computer 100 through input devices such as a keyboard 140 and pointing device
142. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 102 through a serial port interface 144 that is coupled to the system bus 106, but may be connected by other interfaces, such as a parallel port, game port or a universal serial bus (USB). A monitor 146 or other type of display device is also connected to the system bus 106 via an interface, such as a video adapter 148. In addition to the monitor 146, computers may also include other peripheral output devices (not shown), such as speakers and printers. The computer 100 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 150. The remote computer 150 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the personal computer 100, although only a memory storage device 152 has been illustrated in FIG. 1.
The logical connections depicted in FIG. 1 include a local area network (LAN) 154 and a wide area network (WAN) 156. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and Internet. When used in a LAN networking environment, the computer 100 is connected to the local network 154 through a network interface or adapter 158. When used in a WAN networking environment, the computer 100 typically includes a modem 160 or other means for establishing communications over the wide area network 156, such as the Internet. The modem 160, which may be internal or external, is connected to the system bus 106 via the serial port interface 144. In a networked environment, program modules depicted relative to the computer 100, or portions thereof, may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
Overview of Components and Operation:
FIG. 2 is a general block diagram illustrating a system for computing and encoding modulated complex lapped transforms in accordance with the present invention. In the system 200 of the present invention, an input signal 206 is received by a sampling device 208, which breaks the signal into blocks. Each block contains L samples, and each new block is formed by discarding the M oldest samples of the block and adding the M newest input samples to the block. In a typical implementation, L = 2M. Also included in the system 200 are real and imaginary window processors 210, 212 for reducing blocking effects, and real and imaginary transformation processors 220, 222 for coding each block. It should be noted that one window processor with dual real and imaginary computational devices can be used instead of separate real and imaginary window processors. Similarly, one transform processor with dual real and imaginary computational devices can be used instead of separate real and imaginary transform processors. The real and imaginary window processors 210, 212 receive and process the input block by applying and computing butterfly coefficients for the real and imaginary parts of the signal, respectively, to produce resulting real and imaginary vectors. The butterfly coefficients are determined by a given window function, which will be discussed in detail below. The real and imaginary transformation processors 220, 222 compute spatial transforms on the resulting real and imaginary vectors to produce real and imaginary transform coefficients of the MCLT, respectively. FIG. 3 is a general block/flow diagram illustrating a system and method for computing modulated lapped transforms in accordance with the present invention. In general, the MCLT computation system 300 first receives an input signal 310. Second, a single window processor 312 with real and imaginary computational devices or dual real and imaginary window processors receives a block of M samples of the input signal (box 314). The window processor 312 applies and computes butterfly coefficients, for the real and imaginary parts of the signal (boxes 315, 316), respectively, to produce real and imaginary resulting vectors (boxes 318, 320), respectively. Third, a single transform processor 322 with real and imaginary computational devices or dual real and imaginary transform processors receives the real and imaginary resulting vectors (box 323). The transform processor 318 performs a discrete cosine transform (DCT) operation on the real vectors (box 324) and a discrete sine transform (DST) operation on the imaginary vectors (box 326). Fourth, real and imaginary output signals are respectively produced as vectors with real and imaginary MCLT coefficients corresponding to the input block of samples (boxes 328, 330). Fifth, the output signal can be processed by transmitting, storing, enhancing, filtering, etc. the signal (box 332). For example, interference within the signal can be reduced with a noise reducer, echo canceller, etc., compression can be achieved by scalar or vector quantization of the MLT coefficients, etc., as desired.
Structural and Operational Details of the System
FIG. 4 is a detailed block/flow diagram illustrating a modulated complex lapped transform (MCLT) extended from a modulated lapped transform processor (MLT) in accordance with the present invention. Referring back to FIGS. 2-3 along with FIG. 4, the incoming signal is decomposed into frequency components by a transform processor, such as a modulated complex lapped transform processor (MCLT) of the present invention, that is preferably an extension of a modulated lapped transform processor (MLT). An MLT is preferably the basis for the MCLT because among other things, although other transform processors, such as discrete cosine transforms (DCT and DCT-IV) are useful tools for frequency-domain signal decomposition, they suffer from blocking artifacts. For example, transform coefficients X(k) are processed by DCT and DCT-IV transform processors in some desired way, such as quantization, filtering, noise reduction, etc. Reconstructed signal blocks are obtained by applying the inverse transform to such modified coefficients. When such reconstructed signal blocks are pasted together to form the reconstructed signal (e.g. a decoded audio or video signal), there will be discontinuities at the block boundaries. In contrast, the modulated lapped transform (MLT) eliminates such discontinuities by extending the length of the basis functions to twice the block size, i.e. 2M.
The basis functions of the MLT are obtained by extending the DCT-IV functions and multiplying them by an appropriate window, in the form:
Figure imgf000015_0001
where k varies from 0 to M-l , but n now varies from 0 to 2/W-1. Thus, the MLT can lead to orthogonal or biorthogonal basis and can achieve short-time decomposition of signals as a superposition of overlapping windowed cosine and sine functions. Such functions provide a more efficient tool for localized frequency decomposition of signals than the DCT or DCT-IV. The MLT is a particular form of a cosine-modulated filter bank that allows for perfect reconstruction. For example, a signal can be recovered exactly from its
MLT coefficients. Also, the MLT does not have blocking artifacts, namely, the MLT provides a reconstructed signal that decays smoothly to zero at its boundaries, avoiding discontinuities along block boundaries. In addition, the MLT has almost optimal performance, in a rate/distortion sense, for transform coding of a wide variety of signals.
Specifically, the MLT is based on the oddly-stacked time-domain aliasing cancellation (TDAC) filter bank. In general, the standard MLT transformation for a vector containing 2M samples of an input signal x(n), n = 0, 1 , 2, .... 2M -1 (which are determined by shifting in the latest M samples of the input signal, and combining them with the previously acquired M samples), is transformed into another vector containing M coefficients X(k), k = 0, 1 , 2, ... , M -1. The transformation can be redefined by a standard MLT computation:
Figure imgf000016_0001
where h(n) is the MLT window.
Window functions are primarily employed for reducing blocking effects. For example, Signal Processing with Lapped Transforms, by H. S. Malvar, Boston: Artech House, 1992, which is herein incorporated by reference, demonstrates obtaining its basis functions by cosine modulation of smooth window operators, in the form:
Figure imgf000016_0002
(1 ) ps(n,k) = hs(n) cos
Figure imgf000016_0004
where Pα(n-k) and Ps(n->k) are the basis functions for the direct (analysis) and inverse (synthesis) transforms, and in) and Kin) are the analysis and synthesis windows, respectively. The time index n varies from 0 to 2 M - 1 and the frequency index k varies from 0 to M - \ t where M is the block size. The MLT is the TDAC for which the windows generate a lapped transform with maximum DC concentration, that is:
Figure imgf000016_0003
The direct transform matrix P„ has an entry in the n-th row and /c-th column of pα(n,k). Similarly, the inverse transform matrix has entries Ps(n^)- For a block x of 2M input samples of a signal x(n), its corresponding vector X of transform coefficients is computed by x = P,fχ. For a vector Y of processed transform coefficients, the reconstructed 2/W-sample vector y is given by y = pN Reconstructed y vectors are superimposed with M-sample overlap, generating the reconstructed signal y(n).
The MLT can be compared with the DCT-IV. For a signal u(n), its length-M orthogonal DCT-IV is defined by:
Figure imgf000017_0001
The frequencies of the cosine functions that form the DCT-IV basis are (A" + 1/2) πj M , t|-,e same as those of the MLT. Therefore, a simple relationship between the two transforms exists. For instance, for a signal x(n) with MLT coefficients X(k), it can be shown that X(k) = U(k) if u(n) is related to x(n),forw = (U>-">^/2-l, by;
(n+M/2) = AAI{x(M-\-n)ha(M-\~n)-x(n)ha(n)} ιι( M/2 -\-n) = x(M-\- ri)ha (n) + x(n)ha (M- -n)
where ^ u is the M-sample (one block) delay operator. For illustrative purposes, by combining a DCT-IV with the above, the MLT can be computed from a standard DCT-IV. An inverse MLT can be obtained in a similar way. For example, if Y(k) = X(k), i.e., without any modification of the transform coefficients (or subband signals), then cascading the direct and inverse MLT processed signals leads to y(n) - χ(n ~ 2 M) where M samples of delay come from the blocking operators and another M samples come from the internal overlapping operators of the MLT (the -- operators).
Assuming symmetrical analysis and synthesis windows, i.e. ha(n) = ha(2M-\-n) ancj hs(n) = hs(2M - 1 - n) _ it is easy to verify that perfect reconstruction is obtained with:
K(n) ha(n) = h2(n) + hs 2 (M-l-n) (3)
Consider the product window ™/Λw) fla(n)'1s(fl) . From eqn. (3), it follows that: hp (n) + hp(n+M) = hp(n) + hp(M-\- n) = l ^
With either the MLT window in (2) or the biorthogonal windows, the product window satisfies:
Figure imgf000017_0002
In accordance with the present, a modulated complex lapped transform (MCLT) is derived. The basis functions of the MCLT are defined by cosine and sine modulation of the analysis and synthesis windows, in the form: pa(n.k) = pa c(n,k) - j pa s(n,k)
M + \ Y , 1 ) π
Pa(n,k) = ha(n) COS n + \ k + — —
2 A 2 M (6)
( M+ \
Pa(^k) = ha( )λj— sin k + ÷ ' U I 2 2 M
with = v-l , and
Figure imgf000018_0001
M + \ ps c(n, k) = hs(ri) cos « + - M 2 2 J -W (7) ps s(n,k) = hs(n) sin «+ - A + - —
M 2 M
The MCLT transform coefficients X(/c) are computed from the input signal block x(n) by : P X or
2 -1
Figure imgf000018_0002
Comparing (1) and (6), it is clear that the MLT of a signal is given by the real part of its MCLT.
Construction of the MCLT can be viewed as providing additional sine- modulated functions as a 2x oversampling in the frequency domain, because for every new M real-valued input samples the MCLT computes M complex frequency components. In addition, the MCLT functions above form an over- complete basis. Consequently, the MCLT is in fact a 2x oversampled DFT filter bank (using a doubly-odd DFT instead of the traditional DFT), in which the DFT length size is 2M and the frame (block) size is M. It should be noted that, unlike in DFT filter banks, the lowest-frequency subband (the "DC" subband) is complex-valued.
With the MCLT, if the direct and inverse transforms are cascaded for a block, without modifying the transform coefficients, the following is obtained: X = Pj x. Y= X. y = PN = P 1 sP* ar Λ (9) with
Figure imgf000019_0001
Thus, it should be noted that the mapping from the input block x to the reconstructed block y is done via a diagonal matrix of order 2M. This is in n contrast to the MLT, for which the product P,PJ is not diagonal. In fact, the off-
diagonal terms of PΛ for the MLT are the time-domain aliasing terms, which are cancelled when the overlapped blocks are superimposed. When the subband signals are processed such that Y ≠ X, then the time-domain aliasing terms will not cancel exactly, producing artifacts. The MCLT, because of its 2x oversampling, does not rely on time-domain aliasing cancellation. Moreover, another property of the MCLT is that the reconstruction formula:
M-\ y(n) = Y Y(k)ps(n,k) ( 1 1 )
A=0 is achieved. Perfect reconstruction (with X(k) = Y(k), of course) can also be achieved with the choices:
Λ/-1
Figure imgf000019_0002
or
M-\ ys(n) = ∑lm{Y(k)}P. (n,k) (1 3) *=0
In eqn. (12), an inverse MLT is recognized. Although y(n), -vw) ( and -v5^ in eqns. (11 )— (13) are not block-by-block identical, they build exactly the same reconstructed signal after overlapping.
The magnitude frequency responses of the MCLT filter bank are the same as those of the MLT. For each frequency ω k = (^ + -)7 / M there are two subbands with the same magnitude frequency response but π/2 radians out of phase. As such, there is significant overlap among the frequency responses of neighboring subbands, and the stopband attenuation is around -22 dB with the sine window in eqn. (2).
Fast Computation
As with the MLT, the MCLT can be computed via the type-IV discrete cosine transform (DCT-IV). For a signal u(n), its length-M orthogonal DCT-IV is defined by:
Figure imgf000020_0001
The frequencies of the cosine functions that form the DCT-IV basis are
(k + l/2)π/M, the same as those of the MLT and MCLT. The type-IV discrete sine transform (DST-IV) of a signal v(n) is defined by.
Figure imgf000020_0002
For a signal x(n) with MCLT coefficients X(k) determined by eqn. (8), Re{X(k)} = U(k) and lm{X(/c)} = V(k), if u(n) in eqn. (14) is related to x(π), for n = 0,\,...,M/2-l, by.
u(n + M/2) = A λf {x( M-\- n)ha(M - 1 - w) - x(n)ha («)} u( M/2 -\-n) = x(M-\- n)ha (n) + x(n)ha (M-\-n)
and v(n) in (15) is related to x(n) by v(n+M/2) = AM{x(M-\-n)ha(M-\-n) + x(ri)ha(n)} v(M/2-\-n) = -x(M-\-n)ha(n) + x(n)ha(M-\-n)
where ^ u is the M-sample (one block) delay operator.
Thus, the MCLT can be computed from a MCLT computational system 400 having a window processor 410, which receives M sample blocks 412 of an input signal 414. The window processor 410 has real and imaginary window operators, real and imaginary transform processors 416, 418, such as a length- M DCT-IV and a length-M DST-IV, respectively, as shown in the simplified block diagram of FIG.4. The real and imaginary window operators of the window processor 410 applies and computes real and imaginary butterfly coefficients, respectively to produce resulting real and imaginary vectors.
After a predefined delay of the real and imaginary vectors, such as a one-block delay, from a real delay block 420 and an imaginary delay block 422, respectively, the length-M DCT-IV 416 receives the real vectors and the length-
M DST-IV 418 receives the imaginary vectors. The real transform processor 416 performs a discrete cosine transform (DCT) operation on the real vectors and the imaginary transform processor 418 performs a discrete sine transform (DST) operation on the imaginary vectors. Output signals with real and imaginary parts 424, 426 are produced as vectors with MCLT coefficients corresponding to the input block of samples.
As shown in FIG. 4, for the fast direct MCLT, n = 0, 1 , ... , M/2-1 , k = 0, 1 , ... , M/2-1. The DCT-IV and DST-IV can be implemented with the fast techniques. The inverse MCLT can be computed by simply transposing the components, moving the delays to the bottom half ouputs of the DCT-IV and
DST-IV, replacing the coefficients "a
Figure imgf000021_0001
, and multiplying the contents of the final buffer by 1/2. The fast MCLT computation shown in FIG. 4 does not assume identical analysis and synthesis windows. Therefore, it can be used to compute a biorthogonal MCLT, as long as the windows satisfy the perfect reconstruction condition in eqn. (3).
FIGS. 5A and 5B are detailed diagrams illustrating the window operation of the modulated complex lapped transform of FIG. 4 for the case M=8. It is easy to infer from those diagrams the general structure for any choice of the block size M. In general, as shown in FIGS. 5A and 5B, the MCLT computational system 400 of FIG. 4 includes real and imaginary window operators 502, 504. Initially, a first a block of M samples of an input signal x(n) is obtained. Second, for each window operator 502, 504 butterfly coefficients 512, 513 are applied and computed to produce resulting real vectors u(n) and imaginary vectors v(n). The butterfly coefficients are determined by a window function {h(n)} 514, 515. For each window operator 502, 504 half of the resulting vectors are stored in a buffer of a one block delay 516, 518 to be used for the next block, while the current contents of the buffer are recovered. Next, the real and imaginary vectors are received by the real and imaginary transform processors 520, 522, which are preferably discrete cosine transform (DCT) and discrete sine transform (DST) processors to produce vectors with real and imaginary MCLT transform coefficients corresponding to the input signal.
Working Operational Fxampl
FIG. 6 is a flow diagram illustrating operational computation of a working example of a modulated complex lapped transform in accordance with the present invention. Referring to FIGS. 3, 4, 5A and 5B along with FIG. 6, first, an input buffer x containing M signal samples are read by a MCLT system (box 610).
Second, h(n) based butterflies are computed for a cosine (real) part u(n) (box 612), a top half of u(n) is stored in a buffer 616 for use in the next block (box 614) and the top half of u(n) is read from a previous block (box 618). Next, h(n) based butterflies are computed for a sine (imaginary) part v(n) (box 620), a top half of v(n) is stored in a buffer 624 for use in the next block (box 622) and the top half of v(n) is read from a previous block (box 626). A discrete cosine transform, type IV (DCT IV) is then computed on u(n) (box 628) and a discrete sine transform, type IV (DST IV) is computed on v(n) (box 630). Last, an output buffer U(k) containing the real part of the MCLT is produced (box 632) and an output buffer V(k) containing the imaginary part of the MCLT is produced (box 634).
This allows the present invention to provide perfect reconstruction, in that a signal x(n) (where n denotes the discrete-time index) can be recovered exactly from its MCLT coefficients. The MCLT is a linear operator that projects the input block into a frame containing 2M basis functions. The MCLT corresponds to a tight frame (all blocks of same energy are mapped into transform vectors with the same energy), with a magnitude amplification factor equal to two.
An advantage of the novel MCLT of the present invention is that the MCLT maps a block of M input signal samples into M complex frequency coefficients. As a result, magnitude and phase information at each frequency is immediately available with the MCLT. In addition, the real part of the MCLT is the MLT, which makes for simplified computation of the MLT of a signal whose MCLT is known. This allows for efficient integration with multimedia applications, such as acoustic echo cancellation and audio coding. Moreover, because the MCLT maps a block of M input signal samples into M complex frequency coefficients, the MCLT leads to data expansion of a factor of two. In other words, an oversampling factor of two. This oversampling actually provides good performance in acoustic echo cancellation applications.
In summary, the MCLT of the present invention provides short-time spectral decomposition of signals with explicit magnitude and phase information and perfect signal reconstruction. Fast computability by means of butterflies followed by discrete cosine transform operators. Also, the real of the MCLT can be computed directly by the techniques discussed above, and the imaginary part can be computed with simple modifications. In addition, the MCLT is easily integrated with MLT-based systems. Further, once the MCLT of a signal has been computed, its MLT can be trivially obtained simply by discarding the imaginary part.
MCL T Used As An Adaptive Filter
General Overview
FIG. 7 is a general block diagram of a full-band adaptive filter using an adaptive FIR filtering approach. In general, a filtering system 700, such as a full- band adaptive filtering system, includes an input signal x(n) 710 and reference signal r(n) 712 received by an adaptive filter 720. The adaptive filter produces an output signal y(n) 722, which is sent back into the adaptive filter 720 for providing automatic refinement adjustments to the filtering process until the output signal y(n) approximates as closely as possible the reference signal r(n).
Specifically, the adaptive filter is preferably a filter with time-varying coefficients, which are automatically adjusted such that the output of the filter approximates as closely as possible a prescribed reference signal. If the adaptive filter has a finite impulse response (FIR), the output signal y(n) is computed from the input signal x(n) by Z.-1 y(n) = ∑w/(n)x(n- l) 1=0 where L is the length of the filter and {wι(n), I = 0, 1 , ... , -1} are the time- varying filter coefficients. The adaptive filter allows the output y(n) to approximate a reference signal r(n). or equivalently, drives the error signal e(n) = r(n)-y(n) as close to zero as possible.
Given an initial setting for the filter coefficient vector w/(0) the coefficients can be updated by using a LMS update equation:
Figure imgf000024_0001
where μ is a parameter that controls the speed of adaptation. For any coefficient position /, the LMS performs updates as an adaptation rule if the error e(n) has the same sign as the input e(n), i.e. if their product is positive, then |y(t?)| is too small, and thus wι should be increased. The adaptation rule above corresponds to adjusting the coefficient vector w in the negative direction of the gradient of the error with respect to w, i.e. a steepest descent update. The adaptive filter of FIG. 7 can be used in many applications where the response of the filter needs to change in view of varying conditions. Examples include modems (to equalize the signal distortions caused by the telephone lines) and acoustic echo cancellers (to remove the feedback from loudspeakers into microphones). If the input signal has a frequency spectrum that contains many peaks and valleys (i.e., if it is heavily colored), the parameter μ in the
LMS update equation has to be set to a very low value, which reduces the speed of adaptation, i.e., the speed in which the error signal e(n) converges to values near zero. On the other hand, if the input signal has a flat (white) spectrum, the LMS update equation is optimal, in the sense that it will lead to the fastest possible convergence
Frequency-Domain Adaptive Filters
FIG. 8 is a general block diagram of a frequency-domain MCLT-based adaptive filter in accordance with the present invention. The performance of the LMS adaptive filter of FIG. 7 discussed above can be improved for colored input signals by using the new structure in FIG. 8. For instance, the signals can be broken into frequency subbands and an adaptive LMS filter can be performed in each subband, as shown in FIG. 8. Although FIG. 8 depicts the MCLT as the transform operator that performs the frequency decomposition, other transforms could be used, such as a modulated lapped transform (MLT). If real transforms such as the MLT are used, the adaptive filters of each of the subbands have real coefficients. With a complex-valued transform such as the MCLT, the filter coefficients will have complex values.
In general, the frequency-domain adaptive filter of FIG. 8 includes a first MCLT processor 810 for receiving and processing an input signal x(n) for producing input signal vectors, such as X(0) through X(M-1 ) and a second
MCLT processor 812 for receiving and processing a reference signal r(n) for producing reference signal vectors, such as R(0) through R(M-1 ). Also included in system 800 are plural adaptive filters 814 for receiving the input signal vectors X(0) through X(M-1) and the reference signal vectors R(0) through R(M- 1) for producing corrected signal vectors, such as Y(0) through Y(M-1) and an inverse modulated complex lapped transform processor (IMCLT) 816. The IMCLT 816 receives and processes the corrected signal vectors Y(0) through Y(M-1) for producing a final output signal y(n) that substantially matches the input signal x(n). Thus, in the frequency-domain the adaptive filter of FIG. 8, there is an adaptive filter for each subband k. Consequently, the subband signals are modified according to the adaptive filter learning computation. The final output y(n) is obtained by applying an inverse MCLT (IMCLT) on the corrected subband/transform coefficients {Y(k)}. If the original adaptive filter of FIG. 7 had L coefficients, each adaptive filter in FIG. 8 needs only to have LIM coefficients, for the same time span.
The advantages of using the frequency-domain adaptive filter of FIG. 8 include faster convergence, because the signals within each subband are approximately white, even for a heavily colored input. Also, the device of FIG. 8 provides improved error control, because the μ factors for the adaptive filters in each subband can be adjusted independently. Finally, the system in FIG. 8 can have a reduced computational complexity, because of the fast FFT-based algorithms available to compute the transforms.
Acoustic echo cancellation (AEC)
One application of the adaptive filter of FIG. 8 is in acoustic echo cancellation (AEC), such as for real-time full-duplex communication systems
(for instance, speakerphones and videoconference systems). For instance, in a speakerphone system, the AEC can use an adaptive filter that estimates the feedback transfer function from the loudspeaker to the microphone. The estimated echo return is then subtracted from the microphone signal. Simple FIR filters are not ideal because of the length of the impulse response necessary to obtain a reasonable amount of echo reduction (for a 16 kHz sampling rate and an echo window of 100 ms, a 1 ,600-point impulse response is needed). With subband adaptive filtering, the long FIR full-band filter is replaced by a collection of short FIR filters, one for each subband. A critically sampled filter bank such as the MLT can be used for adaptive filtering, but the uncancelled aliasing due to subband processing may limit the amount of echo reduction to 10 dB or less. Performance can be improved by using cross-filters among neighboring subbands, but the extra degrees of freedom in such adaptive cross-filters usually slows down convergence significantly. With the MLCT, subband acoustic echo cancellation (AEC) can be performed without cross-filters. Each subband can be processed by a short FIR filter with complex taps, as shown in FIG. 8. With a large number of subbands, the subband signals are essentially white, and so each adaptive filter can be adjusted via the normalized LMS computation. FIG. 9 is a block diagram of a speakerphone working example of the adaptive filer of FIG. 8 of the present invention in the form of an acoustic echo cancellation device. The speakerphone system 900 of FIG. 9 includes communication equipment 910 comprising microphone input signals 912 received from a microphone 914, which can be amplified by an amplifier 915 and speaker output signals 916 transmitted to a speaker 918. The system 900 also includes a filter 920, such as the MCLT-based adaptive filter discussed above, for receiving input signals produced by the speaker 918 and reference signals received by the microphone 914.
For example, in typical speakerphone systems, the local microphone not only captures audio signals intended to be transmitted (such as voice signals of a local person), it also captures audio signals that are being attenuated at the local loudspeaker (such as voice signals from a remote person's transmission) as feedback. Unless the speaker feedback is cancelled, that feedback signal is sent back to the remote person. As such, the remote person will hear an echo of his or her own voice transmitted to the local person. To solve this problem, the adaptive filter of the present invention includes an MCLT-based adaptive filter for processing and filtering the input and references signal for producing an output signal with information indicating the estimated echo portion of the signal. The estimated echo portion of the output signal is removed or canceled and a resulting clean output signal is sent to the microphone input of the communication equipment 910. Consequently, after an initial audio signal is sent through the system 900, subsequent audio signals with feedback or echoes produced by the loudspeaker 918 are canceled by the adaptive filter 920 before the microphone input is received
Since the input to the adaptive filter 920 is the signal from the speaker 918 and the reference input is the signal from the microphone 914, the output of the adaptive filter will be a good estimate of the portion of the microphone signal that is dependent on the loudspeaker signal, which is precisely the echo. When the echo is subtracted from the signal of the microphone 914, as shown in FIG. 9, only the part of the microphone signal that is not correlated with the loudspeaker signal will remain. The remaining part (which is the "cleaned" microphone signal 912 in FIG. 9) corresponds to the other local sounds, such as the voice of the person speaking and other ambient sounds.
FIG. 10 is a general block diagram of an acoustic echo cancellation device (AEC) with MCLT-based adaptive filters in accordance with the present invention. In general, referring to FIGS. 8-9 along with FIG. 10, the AEC 1000 of FIG. 10 includes a first MCLT processor 1010 for receiving and processing a loudspeaker signal as an input signal x(n) for producing input signal vectors X(0) through X(M-1) and a second MCLT processor 1012 for receiving and processing a microphone signal as a reference signal r(n) for producing reference signal vectors R(0) through R(M-1 ).
Also included in system 1000 are plural adaptive filters 1014 for receiving the input signal vectors X(0) through X(M-1) and the reference signal vectors R(0) through R(M-1). The adaptive filters estimate the echo within the signals, which are then combined with the reference signals for canceling the echoes and producing cleaned and corrected signal vectors, such as Y(0) through Y(M-1). An inverse modulated complex lapped transform processor (IMCLT) 1016 receives and processes the corrected signal vectors Y(0) through
Y(M-1 ), which have MCLT coefficients without echo, for producing a final output signal with the echo canceled.
Subtraction of the estimated echo from the microphone signal is preferably performed for each subband, resulting in a set of subband signals Y(k) with the echo substantially removed.
The AEC and spectral subtraction can be combined using a single MLCT decomposition. For example, spectral subtraction can be applied to the subband signals immediately after the AEC adaptive filters. If the resulting signal is to be encoded by an MLT-based codec, then the MLT coefficients for the audio codec can be obtained by simply taking the real part of the outputs of the spectral subtraction. Therefore, only a single transformation step with the MCLT is necessary to perform simultaneous signal enhancement and coding.
If the waveform y(ri) corresponding to the echo-cancelled subband signals Y(k) in FIG. 10 is desired, then an inverse modulated complex transform (IMCLT) can be performed on Y(k), as shown in FIG. 8. However, if the signals are to be encoded with an MLT-based coder/decoder (codec), such as MSAudio, then y(n) need not be computed since a codec can work directly with the Y(k) subband/transform coefficients.
One advantage of using the MCLT-based adaptive filters is that the MCLT uses short windows, which leads to low processing delay. Another advantage is that the MCLT allows for perfect signal reconstruction. Also, integrating an MCLT adaptive filter with an MLT-based processing system (for example, an audio codec) is very easy, since the MLT is obtained directly as the real part of the MCLT. Further, for a given number of subbands M (which is also the block size), a windowed Fourier transform decomposes the signal into M/2+1 distinct subbands. The MCLT breaks the signal into M subbands, and so it provides essentially twice the frequency resolution. Therefore, an MCLT- based adaptive filter will converge faster, because narrower subbands tend to have a flatter spectrum.
FIG. 11 is a wave signal illustrating sample results of the working example of FIG. 9. The first wave signal (Wave A) is the microphone signal as a recorded echo return. The second wave signal (Wave B) is the output of a full- band AEC, echo reduction ratio (ERR) --= 26 dB (it should be noted that the vertical scale is different). The third wave signal (Wave C) is an output of a 512-band MLT AEC without cross filters, ERR « 5 dB. The bottom wave signal (Wave D) is an output of a 512-band MCLT AEC without cross filters, ERR * 20 dB.
Specifically, the original signal is an actual echo return recorded at 16 kHz sampling from a microphone located at about 20" from the loudspeaker (using a 4" driver). The signals in FIG. 11 show the cancelled echo after convergence of each AEC (which takes a few seconds in all cases). The MLT and MCLT AECs used M = 512 subbands and a four-tap adaptive filter in each band (corresponding to an echo window of about 128 ms). The echo attenuation for the MCLT is about 20 dB, which is adequate for many practical teleconferencing applications.
Noise Reduction
In addition, the MCLT of the present invention is amenable to other types of frequency-domain processing while allowing for perfect signal reconstruction. For instance, another kind of processing that can be efficiently performed in the frequency domain, especially with the MCLT, is noise reduction. For the audio/voice communication system in FIG. 9, even after the loudspeaker echo is cancelled the signal may still be noisy. The AEC usually removes feedback from the loudspeaker, but may not remove other noises, such as ambient noises that may be generated by computers and fans in an office.
An efficient approach to attack noise reduction is with spectral subtraction. For each subband k, the signal Y(k) is considered as having a desired signal and a noise component, in the form:
Y(k) = S(k) + N(k)
where S(k) is the desired signal and N(k) is the interfering noise. Assuming the signal and noise are uncorrelated, the energy of the subband signal is just the sum of the signal and noise energies:
Figure imgf000030_0001
With spectral subtraction, noise reduction is achieved by estimating the average noise magnitude \N(k)\ during low-amplitude signals, i.e., during periods where
\S(k)\ is assumed to be zero. The variable Ne(k) is the noise level estimate for the kt subband, which can be subtracted from Y(k), in the form
Figure imgf000030_0002
where Yf(k) is the filtered signal. As such, a portion of the estimated magnitude noise is subtracted from the magnitude of each subband signal. The phase is not affected, since the average noise phase is always zero. The parameters α (k) control how much of the noise estimate is subtracted from each subband signal, and so 0 < a(k) < 1 is preferably set. These parameters are preferably adjusted depending on the quality of the noise estimates. For example, if the noise estimate is significantly above the true noise level, the subtraction in eqn. (A) will remove part of the signal, also, leading to noticeable artifacts.
Specifically, FIG. 12 is a general block diagram of a noise reduction device with MCLT-based adaptive filters in accordance with the present invention. In general, the noise reduction device 1200 of FIG. 12 includes an MCLT processor 1210 for receiving and processing an input signal x(n) corrupted by noise for producing input signal vectors X(0) through X(M-1 ), plural subtraction devices 1212, such as subband noise subtraction devices and an inverse modulated complex lapped transform processor (IMCLT) 1216. The plural subband noise subtraction devices 1212 receive the input signal vectors X(0) through X(M-1) and compute magnitude, Xmag(0) through Xmag(M-1), and phase, Xph(0) through Xph(M-1 ), information (box 1218). Noise levels, Ne(0) through Ne(M-1) are estimated from the magnitude, Xmag(0) through Xmag(M-1), information (box 1220). The noise level estimates are combined with the magnitude information for reducing the noise based on the noise level estimated to produce cleaned and corrected magnitude information, which is then sent to a recovery device 1222 for recovering the real and imaginary parts of this information. An inverse modulated complex lapped transform processor (IMCLT) 1216 receives and processes the corrected information as signal vectors Y(0) through Y(M-1), which have MCLT coefficients with reduced noise, for producing a final output signal with noise reduction.
FIG. 13 is a flow diagram illustrating operational computation of a noise reduction device incorporating the modulated complex lapped transform of the present invention. Referring to FIG. 12 along with FIG. 13, first, an input buffer x containing M subband coefficients are read (box 1310) by MCLT processor 1210 of FIG. 12. Second, the MCLT coefficients X(k) are computed (box 1312) and this information is sent to the subband subtraction device 1212 of FIG. 12. Third, a first subband k=0 is analyzed (box 1314) by the subband subtraction device 1212 of FIG. 12. Fourth, it is determined whether a transform coefficient \X(k)\ is less than a threshold value, Th. If it is, the noise level estimate is adjusted (box 1318), for example with an update function such as:
Figure imgf000031_0001
If the coefficient \X(k)\ is not less than the threshold value, Th, and after the above function is performed, spectral subtraction is performed (box 1320) by the subband subtraction device 1212 of FIG. 12, preferably with the following expression:
Yf(k)\ = \X(k)\ - a (k)\Ne(k)\
Next, the subband subtraction device processes the next subband k=k+1 (box 1322). It is then determined whether k=M (box 1324). If not, the process returns to step 1316. Otherwise, last, an output buffer Y(k) containing M filtered subband coefficients is produced (box 1326) with reduced noise by the IMCLT 1216 of FIG. 12.
In practice, the noise reduction process is preferably performed right after the echo cancellation process of FIG. 10, otherwise the loudspeaker echo would interfere with the noise estimate and make it less reliable.
Although the spectral subtraction as in eqn. (A) can be performed with subband signals derived from a windowed Fourier transform, there are several advantages of using an MCLT instead of the Fourier transform. First, with the MCLT, perfect reconstruction of the signal can be obtained, which is important in low-noise, high fidelity applications. However, with a windowed Fourier transform, usually long windows are needed for good enough signal reconstruction, increasing the processing delay. Next, as discussed above, for a given number of subbands M (which is also the block size), a windowed Fourier transform decomposes the signal into M/2+1 distinct subbands. In contrast, the MCLT breaks the signal into M subbands, and so it provides essentially twice the frequency resolution. Therefore, an MCLT-based noise reducer allows for finer discrimination, which is important in reducing noise with periodic components, such as high-frequency tones generated by computer hard disks. FIG. 14 is a wave signal illustrating sample results of the working example of FIGS. 12-13 using the MCLT of the present invention with spectral subtraction.
The top wave signal (Wave A) is the original speech, corrupted by PC noise,
SNR * 15 dB and the bottom wave signal (Wave B) is the processed speech, SNR * 30 dB.
Specifically, an original 8-second speech signal was captured at 16 kHz sampling rate, with the microphone near a very noisy personal computer (PC), whose noise spectrum is approximately pink. The depth of subtraction for a noise reduction of about 15 dB was adjusted. The results are shown in FIG. 14, where the signal-to-noise ratio (SNR) was successfully increased from 15 dB to
30 dB. More importantly, the processed file has fewer artifacts than the results obtained using a commercial product that uses standard DFT filter banks for spectral subtraction.
Integrating AEC, Noise Reduction and Codec
FIG. 15 is a block diagram of a working system of the present invention shown as a signal enhancer and noise reducer integrated with a codec. The MCLT, AEC and noise reducer of the present invention as described above, can be integrated with an audio codec for use by a real time communication system, such as audio applications including Internet telephony or other forms of hands-free teleconferencing or telephony. The integration of the MCLT, AEC, noise reducer and codec leads to improved performance, reduced computational complexity, and reduced memory usage and processing delay over current systems. In general, referring to FIG. 15, the AEC (element 800 of FIG. 8) and noise reducer (element 1200 of FIG. 12) of the present invention can be integrated with an audio codec to form a novel integrated processor 1500. The integrated processor 1500 of the present invention includes a MCLT processor 1510 (similar to MCLT processor 810 of FIG. 8), an AEC processor 1512 (similar to the AEC processor 800 of FIG. 8), a noise reducer 1516 (similar to the noise reducer 1200 of FIG. 12), a coefficient filter 1516, a magnitude processor 1518, and a codec 1520, which can be any suitable codec. The noise reducer 1516 is preferably included in the codec 1520, as shown in FIG. 15. The codec can be the audio codec (with suitable modifications in accordance with the present invention) described in co-pending U.S. Patent Application Serial No. 09/085,620, filed on May 27, 1998 by Henrique Malvar, entitled "Scalable Audio Coder and Decoder" and assigned to the current assignee, which is herein incorporated by reference.
During operation, in a real-time communication system (i.e. an application that utilizes a digital communication channel), such as a digital network or online Internet communications for dynamically transmitting audio and video signals, the audio that is captured can be enhanced by operations of the AEC 1512 and noise reducer 1514 of the present invention. After enhancement, the audio signal is preferably coded (compressed) by the codec 1520 to limit the bit rate to a rate that is adequate for the communication channel. As shown in FIG. 15, the MCLT processor 1510 receives and processes an input signal x(n) for producing input signal vectors, such as X(0) through X(M-1 ) and the AEC processor 1512 receives and processes a reference signal for producing reference signal vectors 1522. The noise reducer 1516 then receives the signal vectors 1514 from the AEC processor 1512 and produces enhanced MCLT coefficients (real and imaginary parts), such as coefficients
Y(0) through Y(M-1), in accordance with the noise reducer 1200 of FIG. 12.
Specifically, in a communication system, the AEC does not need to perform an inverse MCLT after the adaptive filters in each subband, if a codec operates in the frequency domain. Thus, the same principle applies when the noise reduction process of eqn. (A) is added. For example, after computing the subband signals Yf(k) at the output of the AEC, the noise reduction step is applied to generate the filtered subband coefficients Yι(k), which are then sent directly to the codec, without the need to return to the corresponding time- domain signal. Alternatively, if the codec does not operate in the frequency domain (such as many telephony codecs), then the echo-cancelled and noise filtered signal y^n) can be obtained simply by computing an inverse MCLT on the subband signals Yf(k). It should be noted that instead of using the modulated lapped transform (MLT) as the first processing step (the audio coder of co-pending U.S. Patent Application Serial No. 09/085,620), the present invention uses the MCLT as the first processing step in order to avoid performing inverse MCLT computations. This is because, as described above, the MLT is the real part of the MCLT.
Thus, if the enhanced audio signal is available in the MCLT domain, it is not necessary to compute the inverse MCLT to recover the time domain waveform and then compute its MLT. Instead, the imaginary part of the MCLT coefficients are discarded, thereby allowing the system 1500 to obtain the MLT coefficients directly from the real part of the MCLT.
From the Y(k) enhanced MCLT coefficients produced by the AEC 1512 and noise reducer 1514, coefficients R(k) can be obtained by:
R{k) = Re{Y(k)}
where Re{χ} denotes taking the real part. In particular, as shown in FIG. 15, the coefficient filter 1516 and the magnitude processor 1518 receive coefficients Y(0) through Y(M-1). The coefficient filter 1516 processes the MCLT coefficients (real and imaginary parts) and discards the imaginary parts of the MCLT coefficients.
Improving Computation of the Auditory Masking Functions
In addition to obtaining the MLT coefficients needed by the codec directly from the real part of the MCLT coefficients, the integrated system 1500 of FIG. 15 produces accurate masking functions. For example, the audio codec of U.S.
Patent Application Serial No. 09/085,620 computes weighting functions based on hearing thresholds, defined by functions that approximate the masking phenomena in the human auditory system. Such masking functions can be computed based on the power spectrum of the incoming audio, i.e. the power values at each frequency index k. As such, the spectral magnitudes are approximated by magnitudes of the MLT coefficients.
However, since the MLT coefficients are obtained from projected the signal into modulated cosines, their magnitudes are typically not directly proportional to the actual physical r.m.s. (root mean-square) power contained in the signal at each frequency subband. With the MCLT, the magnitudes can be computed directly from the real and imaginary parts (cosine and sine projections, respectively), and such magnitudes are then directly proportional to the physical r.m.s. power at each frequency subband k. In that way, the computation of the masking functions are more precise as compared to computations based solely on the MLT (real part) coefficients.
As shown in FIG. 15, the magnitude processor 1518 computes the magnitudes of the MCLT coefficients, such as U(0) through U(M-1 ).
Computation of the magnitudes U(k) can be performed by the following expression:
Figure imgf000036_0001
The codec 1520 further includes a weighting processor 1524, a masking functions processor 1526 and an encoding processor 1528. The masking functions processor 1526 receives the magnitude coefficients produced by the magnitude processor 1518 and computes masking functions. The weighting processor 1524 receives the masking functions and the real part of the signal from the coefficient filter 1516, such as R(0) through R(M-1) for producing the weighted signal, as described above. Last, the encoding processor 1528 performs quantization and encoding processing to produce the output bitstream.
As shown in FIG. 15, the input signal is transformed from the time domain to the frequency domain once, by means of an MCLT. Therefore, the enhancement functions of the AEC 1512 and the noise reducer 1514 are computed on the MCLT coefficients, while the codec 1520 uses the real part of the MCLT coefficients for quantization and encoding and the magnitudes of the MCLT coefficients for computation of precise auditory masking functions and weighting functions.
Integrating AFC, Noise Reduction- Coding, and Speech Recognition For speech recognition applications, the computational load can be minimized by performing the MCLT computation once by integrating several components that process the signal in the frequency domain. As shown in FIG. 15, a speech recognizer 1530 having a coefficient processor 1532 and recognition engine 1534. The speech recognizer 1530 can be located after the magnitudes are computed 1518.
In general, in most automatic speech recognition (ASR) systems, the incoming speech signal is divided into blocks of 10 to 30 ms duration. For each block, a cepstrum vector is computed, and cepstral coefficients are used for the next step of statistical and language pattern analysis. With the set of Fourier transform coefficients for the input signal block {X(k)} the cepstral coefficients
V(r) can be defined by:
Figure imgf000037_0001
which is the inverse Fourier transform of the log magnitude spectrum of the block. The parameter N (the number of spectral coefficients computed) can be set between 10 and 20.
To compute the Fourier transform coefficients X(k), a fast Fourier transform (FFT) operator is preferably computed on the incoming block. When the incoming signal has already been processed by an MCLT-based AEC and noise reducer, however, a spectral representation of the signal is already computed, namely, the MCLT coefficients.
Thus, an approximate cepstral vector C(r) can be computed by the coefficient processor 1532 using the MCLT coefficients instead of other coefficients (such as FFT coefficients), such that: M-\ 2πrL
C(r) = ∑log\U(k)\e Λ/ , r = 0,l,....N λ=0
where {U(k)} is the set of MCLT coefficients. The speech recognition engine 1534 receives these coefficients for performing speech recognition. Although this new cepstral vector C(r) is not identical to the original cepstral vector V(r), the patterns present in V(ή will also be present in C(r). Re-training of the spectral recognition engine can be performed, so it will re-adapt to the typical patterns in C(r).
The foregoing description of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto.

Claims

WHAT IS CLAIMED IS:
1. A computer-implemented method (1000) for processing an audio signal, the method comprising: applying butterfly coefficients determined by a real and an imaginary window function to a received input signal to respectively produce real and imaginary resulting vectors (1010, 1012); computing real and imaginary spatial transforms of the real and imaginary resulting vectors, respectively, to produce a modulated complex lapped transform having real and imaginary transform coefficients as an encoded output (1010, 1012); and producing enhanced complex frequency coefficients from the transform coefficients (1014) and discarding the imaginary portions of the enhanced complex frequency coefficients to produce filtered real coefficients (1016).
2. The method of claim 1 , wherein the encoded output is produced as a vector with modulated complex lapped transform coefficients corresponding to the input signal (328, 330).
3. The method of claim 1 , further comprising processing the encoded output (332) by at least one of transmitting the output, storing the output, compressing the output, enhancing the output, and filtering the output.
4. The method of claim 1 , wherein producing enhanced complex frequency coefficients comprises is performed with an acoustic echo canceller
(900).
5. The method of claim 3, wherein filtering the output comprises reducing interference within the input signal with a cancellation device (900).
6. The method of claim 3, wherein compressing the output (332) is achieved by at least one of scalar and vector quantization.
7. The method of claim 1 , wherein the window functions (315, 316) are adapted for reducing blocking effects.
8. The method of claim 1 , wherein the real spatial transform is performed by a discrete cosine transform operation (324).
9. The method of claim 1 , wherein the imaginary spatial transform is performed by a discrete sine transform operation (326).
10. The method of claim 1 , wherein half of the resulting vectors are stored in a memory of a one block delay buffer (420, 422).
11. An audio processor (900), comprising: a modulated complex lapped transform processor receiving and spectrally decomposing input signals (914, 918) into complex frequency coefficients having real and imaginary portions (810, 812) associated with the input signals (914, 918); an enhancer comprising an acoustic echo cancellation processor and a noise reducer (900), wherein the acoustic echo cancellation processor and the noise reducer receive the complex frequency coefficients and produce enhanced complex frequency coefficients (920); and an encoder device (920) receiving the enhanced complex coefficients and encoding them.
12. The audio processor of claim 11 , further comprising producing an output signal (916) as a vector with the transform coefficients corresponding to a portion of the input signals.
13. The audio processor of claim 12, further comprising an external module (332) for processing the output signal by at least one of transmitting the output, storing the output, compressing the output, enhancing the output, and filtering the output.
14. The audio processor of claim 11 , wherein the modulated lapped transform processor includes a window processor (312) capable of applying butterfly coefficients determined by a real and an imaginary window function to respectively produce real and imaginary resulting vectors (318, 320).
15. The audio processor of claim 11 , wherein the window functions (312) are adapted for reducing blocking effects.
16. The audio processor of claim 11 , wherein the modulated lapped transform processor has a real transform module with a discrete cosine transform operator (324) and an imaginary transform module with a discrete sine transform operator (326).
17. The audio processor of claim 12, wherein the output signal is produced as a vector with biorthogonal modulated complex lapped transform coefficients (916) corresponding to the input signal.
18. The audio processor of claim 14, wherein the window processor
(940) further comprises a memory of a one block delay buffer (420, 422) for storing a portion of the respective resulting vectors in the memory and for recovering current contents of the delay buffer.
19. The audio processor of claim 11 , wherein the encoder device
(940) encodes the real part of the complex frequency coefficients.
20. The audio processor of claim 11 , wherein the encoder device (940) computes quantization weighting functions from the magnitudes of the modulated complex lapped transform coefficients.
21. A method for recognizing human speech (1500), comprising: applying butterfly coefficients determined by a real and an imaginary window function to a received input signal to respectively produce real and imaginary resulting vectors (1510); computing real and an imaginary spatial transforms of the real and imaginary resulting vectors, respectively, to produce a modulated complex lapped transform having real and imaginary transform coefficients as an encoded output (1510); producing enhanced complex frequency coefficients from the transform coefficients and discarding the imaginary portions of the enhanced complex frequency coefficients to produce filtered real coefficients (1520); and computing an approximate cepstral vector from the enhanced complex frequency coefficients and the filtered real coefficients (1530).
22. The method of claim 19, further comprising performing human speech recognition from the approximate cepstral vector (1530).
PCT/US2000/004868 1999-02-26 2000-02-25 Modulated complex lapped transform for integrated signal enhancement and coding WO2000051014A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU36060/00A AU3606000A (en) 1999-02-26 2000-02-25 Modulated complex lapped transform for integrated signal enhancement and coding

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US09/259,669 US6487574B1 (en) 1999-02-26 1999-02-26 System and method for producing modulated complex lapped transforms
US09/259,669 1999-02-26
US09/305,690 1999-05-05
US09/305,690 US6496795B1 (en) 1999-05-05 1999-05-05 Modulated complex lapped transform for integrated signal enhancement and coding

Publications (2)

Publication Number Publication Date
WO2000051014A2 true WO2000051014A2 (en) 2000-08-31
WO2000051014A3 WO2000051014A3 (en) 2002-09-26

Family

ID=26947455

Family Applications (3)

Application Number Title Priority Date Filing Date
PCT/US2000/004996 WO2000051015A1 (en) 1999-02-26 2000-02-25 An adaptive filtering system and method for cancelling echoes and reducing noise in digital signals
PCT/US2000/004868 WO2000051014A2 (en) 1999-02-26 2000-02-25 Modulated complex lapped transform for integrated signal enhancement and coding
PCT/US2000/004867 WO2000051013A2 (en) 1999-02-26 2000-02-25 A system and method for producing modulated complex lapped transforms

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/US2000/004996 WO2000051015A1 (en) 1999-02-26 2000-02-25 An adaptive filtering system and method for cancelling echoes and reducing noise in digital signals

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/US2000/004867 WO2000051013A2 (en) 1999-02-26 2000-02-25 A system and method for producing modulated complex lapped transforms

Country Status (2)

Country Link
AU (3) AU3707300A (en)
WO (3) WO2000051015A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702035B2 (en) 2002-07-03 2010-04-20 Freescale Semiconductor, Inc. Searching method and apparatus for processing digital communication signals
SE0202770D0 (en) * 2002-09-18 2002-09-18 Coding Technologies Sweden Ab Method of reduction of aliasing is introduced by spectral envelope adjustment in real-valued filterbanks
US7415117B2 (en) * 2004-03-02 2008-08-19 Microsoft Corporation System and method for beamforming using a microphone array
CN112037500A (en) * 2020-07-21 2020-12-04 江苏国茂减速机股份有限公司 Speed reducer capable of automatically judging fault, elevator and fault automatic judging method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5339265A (en) * 1992-08-31 1994-08-16 University Of Maryland At College Park Optimal unified architectures for the real-time computation of time-recursive discrete sinusoidal transforms
US5497398A (en) * 1993-08-12 1996-03-05 Aware, Inc. Multi-carrier transceiver
US5859788A (en) * 1997-08-15 1999-01-12 The Aerospace Corporation Modulated lapped transform method
WO1999062052A2 (en) * 1998-05-27 1999-12-02 Microsoft Corporation System and method for entropy encoding quantized transform coefficients of a signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5339265A (en) * 1992-08-31 1994-08-16 University Of Maryland At College Park Optimal unified architectures for the real-time computation of time-recursive discrete sinusoidal transforms
US5497398A (en) * 1993-08-12 1996-03-05 Aware, Inc. Multi-carrier transceiver
US5859788A (en) * 1997-08-15 1999-01-12 The Aerospace Corporation Modulated lapped transform method
WO1999062052A2 (en) * 1998-05-27 1999-12-02 Microsoft Corporation System and method for entropy encoding quantized transform coefficients of a signal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MALVAR H S: "Biorthogonal and nonuniform lapped transforms for transform coding with reduced blocking and ringing artifacts" IEEE TRANSACTIONS ON SIGNAL PROCESSING,US,IEEE, INC. NEW YORK, vol. 46, no. 4, April 1998 (1998-04), pages 1043-1053-1053, XP002116240 ISSN: 1053-587X *
SHLIEN S: "The modulated lapped transform, its time-varying forms, and its applications to audio coding standards" IEEE TRANSACTIONS ON SPEECH AND AUDIO PROCESSING,US,IEEE INC. NEW YORK, vol. 5, no. 4, July 1997 (1997-07), pages 359-366-366, XP002116284 ISSN: 1063-6676 *

Also Published As

Publication number Publication date
AU3707300A (en) 2000-09-14
WO2000051013A2 (en) 2000-08-31
AU3608400A (en) 2000-09-14
WO2000051015A1 (en) 2000-08-31
WO2000051014A3 (en) 2002-09-26
AU3606000A (en) 2000-09-14
WO2000051013A3 (en) 2002-09-26
WO2000051015A9 (en) 2002-02-14

Similar Documents

Publication Publication Date Title
US6496795B1 (en) Modulated complex lapped transform for integrated signal enhancement and coding
US6487574B1 (en) System and method for producing modulated complex lapped transforms
US6473409B1 (en) Adaptive filtering system and method for adaptively canceling echoes and reducing noise in digital signals
US6144937A (en) Noise suppression of speech by signal processing including applying a transform to time domain input sequences of digital signals representing audio information
Malvar A modulated complex lapped transform and its applications to audio processing
Hermansky et al. RASTA-PLP speech analysis
US6263307B1 (en) Adaptive weiner filtering using line spectral frequencies
CN100361405C (en) Scalable audio coder and decoder
US20080091415A1 (en) System and method for canceling acoustic echoes in audio-conference communication systems
US20060069556A1 (en) Method and system for active noise cancellation
CA2157708A1 (en) Adaptive finite impulse response filtering method and apparatus
MXPA01012349A (en) Methods and apparatus for improved sub-band adaptive filtering in echo cancellation systems.
JP2001501327A (en) Process and apparatus for blind equalization of transmission channel effects in digital audio signals
EP1526510B1 (en) Systems and methods for echo cancellation with arbitrary playback sampling rates
JP4622164B2 (en) Acoustic signal encoding method and apparatus
US7062039B1 (en) Methods and apparatus for improving adaptive filter performance by inclusion of inaudible information
US20040162866A1 (en) System and method for producing fast modulated complex lapped transforms
WO2000051014A2 (en) Modulated complex lapped transform for integrated signal enhancement and coding
EP1509905A1 (en) Perceptual normalization of digital audio signals
EP1395982B1 (en) Adpcm speech coding system with phase-smearing and phase-desmearing filters
Bhamidipati et al. Analysis of different discrete wavelet transform basis functions in speech signal compression
Eneroth Stereophonic acoustic echo cancellation: Theory and implementation
Lu et al. Acoustic echo cancellation with post-filtering in subband
Barabell An analysis of sub-band coding techniques for speech communication
Hermann Joint oversampled subband audio processing and coding using subband predictive quantization

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

AK Designated states

Kind code of ref document: A3

Designated state(s): AE AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

122 Ep: pct application non-entry in european phase