CN102395097A - Method and system for down-mixing multi-channel audio signals - Google Patents

Method and system for down-mixing multi-channel audio signals Download PDF

Info

Publication number
CN102395097A
CN102395097A CN201110293332XA CN201110293332A CN102395097A CN 102395097 A CN102395097 A CN 102395097A CN 201110293332X A CN201110293332X A CN 201110293332XA CN 201110293332 A CN201110293332 A CN 201110293332A CN 102395097 A CN102395097 A CN 102395097A
Authority
CN
China
Prior art keywords
audio signal
sound
channel
contracts
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.)
Pending
Application number
CN201110293332XA
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.)
Shenzhen Wondershare Software Co Ltd
Original Assignee
Shenzhen Wondershare Software Co Ltd
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 Shenzhen Wondershare Software Co Ltd filed Critical Shenzhen Wondershare Software Co Ltd
Priority to CN201110293332XA priority Critical patent/CN102395097A/en
Publication of CN102395097A publication Critical patent/CN102395097A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stereophonic System (AREA)

Abstract

The invention discloses a method and a system for down-mixing multi-channel audio signals. The method comprises the following steps of: pre-receiving audio signals from two different channels; and calculating a down-mixed single-channel audio signal according to a formula, namely y(t)=w*s1(t)+w*s2(t), wherein y(t) represents the down-mixed single-channel audio signal, s1(t) represents the audio signal of a first channel, s2(t) represents the audio signal of a second channel, and w represents a weight value and is not less than 0.58 and not more than 0.7. The invention also discloses the system for down-mixing the multi-channel audio signals. The technical scheme of the invention is low in algorithm complexity and easy to implement; and a down-mixed sound is more melodious.

Description

A kind of multi-channel audio signal contract mixing method and system
Technical field
The present invention relates to the processing of audio signal, relate in particular to a kind of multi-channel audio signal contract mixing method and system.
Background technology
At the audio editing playout software, and in the various multimedia application software, all can run into the situation that multi-channel audio signal (like 5.1 sound channels) is become monophonic signal, i.e. DownMix (it is mixed to contract, and abbreviation contracts mixed) algorithm downwards.DownMix is that audio frequency and video are play and software for editing, and rudimentary algorithm in the various application such as various audio frequency and video chats, can obtain the dual results on computational efficiency and the auditory effect, has very important meaning.
Following situation need become monophonic signal with multi-channel signal:
1, in the encoding and decoding; Such as AAC (Advanced Audio Coding; Advanced Audio Coding) in the encoding and decoding; In order to reduce amount of coded data, usually multi-channel signal is become monophonic signal, be reduced to multichannel (this process still is reversible) according to the corresponding relation of frequency again more afterwards;
2, under the more single situation of playback equipment, for example have only under the situation of a sound equipment;
3, in network transmission process, especially insensitive in order to save data quantity transmitted for as online audio signal, sound channel being required, but under the very strong situation of data volume size restriction;
4, in multi-person speech, a plurality of people converge in a minute, and unification is felt what a sound channel was come during broadcast in a sound card, rather than a lot of sound channels are come one by one.
A more typical DownMix is arranged, but this algorithm needs the computing formula of more complicated in the AAC encoding and decoding, and effect is not outstanding.And mostly some other algorithms are the multiple signals addition is averaged, and algorithm is very dogmatic, poor.
Summary of the invention
The technical problem that the present invention will solve is, to the above-mentioned DownMix complex algorithm of prior art, the defective of weak effect, the simple effective again multi-channel audio signal of a kind of algorithm mixing method that contracts is provided.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of multi-channel audio signal mixing method that contracts, comprising:
The audio signal that receives in advance from two different sound channels;
Calculate the monophonic audio signal that contracts after mixing according to following formula:
y(t)=?w*s1(t)+w*s2(t)
Wherein, the monophonic audio signal of y (t) for contracting after mixing, s1 (t) is the audio signal of first sound channel, and s2 (t) is the audio signal of second sound channel, and w is weights, and satisfies 0.58≤w≤0.7.
In multi-channel audio signal of the present invention contracts mixing method, when surpassing two sound channels, will be converted into the audio signal of two sound channels above the audio signal of two sound channels, and this step is specially in the audio signal that is received:
Sound channel ground judges that the audio signal that is received is for having sound audio signals or for no acoustical signal, having filtered out sound audio signals and neglected no acoustical signal one by one;
Analyze there being sound audio signals to carry out the primary and secondary road, with the audio signal of main road audio signal as first sound channel, and with averaging again after all times road audio signal addition, to form the audio signal of second sound channel.
In multi-channel audio signal of the present invention contracts mixing method, said w=0.618.
In multi-channel audio signal of the present invention contracted mixing method, the amplitude of the audio signal of the audio signal of said first sound channel and second sound channel all was no more than 0.81 times of amplitude of the maximum-amplitude signal that can store.
The present invention also constructs a kind of multi-channel audio signal mixing system that contracts, and comprising:
Receiver module, the audio signal that is used for receiving in advance from two different sound channels;
Computing module is used for calculating the monophonic audio signal that contracts after mixing according to following formula:
y(t)=?w*s1(t)+w*s2(t)
Wherein, the monophonic audio signal of y (t) for contracting after mixing, s1 (t) is the audio signal of first sound channel, and s2 (t) is the audio signal of second sound channel, and w is weights, and satisfies 0.58≤w≤0.7.
In multi-channel audio signal of the present invention contracted mixing system, said hybrid system also comprised:
Two channel audio signal obtain module, are used in the audio signal that is received will being converted into the audio signal of two sound channels above the audio signal of two sound channels when surpassing two sound channels;
Wherein, said two channel audio signal acquisition module comprises:
Judge and screening unit, be used for the said audio signal that surpasses two sound channels of sound channel ground judgement one by one, filtered out sound audio signals and neglected no acoustical signal for sound audio signals being arranged or being no acoustical signal;
Primary and secondary road analytic unit is used for analyzing there being sound audio signals to carry out the primary and secondary road, with the audio signal of main road audio signal as first sound channel, and with averaging again after all times road audio signal addition, to form the audio signal of second sound channel.
In multi-channel audio signal of the present invention contracts mixing system, said w=0.618.
In multi-channel audio signal of the present invention contracted mixing system, the amplitude of the audio signal of the audio signal of said first sound channel and second sound channel all was no more than 0.81 times of amplitude of the maximum-amplitude signal that can store.
The technical scheme of embodiment of the present invention; Through multiply by behind the weights monophonic audio signal after mixing that just can obtain contracting of addition more respectively from the audio signal of two different sound channels; Therefore algorithm complex is low; Be easy to realize, and since weights between 0.58 and 0.7, mixed sound is sounded more has aesthetic feeling.
Description of drawings
To combine accompanying drawing and embodiment that the present invention is described further below, in the accompanying drawing:
Fig. 1 is the contract flow chart of mixing method embodiment one of a kind of multi-channel audio signal of the present invention;
Fig. 2 is the contract flow chart of mixing method embodiment two of a kind of multi-channel audio signal of the present invention;
Fig. 3 is the contract flow chart of mixing system embodiment one of a kind of multi-channel audio signal of the present invention;
Fig. 4 is the contract flow chart of mixing system embodiment two of a kind of multi-channel audio signal of the present invention.
Embodiment
As shown in Figure 1, in a kind of multi-channel audio signal of the present invention contracted the flow chart of mixing method embodiment one, this mixed method may further comprise the steps:
S100. the audio signal that receives in advance from two different sound channels;
S200. calculate the monophonic audio signal that contracts after mixing according to following formula:
y(t)=?w*s1(t)+w*s2(t)
Wherein, the monophonic audio signal of y (t) for contracting after mixing, s1 (t) is the audio signal of first sound channel, and s2 (t) is the audio signal of second sound channel, and w is weights, and satisfies 0.58≤w≤0.7.
Suppose that s1 (t) and s2 (t) are the two-way audio signal from dual track; Because s1 (t) and s2 (t) are two sound channels that belong to a signal; Therefore, s1 (t) and s2 (t) have very strong correlation, such as an accompaniment and a Chinese musical telling; Therefore, key is to find out suitable weights to come balance this two-way audio signal s1 (t) and s2 (t) in the signal that final minification mixes, to contribute.Consider the characteristic of people's ear, and the correlation of binaural signal, for two-way audio signal s1 (t) and s2 (t) distribute a weight w respectively; And 0.58≤w≤0.7; After this two-way audio signal s1 (t) and s2 (t) multiply each other with weights respectively, addition again, monophonic audio signal after mixing just obtains contracting.Therefore, this multi-channel audio signal mixing method algorithm complex that contracts is low, be easy to realize, and since weights between 0.58 and 0.7, mixed sound is sounded more has aesthetic feeling.
The mixed method of the foregoing description has been primarily aimed at the situation that binaural audio signal is converted into monophonic audio signal, transfers the situation of monophonic audio signal to for 5.1 channel audio signal, for example; Among the actual VOIP (Voice over Internet Protocol, the networking telephone) 100 road audio mixings time, the part that sound often arranged just wherein a tunnel; Other road is in the stage of listening to; Or alternately speak the stage, at this moment, to carry out contracting of audio signal mixed for the flow chart of mixing method embodiment two can to combine a kind of multi-channel audio signal of the present invention shown in Figure 2 to contract; Promptly; When surpassing two sound channels, the audio signal that at first will surpass two sound channels is converted into the audio signal of two sound channels, and then contracts mixed according to the method for embodiment shown in Figure 1 in the audio signal that is received.The mixing method that contracts of this embodiment specifically may further comprise the steps:
S001. sound channel ground judges that the audio signal that is received is for having sound audio signals or for no acoustical signal, having filtered out sound audio signals and neglected no acoustical signal one by one;
S002. analyze there being sound audio signals to carry out the primary and secondary road, with the audio signal of main road audio signal as first sound channel, and with averaging again after all times road audio signal addition, to form the audio signal of second sound channel;
S100. the audio signal that receives in advance from two different sound channels;
S200. calculate the monophonic audio signal that contracts after mixing according to following formula:
y(t)=?w*s1(t)+w*s2(t)
Wherein, the monophonic audio signal of y (t) for contracting after mixing, s1 (t) is the audio signal of first sound channel, and s2 (t) is the audio signal of second sound channel, and w is weights, and satisfies 0.58≤w≤0.7.
Multi-channel audio signal in above-mentioned two embodiment contracts in the mixing method, the preferred golden section point of weights, i.e. w=0.618.
Multi-channel audio signal in above-mentioned two embodiment contracts in the mixing method, and the amplitude of the audio signal of the audio signal of said first sound channel and second sound channel all is no more than 0.81 times of amplitude of the maximum-amplitude signal that can store.Should be noted that according to thinking that to the analysis of audio signal it is small probability event that these weights cause overflowing of signal.Suppose that the maximum-amplitude signal that can store is the 16bit quantized signal; Amplitude is positioned at [32768,32767], supposes actual margin maximum x/32768=p; Then under the situation of two-way audio signal, do not overflow in order to guarantee; 2*p*0.618=1 (at this moment, weights get 0.618) is then arranged, solve an equation to such an extent that p is about 0.81.The amplitude peak that is the two-way audio signal only need be 32768 0.81 times and can guarantee not overflow.And the branch of primary and secondary is generally arranged for music signal, and it is also littler to reach maximum possibility simultaneously, and therefore overflowing is small probability event.And when overflowing generation, only with solving under the saturation arithmetic.
In multi-channel audio signal shown in Figure 3 contracted mixing system, this mixing system that contracts comprised the receiver module 100 and computing module 200 that links to each other successively.Wherein, receiver module 100 the audio signal that is used for receiving in advance from two different sound channels; Computing module 200 is used for calculating the monophonic audio signal that contracts after mixing according to following formula:
y(t)=?w*s1(t)+w*s2(t)
Wherein, the monophonic audio signal of y (t) for contracting after mixing, s1 (t) is the audio signal of first sound channel, and s2 (t) is the audio signal of second sound channel, and w is weights, and satisfies 0.58≤w≤0.7.
In multi-channel audio signal shown in Figure 4 contracted mixing system, this mixing system that contracts comprised that two channel audio signal that link to each other successively obtain module 000, receiver module 100 and computing module 200.Wherein, The logical construction of the corresponding module among receiver module 100 and computing module 200 and the embodiment shown in Figure 3 is identical; Do not do at this and to give unnecessary details; Only explain that below two channel audio signal obtain module 000, this two channel audio signal obtains module 000 and is used in the audio signal that is received will being converted into the audio signal of two sound channels above the audio signal of two sound channels when surpassing two sound channels.Wherein, said two channel audio signal acquisition module 000 further comprises judgement and the screening unit 001 and primary and secondary road analytic unit 002 that links to each other successively.And judgement and screening unit 001 are used for the said audio signal that surpasses two sound channels of sound channel ground judgement one by one for sound audio signals being arranged or being no acoustical signal, have filtered out sound audio signals and have neglected no acoustical signal; Primary and secondary road analytic unit 002 is used for analyzing there being sound audio signals to carry out the primary and secondary road, with the audio signal of main road audio signal as first sound channel, and with averaging again after all times road audio signal addition, to form the audio signal of second sound channel.
In the mixing system that contracts of the multi-channel audio signal of the foregoing description, preferably, weight w=0.618.
In the mixing system that contracts of the multi-channel audio signal of the foregoing description, preferably, the amplitude of the audio signal of the audio signal of said first sound channel and second sound channel all is no more than 0.81 times of amplitude of the maximum-amplitude signal that can store.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (8)

