CN102968995B - A kind of sound mixing method and device of audio signal - Google Patents
A kind of sound mixing method and device of audio signal Download PDFInfo
- Publication number
- CN102968995B CN102968995B CN201210466260.9A CN201210466260A CN102968995B CN 102968995 B CN102968995 B CN 102968995B CN 201210466260 A CN201210466260 A CN 201210466260A CN 102968995 B CN102968995 B CN 102968995B
- Authority
- CN
- China
- Prior art keywords
- audio mixing
- audio
- matched
- mixing
- audio signal
- 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
Links
Landscapes
- Stereophonic System (AREA)
Abstract
An embodiment of the present invention provides a kind of sound mixing method of audio signal and devices.The method includes:In the two-way audio signal for waiting for audio mixing, two sampled points in extraction corresponding same sampling time;The sampling point data of described two sampled points are matched with preset audio mixing condition, and corresponding audio mixing mode is determined according to the audio mixing condition being matched to;By the sampling resolution of the sampled point, corresponding audio mixing balance parameters m in the audio mixing mode is determined;According to the matched audio mixing mode of institute and corresponding audio mixing balance parameters, audio mixing is carried out to two sampled points.The clipping problems that the present invention generates when can be to avoid audio signal mixing.
Description
Technical field
The present embodiments relate to Audiotechnica fields, more particularly to a kind of sound mixing method of audio signal, Yi Jiyi
The device sound mixing of kind audio signal.
Background technology
Audio mixing (Audio Mixing) is an important step in music making, is exactly to believe the audio in a variety of sources
Number, it is integrated into a three-dimensional track or single-tone track, is played together after mixing.
Currently, when being mixed to multiple audio signals, typically directly by the sound of each sampled point in audio signal
It measures intensity and carries out simple superposition, by taking the audio mixing of two audio signals as an example, it is assumed that A1 and A2 is respectively two monophonic materials, existing
Have in technology, specifically there are following two audio mixing modes:
1, Mix (A1, A2)=(A1+A2), wherein A1, A2 respectively represent the sampled value of two-way original audio signal, Mix
(A1, A2) indicates that the output signal that will be obtained after A1 and A2 audio mixings, this method are directly superimposed two-way original signal as mixed
Sound is as a result, Soundtrack (audio Software for producing) carries out audio mixing in this way.
Two-way original signal can be reduced volume respectively by 2, Mix (A1, A2)=(A1+A2)/sqrt (2), this method
Then 3dB is added and obtains audio signal, Adobe Audition (audio Software for producing) carry out audio mixing in this way.
The above problems of the prior art are that the max volume intensity of audio signal is related with sampling resolution, by sound
After the volume intensity of each sampled point carries out simple superposition in frequency signal, it is more than sampling resolution that volume intensity, which is likely to, to hold
The max volume intensity of load, the volume beyond part can be scabbled, to lead to the problem of sound clipping distortion.
Invention content
An embodiment of the present invention provides a kind of sound mixing methods of audio signal, and what is generated when to avoid audio signal mixing cuts
Wave problem.
The embodiment of the present invention additionally provides a kind of device sound mixing of audio signal, to ensure the above method in practice
Using and realize.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of sound mixing methods of audio signal, including:
In the two-way audio signal for waiting for audio mixing, two sampled points in extraction corresponding same sampling time;
The sampling point data of described two sampled points are matched with preset audio mixing condition, and according to the audio mixing being matched to
Condition determines corresponding audio mixing mode;
By the sampling resolution of the sampled point, corresponding audio mixing balance parameters m in the audio mixing mode is determined;
According to the matched audio mixing mode of institute and corresponding audio mixing balance parameters, audio mixing is carried out to two sampled points.
Preferably, the audio mixing condition includes multiple numberical ranges, and the sampling point data are that the volume of the sampled point is strong
Degree;The step of sampling point data by two sampled points are matched with preset audio mixing condition be:
Judge the matched numberical range of volume intensity institute of two sampled points.
Preferably, the sampling resolution of the sampled point is denoted as n, and corresponding audio mixing balance parameters m is full in the audio mixing mode
Sufficient m=2n。
Preferably, the corresponding audio mixing mode of the audio mixing condition includes:
When the matched numberical range of institute is that A1 and A2 is all higher than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+
A2-A1×A2/m;
When the matched numberical range of institute is that A1 and A2 is respectively less than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2
+A1×A2/m;
When the matched numberical range of institute is not simultaneously greater than 0 for A1 and A2, and is asynchronously less than 0, corresponding audio mixing side
Formula is Mix (A1, A2)=A1+A2;
Wherein, A1 and A2 is the corresponding volume intensity of two sampled points, and Mix (A1, A2) is audio mixing result.
Preferably, if waiting for the audio signal more than two of audio mixing, after the two-way audio signal is carried out audio mixing, institute
The method of stating further includes:
By the audio mixing of the two-way audio signal as a result, audio letter one of in waiting for the audio signal of audio mixing with remaining
Number carry out audio mixing.
The embodiment of the present invention additionally provides a kind of device sound mixing of audio signal, including:
Sampling module, in the two-way audio signal for waiting for audio mixing, two of extraction corresponding same sampling time to sample
Point;
Matching module, for the sampling point data of described two sampled points to be matched with preset audio mixing condition, and according to
Corresponding audio mixing mode is determined according to the audio mixing condition being matched to;
Balance parameters determining module determines corresponding in the audio mixing mode for the sampling resolution by the sampled point
Audio mixing balance parameters m;
Mix module is used for according to the matched audio mixing mode of institute and corresponding audio mixing balance parameters, to two sampled points
Carry out audio mixing.
Preferably, the audio mixing condition includes multiple numberical ranges, and the sampling point data are that the volume of the sampled point is strong
Degree;The matching module includes:Judging submodule, the matched numberical range of volume intensity institute for judging two sampled points.
Preferably, the sampling resolution of the sampled point is denoted as n, and corresponding audio mixing balance parameters m is full in the audio mixing mode
Sufficient m=2n。
Preferably, the corresponding audio mixing mode of the audio mixing condition includes:
When the matched numberical range of institute is that A1 and A2 is all higher than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+
A2-A1×A2/m;
When the matched numberical range of institute is that A1 and A2 is respectively less than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2
+A1×A2/m;
When the matched numberical range of institute is not simultaneously greater than 0 for A1 and A2, and is asynchronously less than 0, corresponding audio mixing side
Formula is Mix (A1, A2)=A1+A2;
Wherein, A1 and A2 is the corresponding volume intensity of two sampled points, and Mix (A1, A2) is audio mixing result.
Preferably, if waiting for, the audio signal more than two of audio mixing, the mix module further include:
Multiple signals audio mixing submodule, for by the audio mixing of the two-way audio signal as a result, waiting for the sound of audio mixing with remaining
Audio signal carries out audio mixing one of in frequency signal.
Compared with prior art, the embodiment of the present invention has the following advantages:
The embodiment of the present invention, for different sample point datas, is prefixed more when carrying out audio mixing to two-way audio signal
A audio mixing condition and corresponding a variety of audio mixing modes are right according to the audio mixing mode corresponding to the matched audio mixing condition of sampling point data
Audio signal carries out audio mixing, wherein is directed to the sampling resolution of audio signal, different audio mixing balance parameters is set, to protect
It has demonstrate,proved audio mixing result and has not exceeded the max volume intensity that sampling resolution can carry, avoided in the prior art to audio signal
The clipping problems generated when simple superposition audio mixing.
The embodiment of the present invention be used for by more than two audio signal carry out audio mixing when, first will wherein two-way audio signal into
Then audio mixing result and a remaining signal are carried out audio mixing, so repeated by row audio mixing, until all audio signals
Audio mixing is both participated in, since the present invention is the problem of can be to avoid slicing to two audio signal mixings, in more than two sound
When frequency signal carries out audio mixing, the problem of being equally not in slicing.
Certainly, it implements any of the products of the present invention and is not necessarily required to reach all the above advantage simultaneously.
Description of the drawings
Fig. 1 is a kind of flow chart of the sound mixing method embodiment of audio signal of the embodiment of the present invention;
Fig. 2 is a kind of structure diagram of the device sound mixing embodiment of audio signal of the embodiment of the present invention.
Specific implementation mode
In order to make the above objects, features, and advantages of the present application more apparent, below in conjunction with the accompanying drawings and it is specific real
Applying mode, the present application will be further described in detail.
In the prior art, what the direct iteration method or Adobe Audition that either Soundtrack is used used
3dB direct additive processes again are first reduced, when carrying out audio mixing to two audio signals, the volume intensity of audio signal very may be used after audio mixing
Can be able to be more than the max volume intensity that sampling resolution can carry.Assuming that the sampling resolution of two-way original signal is all 16bit, energy
The max volume intensity of carrying is 32768, and at a time the corresponding sampled values of t are respectively A1=22000, A2=28000, are adopted
The audio signal obtained with above-mentioned two schemes is respectively 35355 and 50000 in the sampled value of moment t, and two kinds of results are all
More than the maximum value that 16bit is indicated, the problem of volume beyond part can be scabbled, produce slicing.
In view of the problems of the prior art, the embodiment of the present invention proposes a kind of audio mixing mechanism of audio signal, core idea
One of be, preset different audio mixing condition, each audio mixing condition has corresponded to audio mixing mode, for sampled data to be mixed,
It is fitted on different audio mixing conditions, wherein it is directed to the sampling resolution of audio signal, sets different audio mixing balance parameters, to
The problem of ensure that audio mixing result does not exceed the max volume intensity that sampling resolution can carry, avoiding slicing.
With reference to figure 1, a kind of flow chart of the sound mixing method embodiment of audio signal of the embodiment of the present invention is shown, specifically
It may comprise steps of:
Step 101, in the two-way audio signal for waiting for audio mixing, two sampled points in extraction corresponding same sampling time.
The embodiment of the present invention to two-way audio signal when carrying out audio mixing, when being for uniform sampling is corresponded in audio signal
Between two sampled points carry out audio mixing, the audio mixing result at multiple time points constitutes the audio mixing result of two-way audio signal.
Step 102 matches the sampling point data of described two sampled points with preset audio mixing condition, and according to matching
To audio mixing condition determine corresponding audio mixing mode.
In the embodiment of the present invention, the audio mixing condition includes multiple numberical ranges, and the sampling point data are the sampled point
Volume intensity, the step 101 may include:
Sub-step S11, the matched numberical range of volume intensity institute for judging two sampled points.
The sampling point data of sampled point are matched with preset audio mixing condition, that is to say the volume intensity for judging sampled point
Affiliated numberical range.In the embodiment of the present invention, the sample point data corresponding to two audio signals to be mixed is first determined whether
It is positive number or negative, audio mixing condition can be the positive and negative values situation of sample point data, including two sample point datas are all just
The third situation of number, two sample point datas all for negative and in addition to this.Audio mixing condition is a pair of with audio mixing mode one
It answers, it is determined that audio mixing condition, you can further determine that corresponding audio mixing mode.
In the embodiment of the present invention, the corresponding audio mixing mode of the audio mixing condition may include:
When the matched numberical range of institute is that A1 and A2 is all higher than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+
A2-A1×A2/m;
When the matched numberical range of institute is that A1 and A2 is respectively less than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2
+A1×A2/m;
When the matched numberical range of institute is not simultaneously greater than 0 for A1 and A2, and is asynchronously less than 0, corresponding audio mixing side
Formula is Mix (A1, A2)=A1+A2;
Wherein, A1 and A2 is the corresponding volume intensity of two sampled points, and Mix (A1, A2) is audio mixing result.
In the prior art or A1+A2 (A1+A2)/sqrt (2) is binary linearity function, is easy in A1 and A2 larger
It crossing the border, mixing resultant is linear increase, in the embodiment of the present invention, the sample point data for waiting for audio mixing of input and the audio mixing of output
As a result relationship is a binary function, and independent variable is A1 and A2 here, and used binary function is Binary quadratic functions,
Increasing degree be not with A1 and A2 linear increases, it is more compared to slower than linear increase.
When A1 and A2 are all higher than 0, the result being directly superimposed is likely to the maximum sound that can be carried beyond sampling resolution
Intensity is measured, therefore, the embodiment of the present invention removes a part of volume intensity in audio mixing in direct stack result, passes through setting
Audio mixing balance parameters make audio mixing output control in the range of the max volume intensity that sampling resolution can carry;As A1 and A2
Similar when respectively less than 0, direct stack result is likely to the range that can be carried less than sampling resolution, and therefore, the present invention is real
Example is applied in audio mixing, a part of volume intensity is added in direct stack result, audio mixing result is made to be not less than sampling resolution institute
The range that can be carried;The case where for being positive number when A1, A2 difference or being asynchronously negative, the result being directly superimposed necessarily controls
In the range of sampling resolution can carry, therefore, can directly it be superimposed.
Step 103, by the sampling resolution of the sampled point, determine corresponding audio mixing balance parameters m in the audio mixing mode.
Audio mixing balance parameters can be set according to specific use environment or actual needs, in the embodiment of the present invention, if adopting
The sampling resolution of sampling point is denoted as n, then corresponding audio mixing balance parameters m can be m=2 in audio mixing moden, that is to say sampling resolution
The max volume intensity value that can be carried subtracts 1.For the sampled data that sampling resolution is 16bit, audio mixing balance parameters are 216,
I.e. 32768.
2 are used in the following discussion embodiment of the present inventionnAs audio mixing balance parameters, why it is avoided that clipping problems:
(1) the case where A1 and A2 is nonnegative number
Mix (A1, A2)=A1+A2-A1 × A2/32768 is enabled, A1 and A2 belongs to section [- 32768,32767] here.
So on the one hand, Mix (A1, A2)=A1 × (1-A2/32768)+A2 < 32768 × (1-A2/32768)+A2=
32768;
On the other hand, due to (1-A2/32768) > 0, so Mix (A1, A2)=A1 × (1-A2/32768)+A2 > A2
> 0;
Thus it releases, Mix (A1, A2) belongs to section [0,32767].
(2) the case where A1 and A2 is negative
Mix (A1, A2)=A1+A2+A1 × A2/32768 is enabled, A1 and A2 belongs to section [- 32768,32767] here.
So on the one hand, Mix (A1, A2)=A1 × (1+A2/32768)+A2 > -32768 × (1+A2/32768)+A2
=-32768;
On the other hand, due to (1+A2/32768) > 0, so Mix (A1, A2)=A1 × (1+A2/32768)+A2 < 0;
Thus it releases, Mix (A1, A2) belongs to section [- 32768,0].
(3) A1 and mono- positive one negative situations of A2 are it is obvious that might as well assume A1 > 0 and A2 < 0, then Mix (A1, A2)=A1
+ A2 < A1 < 32767;And > -32768 Mix (A1, A2) > A2, thus at this time Mix (A1, A2) belong to section [- 32768,
32767]。
By the demonstration of three cases above as can be seen that the result that the sound mixing method of the embodiment of the present invention obtains exists always
Section [- 32768,32767], therefore the problem of not will produce slicing.
Sampled voice value be in a certain range, such as the sampled data of 16bit, numberical range be [- 32768,
32767], it is assumed that after A1 and A2 standardization (sampled value divided by its ends of range point value) all in [0,1], then avoiding clipping problems
Be Mix (A1, A2) at all still in [0,1], otherwise generate slicing.The method of the embodiment of the present invention is equivalent to sampling knot
Fruit is standardized, i.e., by original sample value divided by its maximum value, the maximum value of 16bit is 32768.The sampled data of positive number
After standardization section (0,1], the sampled data of negative [- 1,0).
With A1=22000, for A2=28000, the case where audio mixing condition being matched to is A1 and A2 is nonnegative number, phase
Corresponding audio mixing mode be A1+A2-A1 × A2/32768, obtain audio mixing result be 31201,16bit expression range [-
32768,32767] in, the problem of avoiding slicing.
It is noted that in the example of beginning, audio mixing result (31201) is both more than 22000, also greater than 28000, this
It is not accidental, because in the case where sample value is all positive number, Mix (A1, A2) > A1 and Mix (A1, A2) > A2, this also says
The reasonability of sound mixing method is illustrated.
Step 104, according to institute's matched audio mixing mode and corresponding audio mixing balance parameters, two sampled points are carried out
Audio mixing.
By the corresponding audio mixing mode of the sampling point Data Matching of sampled point, determined according to sampling resolution flat in audio mixing mode
After the parameter that weighs, audio mixing can be carried out according to audio mixing mode, i.e., according to audio mixing mode, by the volume of two sampled points with audio mixing
Intensity mixes, and volume intensity in range can be carried by obtaining sampling resolution.
In the embodiment of the present invention, if waiting for the audio signal more than two of audio mixing, carried out by the two-way audio signal
After audio mixing, the method can further include:
By the audio mixing of the two-way audio signal as a result, audio letter one of in waiting for the audio signal of audio mixing with remaining
Number carry out audio mixing.
It, can be to avoid cutting when the method for discussing the embodiment of the present invention in above step mixes two-way audio signal
The problem of wave, further, the embodiment of the present invention, can be also used for mixing MCVF multichannel voice frequency, specifically, in mixed process, first
Two audios of extraction are mixed, and audio mixing result and a remaining signal are then carried out audio mixing, so repeated, until
All audio signals both participate in audio mixing.
Compared with the prior art, directly the volume intensity of multipath audio signal is directly superimposed, than two-way audio signal
Superposition is easier the range that can be carried beyond sampling resolution, such as has 5 rail audios, and the final result will be MIX=
A1+a2+a3+a4+a5, when the sampling point data of each sampled point are positive number or are negative, the result of simple superposition will
Maximum value 32768 probably can be carried more than 16bits audios, thus will appear clipping phenomena.Since the present invention exists
Can be to avoid slicing to two audio signal mixings the problem of, therefore when more than two audio signal carries out audio mixing, equally not
The problem of will appear slicing.
In conclusion embodiment according to the present invention, when carrying out audio mixing to two-way audio signal, for different sampled points
Data are prefixed multiple audio mixing conditions and corresponding a variety of audio mixing modes, corresponding to the matched audio mixing condition of sampling point data
Audio mixing mode, audio mixing is carried out to audio signal, wherein be directed to the sampling resolution of audio signal, it is flat to set different audio mixings
Weighing apparatus parameter avoids existing skill to ensure that audio mixing result does not exceed the max volume intensity that sampling resolution can carry
The clipping problems generated when being simply superimposed audio mixing to audio signal in art.
The embodiment of the present invention be used for by more than two audio signal carry out audio mixing when, first will wherein two-way audio signal into
Then audio mixing result and a remaining signal are carried out audio mixing, so repeated by row audio mixing, until all audio signals
Audio mixing is both participated in, since the present invention is the problem of can be to avoid slicing to two audio signal mixings, in more than two sound
When frequency signal carries out audio mixing, the problem of being equally not in slicing.
For embodiment of the method, for simple description, therefore it is all expressed as a series of combination of actions, but this field
Technical staff should know that the application is not limited by the described action sequence, because according to the application, certain steps can
To use other sequences or be carried out at the same time.Next, those skilled in the art should also know that, implementation described in this description
Example belongs to preferred embodiment, necessary to involved action and module not necessarily the application.
With reference to figure 2, a kind of structure diagram of the device sound mixing embodiment of audio signal of the application is shown, it specifically can be with
It comprises the following modules:
Sampling module 201, in the two-way audio signal for waiting for audio mixing, two of extraction corresponding same sampling time to adopt
Sampling point;
Matching module 202, for the sampling point data of described two sampled points to be matched with preset audio mixing condition, and
Corresponding audio mixing mode is determined according to the audio mixing condition being matched to;
Balance parameters determining module 203 determines corresponding in the audio mixing mode for the sampling resolution by the sampled point
Audio mixing balance parameters m;
Mix module 204, for according to matched audio mixing mode and corresponding audio mixing balance parameters, being adopted to two
Sampling point carries out audio mixing.
In one preferred embodiment of the invention, the audio mixing condition may include multiple numberical ranges, the sampling point
Data can be the volume intensity of the sampled point;The matching module may include:
Judging submodule, the matched numberical range of volume intensity institute for judging two sampled points.
In one preferred embodiment of the invention, the sampling resolution of the sampled point can be denoted as n, the audio mixing mode
In corresponding audio mixing balance parameters m can meet m=2n。
In one preferred embodiment of the invention, the corresponding audio mixing mode of the audio mixing condition may include:
When the matched numberical range of institute is that A1 and A2 is all higher than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+
A2-A1×A2/m;
When the matched numberical range of institute is that A1 and A2 is respectively less than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2
+A1×A2/m;
When the matched numberical range of institute is not simultaneously greater than 0 for A1 and A2, and is asynchronously less than 0, corresponding audio mixing side
Formula is Mix (A1, A2)=A1+A2;
Wherein, A1 and A2 is the corresponding volume intensity of two sampled points, and Mix (A1, A2) is audio mixing result.
In one preferred embodiment of the invention, if waiting for the audio signal more than two of audio mixing, the mix module
Can also include:
Multiple signals audio mixing submodule, for by the audio mixing of the two-way audio signal as a result, waiting for the sound of audio mixing with remaining
Audio signal carries out audio mixing one of in frequency signal.
Since described device embodiment essentially corresponds to aforementioned embodiment of the method shown in FIG. 1, therefore the description of the present embodiment
In not detailed place, may refer to the related description in previous embodiment, just do not repeat herein.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as:Personal computer, service
Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, top set
Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer including any of the above system or equipment
Distributed computing environment etc..
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Usually, program module includes routines performing specific tasks or implementing specific abstract data types, program, object, group
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage device.
Herein, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, from
And make include a series of elements process, method, article or equipment not only including those elements, but also include not bright
The other element really listed, or further include for elements inherent to such a process, method, article, or device.Do not having
In the case of more limitations, the element that is limited by sentence " including one ... ", it is not excluded that in the mistake for including the element
There is also other identical elements in journey, method, article or equipment.
Above the sound mixing method to a kind of audio signal provided herein and a kind of device sound mixing of audio signal into
It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation
The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for the general technology people of this field
Member, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as the limitation to the application.
Claims (6)
1. a kind of sound mixing method of audio signal, which is characterized in that including:
In the two-way audio signal for waiting for audio mixing, two sampled points in extraction corresponding same sampling time;
The sampling point data of described two sampled points are matched with preset audio mixing condition, and according to the audio mixing condition being matched to
Determine corresponding audio mixing mode;
By the sampling resolution of the sampled point, corresponding audio mixing balance parameters m in the audio mixing mode is determined;
According to the matched audio mixing mode of institute and corresponding audio mixing balance parameters, audio mixing is carried out to two sampled points;
Wherein, the audio mixing condition includes multiple numberical ranges, and the sampling point data are the volume intensity of the sampled point;It is described
The step of sampling point data of two sampled points are matched with preset audio mixing condition be:
Judge the matched numberical range of volume intensity institute of two sampled points;
The corresponding audio mixing mode of the audio mixing condition includes:
When the matched numberical range of institute is that A1 and A2 is all higher than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2-A1
×A2/m;
When the matched numberical range of institute is that A1 and A2 is respectively less than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2+A1
×A2/m;
When the matched numberical range of institute is not simultaneously greater than 0 for A1 and A2, and is asynchronously less than 0, corresponding audio mixing mode is
Mix (A1, A2)=A1+A2;
Wherein, A1 and A2 is the corresponding volume intensity of two sampled points, and Mix (A1, A2) is audio mixing result.
2. according to the method described in claim 1, it is characterized in that, the sampling resolution of the sampled point is denoted as n, the audio mixing side
Corresponding audio mixing balance parameters m meets m=2 in formulan。
3. if according to the method described in claim 1, it is characterized in that, wait for the audio signal more than two of audio mixing, by institute
After stating two-way audio signal progress audio mixing, the method further includes:
By the audio mixing of the two-way audio signal as a result, one of in waiting for the audio signal of audio mixing with remaining audio signal into
Row audio mixing.
4. a kind of device sound mixing of audio signal, which is characterized in that including:
Sampling module, in the two-way audio signal for waiting for audio mixing, extraction to correspond to two sampled points in same sampling time;
Matching module, for the sampling point data of described two sampled points to be matched with preset audio mixing condition, and foundation
The audio mixing condition being fitted on determines corresponding audio mixing mode;
Balance parameters determining module determines corresponding audio mixing in the audio mixing mode for the sampling resolution by the sampled point
Balance parameters m;
Mix module, for according to the matched audio mixing mode of institute and corresponding audio mixing balance parameters, being carried out to two sampled points
Audio mixing
Wherein, the audio mixing condition includes multiple numberical ranges, and the sampling point data are the volume intensity of the sampled point;It is described
Matching module includes:Judging submodule, the matched numberical range of volume intensity institute for judging two sampled points;
The corresponding audio mixing mode of the audio mixing condition includes:
When the matched numberical range of institute is that A1 and A2 is all higher than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2-A1
×A2/m;
When the matched numberical range of institute is that A1 and A2 is respectively less than 0, corresponding audio mixing mode is Mix (A1, A2)=A1+A2+A1
×A2/m;
When the matched numberical range of institute is not simultaneously greater than 0 for A1 and A2, and is asynchronously less than 0, corresponding audio mixing mode is
Mix (A1, A2)=A1+A2;
Wherein, A1 and A2 is the corresponding volume intensity of two sampled points, and Mix (A1, A2) is audio mixing result.
5. device according to claim 4, which is characterized in that the sampling resolution of the sampled point is denoted as n, the audio mixing side
Corresponding audio mixing balance parameters m meets m=2 in formulan。
6. device according to claim 4, which is characterized in that described mixed if waiting for the audio signal more than two of audio mixing
Sound module further includes:
Multiple signals audio mixing submodule, for by the audio mixing of the two-way audio signal as a result, with remaining wait for audio mixing audio believe
Audio signal carries out audio mixing one of in number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210466260.9A CN102968995B (en) | 2012-11-16 | 2012-11-16 | A kind of sound mixing method and device of audio signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210466260.9A CN102968995B (en) | 2012-11-16 | 2012-11-16 | A kind of sound mixing method and device of audio signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102968995A CN102968995A (en) | 2013-03-13 |
CN102968995B true CN102968995B (en) | 2018-10-02 |
Family
ID=47799100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210466260.9A Active CN102968995B (en) | 2012-11-16 | 2012-11-16 | A kind of sound mixing method and device of audio signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102968995B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104143334B (en) * | 2013-05-10 | 2017-06-16 | 中国电信股份有限公司 | Programmable graphics processor and its method that audio mixing is carried out to MCVF multichannel voice frequency |
CN110446102A (en) * | 2018-05-04 | 2019-11-12 | 青岛海信电器股份有限公司 | The loudness method of adjustment and device of audio signal |
CN108766448B (en) * | 2018-06-19 | 2020-05-01 | 苏州科达科技股份有限公司 | Mixing testing system, method, device and storage medium |
CN109451194B (en) * | 2018-09-28 | 2020-11-24 | 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) | Conference sound mixing method and device |
CN110970008A (en) * | 2018-09-28 | 2020-04-07 | 广州灵派科技有限公司 | Embedded sound mixing method and device, embedded equipment and storage medium |
CN111145792B (en) * | 2018-11-02 | 2022-06-14 | 北京微播视界科技有限公司 | Audio processing method and device |
CN111654807B (en) * | 2020-06-17 | 2022-04-19 | 无锡睿勤科技有限公司 | Audio mixing processing method, system, equipment and storage medium of audio signal |
CN113889154B (en) * | 2021-09-30 | 2024-03-19 | 广州维梦科技有限公司 | Sound recording method, terminal and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1564243A (en) * | 2004-04-07 | 2005-01-12 | 杭州斯达康通讯有限公司 | Method of synthetic chord ringing of cell phone |
CN1582066A (en) * | 2003-08-11 | 2005-02-16 | 雅马哈株式会社 | Clip state display method and clip state display apparatus |
TW200518042A (en) * | 2003-11-18 | 2005-06-01 | Ali Corp | Device and method for outputting mixed sound in a controlled dynamic range |
CN1783786A (en) * | 2004-11-30 | 2006-06-07 | 雅马哈株式会社 | Music delivering apparatus and music reproducing apparatus |
CN101322179A (en) * | 2005-12-09 | 2008-12-10 | 索尼株式会社 | Music edit device, music edit information creating method, and recording medium where music edit information is recorded |
CN101326569A (en) * | 2005-12-09 | 2008-12-17 | 索尼株式会社 | Music edit device and music edit method |
CN101414462A (en) * | 2007-10-15 | 2009-04-22 | 华为技术有限公司 | Audio encoding method and multi-point audio signal mixing control method and corresponding equipment |
CN101641965A (en) * | 2007-03-20 | 2010-02-03 | 日本电气株式会社 | Acoustic processing system and method for electronic device and mobile telephone terminal |
CN101656072A (en) * | 2009-09-08 | 2010-02-24 | 北京飞利信科技股份有限公司 | Mixer, mixing method and session system using the mixer |
CN201600891U (en) * | 2009-11-20 | 2010-10-06 | 天津市华音宇科工贸有限公司 | Novel intelligent automatic sound mixer adopting full digital transmission mode |
CN102005206A (en) * | 2010-11-16 | 2011-04-06 | 上海华平信息技术股份有限公司 | Audio mixing method of multiple-channel audio frequency |
CN201967133U (en) * | 2011-01-27 | 2011-09-07 | 北京华夏电通科技有限公司 | Host used for multi-channel speech mixing and camera tracking |
CN102222503A (en) * | 2010-04-14 | 2011-10-19 | 华为终端有限公司 | Mixed sound processing method, device and system of audio signal |
CN102270456A (en) * | 2010-06-07 | 2011-12-07 | 华为终端有限公司 | Method and device for audio signal mixing processing |
CN102543087A (en) * | 2011-12-28 | 2012-07-04 | 中兴长天信息技术(南昌)有限公司 | Audio mixing method applied to multi-point mobile audio communication system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100644715B1 (en) * | 2005-12-19 | 2006-11-10 | 삼성전자주식회사 | Method and apparatus for active audio matrix decoding |
WO2010053728A1 (en) * | 2008-10-29 | 2010-05-14 | Dolby Laboratories Licensing Corporation | Signal clipping protection using pre-existing audio gain metadata |
CN101478296B (en) * | 2009-01-05 | 2011-12-21 | 华为终端有限公司 | Gain control method and apparatus in multi-channel system |
-
2012
- 2012-11-16 CN CN201210466260.9A patent/CN102968995B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1582066A (en) * | 2003-08-11 | 2005-02-16 | 雅马哈株式会社 | Clip state display method and clip state display apparatus |
TW200518042A (en) * | 2003-11-18 | 2005-06-01 | Ali Corp | Device and method for outputting mixed sound in a controlled dynamic range |
CN1564243A (en) * | 2004-04-07 | 2005-01-12 | 杭州斯达康通讯有限公司 | Method of synthetic chord ringing of cell phone |
CN1783786A (en) * | 2004-11-30 | 2006-06-07 | 雅马哈株式会社 | Music delivering apparatus and music reproducing apparatus |
CN101322179A (en) * | 2005-12-09 | 2008-12-10 | 索尼株式会社 | Music edit device, music edit information creating method, and recording medium where music edit information is recorded |
CN101326569A (en) * | 2005-12-09 | 2008-12-17 | 索尼株式会社 | Music edit device and music edit method |
CN101641965A (en) * | 2007-03-20 | 2010-02-03 | 日本电气株式会社 | Acoustic processing system and method for electronic device and mobile telephone terminal |
CN101414462A (en) * | 2007-10-15 | 2009-04-22 | 华为技术有限公司 | Audio encoding method and multi-point audio signal mixing control method and corresponding equipment |
CN101656072A (en) * | 2009-09-08 | 2010-02-24 | 北京飞利信科技股份有限公司 | Mixer, mixing method and session system using the mixer |
CN201600891U (en) * | 2009-11-20 | 2010-10-06 | 天津市华音宇科工贸有限公司 | Novel intelligent automatic sound mixer adopting full digital transmission mode |
CN102222503A (en) * | 2010-04-14 | 2011-10-19 | 华为终端有限公司 | Mixed sound processing method, device and system of audio signal |
CN102270456A (en) * | 2010-06-07 | 2011-12-07 | 华为终端有限公司 | Method and device for audio signal mixing processing |
CN102005206A (en) * | 2010-11-16 | 2011-04-06 | 上海华平信息技术股份有限公司 | Audio mixing method of multiple-channel audio frequency |
CN201967133U (en) * | 2011-01-27 | 2011-09-07 | 北京华夏电通科技有限公司 | Host used for multi-channel speech mixing and camera tracking |
CN102543087A (en) * | 2011-12-28 | 2012-07-04 | 中兴长天信息技术(南昌)有限公司 | Audio mixing method applied to multi-point mobile audio communication system |
Non-Patent Citations (4)
Title |
---|
"Mixed signal decoder for audio frequency applications";H.M.hamed ET Al;《Electronics,Circuits and Systems 2000.ICES2000.The 7th IEEE International Conference》;20001220;全文 * |
"一个改进的混音算法";徐保民 等;《电子与信息学报》;20031231;第25卷(第12期);全文 * |
"基于SIP的多媒体会议系统中混音设计与实现";冉骥;《中南民族大学学报》;20071231;第26卷(第4期);全文 * |
"数字混音模型的设计与实现";黄梅 等;《计算机工程与设计》;20101231;第31卷(第16期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN102968995A (en) | 2013-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968995B (en) | A kind of sound mixing method and device of audio signal | |
Shanker et al. | Time domain integral equation analysis of scattering from composite bodies via exact evaluation of radiation fields | |
US20060122814A1 (en) | Method and apparatus for digital signal processing analysis and development | |
CN103188595B (en) | Method and system of processing multichannel audio signals | |
RU2009104047A (en) | CONCEPT FOR COMBINING A SET OF PARAMETRICALLY CODED AUDIO SOURCES | |
CN106374975B (en) | A kind of Digital Electric line channel simulation equipment and analogy method based on multiport | |
RU2013110507A (en) | REDISCRETIZATION OF OUTPUT SIGNALS OF AUDIO CODEC ON THE BASIS OF SQUARE MIRROR FILTERS (QMF) | |
García-Martínez et al. | A review of PHIL testing for smart grids—selection guide, classification and online database analysis | |
CN101483876A (en) | Wireless fading channel simulation system and method based on spreading Suzuki model | |
CN106650218A (en) | Harmonic analysis method based on complementary ensemble empirical mode decomposition (CEEMD) algorithm and Hilbert transform | |
CN102543091A (en) | System and method for generating simulation sound effect | |
CN105264445A (en) | Apparatus and method for applying a load to a material | |
Panda et al. | FPGA implementation of a tone-based flight termination system in a software-defined radio platform | |
CN105974379B (en) | A kind of device that realizing artificial antenna revolving speed and implementation method | |
Welch et al. | Teaching rate conversion using hardware-based DSP | |
Bazdresch | A real-time, Matlab-based undergraduate digital communications course | |
Eshach et al. | Explanatory model for sound amplification in a stethoscope | |
Mousavinezhad et al. | Ece teaching and learning: Challenges in teaching digital signal processing | |
CN104483546A (en) | Spectrum analysis method of FPGA (Field Programmable Gate Array) digital logic signal | |
Charles et al. | Using the Axoloti Embedded Sound Processing Platform to Foster Experimentation and Creativity. | |
Moore | On the use of the'pure data'programming language for teaching and public outreach in speech processing. | |
CN103607179B (en) | Filtering method, system and wave filter | |
Atti et al. | Teaching digital filter design techniques used in high-fidelity audio applications | |
Huang et al. | Reform and practice of the electronic circuit experiment teaching mode for the purpose of strengthening the electronic system design ability | |
CN102298117A (en) | Discharge characteristic simulation device of battery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |