CN106328158B - Speech signal processing device and audio signal processing method - Google Patents
Speech signal processing device and audio signal processing method Download PDFInfo
- Publication number
- CN106328158B CN106328158B CN201510336577.4A CN201510336577A CN106328158B CN 106328158 B CN106328158 B CN 106328158B CN 201510336577 A CN201510336577 A CN 201510336577A CN 106328158 B CN106328158 B CN 106328158B
- Authority
- CN
- China
- Prior art keywords
- sample point
- scaled signals
- count value
- signals frame
- frame
- 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
- Synchronisation In Digital Transmission Systems (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The present invention provides a kind of speech signal processing device and audio signal processing method.Number the last one sample point of corresponding sample point phase matched with phase reference sample point in m-th of original down-scaled signals frame according to phase reference sample point number decision in m-th of original down-scaled signals frame and corresponding to the intermediate sample point of m-th of update down-scaled signals frame.The continuous p sample point that the last one sampling is lighted using this updates the sample point of down-scaled signals frame as the m+1, and phase mismatches caused distorted signals situation when effectively improving the overlapping of signal frame.
Description
Technical field
The present invention relates to a kind of signal processing apparatus more particularly to a kind of speech signal processing devices and Speech processing
Method.
Background technique
For hearing-impaired people, the voice signal of higher-frequency, such as consonant letter often can not be clearly received
Number, but the signal of low frequency can clearly be heard.The general prior art is by dropping the voice signal of high frequency
Frequently, and by signal frame it is overlapped, to solve the problems, such as this.However, since the prior art is when carrying out the overlap action of signal frame,
It can't consider whether its phase matches, therefore the feelings of a part of signal addition, a part of signal subtraction will occur in overlapping
Shape in turn results in the distortion of signal.
Summary of the invention
The present invention provides a kind of speech signal processing device and audio signal processing method, can effectively improve signal frame weight
Phase mismatches caused distorted signals situation when folded.
Speech signal processing device of the invention includes processing unit, to frequency reducing sampled voice signal, to generate packet
The down-scaled signals of the original down-scaled signals frame of a sequence are included, and generate corresponding update down-scaled signals according to original down-scaled signals frame
Frame, wherein each original down-scaled signals frame includes p sample point.Processing unit also according in m-th of original down-scaled signals frame with
Phase reference sample point number corresponding to the intermediate sample point of m-th of update down-scaled signals frame is determined in m-th of original frequency reducing
The last one sample point of corresponding sample point phase matched is numbered in signal frame with phase reference sample point, it will oneself and phase base
The continuous p sample point that the last one sampling that quasi- sample point numbers corresponding sample point phase matched is lighted is as m+1
The sample point of down-scaled signals frame, and the update down-scaled signals frame that aliasing is adjacent are updated, to generate overlapping voice signal, wherein p is
Positive integer, m are the positive integer greater than 1.
In one embodiment of this invention, the above-mentioned two neighboring overlay region for updating down-scaled signals frame and being respectively provided with 50%
Section.
In one embodiment of this invention, above-mentioned processing unit is also according to sample point in m-th of original down-scaled signals frame
Sampling value adds up the first count value and the second count value, wherein the processing unit when down-scaled signals switch to negative half period by positive half cycle
Be zeroed the first count value, the second count value of processing unit zero when down-scaled signals switch to negative half period by negative half period.Processing unit
First count value corresponding to corresponding sample point being numbered with phase reference sample point in m-th of original down-scaled signals frame or
Two count values are as a reference value, and benchmark value determines to number in m-th of original down-scaled signals frame with phase reference sample point
The last one sample point of corresponding sample point phase matched.
In one embodiment of this invention, above-mentioned processing unit also judge in m-th of original down-scaled signals frame with phase base
Quasi- sample point number the first count value corresponding to corresponding sample point whether be less than or equal in m-th of original down-scaled signals frame with
Phase reference sample point numbers the second count value corresponding to corresponding sample point.If in m-th of original down-scaled signals frame with phase
Position benchmark sample point number the first count value corresponding to corresponding sample point less than or equal in m-th original down-scaled signals frame with
Phase reference sample point numbers the second count value corresponding to corresponding sample point, by m-th of original down-scaled signals frame with phase
Position benchmark sample point numbers the first count value corresponding to corresponding sample point as a reference value, and m-th of original frequency reducing is believed
The sample point finally sampled in corresponding sample point when the first count value is equal to a reference value in number frame is as m-th of original frequency reducing
The last one sample point for numbering corresponding sample point phase matched in signal frame with phase reference sample point, if m-th original
First count value corresponding to phase reference sample point numbering corresponding sample point in down-scaled signals frame is no less than being equal to m-th
Second count value corresponding to phase reference sample point numbering corresponding sample point in original down-scaled signals frame, by m-th of original
Second count value corresponding to phase reference sample point numbering corresponding sample point in beginning down-scaled signals frame as a reference value, and
The sample point finally sampled in corresponding sample point when second count value in m-th of original down-scaled signals frame is equal to a reference value
It is taken as the last one for numbering corresponding sample point phase matched in m-th of original down-scaled signals frame with phase reference sample point
Sampling point.
In one embodiment of this invention, above-mentioned processing unit is also by down-scaled signals multiplied by a Hamming window.
Audio signal processing method of the invention includes the following steps.Frequency reducing sampled voice signal includes a sequence to generate
The down-scaled signals of the original down-scaled signals frame of column, wherein each original down-scaled signals frame includes p sample point, wherein p is positive integer.
Phase reference corresponding to the intermediate sample point of down-scaled signals frame is updated with m-th according in m-th of original down-scaled signals frame
Sample point number determines the sample point phase matched corresponding with phase reference sample point number in m-th of original down-scaled signals frame
The last one sample point, wherein m is positive integer greater than 1.It will be from sample point phase corresponding with phase reference sample point number
The continuous p sample point that the last one matched sampling of position is lighted updates the sample point of down-scaled signals frame as the m+1.Aliasing
Adjacent update down-scaled signals frame, to generate overlapping voice signal.
In one embodiment of this invention, the above-mentioned two neighboring overlay region for updating down-scaled signals frame and being respectively provided with 50%
Section.
In one embodiment of this invention, above-mentioned foundation is believed in m-th of original down-scaled signals frame with m-th of update frequency reducing
The number of phase reference sample point corresponding to the intermediate sample point of number frame determine in m-th of original down-scaled signals frame with phase base
Quasi- sample point is numbered the step of the last one sample point of corresponding sample point phase matched and is included the following steps.According to m-th
The sampling value of sample point adds up the first count value and the second count value in original down-scaled signals frame, wherein when down-scaled signals are by just
Half cycle switchs to first count value that is zeroed when negative half period, and be zeroed the second count value when down-scaled signals switch to negative half period by negative half period.
First count value corresponding to corresponding sample point being numbered with phase reference sample point in m-th of original down-scaled signals frame or
Two count values are as a reference value.Benchmark value determine in m-th of original down-scaled signals frame with phase reference sample point number pair
The last one sample point of the phase matched for the sample point answered.
In one embodiment of this invention, above-mentioned to be numbered in m-th of original down-scaled signals frame with phase reference sample point
First count value or the second count value corresponding to corresponding sample point include the following steps as the step of a reference value.Judge
Whether the first count value corresponding to phase reference sample point numbering corresponding sample point in m original down-scaled signals frames is less than
Second count value corresponding to phase reference sample point numbering corresponding sample point in equal to m-th original down-scaled signals frame.
If the first count value corresponding to phase reference sample point numbering corresponding sample point in m-th of original down-scaled signals frame is less than
Second count value corresponding to phase reference sample point numbering corresponding sample point in equal to m-th original down-scaled signals frame,
First count value corresponding to corresponding sample point being numbered with phase reference sample point in m-th of original down-scaled signals frame as
A reference value.If the first meter corresponding to phase reference sample point numbering corresponding sample point in m-th of original down-scaled signals frame
Numerical value no less than be equal in m-th original down-scaled signals frame number corresponding sample point with phase reference sample point corresponding to the
Two count values, corresponding sample point will be numbered with phase reference sample point in m-th of original down-scaled signals frame corresponding to second
Count value is as a reference value.
In one embodiment of this invention, if it is corresponding with phase reference sample point number in m-th of original down-scaled signals frame
Sample point corresponding to the first count value be less than or equal in m-th original down-scaled signals frame and phase reference sample point number pair
Second count value corresponding to the sample point answered, above-mentioned audio signal processing method include, will be in m-th of original down-scaled signals frame
The sample point finally sampled in first count value sample point corresponding when being equal to a reference value is as m-th of original down-scaled signals frame
In the last one sample point of corresponding sample point phase matched is numbered with phase reference sample point.
In one embodiment of this invention, if it is corresponding with phase reference sample point number in m-th of original down-scaled signals frame
Sample point corresponding to the first count value no less than being equal in m-th original down-scaled signals frame and phase reference sample point is numbered
Second count value corresponding to corresponding sample point, above-mentioned audio signal processing method include, by m-th of original down-scaled signals frame
In the sample point that is finally sampled in corresponding sample point when being equal to a reference value of the second count value as m-th of original down-scaled signals
The last one sample point of corresponding sample point phase matched is numbered in frame with phase reference sample point.
In one embodiment of this invention, above-mentioned audio signal processing method includes, by down-scaled signals multiplied by Hamming window.
Based on above-mentioned, the embodiment of the present invention according in m-th of original down-scaled signals frame with m-th of update down-scaled signals
Phase reference sample point corresponding to the intermediate sample point of frame number determine in m-th of original down-scaled signals frame with phase reference
Sample point numbers the last one sample point of corresponding sample point phase matched, will be certainly corresponding with phase reference sample point number
The continuous p sample point that the last one sampling of sample point phase matched is lighted updates taking for down-scaled signals frame as the m+1
Sampling point, phase mismatches caused distorted signals situation when effectively improving the overlapping of signal frame.
To make the foregoing features and advantages of the present invention clearer and more comprehensible, special embodiment below, and it is detailed to cooperate attached drawing to make
Carefully it is described as follows.
Detailed description of the invention
Fig. 1 shows the schematic diagram of the speech signal processing device of one embodiment of the invention;
Fig. 2 shows the signal processing schematic diagrames of the sampled voice signal of one embodiment of the invention;
Fig. 3 shows the schematic diagram of the original down-scaled signals frame WL2 of one embodiment of the invention;
Fig. 4 shows the flow diagram of the audio signal processing method of one embodiment of the invention;
Fig. 5 shows the flow diagram of the audio signal processing method of another embodiment of the present invention.
Description of symbols:
102: processing unit;
104: sampling unit;
S1: primary speech signal;
S2: sampled voice signal;
W1~W4: sampled signal frame;
WL1~WL4: original down-scaled signals frame;
WL1 '~WL4 ': down-scaled signals frame is updated;
WH1~WH4: multiplied by the update down-scaled signals frame after Hamming window;
SL, SL ', SH: down-scaled signals;
First count value;
N: sample point number;
SO: overlapping voice signal;
S402~S410, S502~S512: the step of audio signal processing method.
Specific embodiment
Fig. 1 shows the schematic diagram of the speech signal processing device of one embodiment of the invention, please refers to Fig. 1.At voice signal
Reason device includes processing unit 102 and sampling unit 104, and processing unit 102 couples sampling unit 104, wherein processing unit
102 can for example be implemented with central processing unit, and sampling unit 104 then can for example be implemented with logic circuit, so not with this
It is limited.104 sampling primary speech signal S1 of sampling unit, to generate sampled voice signal S2.Processing unit 102 can frequency reducing take
Sample voice signal S2 is to generate the down-scaled signals of the down-scaled signals frame including a sequence, sampled voice signal as illustrated in Figure 2
Shown in the signal processing schematic diagram of S2, sampled voice signal S2 may include the sampled signal frame of a sequence, to simplify explanation, scheme
4 sampled signal frame W1~W4 are only shown in 2 embodiments, are so not limited thereto.Down-scaled signals SL includes multiple original frequency reducings
Signal frame WL1~WL4, as down-scaled signals SL be frequency reducing sampled voice signal S2 obtained by, original down-scaled signals frame
The length of sampled signal frame of the length greater than sampled voice signal S2.
The sample point that processing unit 102 can be included by adjusting original down-scaled signals frame, and obtain updating down-scaled signals
Frame (such as update down-scaled signals frame WL1 '~WL4 ' of Fig. 2), make it is each update down-scaled signals frame intermediate sample point with it is next
The phase matched of a initial sample point for updating down-scaled signals frame, and then improve when signal frame is overlapped caused by phase mismatch
Distorted signals situation.
Furthermore, it is understood that each original down-scaled signals frame may include p sample point, wherein p is positive integer, processing unit
102 can will update sample point corresponding to the intermediate sample point of down-scaled signals frame with m-th in m-th of original down-scaled signals frame
Number is numbered as phase reference sample point, and is determined according to phase reference sample point number in m-th of original down-scaled signals frame
In number the last one sample point of corresponding sample point phase matched with this phase reference sample point, and will since then the last one
The sample point that the continuous p sample point lighted updates down-scaled signals frame as the m+1 is sampled, so that m-th of update frequency reducing is believed
The phase matched of the initial sample point of the intermediate sample point of number frame and the m+1 update down-scaled signals frame, wherein m is greater than 1
Positive integer.In this way, which m-th of update down-scaled signals frame and the m+1 signal frame for updating down-scaled signals frame progress 50% are mixed
When folded (that is, m-th of update down-scaled signals frame and the m+1 update down-scaled signals frame have the overlap section with 50% respectively),
The unmatched situation of phase can be reduced significantly, and improve the situation of distorted signals.
Specifically, processing unit 102 can be according to the sampling value of sample point in m-th of original down-scaled signals frame accumulative first
Count value and the second count value, wherein first count value that is zeroed when down-scaled signals SL switchs to negative half period by positive half cycle, works as drop
Frequency signal is zeroed the second count value when switching to negative half period by negative half period.Specifically, the bulk billing system of above-mentioned count value can foundation
Following formula (1)~(4) indicate:
Wherein m is the positive integer greater than 1, and n=0,1,2 ..., 2N-2, N is the positive integer greater than 1, sm(n) former for m-th
The sampling value of the sample point of number n, PN in beginning down-scaled signals framemIt (n) is by sampling value sm(n) switch to indicate it with " 1 ", " 0 "
It is worth, wherein PNm(- 1)=PNm(0)。Corresponding to sample point for number n in m-th of original down-scaled signals frame
One count value, andSecond count value corresponding to sample point for number n in m-th of original down-scaled signals frame, whereinAndFrom formula (1), (2)It is tired in positive half cycle for corresponding down-scaled signals
Count value is counted, andFor stored count value of the corresponding down-scaled signals in negative half period.As shown in formula (1)~(4), at this
In embodiment, by sampling value sm(n) it is more than or equal to 0 and sm(n) less than 0 sampling value when is set to 1,0, is counting first
Count valueWhen handleIn addition the first corresponding counting value returns when equal to 1 and are counting the second count valueWhen handleThe second corresponding counting value returns when equal to -1.
Processing unit 102 can by m-th of original down-scaled signals frame with it is acquired in m-th of updates down-scaled signals frame
Phase reference sample point number the first count value or the second count value corresponding to corresponding sample point as a reference value, and according to
A reference value determines in m-th of original down-scaled signals frame and sample point phase matched corresponding with phase reference sample point number accordingly
The last one sample point.Such as processing unit 102 can determine whether to compile in m-th of original down-scaled signals frame with phase reference sample point
Whether the first count value corresponding to number corresponding sample point is less than or equal in m-th of original down-scaled signals frame take with phase reference
Sampling point numbers the second count value corresponding to corresponding sample point, can be indicated with following formula (5):
WhereinTo be sampled in m-1 original down-scaled signals frames with m-1 the intermediate of original down-scaled signals frame
Number corresponding to the last one sample point of the phase matched of point is equal to m-th corresponding in m-th of original down-scaled signals frame
Update the number of the sample point of the last one sample point of down-scaled signals frame.For example, in FIG. 2, it is assumed that each original down-scaled signals
Respectively include 0,1,2 in frame WL1~WL4 ..., 200 equal 201 sample points, in original down-scaled signals frame WL1 with original frequency reducing
Number corresponding to the last one sample point of the phase matched of the intermediate sample point of signal frame WL1 is 188, and in original frequency reducing
The number of the corresponding sample point for updating the last one sample point of down-scaled signals frame WL2 ' is also 188 in signal frame WL2.To be updated corresponding to the intermediate sample point of down-scaled signals frame in m-th of original down-scaled signals frame with m-th
Phase reference sample point number, such as in Fig. 2, in original down-scaled signals frame WL2 and in update down-scaled signals frame WL2 '
Between the number of sample point sample point corresponding to sample point be 88 (that is, phase reference sample point number is 88, N 101).It is right with the corresponding sample point of phase reference sample point number in for m-th original down-scaled signals frame
The first count value answered,For in m-th of original down-scaled signals frame with phase reference sample point number pair
Second count value corresponding to the sample point answered.
If the first meter corresponding to phase reference sample point numbering corresponding sample point in m-th of original down-scaled signals frame
Numerical value be less than or equal in m-th original down-scaled signals frame to number corresponding sample point with phase reference sample point corresponding to second
Count value, processing unit 102 are right by sample point institute corresponding with phase reference sample point number in m-th of original down-scaled signals frame
First the first count value of count value answered is equal to base as a reference value, and by the first count value in m-th of original down-scaled signals frame
The sample point finally sampled in corresponding sample point when quasi- value as the last one sample point, can with following formula (6),
(7) it indicates:
As formula (6), (7) it is found that working as the first counting corresponding to the sample point of number n in m-th of original down-scaled signals frame
Value be equal in m-th original down-scaled signals frame number corresponding sample point with phase reference sample point corresponding to the first count value
When,Equal to number n corresponding to sample point, otherwiseEqual to 0.AndThen for all
In maximum value, represent and number the phase of corresponding sample point with phase reference sample point in m-th of original down-scaled signals frame
The number of the last one matched sample point of position, initial sample of this sample point to update down-scaled signals frame as the m+1
Point.
On the contrary, if in m-th of original down-scaled signals frame corresponding to sample point corresponding with phase reference sample point number
The first count value no less than being equal to sample point corresponding with phase reference sample point number institute in m-th original down-scaled signals frame
Corresponding second count value (that is, formula (5) is invalid), then processing unit 102 by m-th of original down-scaled signals frame with phase
Benchmark sample point numbers the second count value corresponding to corresponding sample point as a reference value, and by m-th of original down-scaled signals
The sample point finally sampled in corresponding sample point when the second count value is equal to a reference value in frame as the last one sample point,
It can be indicated with following formula (8), (9):
By formula (8), (9) it is found that working asCorresponding to sample point for number n in m-th of original down-scaled signals frame
The second count value be equal in m-th original down-scaled signals frame and number corresponding sample point with phase reference sample point corresponding to
When the second count value,Equal to number n corresponding to sample point, otherwiseEqual to 0.AndThen in institute
HaveIn maximum value, represent it is corresponding with phase reference sample point number in m-th of original down-scaled signals frame
The number of the last one sample point of the phase matched of sample point, this sample point is to as the m+1 update down-scaled signals frame
Initial sample point.
As an example it is assumed that each original down-scaled signals frame WL1~WL4 in Fig. 2 respectively includes 201 sample points, also
0,1,2 is respectively included in i.e. each original down-scaled signals frame WL1~WL4 ..., 200 equal 201 sample points.Believe in original frequency reducing
In number frame WL2 with update down-scaled signals frame WL2 ' intermediate sample point corresponding to phase reference sample point number (it is 88) institute
Corresponding first count valueLess than or equal in original down-scaled signals frame WL2 and in update down-scaled signals frame WL2 '
Between corresponding second count value of phase reference sample point number sample point corresponding to sample pointAnd in original frequency reducing
First corresponding to the intermediate sample point (that is, sample point that number is 88 in original down-scaled signals frame WL2) of signal frame WL2
Count valueIt is 18.
To find out the initial sample point for updating down-scaled signals frame WL3 ', processing unit 102 is countable in original down-scaled signals
First count value in frame WL2The number of corresponding sample point is (due in original down-scaled signals frame WL2 when equal to 18
First count value corresponding to the sample point that middle number is 88Less than corresponding second count valueTherefore
With the first count valueAs a reference value).Shown in the schematic diagram of the original down-scaled signals frame WL2 shown as depicted in fig. 3,
In the embodiment of Fig. 3, the first count value in original down-scaled signals frame WL2The volume of corresponding sample point when equal to 18
Number (that is, not equal to 0Value) include number 20,40,63,79,100,125,142,163,192 etc. sampling
Point, wherein the sample point of number 192 is the first count value in original down-scaled signals frame WL2Equal to a reference value (its value
For 18) when corresponding sample point in the sample point that finally samples, thereforeEqual to 192, processing unit 102 as
Update the initial sample point of down-scaled signals frame WL3 ', and the company that will be lighted from the sampling of number 192 in original down-scaled signals frame WL2
Continuous 201 sample points are as the sample point for updating down-scaled signals frame WL3 '.As shown in Fig. 2, update down-scaled signals frame WL3 ' includes
Number 192 and number in the sample point of number 183~200 and original down-scaled signals frame WL3 in original down-scaled signals frame WL2
192 pervious sample points, wherein (it is that the centre of update down-scaled signals frame WL3 ' takes to number 92 in original down-scaled signals frame WL2
Sampling point sample point number corresponding in original down-scaled signals frame WL3) it can be used as phase reference sample point number, to make
For the foundation for finding the initial sample point for updating down-scaled signals frame WL4 '.Similarly, initially taking for down-scaled signals frame WL4 ' is updated
Sampling point can also similar mode obtain, therefore details are not described herein.
Significantly, since original down-scaled signals frame WL1 is first original down-scaled signals frame, therefore update frequency reducing
The sample point of signal frame WL1 ' is sample point included by original down-scaled signals frame WL1, and in original down-scaled signals frame WL1 with
Updating the number of phase reference sample point corresponding to the intermediate sample point of down-scaled signals frame WL1 ' is 100.In the present embodiment, former
In beginning down-scaled signals frame WL1 with the last one sample point institute of the phase matched of the intermediate sample point of original down-scaled signals frame WL1
Corresponding number is 188 (being so not limited), wherein the last one sample point (sample point of number 188) seek mode with
Above-described embodiment is similar, and those skilled in the art should can push away to obtain embodiments thereof according to above content, therefore herein no longer
It repeats.
In the sample point for having adjusted each original down-scaled signals frame and being included, and obtain corresponding update down-scaled signals frame
Afterwards, processing unit 102 can carry out 50% aliasing to adjacent update down-scaled signals frame, to generate overlapping voice signal, by
In the phase of the intermediate sample point for updating down-scaled signals frame each at this time and next initial sample point for updating down-scaled signals frame
Matching, therefore distorted signals situation caused by phase mismatch will be significantly enhanced when the overlapping of signal frame.In addition, in part
It, also can be after obtaining the corresponding update down-scaled signals frame of each original down-scaled signals frame, by down-scaled signals multiplied by the Chinese in embodiment
Bright window (Hamming Window), to increase the continuity for updating down-scaled signals frame or so end.As shown in Fig. 2, that will include more
After the down-scaled signals SL ' of new down-scaled signals frame WL1 '~WL4 ' is multiplied by Hamming window, can obtain include update down-scaled signals frame WH1~
Then the down-scaled signals SH of WH4 will update down-scaled signals frame WH1~WH4 again and carry out aliasing, overlapping voice signal can be obtained
SO。
Fig. 4 shows the flow diagram of the audio signal processing method of one embodiment of the invention, referring to figure 4..By above-mentioned
Embodiment is it is found that the audio signal processing method of speech signal processing device may include the following steps.Firstly, sampling raw tone
Signal, to generate sampled voice signal (step S402).Then, frequency reducing sampled voice signal, to generate the original for including a sequence
The down-scaled signals (step S404) of beginning down-scaled signals frame, wherein each original down-scaled signals frame includes p sample point, wherein p is positive
Integer.Then, it is updated corresponding to the intermediate sample point of down-scaled signals frame according in m-th of original down-scaled signals frame with m-th
Phase reference sample point number determine the sampling corresponding with phase reference sample point number in m-th of original down-scaled signals frame
The last one sample point (step S406) of point phase matched, wherein m is the positive integer greater than 1.It later, will oneself and phase reference
The continuous p sample point that the last one sampling that sample point numbers corresponding sample point phase matched is lighted is a more as m+1
The sample point (step S408) of new down-scaled signals frame.Finally, the adjacent update down-scaled signals frame of aliasing again, to generate overlapping voice
Signal (step S410), wherein the two neighboring overlap section for updating down-scaled signals frame and being for example respectively provided with 50%.
Fig. 5 shows the flow diagram of the audio signal processing method of another embodiment of the present invention, referring to figure 5..In detail
For, the step S406 of Fig. 4 embodiment may include step S502~S506 in the present embodiment, that is, first original according to m-th
The sampling value of sample point adds up the first count value and the second count value in down-scaled signals frame, wherein when down-scaled signals are by positive half cycle
Switch to first count value that is zeroed when negative half period, be zeroed the second count value (step when down-scaled signals switch to negative half period by negative half period
S502), then will number corresponding sample point with phase reference sample point in m-th of original down-scaled signals frame corresponding to first
Count value or the second count value are as a reference value (step S504), and benchmark value determines m-th of original down-scaled signals again later
The last one sample point (step S506) of the phase matched of corresponding sample point is numbered in frame with phase reference sample point.More into
For one step, step S504 may include first judge it is corresponding with phase reference sample point number in m-th of original down-scaled signals frame
Whether the first count value corresponding to sample point is less than or equal in m-th of original down-scaled signals frame number with phase reference sample point
Second count value (step S508) corresponding to corresponding sample point.If being taken in m-th of original down-scaled signals frame with phase reference
Sampling point is numbered the first count value corresponding to corresponding sample point and is less than or equal in m-th of original down-scaled signals frame and phase reference
Sample point numbers the second count value corresponding to corresponding sample point, will take in m-th of original down-scaled signals frame with phase reference
Sampling point numbers corresponding to corresponding sample point that the first count value is as a reference value (step S510), in this case, in step
It is finally sampled in sample point S506 corresponding when the first count value in m-th of original down-scaled signals frame can be equal to a reference value
Sample point numbers the last of corresponding sample point phase matched with phase reference sample point as in m-th of original down-scaled signals frame
One sample point.On the contrary, if sample point institute corresponding with phase reference sample point number is right in m-th of original down-scaled signals frame
Sample point corresponding with phase reference sample point number in no less than equal to m-th original down-scaled signals frame of the first count value answered
The second corresponding count value, by sample point corresponding with phase reference sample point number institute in m-th of original down-scaled signals frame
Corresponding second count value is as a reference value (step S512), in this case, can believe m-th of original frequency reducing in step S506
The sample point finally sampled in corresponding sample point when the second count value is equal to a reference value in number frame is as m-th of original frequency reducing
The last one sample point of corresponding sample point phase matched is numbered in signal frame with phase reference sample point.
In conclusion the embodiment of the present invention according in m-th of original down-scaled signals frame with m-th of update down-scaled signals
Phase reference sample point corresponding to the intermediate sample point of frame number determine in m-th of original down-scaled signals frame with phase reference
Sample point numbers the last one sample point of corresponding sample point phase matched, will be certainly corresponding with phase reference sample point number
The continuous p sample point that the last one sampling of sample point phase matched is lighted updates taking for down-scaled signals frame as the m+1
Sampling point mismatches caused distorted signals situation to effectively improve phase when signal frame overlaps.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (12)
1. a kind of speech signal processing device characterized by comprising
Processing unit carries out frequency reducing to sampled voice signal, to generate the frequency reducing letter of the original down-scaled signals frame including a sequence
Number, and corresponding update down-scaled signals frame is generated according to those original down-scaled signals frames, wherein each original down-scaled signals frame
Including p sample point, the processing unit updates down-scaled signals frame with m-th according in m-th of original down-scaled signals frame
Phase reference sample point corresponding to intermediate sample point number determine in described m-th original down-scaled signals frame with the phase
Benchmark sample point numbers the last one sample point of corresponding sample point phase matched, will compile from the phase reference sample point
The continuous p sample point that the last one described sampling of number corresponding sample point phase matched is lighted is dropped as the m+1 update
The sample point of frequency signal frame, the adjacent update down-scaled signals frame of aliasing, to generate overlapping voice signal, wherein the phase reference
Sample point number is the intermediate sample point for updating down-scaled signals frame with described m-th in described m-th original down-scaled signals frame
The number of corresponding sample point, p is positive integer, m is the positive integer greater than 1.
2. speech signal processing device according to claim 1, which is characterized in that the two neighboring update down-scaled signals
Frame is respectively provided with 50% overlap section.
3. speech signal processing device according to claim 2, which is characterized in that the processing unit is also according to described
The sampling value of sample point adds up the first count value and the second count value in m original down-scaled signals frames, wherein when the frequency reducing
Signal is zeroed first count value when switching to negative half period by positive half cycle, when the down-scaled signals switch to negative half period by negative half period
Be zeroed second count value, will be corresponding with the phase reference sample point number in described m-th original down-scaled signals frame
First count value or second count value corresponding to sample point determine institute as a reference value, and according to a reference value
It states and numbers the described last of corresponding sample point phase matched in m-th of original down-scaled signals frame with the phase reference sample point
One sample point.
4. speech signal processing device according to claim 3, which is characterized in that the processing unit also judges described
First count value corresponding to corresponding sample point is numbered with the phase reference sample point in m original down-scaled signals frames
It is right whether in described m-th original down-scaled signals frame with the phase reference sample point number corresponding sample point institute is less than or equal to
Second count value answered, if corresponding with the phase reference sample point number in m-th of original down-scaled signals frame
First count value corresponding to sample point is less than or equal in described m-th original down-scaled signals frame take with the phase reference
Sampling point numbers second count value corresponding to corresponding sample point, by described m-th original down-scaled signals frame with it is described
Phase reference sample point numbers first count value corresponding to corresponding sample point as a reference value, and by described
What is finally sampled in the sample point corresponding when being equal to a reference value of first count value described in m original down-scaled signals frames takes
Sampling point is as sample point phase matched corresponding with the phase reference sample point number in described m-th original down-scaled signals frame
The last one described sample point, if corresponding with the phase reference sample point number in m-th of original down-scaled signals frame
Sample point corresponding to first count value no less than being equal in described m-th original down-scaled signals frame and the phase base
Quasi- sample point numbers second count value corresponding to corresponding sample point, by described m-th original down-scaled signals frame with
The phase reference sample point numbers second count value corresponding to corresponding sample point as a reference value, and by institute
It is finally sampled in corresponding sample point when stating the second count value described in m-th of original down-scaled signals frame equal to a reference value
Sample point as sample point phase corresponding with the phase reference sample point number in described m-th original down-scaled signals frame
The last one matched described sample point.
5. speech signal processing device according to claim 1, which is characterized in that the processing unit is also by the frequency reducing
Signal is multiplied by Hamming window.
6. a kind of audio signal processing method characterized by comprising
Frequency reducing is carried out to sampled voice signal, to generate the down-scaled signals of the original down-scaled signals frame including a sequence, wherein respectively
The original down-scaled signals frame includes p sample point, and wherein p is positive integer;
Phase corresponding to the intermediate sample point of down-scaled signals frame is updated with m-th according in m-th of original down-scaled signals frame
Benchmark sample point number determines corresponding with the phase reference sample point number in described m-th original down-scaled signals frame take
The last one sample point of sampling point phase matched, wherein phase reference sample point number is in described m-th original frequency reducing
The number of sample point corresponding to the intermediate sample point of down-scaled signals frame is updated in signal frame with described m-th, m is greater than 1
Positive integer;And
What the last one sampling described in numbering corresponding sample point phase matched with the phase reference sample point certainly was lighted
Continuous p sample point updates the sample point of down-scaled signals frame as the m+1;And
The adjacent update down-scaled signals frame of aliasing, to generate overlapping voice signal.
7. audio signal processing method according to claim 6, which is characterized in that the two neighboring update down-scaled signals
Frame is respectively provided with 50% overlap section.
8. audio signal processing method according to claim 7, which is characterized in that according in m-th of original down-scaled signals
The number of phase reference sample point corresponding to the intermediate sample point of down-scaled signals frame is updated with m-th in frame to determine in the m
The last one sampling of corresponding sample point phase matched is numbered in a original down-scaled signals frame with the phase reference sample point
Point the step of include:
Sampling value according to sample point in described m-th original down-scaled signals frame adds up the first count value and the second count value,
Wherein be zeroed when the down-scaled signals switch to negative half period by positive half cycle first count value, when the down-scaled signals are by negative half
Turnover is second count value that is zeroed when negative half period;
Institute corresponding to corresponding sample point will be numbered with the phase reference sample point in described m-th original down-scaled signals frame
The first count value or second count value are stated as a reference value;And
It is determined according to a reference value corresponding with the phase reference sample point number in m-th of original down-scaled signals frame
The last one described sample point of the phase matched of sample point.
9. audio signal processing method according to claim 8, which is characterized in that by described m-th original down-scaled signals
First count value corresponding to corresponding sample point or second counting are numbered in frame with the phase reference sample point
The step of value is as a reference value include:
Judge to number corresponding to corresponding sample point in described m-th original down-scaled signals frame with the phase reference sample point
Whether first count value is less than or equal in described m-th original down-scaled signals frame and phase reference sample point number pair
Second count value corresponding to the sample point answered;
If numbering institute corresponding to corresponding sample point with the phase reference sample point in m-th of original down-scaled signals frame
State corresponding with the phase reference sample point number in less than or equal to described m-th original down-scaled signals frame of the first count value take
Second count value corresponding to sampling point will be compiled in described m-th original down-scaled signals frame with the phase reference sample point
First count value corresponding to number corresponding sample point is as a reference value;And
If numbering institute corresponding to corresponding sample point with the phase reference sample point in m-th of original down-scaled signals frame
It is corresponding with the phase reference sample point number in described m-th original down-scaled signals frame no less than being equal to state the first count value
Second count value corresponding to sample point, by described m-th original down-scaled signals frame with the phase reference sample point
Second count value corresponding to corresponding sample point is numbered as a reference value.
10. audio signal processing method according to claim 9, which is characterized in that if m-th of original down-scaled signals
First count value corresponding to corresponding sample point is numbered less than or equal to the m with the phase reference sample point in frame
Second count value corresponding to corresponding sample point is numbered in a original down-scaled signals frame with the phase reference sample point,
The audio signal processing method includes:
When by the first count value described in described m-th original down-scaled signals frame equal to a reference value in corresponding sample point
The sample point finally sampled takes as corresponding with the phase reference sample point number in described m-th original down-scaled signals frame
The last one described sample point of sampling point phase matched.
11. audio signal processing method according to claim 9, which is characterized in that if m-th of original down-scaled signals
First count value corresponding to corresponding sample point is numbered no less than equal to described with the phase reference sample point in frame
Second counting corresponding to corresponding sample point is numbered in m-th of original down-scaled signals frame with the phase reference sample point
Value, the audio signal processing method include:
When by the second count value described in described m-th original down-scaled signals frame equal to a reference value in corresponding sample point
The sample point finally sampled takes as corresponding with the phase reference sample point number in described m-th original down-scaled signals frame
The last one described sample point of sampling point phase matched.
12. audio signal processing method according to claim 6 characterized by comprising
By the down-scaled signals multiplied by Hamming window.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510336577.4A CN106328158B (en) | 2015-06-17 | 2015-06-17 | Speech signal processing device and audio signal processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510336577.4A CN106328158B (en) | 2015-06-17 | 2015-06-17 | Speech signal processing device and audio signal processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106328158A CN106328158A (en) | 2017-01-11 |
CN106328158B true CN106328158B (en) | 2019-08-06 |
Family
ID=57732805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510336577.4A Active CN106328158B (en) | 2015-06-17 | 2015-06-17 | Speech signal processing device and audio signal processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106328158B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101167125A (en) * | 2005-03-11 | 2008-04-23 | 高通股份有限公司 | Method and apparatus for phase matching frames in vocoders |
CN101944364A (en) * | 2009-07-09 | 2011-01-12 | 展讯通信(上海)有限公司 | Voice frequency processing method and voice frequency system |
CN103581815A (en) * | 2012-08-08 | 2014-02-12 | 杨国屏 | Method for improving correctness of sounds heard by hearing-impaired listeners and hearing aid |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI253625B (en) * | 2004-04-06 | 2006-04-21 | I-Shun Huang | Signal-processing system and method thereof |
US8804984B2 (en) * | 2011-04-18 | 2014-08-12 | Microsoft Corporation | Spectral shaping for audio mixing |
-
2015
- 2015-06-17 CN CN201510336577.4A patent/CN106328158B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101167125A (en) * | 2005-03-11 | 2008-04-23 | 高通股份有限公司 | Method and apparatus for phase matching frames in vocoders |
CN101944364A (en) * | 2009-07-09 | 2011-01-12 | 展讯通信(上海)有限公司 | Voice frequency processing method and voice frequency system |
CN103581815A (en) * | 2012-08-08 | 2014-02-12 | 杨国屏 | Method for improving correctness of sounds heard by hearing-impaired listeners and hearing aid |
Also Published As
Publication number | Publication date |
---|---|
CN106328158A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104348487B (en) | Semiconductor device | |
JP2015508262A (en) | Resettable voltage controlled oscillator (VCO) for clock and data recovery (CDR) circuits, and related systems and methods | |
EP2710735B1 (en) | Compensated current cell to scale switching glitches in digital to analog convertors | |
CN203747797U (en) | Low-power analog-to-digital converter | |
CN106155640B (en) | A kind of volume display methods and device | |
CN108918499A (en) | The method of Raman baseline drift is removed in Raman map | |
CN106328158B (en) | Speech signal processing device and audio signal processing method | |
TW200514004A (en) | Driving circuit of a liquid crystal display and driving method thereof | |
US8742966B2 (en) | Output device | |
EP2382623B1 (en) | Aligning scheme for audio signals | |
CN106297814B (en) | Speech signal processing device and audio signal processing method | |
CN103970183B (en) | Wide bandwidth resonant global clock distribution | |
TWI583205B (en) | Voice signal processing apparatus and voice signal processing method | |
US10331447B2 (en) | Providing efficient recursion handling using compressed return address stacks (CRASs) in processor-based systems | |
US9748968B1 (en) | Extreme index finder and finding method thereof | |
JP2017046037A (en) | Volume control device | |
US7679432B2 (en) | Operation amplifier and circuit for providing dynamic current thereof | |
CN113225078B (en) | Anti high frequency interference differential switch unit | |
Cronin et al. | Complements on phase noise analysis and design of CMOS ring oscillators | |
Kościelnik et al. | Architecture of successive approximation time-to-digital converter with single set of delay lines | |
Noor et al. | On a predictor–corrector method for solving invex equilibrium problems | |
US20210194490A1 (en) | Leakage Compensation for a Successive Approximation Analog-to-Digital Converter | |
JP2005005766A5 (en) | ||
JP2013106116A (en) | Ad conversion circuit and ad conversion method | |
TW201642249A (en) | Voice signal processing apparatus and voice signal processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |