CN101790120A - Sound effect wave-mixing device and method - Google Patents

Sound effect wave-mixing device and method Download PDF

Info

Publication number
CN101790120A
CN101790120A CN200910002985A CN200910002985A CN101790120A CN 101790120 A CN101790120 A CN 101790120A CN 200910002985 A CN200910002985 A CN 200910002985A CN 200910002985 A CN200910002985 A CN 200910002985A CN 101790120 A CN101790120 A CN 101790120A
Authority
CN
China
Prior art keywords
digital signal
signal
sound effect
data
sampling rate
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.)
Pending
Application number
CN200910002985A
Other languages
Chinese (zh)
Inventor
杜益昌
林明立
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
Priority to CN200910002985A priority Critical patent/CN101790120A/en
Publication of CN101790120A publication Critical patent/CN101790120A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a sound effect wave-mixing device and a method thereof. The sound effect wave-mixing device includes an analog-digital converter, a conversion module, a totalizing module and a frequency reducing filter; the analog-digital converter is used for receiving an analog signal and converting the analog signal into a first digital signal; the conversion module is used for receiving a second digital signal and adjusting the data sampling rate of the second digital signal according to the data sampling rate of the first digital signal in order to generate a third digital signal; the totalizing module is used for totalizing the first digital signal and the third digital signal and outputting a totalized signal; and the frequency reducing filter is used for reducing the frequency and sampling the totalized signal to output a wave-mixing signal.

Description

