Traditional three-dimensional echo sound effect as shown in Figure 1, uses the echo environment of parallel comb filter group simulation multiple spot reflection, uses serial all-pass filter group to obtain the time-domain response of temporary impact and smooth frequency domain response.
According to said method, traditional three-dimensional echo technology supposes that all audio signals in any frequency range have identical die-away time.In addition, traditional three-dimensional echo technology does not consider that three-dimensional ring rings the influence to echo yet.Thereby this method can not provide model accurately for real acoustic environment, also can't reproduce the three-dimensional echo effect of high-quality.
More particularly, as shown in Figure 1, conventional three-dimensional echo technology 100 comprises parallel comb filter group 110, signal mixer 120 and serial all-pass filter group 130.Can simulate the sound reflection effect of different distance by the delay parameter of regulating comb filter; The time-domain response that delay parameter by regulating all-pass filter and gain parameter can be obtained different temporary impacts.
If a kind of three-dimensional echo method or equipment are practical, it should possess: (1) is simple: because this method will be used for consumer-elcetronics devices, as mobile phone, PDA etc.; (2) accurate: because this method must be built real echo environment realistically again.Still there is not at present available like this three-dimensional echo method and apparatus.
The present invention relates to a kind of method and apparatus that can simulate Echo under the different acoustic environments, relate in particular to the method and apparatus that can strengthen the handheld device audio.
Summary of the invention
This present invention's first target provides a kind of three-dimensional echo sound effect method and apparatus that can simulate various audible environments.
Second target of the present invention provides a kind of any consumer-elcetronics devices that is applicable to, as mobile phone, PDA etc., and can effectively rebuild suitable all-environment three-dimensional echo sound effect method and apparatus.
The 3rd target of the present invention is under the condition that does not need a large amount of system resources, comprises CPU and memory, and a kind of all-environment three-dimensional echo method and apparatus that is applicable to accurately can be provided.
The example principle according to the present invention by the three-dimensional echo engine is provided, with its wideest form that contains, based on given acoustic environment, is determined the parameter of echo model, to realize above-mentioned target.
The audio signal utilization filtering technique that example of the present invention will import into is divided into two frequency bands of low frequency and high frequency.Cut-off frequency is determined according to the different target simulated environment.Amplitude is around being applied to low-frequency audio signal, and ring retard is around being applied to high-frequency audio signal.Low-frequency audio signal and high-frequency audio signal around output be imported into parallel correction comb filter group with simulation the echo of difference, and make the signal of different frequency have the different echo attenuation time.Afterwards, with the output weighted superposition of comb filter group, and be input to serial all-pass filter group to obtain the time-domain response of temporary impact.Through the delayed output weighted superposition of handling back and all-pass filter group and is input in loud speaker or the earphone as final audio signal with the enhancing Echo around the audio signal of handling.
Three-dimensional echo sound effect technology of the present invention can pin-point accuracy simulation three-dimensional echo effect be because, this method has been considered following two factors when setting up the model of human auditory system's subjective perception: (1) human auditory system is very responsive to echo around audio; (2) human auditory system has the different signal attenuation time when receiving low frequency with the high-frequency sound signal.
Because the present invention uses the pcm audio signal, thus can be applicable to any audio frequency and encoding and decoding speech standard, so that the three-dimensional echo sound effect that is applicable under the varying environment to be provided.
Embodiment
As shown in Figure 3, the present invention realizes by the three-dimensional echo engine, is applicable to any consumer-elcetronics devices.Three-dimensional echo engine 3 00 is by high pass filter 310, ring retard is around estimation device 315, low pass filter 320, amplitude is around estimation device 325, and blender 330 walks abreast and revises comb filter group 340, blender 345, serial all-pass filter group 350, delay estimator 360 and blender 370 formed. different with traditional three-dimensional echo technology, three-dimensional echo technology of the present invention to low-frequency audio signal and high-frequency audio signal use respectively amplitude around with ring retard around.
The low pass filter that is embedded into comb filter produces different die-away times at different frequency range to audio signal.Blender 440 and 450, delay estimator 460 and gain estimation device a form low pass filter jointly, and estimate that with blender 410 and 430, delay estimator 420 and gain device g constitutes the comb filter of correction, as shown in Figure 4.Gain parameter g and a, delay parameter M is determined by the concrete environment of modeling.All-pass filter shown in Figure 2 is determined by gain parameter g and delay parameter m.These two parameters are determined by the echo environment of being simulated.Therefore, three-dimensional echo method of the present invention is more more accurate than conventional method.
In order to understand three-dimensional echo sound effect technology of the present invention, be necessary to understand earlier some basic principles of some three-dimensional echo sound effects.Good echo sound effect model can be simulated different echo environment by changing perceptual parameters.One cover can provide the independent parameter group of echo qualitative character to be divided three classes fully:
1. with frequency spectrum, sound source energy and the early stage relevant sound source perceptual parameters of echo energy
● intensity of sound: determine by the sound source energy and the ratio of early stage sound source energy.
● the tone color lightness: the variation by the echo energy HFS is determined
● the tone color soften: the variation of low frequency part is determined by die-away time.
2. the perceptual parameters of sound source and environmental interaction
● echo envelope line: determine by the sound source energy;
● environment reproduces: determined by echo energy;
● echo intensity: determine the die-away time by the environmental impact response.
3. environment sensing parameter
● back echo intensity: determine the back die-away time by the environmental impact response;
● the stress effect: the variation of low frequency part is determined by die-away time;
● vivid effect: the variation of HFS is determined by die-away time.
In model, simulate different audible environments by controlling these parameters.When sound source was play, some parameters were perceived as the rich of tone color, and some other parameters are perceived from lingering sound.Echo intensity is an important environmental parameter, and its value depends on the frequency spectrum distribution characteristics of sound source, and for example, this parameter is got smaller value for voice signal (spectrum distribution is narrow), and music signal (spectrum distribution is wide) is got high value.The target of echo sound effect is being received of making that voice signal can be comfortable rather than undue strong.Yet traditional three-dimensional echo method is not considered these factors in model.
Good three-dimensional echo sound effect method should be able to be built sound source echo accurately and efficiently again in three dimensions.Three-dimensional echo sound effect technology of the present invention realizes design object through the following steps: the audio signal that (1) will be imported into is divided into high frequency band and low band audio signal; (2) high band audio signal is used the amplitude loop technique, to low band audio signal application delay loop technique; (3) use the parallel comb filter group audio signal that is embedded with low pass filter so that the audio signal of different frequency bands realizes the differential declines time; 4) input serial type all-pass filter group responds to obtain temporary impact after the output weighted superposition of comb filter; 5) by after the delayed again processing of audio signal of surrounding, with the output weighted superposition of all-pass filter group to obtain more excellent Echo.The comb filter group of surrounding, correction and the parameter of all-pass filter group are by the characteristic decision of the concrete environment of being simulated.
The insider should be as can be seen, and the primary and foremost purpose of invention three-dimensional echo sound effect is the virtual three-dimensional echo sound effect of building again under the varying environment.Because the design of entire method is all based on human auditory system's subjective sensation, so three-dimensional echo sound effect method of the present invention can vividly be reproduced real three-dimensional echo sound effect scene.
Because three-dimensional echo sound effect example of the present invention does not need special hardware supports, only can realize its function, but not get rid of special hardware implementation mode, so this technology can easily be applied on the consumption electronic product of any kind by software, as mobile phone, PDA etc.In addition, the present invention can be used for any audio frequency and encoding and decoding speech system, as AAC, and AAC+, MP3, WMA, RA, AMR etc.
The front has very described the technology that the present invention submitted in detail, make the insider can understand and use the present invention, but, what also will draw attention to is, under the prerequisite that does not depart from essence of the present invention, can also change and improve the technological invention of being submitted to, and the present invention be subjected to the restriction of above explanation or accompanying drawing, but limited according to claims.