CN101499278B - Audio signal switching and processing method and apparatus - Google Patents

Audio signal switching and processing method and apparatus Download PDF

Info

Publication number
CN101499278B
CN101499278B CN 200810057427 CN200810057427A CN101499278B CN 101499278 B CN101499278 B CN 101499278B CN 200810057427 CN200810057427 CN 200810057427 CN 200810057427 A CN200810057427 A CN 200810057427A CN 101499278 B CN101499278 B CN 101499278B
Authority
CN
China
Prior art keywords
phase
frequency band
frequency
sound signal
constantly
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
Application number
CN 200810057427
Other languages
Chinese (zh)
Other versions
CN101499278A (en
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.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200810057427 priority Critical patent/CN101499278B/en
Priority to PCT/CN2009/070327 priority patent/WO2009100670A1/en
Publication of CN101499278A publication Critical patent/CN101499278A/en
Application granted granted Critical
Publication of CN101499278B publication Critical patent/CN101499278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Amplifiers (AREA)

Abstract

The embodiment of the invention relates to an audio signal switching processing method and a device. The method includes the steps of: acquiring first-stage end state characteristic information of the audio signal before conversion time of frequency band switch stage; slowly switching the audio signal of the first stage from a first frequency band to a second frequency band; according to the first-stage end state characteristic information, determining second-stage initial state characteristic information after the conversion time of the frequency band switch stage and slowly switching the frequency band of the audio signal in the second stage; and slowly switching the frequency band of the audio signal in the second stage according to the initial state characteristic information. The embodiment determines the second-stage initial state after the conversion time of the frequency band switch stage according the acquired first-stage end state before the conversion time of the frequency band switch stage and realizes smooth transition in the switching process of the audio signal among different frequency bands.

Description

Audio signal switching processing and device
Technical field
The present invention relates to the communications field, especially a kind of audio signal switching processing and device.
Background technology
The voice signal that the daily interchange of people is produced, its main information concentrates on low-frequency band, its frequency band range is 50~3400Hz, thus existing speech coder generally all be can only handle narrow band voice signal the arrowband scrambler for example: G.729, G.723, AMR etc.For the continuous expansion of satisfying speech business and people more and more higher needs to the speech signal coding quality, require speech coder can handle high frequency band (4000~8000Hz) or even SHF band (8000~16000Hz) voice signal is to provide high-quality encoding speech signal.But the enhancing of speech signal coding quality will inevitably bring the increase of speech encoding rate, thereby has caused that communication bandwidth is the increase of channel capacity, has caused network load to increase the weight of.
Therefore, in order to adapt to the demand of communication bandwidth and coding quality neatly, require speech coder that multiple speech encoding rate can be provided, make it possible to select suitable communication bandwidth and coding quality, thereby can effectively provide best voice coding quality under the communication bandwidth condition.If the voice signal frequency span that the code rate of a multi-rate speech coding device is corresponding different, the switching of code rate also just means the switching of voice signal frequency span so.For example: G.729.1, G.729.1 comprise 12 speech encoding rates, be respectively 8kbit/s, 12kbit/s, 14kbit/s, 16kbit/s, 18kbit/s, 20kbit/s, 22kbit/s, 24kbit/s, 26kbit/s, 28kbit/s, 30kbit/s and 32kbit/s, wherein these two code rate correspondences of 8kbit/s and 12kbit/s be the arrowband (0~4000Hz) signal, other 10 code rate correspondences be broadband (0~8000Hz) signal.If the switching of arrowband code rate to wideband encoding speed takes place, so the bandwidth of He Cheng voice signal also will be switched to the broadband from the arrowband, and final synthetic speech signal also will switch to high-quality from inferior quality; Otherwise if the switching of wideband encoding speed to the arrowband code rate takes place, so the bandwidth of He Cheng voice signal also will be switched to the arrowband from the broadband, and final synthetic speech signal also will switch to inferior quality from high-quality.Because the height frequency band is also inequality to the contribution of people's ear perception, the unexpected switching of bandwidth bring tangible discomfort can for people's ear.
Summary of the invention
The embodiment of the invention provides a kind of audio signal switching processing and device, can seamlessly transit in the process of switching between different frequency bands in order to the frequency band of realizing sound signal.
The embodiment of the invention provides a kind of audio signal switching processing, comprising:
Obtain the sound signal done state characteristic information of the phase one before the conversion constantly of frequency band switch step, slowly switch to second frequency band from first frequency band in sound signal described in the described phase one;
The done state characteristic information of phase one is set to the initial state characteristic information of the subordinate phase after the conversion constantly of frequency band switch step, in described subordinate phase described sound signal is carried out frequency band and slowly switches;
In subordinate phase described sound signal being carried out frequency band with described initial state characteristic information slowly switches;
Wherein,
The done state characteristic information of described phase one is the described sound signal high-frequency cut-off frequency of the phase one before described conversion constantly; The initial state characteristic information of described subordinate phase is the high-frequency cut-off frequency of the subordinate phase of described sound signal after described conversion constantly.
The embodiment of the invention provides a kind of sound signal switch processing device, comprising:
Acquisition module is used to obtain the sound signal done state characteristic information of the phase one before the conversion constantly of frequency band switch step, slowly switches to second frequency band from first frequency band in sound signal described in the described phase one;
Processing module, the done state characteristic information that is used for the phase one is set to the initial state characteristic information of frequency band switch step conversion moment subordinate phase afterwards, in described subordinate phase described sound signal is carried out frequency band and slowly switches;
Execution module is used in subordinate phase described sound signal being carried out frequency band with described initial state characteristic information and slowly switches; Wherein,
The done state characteristic information of described phase one is the described sound signal high-frequency cut-off frequency of the phase one before described conversion constantly; The initial state characteristic information of described subordinate phase is the high-frequency cut-off frequency of the subordinate phase of described sound signal after described conversion constantly.
As shown from the above technical solution, the embodiment of the invention is according to the done state of the phase one before the frequency band switch step conversion constantly that gets access to, determined the original state of this frequency band switch step conversion moment subordinate phase afterwards, realized to seamlessly transit in the process that the frequency band of sound signal switches between different frequency bands, thereby improved the subjective acoustical quality of sound signal greatly.
Description of drawings
Fig. 1 is the sound spectrograph of the synthetic speech signal when introducing bandwidth after the fade operation in the application scenarios of the inventive method embodiment and switching;
Fig. 2 (a) be in the application scenarios of the inventive method embodiment bandwidth switching time every the sound spectrograph of the first short synthetic speech signal;
Fig. 2 (b) introduces bandwidth switching time after the fade operation every the sound spectrograph of the first short synthetic speech signal in the application scenarios of the inventive method embodiment;
Fig. 3 (a) be in the application scenarios of the inventive method embodiment bandwidth switching time every the sound spectrograph of the second short synthetic speech signal;
Fig. 3 (b) introduces bandwidth switching time after the fade operation every the sound spectrograph of the second short synthetic speech signal in the application scenarios of the inventive method embodiment;
Fig. 4 (a) is the schematic flow sheet of an embodiment of signal switching handling method of the present invention;
Fig. 4 (b) is the sound spectrograph of the synthetic speech signal of an embodiment of signal switching handling method of the present invention;
Fig. 5 (a) is the schematic flow sheet of another embodiment of signal switching handling method of the present invention;
Fig. 5 (b) is the sound spectrograph of the synthetic speech signal of another embodiment of signal switching handling method of the present invention;
Fig. 6 finishes the graph of a relation of counter fade_in_counter and signal high-frequency cut-off frequency for the fade_in stages operating;
Fig. 7 finishes the graph of a relation of counter fade_out_counter and signal high-frequency cut-off frequency for the fade_out stages operating;
Fig. 8 is the schematic flow sheet of another embodiment of signal switching handling method of the present invention;
Fig. 9 is the schematic flow sheet of another embodiment of signal switching handling method of the present invention;
Figure 10 is the structural representation of the embodiment of signal switch processing device of the present invention.
Embodiment
Suddenly switch the discomfort of caused human auditory system in order to alleviate bandwidth, an application scenarios among the inventive method embodiment is to make this handoff procedure slowly change, and makes people's ear that the procedure of adaptation of a gradual change be arranged.This variation slowly is called " fade ", and for the slow switching mode of two kinds of bandwidth, what claim leniently to take to the arrowband slowly switches to " fade_out ", slowly switching to from the arrowband to the broadband " fade_in ".The gradual change time of supposing fade_in and fade_out is respectively FADE_IN_LENGTH and FADE_OUT_LENGTH, then the effect of these two kinds of gradual manner as shown in Figure 1, Fig. 1 is the sound spectrograph of the synthetic speech signal when introducing bandwidth after the fade operation in the application scenarios of the inventive method embodiment and switching.Among the figure, T1=FADE_OUT_LENGTH, T2=FADE_IN_LENGTH.As can see from Figure 1, when leniently taking the arrowband switching to, from t1 constantly, bandwidth is leniently taken the arrowband to and is slowly decayed, and decays to the arrowband constantly at t1+T1, and the duration of decay is T1, and t1 is called the fade_out stage during this period of time to t1+T1, introduce the slow attenuation change in fade_out stage, bandwidth just is unlikely to when leniently taking the arrowband conversion to seem too lofty that synthetic speech signal sounds also can be more comfortable; When from the arrowband to the broadband, switching, from t2 constantly, bandwidth slowly also is to decay from the arrowband to the broadband, the amplitude of decay is descending, transforms to the broadband constantly at t2+T2, and the duration of decay is T2, and t2 is called the fade_in stage during this period of time to t2+T2, introduce the slow attenuation change in fade_in stage, bandwidth just is being unlikely to seem too lofty from the arrowband during to the broadband conversion, and synthetic speech signal sounds also can be more comfortable.It should be noted that the stage at fade_out, (4000~7000Hz) parts need to recover in advance, and then decay t1 to t1+T1 high frequency band constantly.
Shown in Fig. 2 (a) and Fig. 2 (b), Fig. 2 (a) be in the application scenarios of the inventive method embodiment bandwidth switching time every the sound spectrograph of the first short synthetic speech signal; Fig. 2 (b) introduces bandwidth switching time after the fade operation every the sound spectrograph of the first short synthetic speech signal in the application scenarios of the inventive method embodiment.Fig. 2 (a) and Fig. 2 (b) show under the situation that does not have to finish in the fade_out stage, just enter the phenomenon in fade_in stage: shown in Fig. 2 (a), at t3 constantly, signal demand switches to the arrowband from the broadband, shown in Fig. 2 (b), under the prerequisite of opening the fade_out function, this switching meeting slowly changes, and also is that the high frequency of signal slowly changes to 4000Hz by frequency from 7000Hz; Shown in Fig. 2 (a), at t4 constantly, signal demand switches to the broadband from the arrowband, shown in Fig. 2 (b), under the prerequisite of opening the fade_in function, this switching meeting slowly changes, the high-frequency cut-off frequency that also is signal need slowly change to 7000Hz from 4000Hz, but at this moment the fade_out stage does not finish, the cutoff frequency that yet promptly is close to the signal of t4 before the moment is not 4000Hz, like this t4 constantly before and after the frequency range of signal differ will be bigger, transition is comparatively lofty, thereby makes people's ear sound uncomfortable.
Shown in Fig. 3 (a) and Fig. 3 (b), Fig. 3 (a) be in the application scenarios of the inventive method embodiment bandwidth switching time every the sound spectrograph of the second short synthetic speech signal; Fig. 3 (b) introduces bandwidth switching time after the fade operation every the sound spectrograph of the second short synthetic speech signal in the application scenarios of the inventive method embodiment.Fig. 3 (a) and Fig. 3 (b) show under the situation that does not have to finish in the fade_in stage, just enter the phenomenon in fade_out stage: shown in Fig. 3 (a), at t5 constantly, signal demand switches to the broadband from the arrowband, shown in Fig. 3 (b), under the prerequisite of opening the fade_in function, this switching meeting slowly changes, and also is that the high frequency of signal slowly changes to 7000Hz by frequency from 4000Hz; Shown in Fig. 3 (a), at t6 constantly, signal demand switches to the arrowband from the broadband, shown in Fig. 3 (b), under the prerequisite of opening the fade_out function, this switching meeting slowly changes, the high-frequency cut-off frequency that also is signal need slowly change to 4000Hz from 7000Hz, but at this moment the fade_in stage does not finish, the cutoff frequency that yet promptly is close to the signal of t6 before the moment is not 7000Hz, like this t6 constantly before and after the frequency range of signal differ will be bigger, transition is comparatively lofty, thereby makes people's ear sound uncomfortable.
Therefore, if fade_in and fade_out stage overlap, so may be comparatively lofty in the frequency band transition of the point that overlaps (t4 constantly and t6 constantly) signal, thus cause the uncomfortable of human auditory system, also partial offset the meaning and the effect of fade_in and these two kinds of gradual changes processing of fade_out.
In one embodiment of the present of invention, in the voice signal in broadband is handled, the general frequency of only handling between 50 to 7000Hz, frequency range is disregarded at the signal below the 50Hz and more than the 7000Hz, and therefore the effective bandwidth of actual broadband signal generally is that 50~7000Hz is that wide band scope is 50~7000Hz.Wherein, 50~4000Hz is a low-frequency band, and its frequency band range is 3500Hz; 4000~7000Hz is a high frequency band, and its frequency band range is 3000Hz, and low-frequency band here and high frequency band are General Definition, may have some variations in the division of practice medium and low frequency band, high frequency band and SHF band.
Shown in Fig. 4 (a), be the schematic flow sheet of an embodiment of signal switching handling method of the present invention; Shown in Fig. 4 (b), be the sound spectrograph of the synthetic speech signal of first embodiment of signal switching handling method of the present invention.Present embodiment is applicable to the situation that the fade_out stage does not have end just to enter the fade_in stage, may further comprise the steps:
Step 401, in the fade_out stage, the high-frequency cut-off frequency f 1 of the voice signal of (t4 is constantly) when following the tracks of and calculating the stage of development conversion, for example: the frequency band range N of high frequency band is 3000Hz, f1=(4000+n2) Hz, wherein, n2 is the numerical value that f1 is higher than the lower limit 4000Hz of high frequency band; N1+n2=N (3000) Hz is the frequency band range of high frequency band, and n1 is the numerical value that f1 is lower than the upper limit 7000Hz of high frequency band;
The initial frequency 4000Hz in step 402, fade_in stage that t4 is begun constantly changes f1 into;
Step 403, in the fade_in stage, the high-frequency cut-off frequency begins slowly to change to 7000Hz from f1, thereby finishes fade_in operation.
Further, the high-frequency cut-off frequency in the step 403 can also begin slowly to change to the promptly super wideband of 15000Hz from f1.Concrete operations are similar with above-mentioned embodiment, repeat no more here.
Not have to finish just to enter the fade_in stage be the phenomenon that coincidence takes place in fade_in stage and fade_out stage the fade_out stage in the present embodiment, done state according to the fade_out before the frequency band switch step conversion moment t4 that gets access to, determined this frequency band switch step conversion original state of t4 fade_in afterwards constantly, realized to seamlessly transit in the process that the frequency band of sound signals such as voice signal switches between different frequency bands, thereby improved the subjective acoustical quality of sound signal greatly.
Shown in Fig. 5 (a), be the schematic flow sheet of second embodiment of signal switching handling method of the present invention; Shown in Fig. 5 (b), be the sound spectrograph of the synthetic speech signal of second embodiment of signal switching handling method of the present invention.Present embodiment is applicable to the situation that the fade_in stage does not have end just to enter the fade_out stage, may further comprise the steps:
Step 501, in the fade_in stage, follow the tracks of and calculate the high-frequency cut-off frequency f 2 of the voice signal of (t6 constantly) when state exchange takes place, for example: the frequency band range N of high frequency band is 3000Hz, f2=(4000+n4) Hz, wherein, n4 is the numerical value that f2 is higher than the lower limit 4000Hz of high frequency band; N3+n4=N (3000) Hz is the frequency band range of high frequency band, and n3 is the numerical value that f2 is lower than the upper limit 7000Hz of high frequency band;
The initial frequency 7000Hz in step 502, fade_out stage that t6 is begun constantly changes f2 into;
Step 503, in the fade_out stage, the high-frequency cut-off frequency begins slowly to change to 4000Hz from f2, thereby finishes fade_out operation.
Not have to finish just to enter the fade_out stage be the phenomenon that coincidence takes place in fade_in stage and fade_out stage the fade_in stage in the present embodiment, done state according to the fade_in before the frequency band switch step conversion moment t4 that gets access to, determined this frequency band switch step conversion original state of t4 fade_out afterwards constantly, realized to seamlessly transit in the process that the frequency band of sound signals such as voice signal switches between different frequency bands, thereby improved the subjective acoustical quality of sound signal greatly.As previously mentioned, the gradual change time in fade_in and fade_out stage can be FADE_IN_LENGTH and FADE_OUT_LENGTH respectively.Below two embodiment follow the tracks of and describe the operation performance in these two stages respectively with two counters, the counter of supposing the fade_in stage is fade_in_counter, the counter in fade_out stage is fade_out_counter, then the span of these two counters is respectively [1, FADE_IN_LENGTH] and [1, FADE_OUT_LENGTH].Because speech coder all handles by " frame " voice signal, therefore can think that FADE_IN_LENGTH and FADE_OUT_LENGTH are respectively the numbers of each stage speech frame, in fact this and the not essential difference of absolute time.
Fade_in_counter and fade_out_counter have not only write down the process in each stage, and main is to determine how to carry out signal band is decayed at present frame:
As shown in Figure 6, finish the graph of a relation of counter fade_in_counter and signal high-frequency cut-off frequency for the fade_in stages operating.In the fade_in stage, the high-frequency cut-off frequency f 3 of different decay fade_in_counter correspondences is f3=4000+N1 (Hz), wherein, N1=fade_in_counter*N/FADE_IN_LENGTH, the frequency of frequency range between f3 and 7000Hz can be attenuated;
As shown in Figure 7, finish the graph of a relation of counter fade_out_counter and signal high-frequency cut-off frequency for the fade_out stages operating.In the fade_out stage, the high-frequency cut-off frequency f 4 of different decay fade_out_counter correspondences is f4=4000+N2 (Hz), N2=(FADE_OUT_LENGTH-fade_out_counter) * N/FADE_OUT_LENGTH wherein, the frequency of frequency range between f4 and 7000Hz can be attenuated.
The numerical value of counter fade_in_counter and fade_out_counter has directly determined current band attenuation situation: in the fade_in stage, the value of fade_in_counter can change to FADE_IN_LENGTH from 1 always, and corresponding high-frequency cut-off frequency also can change to 7000Hz from 4000Hz, that is to say if fade_in_counter=FADE_IN_LENGTH represents fade_in stage normal termination; In the fade_out stage, the value of fade_out_counter can change to FADE_OUT_LENGTH from 1 always, and corresponding high-frequency cut-off frequency also can change to 4000Hz from 7000Hz, that is to say if fade_out_counter=FADE_OUT_LENGTH represents fade_out stage normal termination.
Because the numerical value of counter fade_in_counter and fade_out_counter has directly determined current band attenuation situation, based on this principle, when fade_in and fade_out stage overlapped, the numerical value of counter that can be by the change coincide point was controlled actual band attenuation state.Can be to two kinds of solutions that overlap situation respectively referring to following two embodiment.
As shown in Figure 8, be the schematic flow sheet of another embodiment of signal switching handling method of the present invention.Present embodiment is applicable to the situation that the fade_out stage does not have end just to enter the fade_in stage, may further comprise the steps:
Step 801, the numerical value T1 ' of counter fade_out_counter is finished in the operation in the fade_out stage of (t4 is constantly) when following the tracks of and calculating the stage of development conversion, and the high-frequency cut-off frequency f 4=4000+ of record this moment (FADE_OUT_LENGTH-T1 ') * N/FADE_OUT_LENGTH;
Step 802, according to t4 constantly the high-frequency cut-off frequency f 4 in fade_out stage determine the t4 high-frequency cut-off frequency f 3 of fade_in constantly, and the numerical value of counter fade_in_counter is finished in the operation that obtains the fade_in stage.
If the t4 high-frequency cut-off frequency of fade_in constantly is f3, make f3=f4, f3=4000+ (FADE_OUT_LENGTH-T1 ') * N/FADE_OUT_LENGTH then, f3=4000+fade_in_counter ' * N/FADE_IN_LENGTH again, wherein fade_in_counter ' is the frame number that the fade_in stage should " finish " when satisfying the high frequency attenuation cutoff frequency and being f3, then fade_in_counter '=(FADE_OUT_LENGTH-T1 ') * FADE_IN_LENGTH/FADE_OUT_LENGTH;
Step 803, in the fade_in stage, the numerical value that counter fade_in_counter is finished in operation begins counting from fade_in_counter ', thereby finishes the operation in fade_in stage.
Carry out after the above-mentioned steps, the actual fade_in duration in stage is T2 ', wherein fade_in_counter '+T2 '=FADE_IN_LENGTH.
As shown in Figure 9, be the schematic flow sheet of another embodiment of signal switching handling method of the present invention.Present embodiment is applicable to the situation that the fade_in stage does not have end just to enter the fade_out stage, may further comprise the steps:
The numerical value T2 of counter fade_in_counter was finished in the operation in the fade_in stage of (t6 is constantly) when step 901, tracking and calculating stage of development were changed ", and record high-frequency cut-off frequency f3=4000+T2 at this moment " * N/FADE_IN_LENGTH;
Step 902, according to t6 constantly the high-frequency cut-off frequency f 3 in fade_in stage determine the t6 high-frequency cut-off frequency f 4 of fade_out constantly, and the numerical value of counter fade_out_counter is finished in the operation of obtaining the fade_out stage.
If the t6 high-frequency cut-off frequency of fade_out constantly is f4, make f4=f3, f4=4000+T2 then " * N/FADE_IN_LENGTH; f4=4000+ (FADE_OUT_LENGTH-fade_out_counter ') * N/FADE_OUT_LENGTH again; wherein fade_out_counter ' is the frame number that the fade_out stage should " finish " when satisfying the high frequency attenuation cutoff frequency and being f4, then fade_out_counter '=FADE_OUT_LENGTH-T2 " * FADE_OUT_LENGTH/FADE_IN_LENGTH;
Step 903, in the fade_out stage, the numerical value that counter fade_out_counter is finished in operation begins counting from fade_out_counter ', thereby finishes the operation in fade_out stage.
Carry out after the above-mentioned steps, the actual fade_out duration in stage is T1 ", fade_out_counter '+T1 wherein "=FADE_OUT_LENGTH.
As shown in figure 10, be the structural representation of the embodiment of signal switch processing device of the present invention.Present embodiment comprises acquisition module 10, processing module 20 and the execution module 30 that connects in turn.Wherein, acquisition module 10 is used to obtain the sound signal done state characteristic information of the phase one before the conversion constantly of frequency band switch step, slowly switches to second frequency band from first frequency band at the frequency band of sound signal described in the described phase one; Processing module 20 is used for determining according to the done state characteristic information of described phase one the initial state characteristic information of the subordinate phase after the conversion constantly of described frequency band switch step, slowly switches or slowly switches to the 3rd frequency band to first frequency band from second frequency band at the frequency band of sound signal described in the described subordinate phase; Execution module 30 is used in subordinate phase described sound signal slowly being switched to described phase one or phase III with described initial state characteristic information.
Present embodiment is according to the done state of the phase one before the frequency band switch step conversion constantly that gets access to, determined the original state of this frequency band switch step conversion moment subordinate phase afterwards, realized to seamlessly transit in the process that the frequency band of sound signal switches between different frequency bands, thereby improved the subjective acoustical quality of sound signal greatly.
Further, acquisition module can comprise counter and the acquiring unit of interconnective phase one in the present embodiment.Wherein, the counter of phase one is used to follow the tracks of and describe the operation performance of phase one, and the process of record phase one, and span is the number of the speech frame of 1~phase one; Acquiring unit is used for obtaining sound signal in the switch step of frequency band described in phase one conversion high-frequency cut-off frequency constantly according to the counter of described phase one at the switch step of frequency band described in phase one conversion numerical value constantly.
Processing module can comprise the counter and second processing unit of first processing unit, subordinate phase.Wherein, first processing unit is connected with the acquiring unit of acquisition module, and the described sound signal that is used for obtaining according to described acquiring unit determines that in the switch step of frequency band described in phase one conversion high-frequency cut-off frequency constantly described sound signal is in the switch step of frequency band described in subordinate phase conversion high-frequency cut-off frequency constantly; The counter of subordinate phase is used to follow the tracks of and describe the operation performance of subordinate phase, and writes down the process of subordinate phase, and span is the number of the speech frame of 1~subordinate phase; Second processing unit is connected with the counter of phase one of described acquisition module and the counter of described subordinate phase respectively, is used for determining the numerical value that the counter of subordinate phase begins to count according to the counter of above-mentioned phase one at the switch step of frequency band described in phase one conversion numerical value constantly.
First frequency band wherein can be broadband, second frequency band can be narrow-band, so correspondingly, the counter of the subordinate phase numerical value that begins to count equals between the number of speech frame of (counter of the number-phase one of the speech frame of phase one is at the switch step of frequency band described in phase one conversion numerical value constantly) * subordinate phase/number of the speech frame of phase one; First frequency band can also be narrow-band, second frequency band can also be broadband, so correspondingly, the counter of the subordinate phase numerical value that begins to count equals the counter of number-phase one of speech frame of subordinate phase in the number of the speech frame of the number/phase one of the speech frame of the switch step of frequency band described in phase one conversion numerical value * subordinate phase constantly.
Because the numerical value of the counter of phase one and the counter of subordinate phase has directly determined current band attenuation situation, based on this above-mentioned reason, when phase one and subordinate phase overlapped, the numerical value of counter that can be by the change coincide point was controlled actual band attenuation state.
For convenience, the embodiment of the invention has only been described the disposal route when voice signal switches between arrowband and broadband.Because actual speech coder not only can carry out encoding process to voice, can also handle other sound signals such as noise, music, therefore method of the present invention also is applicable to other sound signal.In addition, the frequency band of signal also is not limited only to arrowband and broadband, so long as the problem of the similar stage coincidence that switching brought between different frequency bands all can adopt technical scheme of the present invention to realize the seamless level and smooth of frequency band state.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. audio signal switching processing is characterized in that comprising:
Obtain the sound signal done state characteristic information of the phase one before the conversion constantly of frequency band switch step, slowly switch to second frequency band from first frequency band in sound signal described in the described phase one;
The done state characteristic information of phase one is set to the initial state characteristic information of the subordinate phase after the conversion constantly of frequency band switch step, in described subordinate phase described sound signal is carried out frequency band and slowly switches;
In subordinate phase described sound signal being carried out frequency band with described initial state characteristic information slowly switches; Wherein,
The done state characteristic information of described phase one is the described sound signal high-frequency cut-off frequency of the phase one before described conversion constantly; The initial state characteristic information of described subordinate phase is the high-frequency cut-off frequency of the subordinate phase of described sound signal after described conversion constantly.
2. audio signal switching processing according to claim 1 is characterized in that describedly described sound signal being carried out frequency band with described initial state characteristic information in subordinate phase and switching and to be specially: in subordinate phase described sound signal is switched to described first frequency band from described second frequency band with the high-frequency cut-off frequency of the subordinate phase of described sound signal after described conversion constantly.
3. audio signal switching processing according to claim 2, it is characterized in that the described done state characteristic information that obtains the phase one of sound signal before the conversion constantly of frequency band switch step is specially: the counter according to the phase one obtains sound signal in the switch step of frequency band described in phase one conversion high-frequency cut-off frequency constantly at the switch step of frequency band described in phase one conversion numerical value constantly.
4. audio signal switching processing according to claim 3, it is characterized in that described done state characteristic information according to the described phase one determines that the initial state characteristic information of the subordinate phase after the conversion constantly of described frequency band switch step is specially: determine described sound signal in the switch step of frequency band described in subordinate phase conversion high-frequency cut-off frequency constantly according to described sound signal in the switch step of frequency band described in phase one conversion high-frequency cut-off frequency constantly, and obtain the numerical value that the counter of subordinate phase begins to count.
5. audio signal switching processing according to claim 4 is characterized in that described first frequency band is a broadband, and described second frequency band is a narrow-band.
6. audio signal switching processing according to claim 5 is characterized in that the numerical value that the counter of described subordinate phase begins to count equals the number of speech frame of number/phase one of the speech frame of (counter of the number-phase one of the speech frame of phase one is at the switch step of frequency band described in phase one conversion numerical value constantly) * subordinate phase.
7. audio signal switching processing according to claim 4 is characterized in that described first frequency band is a narrow-band, and described second frequency band is a broadband.
8. audio signal switching processing according to claim 7 is characterized in that numerical value that the counter of described subordinate phase begins to count equals the counter of number-phase one of speech frame of subordinate phase in the number of the speech frame of the number/phase one of the speech frame of the switch step of frequency band described in phase one conversion numerical value * subordinate phase constantly.
9. according to claim 6 or 8 described audio signal switching processing, it is characterized in that describedly in subordinate phase described sound signal being carried out frequency band with described initial state characteristic information and slowly switching and be specially: in described subordinate phase, the counter of described subordinate phase begins counting from the described numerical value that begins to count.
10. sound signal switch processing device is characterized in that comprising:
Acquisition module is used to obtain the sound signal done state characteristic information of the phase one before the conversion constantly of frequency band switch step, slowly switches to second frequency band from first frequency band in sound signal described in the described phase one;
Processing module, the done state characteristic information that is used for the phase one is set to the initial state characteristic information of frequency band switch step conversion moment subordinate phase afterwards, in described subordinate phase described sound signal is carried out frequency band and slowly switches;
Execution module is used in subordinate phase described sound signal being carried out frequency band with described initial state characteristic information and slowly switches; Wherein,
The done state characteristic information of described phase one is the described sound signal high-frequency cut-off frequency of the phase one before described conversion constantly; The initial state characteristic information of described subordinate phase is the high-frequency cut-off frequency of the subordinate phase of described sound signal after described conversion constantly.
11. sound signal switch processing device according to claim 10 is characterized in that described acquisition module comprises:
The counter of phase one is used to follow the tracks of and describe the operation performance of phase one, and the process of record phase one, and span is the number of the speech frame of 1~phase one;
Acquiring unit is used for obtaining sound signal in the switch step of frequency band described in phase one conversion high-frequency cut-off frequency constantly according to the counter of described phase one at the switch step of frequency band described in phase one conversion numerical value constantly.
12. sound signal switch processing device according to claim 11 is characterized in that described processing module comprises:
First processing unit, the described sound signal that is used for obtaining according to described acquiring unit determines that in the switch step of frequency band described in phase one conversion high-frequency cut-off frequency constantly described sound signal is in the switch step of frequency band described in subordinate phase conversion high-frequency cut-off frequency constantly;
The counter of subordinate phase is used to follow the tracks of and describe the operation performance of subordinate phase, and writes down the process of subordinate phase, and span is the number of the speech frame of 1~subordinate phase;
Second processing unit is used for determining the numerical value that the counter of subordinate phase begins to count according to the counter of described phase one at the switch step of frequency band described in phase one conversion numerical value constantly.
CN 200810057427 2008-02-01 2008-02-01 Audio signal switching and processing method and apparatus Active CN101499278B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200810057427 CN101499278B (en) 2008-02-01 2008-02-01 Audio signal switching and processing method and apparatus
PCT/CN2009/070327 WO2009100670A1 (en) 2008-02-01 2009-02-01 A method and device for switching processing of audio frequency signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810057427 CN101499278B (en) 2008-02-01 2008-02-01 Audio signal switching and processing method and apparatus

Publications (2)

Publication Number Publication Date
CN101499278A CN101499278A (en) 2009-08-05
CN101499278B true CN101499278B (en) 2011-12-28

Family

ID=40946324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810057427 Active CN101499278B (en) 2008-02-01 2008-02-01 Audio signal switching and processing method and apparatus

Country Status (2)

Country Link
CN (1) CN101499278B (en)
WO (1) WO2009100670A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105469805B (en) 2012-03-01 2018-01-12 华为技术有限公司 A kind of voice frequency signal treating method and apparatus
KR101864122B1 (en) 2014-02-20 2018-06-05 삼성전자주식회사 Electronic apparatus and controlling method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488137A (en) * 2001-01-24 2004-04-07 �����ɷ� Enhanced conversion of wideband signals to narrow band signals
CN1942928A (en) * 2004-04-15 2007-04-04 诺基亚公司 Coding of audio signals
CN101107650A (en) * 2005-01-14 2008-01-16 松下电器产业株式会社 Audio switching device and audio switching method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10177395A (en) * 1996-12-17 1998-06-30 New Japan Radio Co Ltd Signal processing method
US7571104B2 (en) * 2005-05-26 2009-08-04 Qnx Software Systems (Wavemakers), Inc. Dynamic real-time cross-fading of voice prompts
CN1878249A (en) * 2005-07-25 2006-12-13 白峰 Fade-in fade-out type TV frequency channel switching method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488137A (en) * 2001-01-24 2004-04-07 �����ɷ� Enhanced conversion of wideband signals to narrow band signals
CN1942928A (en) * 2004-04-15 2007-04-04 诺基亚公司 Coding of audio signals
CN101107650A (en) * 2005-01-14 2008-01-16 松下电器产业株式会社 Audio switching device and audio switching method

Also Published As

Publication number Publication date
WO2009100670A1 (en) 2009-08-20
CN101499278A (en) 2009-08-05

Similar Documents

Publication Publication Date Title
KR102077308B1 (en) Metadata driven dynamic range control
CN104681030B (en) Apparatus and method for encoding/decoding signal
KR100548891B1 (en) Audio coding apparatus and method
CN102089809B (en) Method and apparatus for providing improved audio processing
CN101203907B (en) Audio encoding apparatus, audio decoding apparatus and audio encoding information transmitting apparatus
CN1992533B (en) Signal encoding device and signal encoding method, signal decoding device and signal decoding method, program, and medium
CN102652337B (en) Device and method for acoustic communication
US5864820A (en) Method, system and product for mixing of encoded audio signals
TW200529548A (en) Adaptive hybrid transform for signal analysis and synthesis
CN105074821B (en) Audio coder and decoder
CN101964189A (en) Audio signal switching method and device
CN106653036B (en) Audio mixing code-transferring method based on OTT boxes
KR20000023674A (en) A method of coding and decoding audio signals
JP2003506763A (en) Scaleable encoding method for high quality audio
KR20070034481A (en) How to code an echo sound signal
WO2004086817A2 (en) Coding of main and side signal representing a multichannel signal
CN1997988A (en) Method of making a window type decision based on MDCT data in audio encoding
CN111768793A (en) LC3 audio encoder coding optimization method, system and storage medium
CN107371092A (en) A kind of microphone array signals processing system and method
CN101499278B (en) Audio signal switching and processing method and apparatus
US11900952B2 (en) Time-domain stereo encoding and decoding method and related product
KR102650806B1 (en) Stereo encoding method and stereo encoder
CN1552171A (en) Audio reproducing device
JP4213708B2 (en) Audio decoding device
EP0817168A1 (en) Reproducing speed changer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210422

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.