US8565907B2 - Audio mixing device and method - Google Patents

Audio mixing device and method Download PDF

Info

Publication number
US8565907B2
US8565907B2 US12/506,702 US50670209A US8565907B2 US 8565907 B2 US8565907 B2 US 8565907B2 US 50670209 A US50670209 A US 50670209A US 8565907 B2 US8565907 B2 US 8565907B2
Authority
US
United States
Prior art keywords
digital signal
signal
digital
data rate
mixed
Prior art date
Legal status (The legal status 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 status listed.)
Active, expires
Application number
US12/506,702
Other versions
US20100036513A1 (en
Inventor
Yi-Chang Tu
Ming-Lih Lin
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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
Application filed by Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Assigned to REALTEK SEMICONDUCTOR CORP. reassignment REALTEK SEMICONDUCTOR CORP. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LIN, MING-LIH, TU, YI-CHANG
Publication of US20100036513A1 publication Critical patent/US20100036513A1/en
Application granted granted Critical
Publication of US8565907B2 publication Critical patent/US8565907B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10037A/D conversion, D/A conversion, sampling, slicing and digital quantisation or adjusting parameters thereof
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data
    • G11B2020/10555Audio or video recording specifically adapted for audio data wherein the frequency, the amplitude, or other characteristics of the audio signal is taken into account
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/10629Data buffering arrangements, e.g. recording or playback buffers the buffer having a specific structure
    • G11B2020/10638First-in-first-out memories [FIFO] buffers

Definitions

  • the disclosure relates to an audio mixing device and method, and more particularly to a mixing device and method applied to an audio codec.
  • An audio encoder/decoder can convert an analog audio signal (such as human voice and/or music sound), into a digital audio signal through an analog to digital converter (ADC), so as to transmit it to a subsequent stage device (such as a personal computer), for further audio processing.
  • ADC analog to digital converter
  • the digital microphone is a device which has been used frequently in the field of audio processing in recent years.
  • An ADC is built in the digital microphone, the digital microphone receives an analog audio signal, and the analog audio signal can be converted into a digital audio signal by the built-in ADC.
  • This integration of elements saves space which can then be used to accommodate an external ADC, reducing the volume of related electronic elements and improving the capacity of the device to resist noise interference.
  • an over-sampling technology is usually used to capture the audio signal.
  • the digital audio signal is then processed by a down sample filter to generate the output audio signal, so as to provide subsequent relevant applications.
  • the audio codec can receive the analog audio signal and the digital audio signal provided by the digital microphone, two down sample filters are needed to process audio signals from two different sources respectively. This increases the cost of the down sample filters.
  • FIG. 1 is a schematic view of a conventional audio codec.
  • the audio codec A 1 includes: an ADC A 10 , a selecting module A 30 , and a down sample filter A 40 .
  • the prior art uses the selecting module A 30 to receive the digital audio signal transmitted by the ADC A 10 and the digital audio signal transmitted by a digital microphone A 20 .
  • a select signal is then used to select the output of the ADC A 10 or the output of the digital microphone A 20 , and the selected output is transmitted to the down sample filter A 40 .
  • the audio codec Al can receive the digital audio signal transmitted by the digital microphone A 20 at the same time as it receives the analog audio signal.
  • the selecting module A 30 selects the source to be transmitted to the down sample filter A 40 as desired, so the additional down sample filter A 40 is not needed, thereby reducing the cost of the circuit.
  • the user may need to mix the analog audio signal with the signal received and processed by the digital microphone in order to generate a mixed output signal.
  • the background music is an analog audio signal
  • a singer generates a digital audio signal through the digital microphone.
  • the analog background music and the digital audio signal of the singer must be combined and then output.
  • the above US patent can select and transmit only one output to the down sample filter for processing at a time because the selecting module is used, it is not capable of mixing the analog audio signal and the digital audio signal.
  • the disclosure provides an audio mixing device and method.
  • the disclosure enables mixing of the analog audio signal, the digital audio signal and the disclosure uses only one down sample filter to process an analog audio signal and/or a digital audio signal of a digital microphone, thereby reducing circuit cost. Therefore, the disclosure better meets the requirements for applications of an audio codec by the user.
  • the disclosure provides an audio mixing device, including: an ADC, a converting module, a mixing module, and a down sample filter.
  • the ADC is adapted to receive an analog signal, and convert the analog signal into a first digital signal.
  • the converting module receives a second digital signal, and adjusts a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal.
  • the mixing module aggregates the first digital signal and the third digital signal to output a mixed signal.
  • the down sample filter down-samples the mixed signal to output a down-sampled signal.
  • the disclosure also provides an audio mixing method, including the following steps: receiving an analog signal, and converting the analog signal into a first digital signal; receiving a second digital signal; adjusting a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal; aggregating the first digital signal and the third digital signal to generate a mixed signal; and down-sampling the mixed signal to output a down-sampled signal.
  • FIG. 1 is a schematic view of a conventional audio codec
  • FIG. 2 is a schematic view of an audio mixing device according to an embodiment of the disclosure
  • FIG. 3 is a schematic view of a converting module according to an embodiment of the disclosure.
  • FIG. 4 is a schematic view of a mixing module according to an embodiment of the disclosure.
  • FIG. 5 is a flow chart of an audio mixing method.
  • the disclosure provides an audio mixing device and method, so as to process an analog audio signal and a digital audio signal simultaneously.
  • the device and method have a function of outputting a down-sampled signal.
  • FIG. 2 is a schematic view of an audio mixing device according to an embodiment of the disclosure.
  • the audio mixing device includes: an ADC 10 , a converting module 20 , a mixing module 30 , and a down sample filter 40 .
  • the ADC 10 receives an analog signal and converts the analog signal into a first digital signal.
  • the second digital signal will be mixed with the first digital signal generated by the ADC, so the data rate of the second digital signal must be adjusted before the subsequent mixing.
  • the converting module 20 is adapted to adjust the data rate of the digital signal.
  • the converting module 20 receives the second digital signal from the digital microphone 50 , and converts the data rate of the second digital signal, so that the data rate of the second digital signal is consistent with the data rate of the first digital signal.
  • the second digital signal converted by the converting module 20 is referred to as a third digital signal.
  • the second digital signal may be provided by the digital microphone 50 , which is built-in in the ADC.
  • the digital microphone receives the (analog) audio signal
  • the (analog) audio signal can be converted into the digital audio signal (that is, the second digital signal), by the built-in ADC.
  • the converting module 20 converts the data rate of the second digital signal so it is the same as that of the first digital signal, the two signals are aggregated, and the mixing effect is better.
  • the mixing module 30 aggregates the first digital signal and the third digital signal to output a mixed signal. At this point the aggregation of the analog signal and the digital signal is completed.
  • the down sample filter 40 down-samples the mixed signal generated by the mixing module 30 to output the down-sampled signal.
  • the down-sampled signal output by the down sample filter 40 is a mixture of the analog signal and the digital signal, and the down-sampled signal output at last can be provided to a subsequent stage device (such as a personal computer), for subsequent audio processing.
  • FIG. 3 is a schematic view of the converting module 20 according to an embodiment of the disclosure.
  • the converting module 20 may include a buffer 22 and a sample circuit (or sample-and-hold circuit) 24 .
  • the second digital signal provided by the digital microphone 50 may be a 1-bit data stream.
  • the data is in one of only two states, either a logic 0 (GND) or a logic 1 (VDD), representing values ⁇ 1 and +1 respectively.
  • the DC value of the second digital signal is not 0. That is, the second digital signal has a DC offset.
  • the disclosure uses the buffer 22 to receive the second digital signal.
  • the buffer 22 may be a first-in-first-out (FIFO) buffer, so as to generate a fourth digital signal in a FIFO mode. In this way, the problem of a synchronism between the second digital signal and the first digital signal can be solved. Furthermore, the buffer 22 also may be omitted according to the actual situation.
  • FIFO first-in-first-out
  • the generated fourth digital signal is transmitted to the sample circuit 24 .
  • the data rate of the first digital signal output by the ADC 10 is higher (or lower), and the data rate of the second digital signal provided by the digital microphone 50 is relatively lower (or higher); therefore, the fourth digital signal processed by the buffer 22 must pass the sample circuit 24 to adjust the data rate thereof.
  • the sample circuit 24 must double the sampling of the fourth digital signal to increase 64 f(S) to 128 f(S), that is, to the data rate of the first digital signal. In order to prevent the signal distortion caused by the increase of the data rate of the fourth digital signal, the sampling is doubled, but the previous piece of data is held. As the data rate of the signal is adjusted by way of sampling and holding, the sample circuit 24 can be used.
  • the fourth digital signal can be converted into the third digital signal after being processed by the sample circuit 24 .
  • the third digital signal may be a 2-bit data stream.
  • the values used in this embodiment are represented by way of a 2's complement representation, so logic 0 (value ⁇ 1) and logic 1 (value +1) are converted into 11 and 01 respectively, and are represented by 2-bit data such that the DC value of the third digital signal can be 0.
  • FIG. 4 is a schematic view of an embodiment of a mixing module.
  • the mixing module 30 may include: a converting table 32 and an adder 34 .
  • an analog signal is converted into a first digital signal by the ADC 10
  • the first digital signal may be a 1-bit data stream.
  • the third digital signal may be a 2-bit data stream. Therefore, before the first digital signal and the third digital signal are added, the first digital signal needs to be converted into a 2-bit data stream to facilitate the subsequent adding.
  • the converting table 32 is adapted to convert the number of bits of the data stream of the first digital signal, such that the number of bits of the data stream of the first digital signal is consistent with the number of bits of the data stream of the third digital signal. Taking the above description as an example, the 1-bit data stream of the first digital signal is converted into a 2-bit data stream. After the first digital signal is converted by the converting table 32 , the generated signal is referred to as the converted first digital signal. Furthermore, the converting table 32 may be omitted according to the actual situation.
  • the adder 34 adds the converted first digital signal and the third digital signal to output a mixed signal.
  • the converted first digital signal is a 2-bit data stream
  • the third digital signal is also a 2-bit data stream; therefore, the result of adding the two signals are represented by a 3-bit data stream (that is, the mixed signal), is a 3-bit data stream.
  • FIG. 5 is a flow chart of an audio mixing method. Referring to FIG. 5 , the method includes the following steps.
  • step S 10 an analog signal is received, and the analog signal is converted into a first digital signal.
  • step S 20 a second digital signal is received.
  • the second digital signal is provided by a digital microphone.
  • a data rate of the second digital signal is adjusted according to a data rate of the first digital signal to generate a third digital signal.
  • a bit number of the second digital signal is adjusted.
  • the third digital signal is a 2-bit data stream and the DC value of the third digital signal can be 0.
  • the data rate of the second digital signal may be adjusted by way of sampling and holding.
  • the data rate of the third digital signal is substantially the same as the data rate of the first digital signal.
  • Step S 30 may further include the following steps: the second digital signal is buffered, and a fourth digital signal is generated in a FIFO mode; a data rate of the fourth digital signal is adjusted according to the data rate of the first digital signal to generate the third digital signal.
  • the data rate of the fourth digital signal may be adjusted by way of sampling and holding.
  • step S 40 the first digital signal and the third digital signal are aggregated to generate a mixed signal.
  • the mixed signal may include a plurality of 3-bit data streams.
  • step S 50 the aggregation is down-sampled to output a down-sampled signal.
  • the audio mixing device and method provided by the disclosure may be applied to an audio codec to achieve the function of mixing the analog audio signal and the digital audio signal. Compared with the prior art, which can only select for processing one of the analog audio signal and the digital audio signal, the disclosure provides a more flexible application.

Abstract

An audio mixing device and method are provided. The audio mixing device includes an analog to digital converter (ADC), a converting module, a mixing module, and a down-sample filter. The ADC is adapted to receive an analog signal, and convert the analog signal into a first digital signal. The converting module receives the second digital signal, and adjusts a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal. The mixing module mixes the first digital signal and the third digital signal to output a mixed signal. The down-sample filters down-samples the mixed to output a down-sampled signal.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS
This non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No(s). 97127705 filed in Taiwan, R.O.C. on Jul. 21, 2008, the entire contents of which are hereby incorporated by reference.
BACKGROUND
1. Technical field
The disclosure relates to an audio mixing device and method, and more particularly to a mixing device and method applied to an audio codec.
2. Background Art
An audio encoder/decoder (codec) can convert an analog audio signal (such as human voice and/or music sound), into a digital audio signal through an analog to digital converter (ADC), so as to transmit it to a subsequent stage device (such as a personal computer), for further audio processing.
In addition, the digital microphone is a device which has been used frequently in the field of audio processing in recent years. An ADC is built in the digital microphone, the digital microphone receives an analog audio signal, and the analog audio signal can be converted into a digital audio signal by the built-in ADC. This integration of elements saves space which can then be used to accommodate an external ADC, reducing the volume of related electronic elements and improving the capacity of the device to resist noise interference.
However, in order to improve the sound quality of a digital audio signal captured by a conventional external ADC or digital microphone, an over-sampling technology is usually used to capture the audio signal. The digital audio signal is then processed by a down sample filter to generate the output audio signal, so as to provide subsequent relevant applications. In this case, if the audio codec can receive the analog audio signal and the digital audio signal provided by the digital microphone, two down sample filters are needed to process audio signals from two different sources respectively. This increases the cost of the down sample filters.
U.S. Pat. No. 7,230,557B1 provides a solution to the problems described above. FIG. 1 is a schematic view of a conventional audio codec. The audio codec A1 includes: an ADC A10, a selecting module A30, and a down sample filter A40.
As shown in FIG. 1, the prior art uses the selecting module A30 to receive the digital audio signal transmitted by the ADC A10 and the digital audio signal transmitted by a digital microphone A20. A select signal is then used to select the output of the ADC A10 or the output of the digital microphone A20, and the selected output is transmitted to the down sample filter A40. Thus the audio codec Al can receive the digital audio signal transmitted by the digital microphone A20 at the same time as it receives the analog audio signal. The selecting module A30 selects the source to be transmitted to the down sample filter A40 as desired, so the additional down sample filter A40 is not needed, thereby reducing the cost of the circuit.
However, in actual application the user may need to mix the analog audio signal with the signal received and processed by the digital microphone in order to generate a mixed output signal. For example, in a live concert the background music is an analog audio signal, and a singer generates a digital audio signal through the digital microphone. In such cases, the analog background music and the digital audio signal of the singer must be combined and then output. In this case, since the above US patent can select and transmit only one output to the down sample filter for processing at a time because the selecting module is used, it is not capable of mixing the analog audio signal and the digital audio signal.
This is a problem that needs to be solved urgently in order to mix the analog audio signal and the digital audio signal.
SUMMARY
Accordingly, the disclosure provides an audio mixing device and method. The disclosure enables mixing of the analog audio signal, the digital audio signal and the disclosure uses only one down sample filter to process an analog audio signal and/or a digital audio signal of a digital microphone, thereby reducing circuit cost. Therefore, the disclosure better meets the requirements for applications of an audio codec by the user.
The disclosure provides an audio mixing device, including: an ADC, a converting module, a mixing module, and a down sample filter. The ADC is adapted to receive an analog signal, and convert the analog signal into a first digital signal. The converting module receives a second digital signal, and adjusts a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal. The mixing module aggregates the first digital signal and the third digital signal to output a mixed signal. The down sample filter down-samples the mixed signal to output a down-sampled signal.
The disclosure also provides an audio mixing method, including the following steps: receiving an analog signal, and converting the analog signal into a first digital signal; receiving a second digital signal; adjusting a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal; aggregating the first digital signal and the third digital signal to generate a mixed signal; and down-sampling the mixed signal to output a down-sampled signal.
The preferred embodiments and efficacies of the disclosure are described below with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
The disclosure will become more fully understood from the detailed description given herein below, which is for purposes of illustration only and thus not limitative of the disclosure, wherein:
FIG. 1 is a schematic view of a conventional audio codec;
FIG. 2 is a schematic view of an audio mixing device according to an embodiment of the disclosure;
FIG. 3 is a schematic view of a converting module according to an embodiment of the disclosure;
FIG. 4 is a schematic view of a mixing module according to an embodiment of the disclosure; and
FIG. 5 is a flow chart of an audio mixing method.
DETAILED DESCRIPTION
The disclosure provides an audio mixing device and method, so as to process an analog audio signal and a digital audio signal simultaneously. The device and method have a function of outputting a down-sampled signal.
FIG. 2 is a schematic view of an audio mixing device according to an embodiment of the disclosure. The audio mixing device includes: an ADC 10, a converting module 20, a mixing module 30, and a down sample filter 40.
When mixing of two different signals is needed, if data rates of the two audio signals are the same the mixing is easy and the mixing effect is better. At first, the ADC 10 receives an analog signal and converts the analog signal into a first digital signal. The second digital signal will be mixed with the first digital signal generated by the ADC, so the data rate of the second digital signal must be adjusted before the subsequent mixing.
The converting module 20 is adapted to adjust the data rate of the digital signal. Here, the converting module 20 receives the second digital signal from the digital microphone 50, and converts the data rate of the second digital signal, so that the data rate of the second digital signal is consistent with the data rate of the first digital signal. The second digital signal converted by the converting module 20 is referred to as a third digital signal. The second digital signal may be provided by the digital microphone 50, which is built-in in the ADC. Thus after the digital microphone receives the (analog) audio signal, the (analog) audio signal can be converted into the digital audio signal (that is, the second digital signal), by the built-in ADC.
After the converting module 20 converts the data rate of the second digital signal so it is the same as that of the first digital signal, the two signals are aggregated, and the mixing effect is better. The mixing module 30 aggregates the first digital signal and the third digital signal to output a mixed signal. At this point the aggregation of the analog signal and the digital signal is completed. Finally, the down sample filter 40 down-samples the mixed signal generated by the mixing module 30 to output the down-sampled signal. Here, the down-sampled signal output by the down sample filter 40 is a mixture of the analog signal and the digital signal, and the down-sampled signal output at last can be provided to a subsequent stage device (such as a personal computer), for subsequent audio processing.
FIG. 3 is a schematic view of the converting module 20 according to an embodiment of the disclosure. Here, the converting module 20 may include a buffer 22 and a sample circuit (or sample-and-hold circuit) 24.
Referring to FIGS. 3 and 2, the second digital signal provided by the digital microphone 50 may be a 1-bit data stream. In this embodiment the data is in one of only two states, either a logic 0 (GND) or a logic 1 (VDD), representing values −1 and +1 respectively. Because the second digital signal provided by the digital microphone is 1-bit data stream, the DC value of the second digital signal is not 0. That is, the second digital signal has a DC offset.
The disclosure uses the buffer 22 to receive the second digital signal. Here, the buffer 22 may be a first-in-first-out (FIFO) buffer, so as to generate a fourth digital signal in a FIFO mode. In this way, the problem of a synchronism between the second digital signal and the first digital signal can be solved. Furthermore, the buffer 22 also may be omitted according to the actual situation.
After the second digital signal is processed by the buffer 22, the generated fourth digital signal is transmitted to the sample circuit 24. Please refer to FIG. 2. In this embodiment the data rate of the first digital signal output by the ADC 10 is higher (or lower), and the data rate of the second digital signal provided by the digital microphone 50 is relatively lower (or higher); therefore, the fourth digital signal processed by the buffer 22 must pass the sample circuit 24 to adjust the data rate thereof.
An example is given below to illustrate the adjusting method. It is assumed that the data rate of the first digital signal is 128 f(S) (frequency of sampling), and the data rate of the second digital signal is 64 f(S), the former is twice of the latter. Therefore, the sample circuit 24 must double the sampling of the fourth digital signal to increase 64 f(S) to 128 f(S), that is, to the data rate of the first digital signal. In order to prevent the signal distortion caused by the increase of the data rate of the fourth digital signal, the sampling is doubled, but the previous piece of data is held. As the data rate of the signal is adjusted by way of sampling and holding, the sample circuit 24 can be used. The fourth digital signal can be converted into the third digital signal after being processed by the sample circuit 24. The third digital signal may be a 2-bit data stream. Here, the values used in this embodiment are represented by way of a 2's complement representation, so logic 0 (value −1) and logic 1 (value +1) are converted into 11 and 01 respectively, and are represented by 2-bit data such that the DC value of the third digital signal can be 0.
FIG. 4 is a schematic view of an embodiment of a mixing module. Here, the mixing module 30 may include: a converting table 32 and an adder 34.
For example, an analog signal is converted into a first digital signal by the ADC 10, and the first digital signal may be a 1-bit data stream. By contrast, the third digital signal may be a 2-bit data stream. Therefore, before the first digital signal and the third digital signal are added, the first digital signal needs to be converted into a 2-bit data stream to facilitate the subsequent adding. Here, the converting table 32 is adapted to convert the number of bits of the data stream of the first digital signal, such that the number of bits of the data stream of the first digital signal is consistent with the number of bits of the data stream of the third digital signal. Taking the above description as an example, the 1-bit data stream of the first digital signal is converted into a 2-bit data stream. After the first digital signal is converted by the converting table 32, the generated signal is referred to as the converted first digital signal. Furthermore, the converting table 32 may be omitted according to the actual situation.
Finally, the adder 34 adds the converted first digital signal and the third digital signal to output a mixed signal. The converted first digital signal is a 2-bit data stream, and the third digital signal is also a 2-bit data stream; therefore, the result of adding the two signals are represented by a 3-bit data stream (that is, the mixed signal), is a 3-bit data stream.
FIG. 5 is a flow chart of an audio mixing method. Referring to FIG. 5, the method includes the following steps.
In step S10, an analog signal is received, and the analog signal is converted into a first digital signal. The first digital signal may be an M-bit data stream. In an embodiment, M=1.
In step S20, a second digital signal is received. The second digital signal is provided by a digital microphone. In addition, the second digital signal may be an N-bit data stream. In an embodiment, N=1.
In step S30, a data rate of the second digital signal is adjusted according to a data rate of the first digital signal to generate a third digital signal. In addition, a bit number of the second digital signal is adjusted. In an embodiment, the third digital signal is a 2-bit data stream and the DC value of the third digital signal can be 0. The data rate of the second digital signal may be adjusted by way of sampling and holding. In a preferred embodiment, the data rate of the third digital signal is substantially the same as the data rate of the first digital signal.
Step S30 may further include the following steps: the second digital signal is buffered, and a fourth digital signal is generated in a FIFO mode; a data rate of the fourth digital signal is adjusted according to the data rate of the first digital signal to generate the third digital signal. The data rate of the fourth digital signal may be adjusted by way of sampling and holding.
In step S40, the first digital signal and the third digital signal are aggregated to generate a mixed signal. In an embodiment, the mixed signal may include a plurality of 3-bit data streams.
In step S50, the aggregation is down-sampled to output a down-sampled signal.
It is discernable from the above description that the audio mixing device and method provided by the disclosure may be applied to an audio codec to achieve the function of mixing the analog audio signal and the digital audio signal. Compared with the prior art, which can only select for processing one of the analog audio signal and the digital audio signal, the disclosure provides a more flexible application.

Claims (20)

What is claimed is:
1. An audio mixing device, comprising:
an analog to digital converter (ADC), for receiving an analog signal, and converting the analog signal into a first digital signal;
a converting module, for receiving a second digital signal, and adjusting a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal;
a mixing module, for converting the first digital signal into a converted first digital signal compatible with the third digital signal and mixing the converted first digital signal and the third digital signal to output a mixed signal; and
a down sample filter, for down-sampling the mixed signal to output a down-sampled signal; wherein, the second digital signal is a 1-bit data stream and wherein the third digital signal is a 2-bit data stream.
2. The device of claim 1, wherein a data rate of the third digital signal is substantially the same as the data rate of the first digital signal.
3. The device of claim 1, wherein the data rate of the second digital signal is adjusted by way of sampling.
4. The device of claim 1, wherein the converting module further comprises: a buffer, for receiving the second digital signal, and generating a fourth digital signal; and a sample circuit, for receiving the fourth digital signal and adjusting a data rate of the fourth digital signal according to the data rate of the first digital signal to generate the third digital signal.
5. The device of claim 4, wherein the buffer is a first-in-first-out (FIFO) buffer.
6. The device of claim 1, wherein the mixing module further comprises an adder.
7. The device of claim 6, wherein the first digital signal is converted by applying a converting table.
8. The device of claim 1, wherein the second digital signal is provided by a digital microphone.
9. The device of claim 1, wherein the first digital signal is a 1-bit data stream.
10. The device of claim 1, wherein the mixed signal is a 3-bit data stream.
11. The device of claim 1, wherein a DC value of the second digital signal is not 0 and a DC value of the mixed signal is approximately 0.
12. An audio mixing method, comprising:
converting an analog signal into a first digital signal;
receiving a second digital signal;
adjusting a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal;
mixing the first digital signal and the third digital signal to generate a mixed signal, wherein mixing comprises converting the first digital signal into a converted first digital signal compatible with the third digital signal; and
down-sampling the mixed signal to output a down-sampled signal; wherein, the second digital signal is a 1-bit data stream and wherein the third digital signal is a 2-bit data stream.
13. The method of claim 12, wherein a data rate of the third digital signal is substantially the same as the data rate of the first digital signal.
14. The method of claim 12, wherein the data rate of the second digital signal is adjusted by way of sampling.
15. The method of claim 12, wherein the second digital signal is provided by a digital microphone.
16. The method of claim 12, wherein a DC value of the second digital signal is not 0 and a DC value of the mixed signal is approximately 0.
17. The method of claim 12, wherein, the step of generating the mixed signal further comprises: adding the first digital signal and the third digital signal to output the mixed signal.
18. The method of claim 12, wherein, the step of generating the mixed signal further comprises:
adding the converted digital signal and the third digital signal to output the mixed signal.
19. An audio mixing device, comprising:
an analog to digital converter (ADC), for receiving an analog signal, and converting the analog signal into a first digital signal;
a converting module, for receiving a second digital signal, and adjusting a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal;
a mixing module, for converting the first digital signal into a converted first digital signal compatible with the third digital signal and mixing the converted first digital signal and the third digital signal to output a mixed signal; and
a down sample filter, for down-sampling the mixed signal to output a down-sampled signal; wherein, the second digital signal is a 1-bit data stream and wherein the mixed signal is a 3-bit data stream.
20. An audio mixing method, comprising:
converting an analog signal into a first digital signal;
receiving a second digital signal;
adjusting a data rate of the second digital signal according to a data rate of the first digital signal to generate a third digital signal;
mixing the first digital signal and the third digital signal to generate a mixed signal, wherein mixing comprises converting the first digital signal into a converted first digital signal compatible with the third digital signal; and
down-sampling the mixed signal to output a down-sampled signal; wherein, the second digital signal is a 1-bit data stream and wherein the mixed signal is a 3-bit data stream.
US12/506,702 2008-07-21 2009-07-21 Audio mixing device and method Active 2032-06-19 US8565907B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
TW97127705A 2008-07-21
TW097127705 2008-07-21
TW097127705A TWI427619B (en) 2008-07-21 2008-07-21 Audio mixer and method thereof

Publications (2)

Publication Number Publication Date
US20100036513A1 US20100036513A1 (en) 2010-02-11
US8565907B2 true US8565907B2 (en) 2013-10-22

Family

ID=41653675

Family Applications (1)

Application Number Title Priority Date Filing Date
US12/506,702 Active 2032-06-19 US8565907B2 (en) 2008-07-21 2009-07-21 Audio mixing device and method

Country Status (2)

Country Link
US (1) US8565907B2 (en)
TW (1) TWI427619B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665341B2 (en) 2015-02-09 2017-05-30 Sonos, Inc. Synchronized audio mixing

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235686B (en) * 2019-07-15 2022-07-05 瑞昱半导体股份有限公司 Sound effect coding and decoding circuit and audio data processing method

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4339091A (en) * 1977-10-25 1982-07-13 Industrie-Werke Karlsruhe Augsburg Aktiengesellschaft Device for depositing cable into a receiving container
US5647008A (en) * 1995-02-22 1997-07-08 Aztech Systems Ltd. Method and apparatus for digital mixing of audio signals in multimedia platforms
US5809004A (en) * 1992-02-14 1998-09-15 Sony Corporation Information recording medium with pits edges shifted in a step-wise fashion
US6278394B1 (en) 1999-09-21 2001-08-21 Motorola, Inc. Signal processing circuit and method of operation
US6487535B1 (en) * 1995-12-01 2002-11-26 Digital Theater Systems, Inc. Multi-channel audio encoder
US6591391B1 (en) * 1999-09-08 2003-07-08 Sencore Inc. Method of generating an 8-VSB modulated signal
CN1477900A (en) 2002-08-22 2004-02-25 联发科技股份有限公司 Sound effect treatment method for microphone and its device
US20040130471A1 (en) * 2003-01-03 2004-07-08 Samsung Electronics Co., Ltd. Delta-Sigma modulator for reducing quantization noise and oversampling ratio (OSR)
US20040174279A1 (en) * 2003-03-06 2004-09-09 Jaehoon Heo Method and apparatus for efficient conversion of signals using look-up table
US6867721B1 (en) * 2003-09-23 2005-03-15 Realtek Semiconductor Corp Spectral shaping dynamic encoder for a DAC
US20050185649A1 (en) * 1999-05-25 2005-08-25 Sony Corporation Transmission method, transmission apparatus and transmission system
US20060034365A1 (en) * 2004-08-11 2006-02-16 Zukui Song Digital adaptive feedforward harmonic distortion compensation for digitally controlled power stage
US7158843B2 (en) * 2000-06-30 2007-01-02 Akya Holdings Limited Modular software definable pre-amplifier
US7230557B1 (en) 2005-12-13 2007-06-12 Sigmatel, Inc. Audio codec adapted to dual bit-streams and methods for use therewith
US7236836B1 (en) * 1999-09-29 2007-06-26 Victor Company Of Japan, Ltd. System for signal processing and signal transmission
US20070183455A1 (en) * 2004-03-12 2007-08-09 Koninklijke Philips Electronics, N.V. Method of inserting digital watermarks in one-bit audio files
US20080247450A1 (en) * 2005-08-22 2008-10-09 Cohda Wireless Pty Ltd. Method and System For Communication in a Wireless Network
US20090060228A1 (en) * 2007-09-01 2009-03-05 Chieng Daniel L Systems and Methods for Shadowing an HDA Codec
US7619551B1 (en) * 2008-07-29 2009-11-17 Fortemedia, Inc. Audio codec, digital device and voice processing method
US20090326692A1 (en) * 2008-06-26 2009-12-31 Wei-Chun Lin Digital-to-analog converter for reducing pop noise and harmonic tone and related converting method
US8082050B2 (en) * 2002-12-02 2011-12-20 Thomson Licensing Method and apparatus for processing two or more initially decoded audio signals received or replayed from a bitstream

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI339049B (en) * 2006-03-09 2011-03-11 Princeton Technology Corp Gfsk/fsk modulation circuit and related method implemented in a digital manner
TWI371925B (en) * 2006-09-08 2012-09-01 Via Tech Inc Apparatus for processing multiple signals with a single analog-to-digital converter and method thereof

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4339091A (en) * 1977-10-25 1982-07-13 Industrie-Werke Karlsruhe Augsburg Aktiengesellschaft Device for depositing cable into a receiving container
US5809004A (en) * 1992-02-14 1998-09-15 Sony Corporation Information recording medium with pits edges shifted in a step-wise fashion
US5647008A (en) * 1995-02-22 1997-07-08 Aztech Systems Ltd. Method and apparatus for digital mixing of audio signals in multimedia platforms
US6487535B1 (en) * 1995-12-01 2002-11-26 Digital Theater Systems, Inc. Multi-channel audio encoder
US20050185649A1 (en) * 1999-05-25 2005-08-25 Sony Corporation Transmission method, transmission apparatus and transmission system
US6591391B1 (en) * 1999-09-08 2003-07-08 Sencore Inc. Method of generating an 8-VSB modulated signal
US6278394B1 (en) 1999-09-21 2001-08-21 Motorola, Inc. Signal processing circuit and method of operation
US7236836B1 (en) * 1999-09-29 2007-06-26 Victor Company Of Japan, Ltd. System for signal processing and signal transmission
US7158843B2 (en) * 2000-06-30 2007-01-02 Akya Holdings Limited Modular software definable pre-amplifier
CN1477900A (en) 2002-08-22 2004-02-25 联发科技股份有限公司 Sound effect treatment method for microphone and its device
US8082050B2 (en) * 2002-12-02 2011-12-20 Thomson Licensing Method and apparatus for processing two or more initially decoded audio signals received or replayed from a bitstream
US20040130471A1 (en) * 2003-01-03 2004-07-08 Samsung Electronics Co., Ltd. Delta-Sigma modulator for reducing quantization noise and oversampling ratio (OSR)
US20040174279A1 (en) * 2003-03-06 2004-09-09 Jaehoon Heo Method and apparatus for efficient conversion of signals using look-up table
US6867721B1 (en) * 2003-09-23 2005-03-15 Realtek Semiconductor Corp Spectral shaping dynamic encoder for a DAC
US20070183455A1 (en) * 2004-03-12 2007-08-09 Koninklijke Philips Electronics, N.V. Method of inserting digital watermarks in one-bit audio files
US20060034365A1 (en) * 2004-08-11 2006-02-16 Zukui Song Digital adaptive feedforward harmonic distortion compensation for digitally controlled power stage
US20080247450A1 (en) * 2005-08-22 2008-10-09 Cohda Wireless Pty Ltd. Method and System For Communication in a Wireless Network
US7230557B1 (en) 2005-12-13 2007-06-12 Sigmatel, Inc. Audio codec adapted to dual bit-streams and methods for use therewith
US20090060228A1 (en) * 2007-09-01 2009-03-05 Chieng Daniel L Systems and Methods for Shadowing an HDA Codec
US20090326692A1 (en) * 2008-06-26 2009-12-31 Wei-Chun Lin Digital-to-analog converter for reducing pop noise and harmonic tone and related converting method
US7619551B1 (en) * 2008-07-29 2009-11-17 Fortemedia, Inc. Audio codec, digital device and voice processing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CN Office Action (Dated Aug. 1, 2012).
English Abstract translation of CN1477900 (Published Feb. 25, 2004).

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665341B2 (en) 2015-02-09 2017-05-30 Sonos, Inc. Synchronized audio mixing
US9977649B2 (en) 2015-02-09 2018-05-22 Sonos, Inc. Synchronized audio mixing
US10387110B2 (en) 2015-02-09 2019-08-20 SOHOS, Inc. Synchronized audio mixing
US11531515B2 (en) 2015-02-09 2022-12-20 Sonos, Inc. Synchronized audio mixing

Also Published As

Publication number Publication date
TW201005729A (en) 2010-02-01
US20100036513A1 (en) 2010-02-11
TWI427619B (en) 2014-02-21

Similar Documents

Publication Publication Date Title
TWI381369B (en) Method and system for processing multi-rate audio from a plurality of audio processing sources
US7936288B2 (en) Method and system for audio CODEC voice ADC processing
TWI485619B (en) Automatic audio configuration based on an audio output device
US7295141B1 (en) Method for mixing signals with an analog-to-digital converter
US8825497B2 (en) Systems and methods for reducing audio disturbance associated with control messages in a bitstream
CN110024029B (en) audio signal processing
US20100263519A1 (en) Set top box
JP2010154511A (en) Audio device and audio processing method
US8452428B2 (en) Method and system for detecting and identifying electronic accessories or peripherals
US8565907B2 (en) Audio mixing device and method
US20090062948A1 (en) Systems and Methods for Controlling Audio Volume in the Processor of a High Definition Audio Codec
CN114205714B (en) Noise shaping type volume adjusting system and method
JP2011064961A (en) Audio playback device and method
US20070216466A1 (en) Systems and methods for creating and using a conditioning signal
US11625214B2 (en) Variable performance codec
JP6043129B2 (en) Serial data receiving circuit and receiving method, audio signal processing circuit, electronic device, and audio system
JPWO2006025332A1 (en) Sampling rate conversion arithmetic unit
EP2581903B1 (en) Systems and methods for reducing audio disturbance associated with control messages in a bitstream
JP3239756B2 (en) Mixing circuit, encoding device and codec
CN220208543U (en) Low-noise audio decoding module
CN219960826U (en) Audio chip
JP2006033448A (en) MULTI-SAMPLING-RATE SigmaDeltaDAC SYSTEM, AND ACOUSTIC APPARATUS
JP5993665B2 (en) Serial data receiving circuit and receiving method, audio signal processing circuit, electronic device, and audio system
CN101790120A (en) Sound effect wave-mixing device and method
CN112929780A (en) Audio chip and earphone of processing of making an uproar falls

Legal Events

Date Code Title Description
AS Assignment

Owner name: REALTEK SEMICONDUCTOR CORP.,TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TU, YI-CHANG;LIN, MING-LIH;REEL/FRAME:023411/0571

Effective date: 20091001

Owner name: REALTEK SEMICONDUCTOR CORP., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TU, YI-CHANG;LIN, MING-LIH;REEL/FRAME:023411/0571

Effective date: 20091001

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8