1. multi-channel audio signal mixing method that contracts is characterized in that, comprising:
The audio signal that receives in advance from two different sound channels;
Calculate the monophonic audio signal that contracts after mixing according to following formula:
y(t)=?w*s1(t)+w*s2(t)
Wherein, the monophonic audio signal of y (t) for contracting after mixing, s1 (t) is the audio signal of first sound channel, and s2 (t) is the audio signal of second sound channel, and w is weights, and satisfies 0.58≤w≤0.7.
2. the multi-channel audio signal according to claim 1 mixing method that contracts; It is characterized in that; When surpassing two sound channels, at first will be converted into the audio signal of two sound channels above the audio signal of two sound channels, and this step is specially in the audio signal that is received:
Sound channel ground judges that the audio signal that is received is for having sound audio signals or for no acoustical signal, having filtered out sound audio signals and neglected no acoustical signal one by one;
Analyze there being sound audio signals to carry out the primary and secondary road, with the audio signal of main road audio signal as first sound channel, and with averaging again after all times road audio signal addition, to form the audio signal of second sound channel.
3. the multi-channel audio signal according to claim 1 and 2 mixing method that contracts is characterized in that said w=0.618.
4. the multi-channel audio signal according to claim 3 mixing method that contracts is characterized in that, the amplitude of the audio signal of the audio signal of said first sound channel and second sound channel all is no more than 0.81 times of amplitude of the maximum-amplitude signal that can store.
5. multi-channel audio signal mixing system that contracts is characterized in that, comprising:
Receiver module, the audio signal that is used for receiving in advance from two different sound channels;
Computing module is used for calculating the monophonic audio signal that contracts after mixing according to following formula:
y(t)=?w*s1(t)+w*s2(t)
Wherein, the monophonic audio signal of y (t) for contracting after mixing, s1 (t) is the audio signal of first sound channel, and s2 (t) is the audio signal of second sound channel, and w is weights, and satisfies 0.58≤w≤0.7.
6. the multi-channel audio signal according to claim 5 mixing system that contracts is characterized in that said hybrid system also comprises:
Two channel audio signal obtain module, are used in the audio signal that is received will being converted into the audio signal of two sound channels above the audio signal of two sound channels when surpassing two sound channels;
Wherein, said two channel audio signal acquisition module comprises:
Judge and screening unit, be used for the said audio signal that surpasses two sound channels of sound channel ground judgement one by one, filtered out sound audio signals and neglected no acoustical signal for sound audio signals being arranged or being no acoustical signal;
Primary and secondary road analytic unit is used for analyzing there being sound audio signals to carry out the primary and secondary road, with the audio signal of main road audio signal as first sound channel, and with averaging again after all times road audio signal addition, to form the audio signal of second sound channel.
7. according to claim 5 or the 6 described multi-channel audio signals mixing system that contracts, it is characterized in that said w=0.618.
8. the multi-channel audio signal according to claim 7 mixing system that contracts is characterized in that, the amplitude of the audio signal of the audio signal of said first sound channel and second sound channel all is no more than 0.81 times of amplitude of the maximum-amplitude signal that can store.
CN201110293332XA 2011-09-29 2011-09-29 Method and system for down-mixing multi-channel audio signals Pending CN102395097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110293332XA CN102395097A (en) 2011-09-29 2011-09-29 Method and system for down-mixing multi-channel audio signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110293332XA CN102395097A (en) 2011-09-29 2011-09-29 Method and system for down-mixing multi-channel audio signals

Publications (1)

Publication Number Publication Date
CN102395097A true CN102395097A (en) 2012-03-28

Family

ID=45862293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110293332XA Pending CN102395097A (en) 2011-09-29 2011-09-29 Method and system for down-mixing multi-channel audio signals

Country Status (1)

Country Link
CN (1) CN102395097A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105720939A (en) * 2016-02-29 2016-06-29 联想(北京)有限公司 Voice data processing method and electronic device
CN106028253A (en) * 2016-06-22 2016-10-12 腾讯科技(深圳)有限公司 Method and apparatus for generating down-mixed signal
CN108182947A (en) * 2016-12-08 2018-06-19 武汉斗鱼网络科技有限公司 A kind of sound channel mixed processing method and device
CN108290289A (en) * 2015-11-16 2018-07-17 迪宝克技术公司 Method and system for making vibration motion effect and virtual reality session synchronization
CN108683980A (en) * 2018-05-31 2018-10-19 维沃移动通信有限公司 A kind of transmission method and mobile terminal of audio signal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090030704A1 (en) * 2004-10-14 2009-01-29 Matsushita Electric Industrial Co., Ltd. Acoustic signal encoding device, and acoustic signal decoding device
CN101506875A (en) * 2006-07-07 2009-08-12 弗劳恩霍夫应用研究促进协会 Apparatus and method for combining multiple parametrically coded audio sources
CN102026086A (en) * 2010-12-01 2011-04-20 广州爱威音响有限公司 Method for mixing down multiple channels into 3-channel surrounding sound

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090030704A1 (en) * 2004-10-14 2009-01-29 Matsushita Electric Industrial Co., Ltd. Acoustic signal encoding device, and acoustic signal decoding device
CN101506875A (en) * 2006-07-07 2009-08-12 弗劳恩霍夫应用研究促进协会 Apparatus and method for combining multiple parametrically coded audio sources
CN102026086A (en) * 2010-12-01 2011-04-20 广州爱威音响有限公司 Method for mixing down multiple channels into 3-channel surrounding sound

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108290289A (en) * 2015-11-16 2018-07-17 迪宝克技术公司 Method and system for making vibration motion effect and virtual reality session synchronization
CN108290289B (en) * 2015-11-16 2022-02-25 迪宝克技术公司 Method and system for synchronizing vibro-kinetic effects with virtual reality sessions
CN105720939A (en) * 2016-02-29 2016-06-29 联想(北京)有限公司 Voice data processing method and electronic device
CN105720939B (en) * 2016-02-29 2018-08-10 联想(北京)有限公司 A kind of processing method and electronic equipment of audio data
CN106028253A (en) * 2016-06-22 2016-10-12 腾讯科技(深圳)有限公司 Method and apparatus for generating down-mixed signal
CN106028253B (en) * 2016-06-22 2018-12-11 腾讯科技(深圳)有限公司 The method and apparatus of mixed signal under generation
CN108182947A (en) * 2016-12-08 2018-06-19 武汉斗鱼网络科技有限公司 A kind of sound channel mixed processing method and device
CN108182947B (en) * 2016-12-08 2020-12-15 武汉斗鱼网络科技有限公司 Sound channel mixing processing method and device
CN108683980A (en) * 2018-05-31 2018-10-19 维沃移动通信有限公司 A kind of transmission method and mobile terminal of audio signal

Similar Documents

Publication Publication Date Title
CN101553866B (en) A method and an apparatus for processing an audio signal
CN100539742C (en) Multi-channel audio signal decoding method and device
CN1947172B (en) Method, device, encoder apparatus, decoder apparatus and frequency system
CN102257562B (en) Method and apparatus for applying reverb to a multi-channel audio signal using spatial cue parameters
CN102160113B (en) Multichannel audio coder and decoder
CN101542597B (en) Methods and apparatuses for encoding and decoding object-based audio signals
KR101100221B1 (en) A method and an apparatus for decoding an audio signal
CN101675471B (en) Method and apparatus for processing audio signal
CN102804747B (en) Multichannel echo canceller
JP5455647B2 (en) Audio decoder
CN1647156B (en) Parameter coding method, parameter coder, device for providing audio frequency signal, decoding method, decoder, device for providing multi-channel audio signal
CN101138274B (en) Envelope shaping of decorrelated signals
CN101809655B (en) Apparatus and method for encoding a multi channel audio signal
CN101542589B (en) Keynote lag estimation method, device and system
CN103915098B (en) Audio signal encoder
CN101390443A (en) Audio encoding and decoding
CN104934036B (en) Audio coding apparatus, method and audio decoding apparatus, method
CN101366081A (en) Decoding of binaural audio signals
CN102395097A (en) Method and system for down-mixing multi-channel audio signals
CN101228575A (en) Sound channel reconfiguration with side information
CN101656072A (en) Mixer, mixing method and session system using the mixer
CN102510418B (en) Intelligibility of speech method of measurement under noise circumstance and device
CN101243491A (en) Method and apparatus for encoding and decoding an audio signal
CN103262158A (en) Device and method for postprocessing decoded multi-hannel audio signal or decoded stereo signal
CN102216983A (en) Apparatus and method for encoding at least one parameter associated with a signal source

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road, room 9 building on the north side of block A901 No. 006 TCL Industry Research Institute building A A Building 8 floor

Applicant after: Shenzhen Wondershare Information Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Applicant before: Shenzhen Wondershare Software Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN WONDERSHARE SOFTWARE CO., LTD. TO: SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY CO., LTD.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120328