Not Applicable
Not Applicable
Certain embodiments of the invention relate to digital audio processing. More specifically, certain embodiments of the invention relate to a method and system for utilizing rate conversion filters to reduce mixing complexity during multipath, multi-rate audio processing.
In audio applications, systems that provide audio interface and processing capabilities may be required to support duplex operations, which may comprise the ability to collect audio information through a sensor, microphone, or other type of input device while at the same time being able to drive a speaker, earpiece of other type of output device with processed audio signal. In order to carry out these operations, these systems may utilize audio coding and decoding (codec) devices that provide appropriate gain, filtering, and/or analog-to-digital conversion in the uplink direction to circuitry and/or software that provides audio processing and may also provide appropriate gain, filtering, and/or digital-to-analog conversion in the downlink direction to the output devices.
As audio applications expand, such as new voice and/or audio compression techniques and formats, for example, and as they become embedded into wireless systems, such as mobile phones, for example, novel codec devices may be needed that may provide appropriate processing capabilities to handle the wide range of audio signals and audio signal sources. In this regard, added functionalities and/or capabilities may also be needed to provide users with the flexibilities that new communication and multimedia technologies provide. Moreover, these added functionalities and/or capabilities may need to be implemented in an efficient and flexible manner given the complexity in operational requirements, communication technologies, and the wide range of audio signal sources that may be supported by mobile phones. In addition, the more complex design requires more flexible and efficient testing interfaces and capabilities to be included as part of the design, which will allow the designer and the OEM to conduct testing of the product on a scale that has never been done before.
Due to the large number of possible sources of audio signals, the audio processing electronics must be flexible in terms of accepting different data types and sampling rates. The processing requirements for high quality audio such as music may differ drastically from those for voice or other types of audio such as polyphonic ringers. For example, voice signals may be of a lower sampling rate than high quality audio, and as a result, may have more stringent requirements due to the two-way nature of the communication. Voice signals may have very low latency requirements.
Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with the present invention as set forth in the remainder of the present application with reference to the drawings.
A system and/or method for utilizing rate conversion filters to reduce mixing complexity during multipath, multi-rate audio processing, substantially as shown in and/or described in connection with at least one of the figures, as set forth more completely in the claims.
Various advantages, aspects and novel features of the present invention, as well as details of an illustrated embodiment thereof, will be more fully understood from the following description and drawings.
Certain aspects of the invention may be found in a method and system for utilizing rate conversion filters to reduce mixing complexity during multipath, multi-rate audio processing. In this regard, a multipath may refer to the use of multiple processing paths that may be enabled for processing audio signals received from a plurality of sources. Moreover, a multi-rate may refer to enabling the reception of audio signals in a plurality of sampling rates and converting them to different sampling rates in accordance with the processing requirements. Aspects of the method may comprise up-sampling a number of digital audio signals and converting the up-sampled digital audio signals to a common data rate prior to mixing. The digital audio signals sampling rates may be converted utilizing half-band interpolators. The up-sampling may also utilize infinite impulse response interpolators. A portion of the up-sampled digital audio signals may have a common data rate. The common data rate may be determined by the number of half-band interpolators utilized to generate the up-sampled digital audio signals. Distortion in the digital audio signals may be compensated for utilizing a number of cascaded biquad filters or a finite impulse response filter.
The baseband processor 102 may comprise a TV out block 108, an infrared (IR) block 110, a universal asynchronous receiver/transmitter (UART) 112, a clock (CLK) 114, a memory interface 116, a power control block 118, a slow clock block 176, a OTP memory block 178, timers block 180, an inter-integrated circuit sound (12S) interface block 182, an inter-integrated circuit (12C) interface block 184, an interrupt control block 186. The baseband processor 102 may further comprise a USB on-the-go (OTG) block 174, a AUX ADC block 172, a general-purpose I/O (GPIO) block 170, a LCD block 168, a camera block 166, a SDIO block 164, a SIM interface 162, and a pulse code modulation (PCM) block 160. The baseband processor 102 may communicate with the Bluetooth radio 196 via the PCM block 160, and in some instances, via the UART 112 and/or the 12S block 182, for example.
The baseband processor 102 may further comprise a plurality of transmit (Tx) digital-to-analog converter (DAC) for in-phase (I) and quadrature (Q) signal components 120, . . . , 126, plurality of RF control 122, . . . , 128, and a plurality of receive (Rx) analog-to-digital converter (ADC) for I and Q signal components 124, . . . , 130. In this regard, receive, control, and/or transmit operations may be based on the type of transmission technology, such as EDGE, HSDPA, and/or WCDMA, for example. The baseband processor 602 may also comprise an SRAM block 152, an external memory control block 154, a security engine block 156, a CRC generator block 158, a system interconnect 150, a modem accelerator 132, a modem control block 134, a stack processor block 136, a DSP subsystem 138, a DMAC block 140, a multimedia subsystem 142, a graphic accelerator 144, an MPEG accelerator 146, and a JPEG accelerator 148. Notwithstanding the wireless system 100 disclosed in
The antennas 201a and 210b may comprise suitable logic circuitry, and/or code that may enable wireless signals transmission and/or reception. The output device driver 202 may comprise suitable logic, circuitry, and/or code that may enable controlling the operation of the output devices 203. In this regard, the output device driver 202 may receive at least one signal from the DSP 215 and/or may utilize at least one signal generated by the analog processing unit 208. The output devices 203 may comprise suitable logic, circuitry, and/or code that may enable playing, storing, and/or communicating analog audio, voice, polyringer, and/or mixed signals from the analog processing unit 208. The output devices 203 may comprise speakers, speaker phones, stereo speakers, headphones, and/or storage devices such as audio tapes, for example. The input devices 204 may comprise suitable logic, circuitry, and/or code that may enable receiving of analog audio and/or voice data and communicating it to the analog processing unit 208 for processing. The input devices 204 may comprise one or more microphones and/or auxiliary microphones, for example. The multimedia devices 224 may comprise suitable logic, circuitry, and/or code that may be enable communication of multimedia data with the core processor 218 in the baseband processor 205. The multimedia devices 224 may comprise cameras, video recorders, video displays, and/or storage devices such as memory sticks, for example.
The Bluetooth radio 206 may comprise suitable logic, circuitry, and/or code that may enable transmission, reception, and/or processing of information by utilizing the Bluetooth radio protocol. In this regard, the Bluetooth radio 206 may support amplification, filtering, modulation, and/or demodulation operations, for example. The Bluetooth radio 206 may enable data to be transferred from and/or to the baseband processor 205 via the PCM block 214, the 12S block 219, and/or the UART 220, for example. In this regard, the Bluetooth radio 206 may communicate with the DSP 215 via the PCM block 214 and with the core processor 218 via the 12S block 221 and the UART/SPI block 222.
The modem 207 in the baseband processor 205 may comprise suitable logic, circuitry, and/or code that may enable modulation and/or demodulation of signals communicated via the antenna 201 a. The modem 207 may communicate with the DSP 205. The shared memory 217 may comprise suitable logic, circuitry, and/or code that may enable storage of data. The shared memory 217 may be utilized for communicating data between the DSP 215 and the core processor 218. The master clock 216 may comprise suitable logic, circuitry, and/or code that may enable generating at least one clock signal for various components of the baseband processor 205. For example, the master clock 216 may generate at least one clock signal that may be utilized by the analog processing unit 208, the audio codec 209, the DSP 215, and/or the core processor 218, for example.
The core processor 218 may comprise suitable logic, circuitry, and/or code that may enable processing of audio and/or voice data communicated with the DSP 215 via the shared memory 217. The core processor 218 may comprise suitable logic, circuitry, and/or code that may enable processing of multimedia information communicated with the multimedia devices 224. In this regard, the core processor 218 may also control at least a portion of the operations of the multimedia devices 224, such as generation of signals for controlling data transfer, for example. The core processor 218 may also enable communicating with the Bluetooth radio via the 12S block 221 and/or the UART/SPI block 222. The core processor 218 may also be utilized to control at least a portion of the operations of the baseband processor 205, for example. The SBC codec 223 in the core processor may comprise suitable logic, circuitry, and/or code that may enable coding and/or decoding audio signals, such as music or mixed audio data, for example, for communication with the Bluetooth radio 206.
The DSP 215 may comprise suitable logic, circuitry, and/or code that may enable processing of a plurality of audio signals, such as digital general audio data, digital voice data, and/or digital polyringer data, for example. In this regard, the DSP 215 may enable generation of digital polyringer data. The DSP 215 may also enable generation of at least one signal that may be utilized for controlling the operations of, for example, the output device driver 202 and/or the audio codec 209. The DSP 215 may be utilized to communicate processed audio and/or voice data to the core processor 218 and/or to the Bluetooth radio 206. The DSP 215 may also enable receiving audio and/or voice data from the Bluetooth radio 206 and/or from the multimedia devices 224 via the core processor 218 and the shared memory 217.
The speech codec 211 may comprise suitable logic, circuitry, and/or code that may enable coding and/or decoding of voice data. The audio player 212 may comprise suitable logic, circuitry, and/or code that may enable coding and/or decoding of audio or musical data. For example, the audio player 212 may be utilized to process digital audio encoding formats such as MP3, WAV, AAC, uLAW/AU, AIFF, AMR, and MIDI, for example. The audio codec hardware control 210 may comprise suitable logic, circuitry, and/or code that may enable communication with the audio codec 209. In this regard, the DSP 215 may communicate more than one audio signal to the audio codec 209 for processing. Moreover, the DSP 215 may also communicate more than one signal for controlling the operations of the audio codec 209.
The audio codec 209 may comprise suitable logic, circuitry, and/or code that may enable processing audio signals received from the DSP 215 and/or from input devices 204 via the analog processing unit 208. The audio codec 209 may enable utilizing a plurality of digital audio inputs, such as 16 or 18-bit inputs, for example. The audio codec 209 may also enable utilizing a plurality of data sampling rate inputs. For example, the audio codec 209 may accept digital audio signals at sampling rates such as 8 kHz, 11.025 kHz, 12 kHz, 16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz, and/or 48 kHz. The audio codec 209 may also support mixing of a plurality of audio sources. For example, the audio codec 209 may support at least three audio sources, such as general audio, polyphonic ringer, and voice. In this regard, the general audio and polyphonic ringer sources may support the plurality of sampling rates that the audio codec 209 is enabled to accept, while the voice source may support a portion of the plurality of sampling rates, such as 8 kHz and 16 kHz, for example.
The audio codec 209 may also support independent and dynamic digital volume or gain control for each of the audio sources that may be supported. The audio codec 209 may also support a mute operation that may be applied to each of the audio sources independently. The audio codec 209 may also support adjustable and programmable soft ramp-ups and ramp-down for volume control to reduce the effects of clicks and/or other noises, for example. The audio codec 209 may also enable downloading and/or programming a multi-band equalizer to be utilized in at least a portion of the audio sources. For example, a 5-band equalizer may be utilized for audio signals received from general audio and/or polyphonic ringer sources.
The audio codec 209 may also utilize a programmable infinite impulse response (IIR) filter and/or a programmable finite impulse response (FIR) filter for at least a portion of the audio sources to compensate for passband amplitude and phase fluctuation for different output devices. In this regard, filters coefficients may be configured or programmed dynamically based on current operations. Moreover, filter coefficients may all be switched in one-shot or may be switched sequentially, for example. The audio codec 209 may also utilize a modulator, such as a Delta-Sigma (Δ-Σ) modulator, for example, to code digital output signals for analog processing.
The audio codec 209 may also utilize infinite impulse response (IIR) and half-band interpolator filters to up-convert the data rates of incoming signals. A number of filters may be utilized to step-up the sampling rates to a common rate. As with the compensation filter, the frequency response of the interpolator filters may be adjusted by setting gain coefficients.
In operation, the audio codec 209 in the wireless system 200 may communicate with the DSP 215 in order to transfer audio data and control signals. Control registers for the audio codec 209 may reside within the DSP 215. For voice data, the audio samples need not be buffered between the DSP 215 and the audio codec 209. For general audio data and for polyphonic ringer path, audio samples from the DSP 215 may be written into a FIFO and then the audio codec 209 may fetch the data samples. The DSP 215 and the core processor 218 may exchange audio signals and control information via the shared memory 217. The core processor 218 may write PCM audio directly into the shared memory 217. The core processor 218 may also communicate coded audio data to the DSP 215 for computationally intensive processing. In this regard, the DSP 215 may decode the data and may writes the PCM audio signals back into the shared memory 217 for the core processor 218 to access. Moreover, the DSP 215 may decode the data and may communicate the decoded data to the audio codec 209. The core processor 218 may communicate with the audio codec 209 via the DSP 215. Notwithstanding the wireless system 200 disclosed in
The first portion of the audio codec 230 may comprise a general audio path from the DSP 215, a voice path from the DSP 215, and a polyphonic ringer or polyringer path from the DSP 215. In this regard, the audio codec 230 may utilize a separate processing path before mixing each audio source or audio source type that may be supported. The general audio path may comprise a FIFO 231A, a left and right channels (L/R) mixer 233A, a left channel audio processing block 235A, and a right channel audio processing block 235B. The voice path may comprise a voice processing block 232 and a left and right channels (L/R) selector 234. The polyringer path may comprise a FIFO 231B, an L/R mixer 233B, a left channel audio processing block 235C, and a right channel audio processing block 235D.
Regarding the general audio path and the polyringer path, the FIFOs 231A and 231 B may comprise suitable logic, circuitry, and/or code that may enable storage of left and right channels audio signals from general audio source and polyringer source respectively. In this regard, each of the audio signals may be sampled at one of a plurality of sample rates that may be supported by the audio codec 230 for general audio data and/or polyringer data. The L/R mixer 233A may comprise suitable logic, circuitry, and/or code that may enable mixing the input right and left channels from the FIFO 231A to generate mixed left and right channels outputs to the audio processing blocks 235A and 235B respectively. The L/R mixer 233B may comprise suitable logic, circuitry, and/or code that may enable mixing the input right and left channels from the FIFO 231B to generate mixed left and right channels outputs to the audio processing blocks 235C and 235D respectively. The audio processing blocks 235A, 235B, 235C, and 235D may comprise suitable logic, circuitry, and/or code that may enable processing audio signals. In this regard, the audio processing blocks 235A, 235B, 235C, and/or 235D may support equalization operations, compensation operations, rate adaptation operations, and/or volume control operations, for example. The outputs of the audio processing blocks 235A and 235C may be communicated to the left channel branch mixer 237A. The outputs of the audio processing blocks 235B and 235D may be communicated to the right channel branch mixer 237B. The rate adaptation operations enable the outputs of the audio processing blocks 235A, 235B, 235C, and 235D to be at the same sampling rate when communicated to the mixers 237A and 237B.
Regarding the voice path, the voice processing block 232 may comprise suitable logic, circuitry, and/or code that may enable processing voice received from the DSP 215 in one of a plurality of voice sampling rates supported by the audio codec 230. In this regard, the voice processing block 232 may support compensation operations, rate adaptation operations, and/or volume control operations, for example. The L/R selector 234 may comprise suitable logic, circuitry, and/or code that may enable separating the voice signal contents into a right channel signal that may be communicated to the mixer 237B and a left channel signal that may be communicated to the mixer 237A. The rate adaptation operation may enable the outputs of the voice processing blocks 232 to be at the same sampling rate as the outputs of the audio processing blocks 235A, 235B, 235C, and/or 235D when communicated to the mixers 237A and 237B. For example, the input signals to the mixers 237A and 237B may be adjusted via up and/or down sampling in the audio processing blocks 235A, 235B, 235C, and 235D and the voice processing block 232 to have the same sampling rates.
The mixer 237A may comprise suitable logic, circuitry, and/or code that may enable mixing the outputs of the audio processing blocks 235A and 235C and the left channel output of the L/R selector 234. The mixer 237B may comprise suitable logic, circuitry, and/or code that may enable mixing the outputs of the audio processing blocks 235B and 235D and the right channel output of the L/R selector 234. The output of the mixer 237A may be associated with the left channel branch of the audio codec 230 while the output of the mixer 237B may be associated with the right channel branch of the audio codec 230. Also associated with the left channel branch may be an interpolator 238A, a sample rate converter 239A, a FIFO 242A, a Δ-Σ modulator 241A, and an interpolation filter 240A. Also associated with the right channel branch may be an interpolator 238B, a sample rate converter 239B, a FIFO 242B, a Δ-Σ modulator 241 B, and an interpolation filter 240B. The interpolation filters 240A and 240B may be optional and may be utilized for testing, for example, to interface to audio testing equipment using the Audio Precision interface or any other interfaces adopted in the industry.
The interpolators 238A and 238B may comprise suitable logic, circuitry, and/or code that may enable up-sampling of the outputs of the mixers 237A and 237B. The sample rate converters 239A and 239B may comprise suitable logic, circuitry, and/or code that may enable adjusting the output signals from the interpolators 238A and 239B to a sampling rate that may be utilized by the DSP 215 and/or the core processor 218 for communication to the Bluetooth radio 206. In this regard, the sample rate converters 239A and 239B may adjust the sampling rates to 44.1 kHz or 48 kHz, for example, for subsequent communication to the Bluetooth radio 206. The sample rate converters 239A and 239B may be implemented as interpolators, such as linear interpolators or more sophisticated decimation filters, for example. The audio and/or voice signal outputs from the sample rate converters 239A and 239B may be communicated to FIFOs 242A and 242B before being communicated to the DSP 215 and/or core processor 218 and later to the Bluetooth radio 206. The Δ-Σ modulators 241A and 241B may comprise suitable logic, circuitry, and/or code that may enable further bitwidth reduction of the outputs of the interpolators 238A and 238B to achieve a specified level output signal. For example, the Δ-Σ modulators 241A and 241B may receive 23-bit 6.5 MHz signals from the interpolators 238A and 238B and may reduce the signal levels to generate 6.5 MHz 17-level signals, for example.
The second portion of the audio codec 230 may comprise a digital decimation filter 236. The digital decimation filter 236 may comprise suitable logic, circuitry, and/or code that may enable processing a digital audio signal received from the analog processing unit 208, for example, before communicating the processed audio signal to the DSP 215. The digital decimation filter 236 may comprise FIR decimation filters or CIC decimation filters that may be followed by a plurality of IIR compensation and decimation filters, for example.
The second portion of the analog processing unit 250 may comprise a multiplexer (MUX) 254, a variable gain amplifier 255, and a multi-level Delta-Sigma (Δ-Σ) analog-to-digital converter (ADC) 252. The MUX 254 may comprise suitable logic, circuitry, and/or code that may enable selection of an input analog signal from a microphone or from an auxiliary microphone, for example. The variable gain amplifier 255 may comprise suitable logic, circuitry, and/or code that may enable dynamic variation of the gain applied to the analog output of the MUX 254. The multi-level Δ-Σ ADC 252 may comprise suitable logic, circuitry, and/or code that may enable conversion of the amplified output of the variable gain amplifier 255 to a digital signal that may be communicated to the digital decimation filter 236 in the audio codec 230 disclosed in
In step 278, when the audio signals to be mixed comprises general audio and/or polyphonic ringer audio, the signals may be processed in the audio processing blocks 235A, 235B, 235C, and 235D where equalization operations, compensation operations, rate adaptation operations, and/or volume control operations may be performed on the signals. Regarding the rate adaptation operations, the data sampling rate of the input general audio or polyphonic ringer audio signals may be adapted to a specified sampling rate for mixing. In step 280, when one of the audio signals to be mixed comprises voice, the voice signal may be processed in the voice processing block 232 where compensation operations, rate adaptation operations, and/or volume control operations may be performed on the voice signals. Regarding the rate adaptation operations, the data sampling rate of the input voice signals may be adapted to specified sampling rate for mixing.
In step 282, the left channel general audio and polyringer signals generated by the audio processing blocks 235A and 235C and the left channel voice signals generated by the L/R selector 234 may be mixed in the mixer 237A. Similarly, the right channel general audio and polyringer signals generated by the audio processing blocks 235B and 235D and the right channel voice signals generated by the L/R selector 234 may be mixed in the mixer 237B. In step 284, the outputs of the mixers 237A and 237B corresponding to the mixed left and right channel signals may be up-sampled by the interpolators 238A and 238B respectively. By generating signals with a higher sampling rate after mixing, the implementation of the sample rate converters 239A and 239B may also be simplified.
In step 286, when communicating the up-sampled mixed left and right channels signals to output devices, such as the output devices 203 disclosed in FIG. 2A, the audio codec 230 may utilize the Δ-Σ modulators 241A and 241B to reduce the digital audio signals to signals with much fewer but appropriate levels. In this regard, the output signals may be communicated to the DACs 251A and 251B and to the variable gain amplifiers 253A, 253B, 253C, and 253D disclosed in
The compensation filter 303 may comprise suitable logic, circuitry, and/or code for compensation of distortion that may have been introduced by output devices such as speakers and/or ear buds, for example. In one embodiment of the invention, a cascaded biquad filter 303A or a FIR filter 303B may be utilized for distortion compensation. In this regard, the cascaded biquad filter 303A or the FIR filter 303B may be selected for compensation of distortion in the digital audio input signal 301. In instances where the cascaded biquad filter 303A may be activated, signals may be routed to its inputs, and conversely, in instances when the FIR filter 303B may be activated, input signals may be routed to its inputs. The cascaded biquad filter 303A may be utilized with voice signals, for example. The FIR filter 303B may be utilized for the compensation of distortion in high quality audio in the digital audio input signal 301.
The interpolator blocks 305307, 309, 311, 313, and 315 may comprise suitable logic, circuitry and/or code for up-converting the sample rate of the incoming digital audio signal by two in each stage. Table 1 below illustrates exemplary sampling rates in kHz at each stage of a five-stage interpolator from the input audio signal into the interpolator block 305 and then through each interpolator up to HBIF5315, in accordance with an embodiment of the invention.
As shown in the example illustrated by Table 1, the sampling rates supported for the digital audio input signal may be doubled at each stage up to certain sampling rates, thus reducing the number of sampling rates from nine to three. In instances where the sampling rate reaches a final value at a stage earlier than HBIF5, such as 512, 705.6, or 768 kHz at HBIF3 or at HBIF 4 in the example illustrated in Table 1, the HBIF stages subsequent to that stage may not be activated and the output of that stage may be directly routed to the output 317. The number of sampling rates may be further reduced utilizing a rate adaptor, for example. U.S. application Ser. No. ______ (Attorney Docket No. 180113US01) filed on even date herewith, discloses an exemplary rate adaptor and is hereby incorporated by reference. Notwithstanding the exemplary compensation filter 303 and data rate interpolator blocks 305, 307, 309, 311, 313 and 315 disclosed in
In operation, the input signal 402 may be summed with the output of the adder 403 at the adder 401. The resulting output signal from the adder 401 may be communicated to the delay cell 405 and multiplied by coefficient b10 before being communicated to the adder 409. The output signal of the delay cell 405 may be communicated to the delay cell 407. The output of the delay cell 407 may be multiplied by coefficient a12 and may be summed with the output of the delay cell 405 that may be multiplied by coefficient a11 at the adder 403. The output of the delay cell 407 may be multiplied by coefficient b12 and may be summed with the output of the delay cell 405 that may be multiplied by coefficient b11 at the adder 411. The output of the adder 411 and the output of the adder 401 that may be multiplied by coefficient b10 may be summed at the adder 409. The output of the adder 409 may then be communicated to the second biquad stage 467. The frequency response of each biquad may be determined utilizing the biquad coefficients, such as those labeled as a11, a12, b11, b12, and b10 in the first biquad stage 465. The overall frequency response of the cascaded biquad compensation filter 400 may be determined by adjusting the biquad coefficients. For example, in a cascaded biquad compensation filter 400 that utilizes five biquad stages, 25 biquad coefficients may need to be adjusted.
In operation, the FIR filter 500 may perform frequency response compensation on an audio input signal 501, which may be utilized to compensate for distortion in the audio signal from output devices such as speakers or ear buds. The input signal 501 may be multiplied by coefficient c0 at the multiplier 503 and then communicated to the adder 527. The input signal 501 may also be communicated to the delay cell 505. The output of the delay cell 505 may be communicated to the delay cell 509 and also may be multiplied by coefficient c1 at the multiplier 507 and then communicated to the adder 527. This scheme may be repeated up to the number of stages, n, which may be 17, 33 or 65 for example, such that the output signal 529 may be a sum of the signals from each stage, where each stage may comprise the output of the previous stage through a delay cell, multiplied by a coefficient. The frequency response of the FIR compensation filter 500 may be determined by adjusting coefficients c0, C1, c2, . . . cn-1, where n may be the number of stages in the filter.
In operation, HBIF 600 may up-sample input signal 610 by a factor of two. The filter coefficients H1(1), H1(3), H1(5) . . . H1(70) may be adjusted to determine the frequency response of the HBIF 600. The output switch 647 may switch between the output nodes 643 and 645, generating two output samples per input sample.
Regarding the first stage of the IIR interpolation filter 700, the input switch 703 may be communicated to the adder 705. The output of the adder 705 may be communicated to the delay cell 709 and multiplied by coefficient b10 before being communicated to the adder 713. The output of the delay cell 709 may be multiplied by coefficient a11 and then communicated to the adder 707. The output of the delay cell 709 may be communicated to the delay cell 711 and may also be multiplied by coefficient b11 and then communicated to the adder 715. The output of the delay cell 709 may also be multiplied by coefficient a11 and communicated to the adder 707. The output of the delay cell 711 may be multiplied by coefficient a12 and communicated to the adder 707 and multiplied by coefficient b12 before being communicated to the adder 715. The output of the adder 707 may be communicated to the adder 705, and the output of the adder 715 may be communicated to the adder 713. The output of the adder 713 may be the output of the first stage 747 of the cascaded biquad, which may have five stages, for example. The coefficients a11, a12, b10, b11 and b12 may be utilized to determine the frequency response of the first stage 747. This scheme may be repeated for the subsequent stages of the IIR interpolator 700.
In operation, the cascaded biquad IIR interpolation filter 700 may up-sample the input signal 701 by a factor of two. The input switch 703 may insert zeros between two adjacent input samples by switching between the zero input 702 and the input signal 701. The resulting signal may be filtered by the cascaded biquad IIR filter. In an exemplary embodiment of the invention, the cascaded biquad IIR filter 700 may comprise five stages. Following the fifth stage 751, the output signal from the adder 739 may be bit shifted to provide gain to compensate for gain loss due to the zero insertion by the input switch 703.
Referring to
Referring to
Referring to
In step 1211, the sample rate of the audio signal generated by the second interpolation filter 307 may be doubled by the third interpolation filter 309, which may be an HBIF, such as HBIF2309. In step 1213, the sample rate of the audio signal generated by the third interpolation filter 309 may be doubled by the fourth interpolation filter 311, which may be an HBIF, such as HBIF3311. In step 1215, when the resulting sampling rate in step 1213 may be equivalent to a desired output sampling rate, the process may proceed to the end step 1223. However, when the sampling rate may not be equivalent to the desired output sampling rate, the process may proceed to the next step, 1217. In step 1217, the sample rate of the audio signal generated by the fourth interpolation filter 313 may be doubled by the fifth interpolation filter 313, which may be an HBIF, such as HBIF4313. In step 1219, when the resulting sampling rate may be equivalent to the desired output sampling rate, the process may proceed to the end step 1223. However, when the sampling rate may not be equivalent to the desired output sampling rate, the process may proceed to the next step, 1221. In step 1221, the sample rate of the audio signal generated by the fifth interpolation filter 313 may be doubled by the sixth interpolation filter 315, which may be an HBIF, such as HBIF5315. After step 1221, the process then may proceed to end step 1223.
Certain embodiments of the invention are described for receiving multi-rate digital audio signals 301. Aspects of the method may comprise up-sampling a number of digital audio signals and converting the up-sampled digital audio signals to a common data rate prior to mixing. The digital audio signals sampling rates may be converted utilizing interpolator block 305 and half-band interpolators 307, 309, 311, 313 and 315. The up-sampling may also utilize an infinite impulse response interpolator 700. A portion of the up-sampled digital audio signals may have a common data rate. The common data rate may be determined by the number of half-band interpolators 307, 309, 311, 313, and 315 utilized. Distortion in the digital audio signals may be compensated by utilizing a number of cascaded biquad filters 465, 467, 469, 471 and 473 or a finite impulse response filter 500.
Certain embodiments of the invention may comprise a machine-readable storage having stored thereon, a computer program having at least one code section for communicating information within a network, the at least one code section being executable by a machine for causing the machine to perform one or more of the steps described herein.
Accordingly, aspects of the invention may be realized in hardware, software, firmware or a combination thereof. The invention may be realized in a centralized fashion in at least one computer system or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware, software and firmware may be a general-purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.
One embodiment of the present invention may be implemented as a board level product, as a single chip, application specific integrated circuit (ASIC), or with varying levels integrated on a single chip with other portions of the system as separate components. The degree of integration of the system will primarily be determined by speed and cost considerations. Because of the sophisticated nature of modern processors, it is possible to utilize a commercially available processor, which may be implemented external to an ASIC implementation of the present system. Alternatively, if the processor is available as an ASIC core or logic block, then the commercially available processor may be implemented as part of an ASIC device with various functions implemented as firmware.
The present invention may also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which when loaded in a computer system is able to carry out these methods. Computer program in the present context may mean, for example, any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: a) conversion to another language, code or notation; b) reproduction in a different material form. However, other meanings of computer program within the understanding of those skilled in the art are also contemplated by the present invention.
While the invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present invention without departing from its scope. Therefore, it is intended that the present invention not be limited to the particular embodiments disclosed, but that the present invention will include all embodiments falling within the scope of the appended claims.
This application makes reference to: U.S. patent application Ser. No. ______ (Attorney Docket No. 18014US01) filed on even date herewith;U.S. patent application Ser. No. ______ (Attorney Docket No. 18016US01) filed on even date herewith;U.S. patent application Ser. No. ______ (Attorney Docket No. 18017US01)filed on even date herewith;U.S. patent application Ser. No. ______ (Attorney Docket No. 18018US01) filed on even date herewith; andU.S. patent application Ser. No. ______ (Attorney Docket No. 18019US01) filed on even date herewith. Each of the above stated applications is hereby incorporated herein by reference in its entirety.