Sound effect wave-mixing device and method
Technical field
The present invention relates to a kind of sound effect wave-mixing device and method, particularly relate to a kind of wave-mixing device and method that is applied to the audio coder/decoder.
Background technology
Audio coder/decoder (audio codec) can be with the voice signal of simulation, for example: voice, musical sound etc., the voice signal of simulation is converted to the voice signal of numeral by analog-digital converter (ADC), and offer downstream component, for example: personal computer etc., do follow-up audio and handle.
In addition, digital microphone is for recently in the audio process field, often one of device that uses.Owing to have analog-digital converter in the digital microphone itself, after utilizing digital microphone to receive analoging sound signal, can pass through built-in analog-digital converter itself, and analoging sound signal is converted to digital audio signal.Therefore, can reach the integration of integraty between the element, save the configuration space of external analog digital quantizer, and then save the volume of associated electronic components and improve the antinoise interference capability.
Yet; no matter be traditional analog-digital converter that adds; also the person is the digital audio signal that utilizes digital microphone to capture; because in order to obtain preferable sound quality; usually can take sampling (over-sampling) technology to capture voice signal, afterwards, again digital audio signal be handled via frequency reducing filter (down sample filter); and the generation output sound signal, so that follow-up related application to be provided.At this moment, if the audio coder/decoder can receive analoging sound signal and by the digital audio signal that digital microphone provided, so promptly need the two frequency reducing filters that overlap to handle the voice signal of two kinds of separate sources respectively.So, the cost cost of unnecessary frequency reducing filter will be caused.
Therefore, United States Patent (USP) 7230557B1 patent proposes the countermeasure address the above problem.Please refer to Fig. 1, it is the schematic diagram of known technology audio coding/decoding device.Wherein, audio coding/decoding device A1 comprises: analog-digital converter A10, selection modules A 30, frequency reducing filter A40.
By as can be known shown in Figure 1, the known technology utilization selects modules A 30 to receive the digital audio signal that analog-digital converter A10 is transmitted, and the digital audio signal that transmitted of digital microphone A20.By selecting signal, select the output of analog-digital converter A10 or the output of digital microphone A20, and be sent to frequency reducing filter A40 again.So, audio coding/decoding device (audio codec) A1 can also receive the digital audio signal that digital microphone A20 is transmitted under the situation that receives analoging sound signal.Select to be sent to the source of frequency reducing filter A40 by selection modules A 30 more in good time, and do not need to increase again an extra frequency reducing filter A40, and then save the expenditure of circuit cost.
Yet, in the application of reality, the user has and analoging sound signal is given smear with the signal that is received and handle gained by digital microphone exists with the demand that produces a smear output signal, for example: during concert, background music is the voice signal of simulation, and the singer obtains digital audio signal by the digital microphone performance, and the digital audio signal that just must sing the background music and the singer of simulation this moment is done the action of smear and then exported.In this case, above-mentioned United States Patent (USP) case is because of utilize selecting module, can only once select one to export and be sent to the frequency reducing filter and deal with, thereby can't reach the function of analoging sound signal and digital audio signal while smear.
Therefore, how solving the problem of above-mentioned analoging sound signal and digital audio signal smear, is a subject under discussion that needs to be resolved hurrily.
Summary of the invention
In view of this, the present invention proposes a kind of sound effect wave-mixing device and method.The present invention only need utilize one group of frequency reducing filter can the treatment of simulated voice signal or the digital audio signal of digital microphone, and then the cost of saving circuit cost.In addition, the present invention also can reach analoging sound signal and the digital audio signal function of smear simultaneously.Therefore, more meet the application demand of user for audio coder/decoder (audio codec).
The present invention proposes a kind of sound effect wave-mixing device and comprises: analog-digital converter, modular converter, summation module and frequency reducing filter.Analog-digital converter is in order to receiving analog signal, and is first digital signal with analog signal conversion.Modular converter receives second digital signal, adjusts the data sampling rate of second digital signal to produce three digital signal according to the data sampling rate of first digital signal.The summation module adds up first digital signal and three digital signal, and output adds resultant signal.Frequency reducing filter frequency reducing sampling adds resultant signal, and output smear signal.
The present invention also proposes a kind of sound effect wave-mixing method, comprises the following step: receive analog signal, and be first digital signal with analog signal conversion; Receive second digital signal; Data sampling rate according to first digital signal is adjusted the data sampling rate of second digital signal to produce three digital signal; Add up first digital signal and three digital signal, add resultant signal and produce; The frequency reducing sampling adds resultant signal, and output smear signal.
Relevant preferred embodiment of the present invention and effect thereof, accompanying drawings is as follows.
Description of drawings
Fig. 1 shows the schematic diagram of known technology audio coding/decoding device
Fig. 2 shows an embodiment schematic diagram of sound effect wave-mixing device
Fig. 3 shows an embodiment schematic diagram of modular converter
Fig. 4 shows an embodiment schematic diagram of summation module
Fig. 5 shows the method flow diagram of sound effect wave-mixing
The reference numeral explanation
A1 audio coder/decoder 22 data buffers
A10 analog-digital converter 24 sample-and-hold circuits
A20 digital microphone 30 summation modules
A30 selects module 32 conversion tables
A40 frequency reducing filter 34 adders
10 analog-digital converters, 40 frequency reducing filters
20 modular converters, 50 digital microphones
Embodiment
The present invention proposes a kind of sound effect wave-mixing device and method, simultaneously treatment of simulated voice signal and digital audio signal, the function of tool output smear.
Please refer to Fig. 2, this figure is depicted as an embodiment schematic diagram of sound effect wave-mixing device.Sound effect wave-mixing device comprises: analog-digital converter 10, modular converter 20, summation module 30, frequency reducing filter 40.
The present invention then exports analog signal and digital signal smear, when two different signals desire to carry out the action of smear, if (data rate) is identical for the data sampling rate of two kinds of voice signals, will carry out smear easily, and the effect after the smear also can be better.At first, analog signal is by analog-digital converter (analog to digital converter, ADC) 10 receptions, and be first digital signal with analog signal conversion.At second digital signal, because of doing smear, therefore must adjust the data sampling rate of second digital signal earlier, so that carry out follow-up smear action with first digital signal that analog signal converter 10 is produced.
Modular converter 20 is promptly in order to adjust the data sampling rate of digital signal.In this, modular converter 20 receives second digital signal, and changes the data sampling rate of second digital signal, and making the data sampling rate of second digital signal is consistent with the data sampling rate of first digital signal.Be referred to as three digital signal by second digital signal after modular converter 20 conversions.Wherein, second digital signal can be provided by digital microphone 50, because digital microphone 50 itself is built-in analog-digital converter, therefore after digital microphone receives (simulation) voice signal, can be by built-in analog-digital converter itself, and (simulation) voice signal is converted to digital audio signal, the second just alleged digital signal herein.
Via modular converter 20 with the data sampling rate of second digital signal be converted to data sampling rate with first digital signal identical after, just can be with this two signal plus.Summation module 30 adds up first digital signal and three digital signal, and output adds resultant signal.In this, finished the addition action of analog signal and digital signal, at last again via frequency reducing filter 40, frequency reducing sampling (down-sample) summation module 30 is produced adds resultant signal, just exportable smear signal.In this, the smear signal by frequency reducing filter 40 is exported has promptly mixed analog signal and digital signal, and the last smear signal of exporting can provide back-end device (for example: personal computer etc.) do follow-up audio and handle.
The element that modular converter 20 and summation module 30 are constituted then is described respectively.Please refer to Fig. 3, it is an embodiment schematic diagram of modular converter.In this, modular converter 20 can comprise: data buffer 22, sample-and-hold circuit 24.
In conjunction with Fig. 3 and Fig. 2 as can be known, second digital signal that is provided by digital microphone 50 can be the data flow (1-bit data stream) of one 1 bit data.In this embodiment, its data only are the two states of logical zero and logical one, represent numerical value-1 and numerical value+1 respectively.
The present invention utilizes data buffer 22 in order to receive second digital signal.In this, data buffer 22 can be first in first out (FIFO) buffer, produces the 4th digital signal with first-in first-out.So, can solve asynchronous problem between second digital signal and first digital signal, in addition, the also visual actual state of data buffer 22 and omit need not.
After second digital signal handled via data buffer 22, the 4th digital signal that is produced was sent to sampling and keeps (sample and hold) circuit 24.Please also refer to Fig. 2, in this embodiment, because its data sampling rate of first digital signal that analog signal is exported via analog-digital converter 10 is very fast, the relative second digital signal data sampling rate that is provided by digital microphone 50 is slower, therefore the 4th digital signal after handling via data buffer 22 must be adjusted its data sampling rate through sample-and-hold circuit 24 earlier.
Illustrate its adjustment mode, the data sampling rate of supposing first digital signal is 128 times a sampling frequency (f (S)), and the data sampling rate of second digital signal is 64 times a sampling frequency, because both differ one times, therefore sample-and-hold circuit 24 must double the sampling of the 4th digital signal, 64 times sampling frequency can be promoted be 128 times sampling frequency, and identical with the first digital signal data sampling rate.On its practice in order to make the 4th digital signal not because of promoting the data sampling rate, and cause distorted signals, therefore on the practice sampling is doubled, but the data that keep last pen, also, therefore finished by sample-and-hold circuit 24 because adopt the mode of sampling (sample) and maintenance (hold) to adjust the data sampling rate of signal.The 4th digital signal promptly can be exchanged into three digital signal after handling via sample-and-hold circuit 24.Wherein, three digital signal can be the data flow (2-bit data stream) of one 2 bit data.In this, the numeric representation mode that is adopted in the present embodiment is 2 complement codes (2 ' s complement) representations, so logical zero (numerical value-1) and logical one (numerical value+1) then are converted into 11 and 01 respectively, therefore needs 2 bit data to represent.
Please refer to the embodiment schematic diagram of Fig. 4 for the summation module.In this, summation module 30 can comprise: conversion table 32, adder 34.
Analog signal is converted to first digital signal via analog-digital converter 10, and first digital signal can be the data flow of one 1 bit data, and is relative, and three digital signal can be the data flow of one 2 bit data.Therefore, before first digital signal and three digital signal will be done the addition action, first digital signal must be converted to 2 bit data streams, in order to follow-up addition action.In this, in order to change the data flow figure place of first digital signal, making the data flow figure place of first digital signal is consistent with the data flow figure place of three digital signal by conversion table 32.More than stating and be illustrated as example, promptly is that 1 bit data stream with first digital signal is converted to 2 bit data streams.And first digital signal via conversion table 32 conversion after, the signal that is produced promptly is referred to as first digital signal through conversion.
At last, will add resultant signal and export through first digital signal and the three digital signal addition of conversion by adder 34.Because first digital signal through conversion is 2 bit data streams, and three digital signal also is 2 bit data streams.Therefore, both must be with 3 results that represent after the addition, so add the data flow that resultant signal is one 3 bit data (3-bit data stream) behind the signal plus.
Please refer to Fig. 5, this figure is depicted as the method flow diagram of sound effect wave-mixing, comprises the following step.
Step S10: receive analog signal, and be first digital signal with analog signal conversion.Wherein, first digital signal can be the data flow of one 1 bit data.
Step S20: receive second digital signal.Wherein, second digital signal is provided by digital microphone.In addition, second digital signal can be the data flow of one 1 bit data.
Step S30: the data sampling rate according to first digital signal is adjusted the data sampling rate of second digital signal, and produces three digital signal.Wherein, three digital signal can be the data flow of one 2 bit data.The data sampling rate of second digital signal can be adjusted by sampling and the method that keeps.In this, the data sampling rate of three digital signal is identical in essence with the data sampling rate of first digital signal.
In step S30, also can comprise the following step: deposit second digital signal, and produce the 4th digital signal with first-in first-out; Data sampling rate according to first digital signal is adjusted the data sampling rate of the 4th digital signal to produce three digital signal.Wherein, the data sampling rate of the 4th digital signal can be adjusted by sampling and the method that keeps.
Step S40: add up first digital signal and three digital signal, add resultant signal and produce.Wherein, add resultant signal and can be the data flow that comprises a plurality of 3 bit data.
Also can comprise the following step in step S40: the data flow figure place of changing first digital signal is the data flow figure place of three digital signal, and produces first digital signal through conversion; Addition is through first digital signal and the three digital signal of conversion, and output adds resultant signal.
Step S50: the frequency reducing sampling adds resultant signal, and output smear signal.
Through as shown in the above description, sound effect wave-mixing device proposed by the invention and method can be applicable in the audio coder/decoder, in order to reach the smear function of analoging sound signal and digital audio signal.Can only select treatment of simulated voice signal or digital audio signal both one of them compared to known technology, the invention provides the application of more elastification.
Though technology contents of the present invention discloses as above with preferred embodiment; but it is not in order to limit the present invention; those skilled in the art; do not breaking away from spirit of the present invention some changes and the modification done; all should be covered by in the category of the present invention, so protection scope of the present invention should be as the criterion with claim of the present invention.

Claims (23)

1. sound effect wave-mixing device comprises:
One analog-digital converter in order to receiving an analog signal, and is one first digital signal with this analog signal conversion;
One modular converter receives one second digital signal, and the data sampling rate of adjusting this second digital signal according to the data sampling rate of this first digital signal is to produce a three digital signal;
One summation module adds up this first digital signal and this three digital signal, adds resultant signal and export one; And
One frequency reducing filter, frequency reducing are taken a sample, and this adds resultant signal, and exports a smear signal.
2. sound effect wave-mixing device as claimed in claim 1, wherein the data sampling rate of this three digital signal is identical in essence with the data sampling rate of this first digital signal.
3. sound effect wave-mixing device as claimed in claim 1, wherein the data sampling rate of this second digital signal is adjusted by the method for sampling and maintenance.
4. sound effect wave-mixing device as claimed in claim 1, wherein this modular converter also comprises:
One data buffer in order to receiving this second digital signal, and produces one the 4th digital signal; And
One sample-and-hold circuit receives the 4th digital signal, and the data sampling rate of adjusting the 4th digital signal according to the data sampling rate of this first digital signal is to produce this three digital signal;
Wherein, the data sampling rate of this three digital signal is identical in essence with the data sampling rate of this first digital signal.
5. sound effect wave-mixing device as claimed in claim 4, wherein the data sampling rate of the 4th digital signal is adjusted by the method for sampling and maintenance.
6. sound effect wave-mixing device as claimed in claim 1, wherein this summation module also comprises:
One conversion table is the data flow figure place of this three digital signal in order to the data flow figure place of changing this first digital signal, and produces first digital signal once conversion; And
One adder should be through first digital signal and this three digital signal of conversion in order to addition, and exports this and add resultant signal.
7. sound effect wave-mixing device as claimed in claim 1, wherein this data buffer is a first-in first-out buffer.
8. sound effect wave-mixing device as claimed in claim 1, wherein this second digital signal is provided by a digital microphone.
9. sound effect wave-mixing device as claimed in claim 1, wherein this first digital signal data flow that is one 1 bit data.
10. sound effect wave-mixing device as claimed in claim 1, wherein this second digital signal data flow that is one 1 bit data.
11. sound effect wave-mixing device as claimed in claim 1, wherein this three digital signal data flow that is one 2 bit data.
12. sound effect wave-mixing device as claimed in claim 1, wherein this adds the data flow that resultant signal is one 3 bit data.
13. a sound effect wave-mixing method comprises the following step:
Receive an analog signal, and be one first digital signal this analog signal conversion;
Receive one second digital signal;
The data sampling rate of adjusting this second digital signal according to the data sampling rate of this first digital signal is to produce a three digital signal;
Add up this first digital signal and this three digital signal, add resultant signal and produce one; And
Frequency reducing is taken a sample, and this adds resultant signal, and exports a smear signal.
14. sound effect wave-mixing method as claimed in claim 13, wherein the data sampling rate of this three digital signal is identical in essence with the data sampling rate of this first digital signal.
15. sound effect wave-mixing method as claimed in claim 13, wherein the data sampling rate of this second digital signal is adjusted by the method for sampling and maintenance.
16. sound effect wave-mixing method as claimed in claim 13, wherein this second digital signal is provided by a digital microphone.
17. sound effect wave-mixing method as claimed in claim 13, wherein this first digital signal data flow that is one 1 bit data.
18. sound effect wave-mixing method as claimed in claim 13, wherein this second digital signal data flow that is one 1 bit data.
19. sound effect wave-mixing method as claimed in claim 13, wherein this three digital signal data flow that is one 2 bit data.
20. sound effect wave-mixing method as claimed in claim 13, wherein this adds the data flow that resultant signal is one 3 bit data.
21. sound effect wave-mixing method as claimed in claim 13, wherein the data sampling rate produces this step of this three digital signal, also comprises the following step:
Deposit this second digital signal, and produce one the 4th digital signal with first-in first-out; And
The data sampling rate of adjusting the 4th digital signal according to the data sampling rate of this first digital signal is to produce this three digital signal.
22. sound effect wave-mixing method as claimed in claim 21, wherein the data sampling rate of the 4th digital signal is adjusted by the method for sampling and maintenance.
23. sound effect wave-mixing method as claimed in claim 13 wherein produces this step that this adds resultant signal, also comprises the following step:
Change the data flow figure place of the data flow figure place of this first digital signal, and produce first digital signal once conversion for this three digital signal; And
Addition should add resultant signal and export this through first digital signal and this three digital signal of conversion.
CN200910002985A 2009-01-23 2009-01-23 Sound effect wave-mixing device and method Pending CN101790120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910002985A CN101790120A (en) 2009-01-23 2009-01-23 Sound effect wave-mixing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910002985A CN101790120A (en) 2009-01-23 2009-01-23 Sound effect wave-mixing device and method

Publications (1)

Publication Number Publication Date
CN101790120A true CN101790120A (en) 2010-07-28

Family

ID=42533128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910002985A Pending CN101790120A (en) 2009-01-23 2009-01-23 Sound effect wave-mixing device and method

Country Status (1)

Country Link
CN (1) CN101790120A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469387A (en) * 2010-11-15 2012-05-23 财团法人工业技术研究院 System and method for suppressing noises

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477900A (en) * 2002-08-22 2004-02-25 联发科技股份有限公司 Sound effect treatment method for microphone and its device
CN1681302A (en) * 2004-04-05 2005-10-12 联发科技股份有限公司 Decoder and decoding method for specifications of multiple audio signal
US7230557B1 (en) * 2005-12-13 2007-06-12 Sigmatel, Inc. Audio codec adapted to dual bit-streams and methods for use therewith

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477900A (en) * 2002-08-22 2004-02-25 联发科技股份有限公司 Sound effect treatment method for microphone and its device
CN1681302A (en) * 2004-04-05 2005-10-12 联发科技股份有限公司 Decoder and decoding method for specifications of multiple audio signal
US7230557B1 (en) * 2005-12-13 2007-06-12 Sigmatel, Inc. Audio codec adapted to dual bit-streams and methods for use therewith

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469387A (en) * 2010-11-15 2012-05-23 财团法人工业技术研究院 System and method for suppressing noises
CN102469387B (en) * 2010-11-15 2014-10-22 财团法人工业技术研究院 System and method for suppressing noises

Similar Documents

Publication Publication Date Title
CN108694959A (en) Speech energy detects
US6438434B1 (en) Mixing, coding and decoding devices and methods
US8935157B2 (en) Audio decoding system and an audio decoding method thereof for compressing and storing decoded audio data in a first time interval and decompressing the stored audio data in a second time interval
TW200842827A (en) Method and system for utilizing rate conversion filters to reduce mixing complexity during multipath multi-rate audio processing
CN101499282A (en) Voice A/D conversion method and device
CN101039118B (en) Digital simulation conversion system and method
US7358884B1 (en) Methods and systems for implementing a Digital-to-Analog Converter
JP2010154511A (en) Audio device and audio processing method
US20100263519A1 (en) Set top box
TWI520498B (en) Digital modulation device, digital modulation method and computer readable medium storing codes
CN101790120A (en) Sound effect wave-mixing device and method
CN101677246B (en) Digital-to-analogue conversion system with sampling frequency conversion and sampling frequency conversion method thereof
TW200802303A (en) Audio processing circuit and method thereof
CN101567183B (en) Digital camera audio processor
TWI427619B (en) Audio mixer and method thereof
CN100420289C (en) Audio processing circuit and related method
CN101807426A (en) Audio device and audio processing method
CN203014782U (en) D/A conversion circuit
CN201608822U (en) Audio echo elimination system suitable for video conference or telephone conference system
JPWO2006025332A1 (en) Sampling rate conversion arithmetic unit
JP3239756B2 (en) Mixing circuit, encoding device and codec
CN202799089U (en) Effector signal processing circuit
US11057703B2 (en) Apparatus and method for audio user interface processing with disparate sampling rates
CN104183243A (en) Audio coding and decoding system
EP2581903B1 (en) Systems and methods for reducing audio disturbance associated with control messages in a bitstream

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100728