Voice signal processing apparatus and voice signal processing method
09761242 · 2017-09-12
Assignee
Inventors
Cpc classification
H04R25/70
ELECTRICITY
International classification
Abstract
A voice signal processing apparatus and a voice signal processing method are provided. A first sampling point of an m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to a phase reference sampling point number is determined according to the phase reference sampling point number of an (m−1).sup.th original frequency-lowered signal frame corresponding to a middle sampling point of an (m−1).sup.th renovating frequency-lowered signal frame. The q consecutive sampling points starting from the first sampling point are used as the sampling points of an m.sup.th renovating frequency-lowered signal frame.
Claims
1. A voice signal processing apparatus, comprising: a central processing unit, configured to lower a sampling voice signal to generate a frequency-lowered signal including a sequence of original frequency-lowered signal frames, and generate corresponding renovating frequency-lowered signal frames according to the original frequency-lowered signal frames, wherein each of the original frequency-lowered signal frames comprises p sampling points, the central processing unit determines a first sampling point of an m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to a phase reference sampling point number according to the phase reference sampling point number of an (m−1).sup.th original frequency-lowered signal frame corresponding to a middle sampling point of an (m−1).sup.th renovating frequency-lowered signal frame, uses q consecutive sampling points starting from the first sampling point phase-matched to the sampling point corresponding to the phase reference sampling point number as the sampling points of an m.sup.th renovating frequency-lowered signal frame, overlaps adjacent two of the renovating frequency-lowered signal frames to generate an overlapped voice signal, wherein the phase reference sampling point number is a number of the sampling point of the (m−1).sup.th original frequency-lowered signal frame corresponding to the middle sampling point of the (m−1).sup.th renovating frequency-lowered signal frame, p and q are positive integers, and m is a positive integer greater than 1.
2. The voice signal processing apparatus of claim 1, wherein a frequency of the frequency-lowered signal is one fourth the frequency of the sampling voice signal, and a length of each of the renovating frequency-lowered signal frames is equal to one half a length of each of the original frequency-lowered signal frames.
3. The voice signal processing apparatus of claim 1, wherein each of the adjacent two of the renovating frequency-lowered signal frames includes a 50% overlapping section.
4. The voice signal processing apparatus of claim 3, wherein the central processing unit further counts a first count value and a second count value according to sampling values of the sampling points of the m.sup.th original frequency-lowered signal frame, wherein when the sampling point corresponding to the sampling value being 0 or a sampling point adjacent to the sampling point corresponding to the sampling value being 0 is counted, the central processing unit returns the corresponding first count value or the corresponding second count value to zero, uses the first count value or the second count value of the m.sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as a reference value, and determines the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number according to the reference value.
5. The voice signal processing apparatus of claim 4, wherein the central processing unit further determine whether the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number; if the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, the central processing unit uses the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as the reference value, and uses a very-first-sampled sampling point among the sampling points of the m.sup.th original frequency-lowered signal frame where the first count value is equal to the reference value as the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number; and if the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is not less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, the central processing unit uses the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as the reference value, and uses a very-first-sampled sampling point among the sampling points of the m.sup.th original frequency-lowered signal frame where the second count value is equal to the reference value as the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number.
6. The voice signal processing apparatus of claim 1, wherein the central processing unit further multiplies the frequency-lowered signal by a Hamming window.
7. The voice signal processing apparatus of claim 1, wherein the central processing unit further calculates a value of an interpolation parameter function corresponding to each of the original frequency-lowered signal frames according to three consecutive sampling values of each of the original frequency-lowered signal frames, and calculates an interpolation value between adjacent two of the sampling points of each of the original frequency-lowered signal frames according to the value of the interpolation parameter function corresponding to each of the original frequency-lowered signal frames.
8. The voice signal processing apparatus of claim 7, wherein the central processing unit further determines whether the value of the interpolation parameter function is less than an upper limit value and greater than or equal to a lower limit value, and if the value of the interpolation parameter function is not less than the upper limit value or not greater than or equal to the lower range value, the central processing unit corrects the value of the interpolation parameter function, wherein if the value of the interpolation parameter function is greater than or equal to the upper limit value, the central processing unit corrects the value of the interpolation parameter function to be the upper limit value, and if the value of the interpolation parameter function is less than the lower limit value, the central processing unit corrects the value of the interpolation parameter function to be the lower value.
9. The voice signal processing apparatus of claim 8, wherein the sampling voice signal is generated by sampling an original voice signal, and the upper limit value and the lower limit value are associated with a frequency of the original voice signal and a sampling frequency for sampling the original voice signal.
10. The voice signal processing apparatus of claim 7, wherein the central processing unit further calculates the interpolation parameter function corresponding to each of the original frequency-lowered signal frames according to a trigonometric function relationship of the three consecutive sampling values of each of the original frequency-lowered signal frames, wherein the interpolation parameter function is a trigonometric function.
11. A voice signal processing method, further comprising: lowering a frequency of a sampling voice signal to generate a frequency-lowered signal including a sequence of original frequency-lowered signal frames, wherein each of the original frequency-lowered signal frames comprises p sampling points, wherein p is a positive integer; determining a first sampling point of an m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to a phase reference sampling point number according to the phase reference sampling point number of an (m−1).sup.th original frequency-lowered signal frame corresponding to a middle sampling point of an (m−1).sup.th renovating frequency-lowered signal frame, wherein m is a positive integer greater than 1, and the phase reference sampling point number is a number of the sampling point of the (m−1).sup.th original frequency-lowered signal frame corresponding to the middle sampling point of the (m−1).sup.th renovating frequency-lowered signal frame; and using q consecutive sampling points starting from the first sampling point phase-matched to the sampling point corresponding to the phase reference sampling point number as the sampling points of an mth renovating frequency-lowered signal frame, wherein q is a positive integer; and overlapping adjacent two of the renovating frequency-lowered signal frames to generate an overlapped voice signal.
12. The voice signal processing method of claim 11, wherein a frequency of the frequency-lowered signal is one fourth the frequency of the sampling voice signal, and a length of each of the renovating frequency-lowered signal frames is equal to one half a length of each of the original frequency-lowered signal frames.
13. The voice signal processing method of claim 11, wherein each of the adjacent two of the renovating frequency-lowered signal frames includes a 50% overlapping section.
14. The voice signal processing method of claim 13, wherein the step of determining the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number according to the phase reference sampling point number of the (m−1).sup.th original frequency-lowered signal frame corresponding to the middle sampling point of the (m−1).sup.th renovating frequency-lowered signal frame comprises: counting a first count value and a second count value according to sampling values of the sampling points of the m.sup.th original frequency-lowered signal frame, wherein when the sampling point corresponding to the sampling value being 0 or a sampling point adjacent to the sampling point corresponding to the sampling value being 0 is counted, the corresponding first count value or the corresponding second count value is returned to zero; using the first count value or the second count value of the m.sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as a reference value; and determining the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number according to the reference value.
15. The voice signal processing method of claim 14, wherein the step of using the first count value or the second count value of the m.sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as the reference value comprises: determining whether the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number; if the first count value of the (m−1).sup.th) original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, using the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as the reference value; and if the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is not less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, using the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as the reference value.
16. The voice signal processing method of claim 15, wherein if the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, the voice signal processing method further comprises: using a very-first-sampled sampling point among the sampling points of the m.sup.th original frequency-lowered signal frame where the first count value is equal to the reference value as the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number.
17. The voice signal processing method of claim 15, wherein if the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is not less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, the voice signal processing method further comprises: using a very-first-sampled sampling point among the sampling points of the m.sup.th original frequency-lowered signal frame where the second count value is equal to the reference value as the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number.
18. The voice signal processing method of claim 11, comprising: multiplying the frequency-lowered signal by a Hamming window.
19. The voice signal processing method of claim 11, comprising: calculating a value of an interpolation parameter function corresponding to each of the original frequency-lowered signal frames according to three consecutive sampling values of each of the original frequency-lowered signal frames; determining whether the value of the interpolation parameter function is less than an upper limit value and greater than or equal to a lower limit value, and if the value of the interpolation parameter function is not less than the upper limit value or not greater than or equal to the lower range value, correcting the value of the interpolation parameter function; and calculating an interpolation value between adjacent two of the sampling points of each of the original frequency-lowered signal frames according to the value of the interpolation parameter function corresponding to each of the original frequency-lowered signal frames.
20. The voice signal processing method of claim 19, wherein if the value of the interpolation parameter function is greater than or equal to the upper limit value, correcting the value of the interpolation parameter function to be the upper limit value, and if the value of the interpolation parameter function is less than the lower limit value, correcting the value of the interpolation parameter function to be the lower value, wherein the sampling voice signal is generated by sampling an original voice signal, and the upper limit value and the lower limit value are associated with a frequency of the original voice signal and a sampling frequency for sampling the original voice signal.
21. The voice signal processing method of claim 19, comprising: calculating the interpolation parameter function corresponding to each of the original frequency-lowered signal frames according to a trigonometric function relationship of the three consecutive sampling values of each of the original frequency-lowered signal frames, wherein the interpolation parameter function is a trigonometric function.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DESCRIPTION OF THE EMBODIMENTS
(9) Reference will now be made in detail to the present preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
(10) Referring to
(11) The processing unit 102 may select a part of sampling points from among the original frequency-lowered signal frames to obtain renovating frequency-lowered signal frames (e.g., renovating frequency-lowered signal frames WL1′ to WL4′ in
(12) Specifically, a part of the sampling points of the original frequency-lowered signal frames may be obtained by executing an interpolation operation. The processing unit 102 may first calculate a value of an interpolation parameter function corresponding to each of the original frequency-lowered signal frames according to three consecutive known sampling values of each of the original frequency-lowered signal frames, and then calculate an interpolation value between adjacent two of known sampling points of each of the original frequency-lowered signal frames according to the value of the interpolation parameter function corresponding to each of the original frequency-lowered signal frames. Herein, the interpolation parameter function is a trigonometric function such as a sine function or a cosine function, but the invention is not limited thereto.
(13) For instance, referring to
(14)
(15) Herein, g is 0 or a positive integer, C.sub.m(g) is a function value of the interpolation parameter function at a time-point g, and the interpolation parameter function C.sub.m(g) is a trigonometric function.
(16) Because noises may occur during the signal process of the voice signal processing apparatus, the calculated value of the interpolation parameter function may include noise components which influence an accuracy of the processing unit 102 for obtaining the interpolation value. The processing unit 102 may check whether the value of the interpolation parameter function suffers a noise interference by determining whether the value of the interpolation parameter function falls within a preset range. For example, whether the value of the interpolation parameter function is less than an upper limit value and greater than or equal to a lower limit value may be determined. If the value of the interpolation parameter function is not less than the upper limit value or is not greater than or equal to the lower limit value, it indicates that the value of the interpolation parameter function suffers the noise interference. As such, the processing unit 102 may correct the value of the interpolation parameter function, so as to remove the noise components included in the value of the interpolation parameter function. For example, if the value of the interpolation parameter function is greater than or equal to the upper limit value, the processing unit 102 may correct the value of the interpolation parameter function to be the upper limit value; if the value of the interpolation parameter function is less than the lower limit value, the processing unit 102 may correct the value of the interpolation parameter function to be the lower limit value; and if the value of the interpolation parameter function is less than the upper limit value and greater than or equal to the lower limit value, there is no need to correct the value of the interpolation parameter function. For instance, in the embodiment of
(17)
(18) Namely, the upper limit value and the lower limit value in the embodiment of
(19) After obtaining the value of the interpolation parameter function, the processing unit 102 may calculate the interpolation value between adjacent two of the sampling points of the original frequency-lowered signal frame according to the interpolation parameter function. Taking the embodiment of
(20)
(21) In formula (3) and formula (4), n is 0 or a positive even number.
(22) Similarly, the square points in
(23)
(24) Herein, n is 0 or a positive even number, and correction of the value of the interpolation parameter function C.sub.m′(n) may be represented by the following formula:
(25)
(26) An interpolation point s.sub.m(4n+1) between the sampling point s.sub.m(4n) and the interpolation point s.sub.m(4n+2) and an interpolation point s.sub.m(4n+3) between the interpolation point s.sub.m(4n+2) and the sampling point s.sub.m(4n+4) in the original frequency-lowered signal frame Wm may respectively be represented by the following formulas:
(27)
(28) In addition, the processing unit 102 may obtain the interpolation parameter function C.sub.m″(n) according to the trigonometric function relationship of the sampling point s.sub.m(4n+4), the interpolation point s.sub.m(4n+6) and the sampling point s.sub.m(4n+8), and the corresponding interpolation parameter function C.sub.m″(n) within the time range of the original frequency-lowered signal frame Wm may be represented by the following formula:
(29)
(30) Herein, n is 0 or a positive even number, and correction of the value of the interpolation parameter function C.sub.m″(n) may be represented by the following formula:
(31)
(32) An interpolation point s.sub.m(4n+5) between the sampling point s.sub.m(4n+4) and the interpolation point s.sub.m(4n+6) and an interpolation point s.sub.m(4n+7) between the interpolation point s.sub.m(4n+6) and the sampling point s.sub.m(4n+8) in the original frequency-lowered signal frame Wm may respectively be represented by the following formulas:
(33)
(34) By analogy, the interpolation value between the sampling points or the interpolation value between the sampling point and the interpolation point in each other original frequency-lowered signal frames may also be obtained by the same method, and persons skilled in the art should be able to infer their implementations based on teachings in the foregoing embodiment, which are not repeated hereinafter.
(35) As described above, in the present embodiment, the interpolation value between the sampling points (or the interpolation value between the sampling point and the interpolation value) is estimated by using the trigonometric function, and the interpolation value between the adjacent two of the sampling points of the original frequency-lowered signal frame (or the interpolation value between the sampling point and the interpolation value which are adjacent to each other) is calculated according to the interpolation parameter function, the interpolation values are used to serve as sampling values of new sampling points between the known sampling points of the frequency-lowered signal. Because a characteristic of the trigonometric function is relatively similar to a characteristic of a sound signal, as compared to the conventional technology which simply obtains the interpolation value by using the arithmetic mean, a more accurate interpolation value may be obtained by the calculation used in the present embodiment to effectively avoid occurrences of the signal distortion on the frequency-lowered signal after the frequency is lowered.
(36) In addition, each of said original frequency-lowered signal frames may include p sampling points (wherein p is a positive integer, and P may be equal to 4N−3 where N is a positive integer greater than 1 in the present embodiment), the processing unit 102 may use a number of a sampling point of an (m−1).sup.th original frequency-lowered signal frame corresponding to a middle sampling point of an (m−1).sup.th renovating frequency-lowered signal frame as a phase reference sampling point number, determine a first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to a sampling point corresponding to the phase reference sampling point number according to the phase reference sampling point number, and use q consecutive sampling points starting from the first sampling point as sampling points of an m.sup.th renovating frequency-lowered signal frame (wherein q is a positive integer, and q may be 2N−1 where N is a positive integer greater than 1 in the present embodiment), so that the middle sampling point of the (m−1).sup.th renovating frequency-lowered signal frame is phase-matched to the initial sampling point of the m.sup.th renovating frequency-lowered signal frame, wherein m is a positive integer larger than 1. Accordingly, when a 50% signal frame overlapping operation is performed on the (m−1).sup.th renovating frequency-lowered signal frame and the m.sup.th renovating frequency-lowered signal frame (i.e., for making each of the (m−1).sup.th renovating frequency-lowered signal frame and the renovating frequency-lowered signal frame to include a 50% overlapping section), occurrences of the phase mismatching may be substantially reduced to solve the issue of the signal distortion.
(37) Specifically, the processing unit 102 may count a first count value and a second count value according to the sampling values of the sampling points of the m.sup.th original frequency-lowered signal frame. Herein, when the sampling point corresponding to the sampling value being 0 or a sampling point adjacent to the sampling point corresponding to the sampling value being 0 (e.g., a previous one or a next one of the adjacent sampling points, but the invention is not limited thereto) is counted by the processing unit 102, the first count value or the second count value is returned to zero. Specifically, a method for counting aforesaid count values may be represented by the following formulas (13) to (16):
(38)
(39) Among them, m is a positive integer greater than 1, n=0, 1, 2, . . . , 4N−4, N is a positive integer greater than 1, s.sub.m(n) is the sampling value of the sampling point of a number n of the m.sup.th original frequency-lowered signal frame, and PN.sub.m(n) is used to convert the sampling value s.sub.m(n) into values represented by “10”, “3” or “0”, wherein PN.sub.m(−1)=PN.sub.m(0). Cot.sub.m.sup.+(n) is the first count value corresponding to the sampling point of the number n of the m.sup.th original frequency-lowered signal frame, and Cot.sub.m.sup.−(n) is the second count value corresponding to the sampling point of the number n of the m.sup.th original frequency-lowered signal frame, wherein Cot.sub.m.sup.+(−1)=2N−2 and Cot.sub.m.sup.−(−1)=2N−2. In view of formulas (15) and (16), it can be known that, Cot.sub.m.sup.+(n) is an accumulated count value corresponding to the frequency-lowered signal in a positive half cycle, whereas Cot.sub.n.sup.−(n) is an accumulated count value corresponding to the frequency-lowered signal in a negative half cycle. As shown in formulas (13) to (16), in the present embodiment, the sampling value s.sub.m(n) being greater than 0, the sampling value s.sub.m(n) being equal to 0 and the sampling value s.sub.m(n) being less than 0 are set to 10, 3 and 0 respectively, the first count values corresponding to PN.sub.m.sup.D(n) being equal to 10 or 7 are returned to zero when the first count value Cot.sub.m.sup.+(n) is counted, and the second count values corresponding to PN.sub.m.sup.D(n) being equal to −10 or −3 are also returned to zero when the second count value Cot.sub.m.sup.−(n) is counted. Because the sampling value is set to be 3 when the sampling value s.sub.m(n) is equal to 0, positions of the values of PN.sub.m.sup.D(n) being equal to 10, 7, −10 or −3 will appear at positions of the sampling points adjacent to the sampling point where the sampling value s.sub.m(n) is equal to 0.
(40) The processing unit 102 may use the first count value or the second value of the m.sup.th original frequency-lowered signal frame corresponding to the sampling point of the phase reference sampling point number obtained from the (m−1).sup.th original frequency-lowered signal frame (which is obtained by the processing unit 102 which counts in the (m−1).sup.th original frequency-lowered signal frame, and a counting method thereof is identical to the counting method used by the processing unit 102 in the m.sup.th original frequency-lowered signal frame) as a reference value, and determine the first sampling point of the m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to the phase reference sampling point number according to the reference value. For example, the processing unit 102 may determine whether the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, and such determination may be represented by the following formula (17):
Cot.sub.m-1.sup.+S≧Cot.sub.m-1.sup.−S (17)
(41) Herein, Cot.sub.m-1.sup.+S is the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, and Cot.sub.m-1.sup.−S is the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number.
(42) If the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, the processing unit 102 uses the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as the reference value, and uses a very-first-sampled sampling point among the sampling points whose first count values are equal to the reference value of the m.sup.th original frequency-lowered signal frame as the first sampling point. Aforesaid operations may be represented by the following formulas (18) and (19):
(43)
(44) In view of formulas (18) and (19), it can be known that, when the first count value of the m.sup.th original frequency-lowered signal frame corresponding to the sampling point of the number n is equal to the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, n.sub.Cot.sub.
(45) Conversely, if the first count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number is not less than or equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number (i.e., formula (17) is not satisfied), the processing unit 102 uses the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number as the reference value, and uses a very-first-sampled sampling point among the sampling points of the m.sup.th original frequency-lowered signal frame corresponding to the second count value being equal to the reference value as the first sampling point. Aforesaid operations may be represented by the following formulas (20) and (21):
(46)
(47) In view of formulas (20) and (21), it can be known that, when the second count value of the m.sup.th original frequency-lowered signal frame corresponding to the sampling point of the number n is equal to the second count value of the (m−1).sup.th original frequency-lowered signal frame corresponding to the sampling point corresponding to the phase reference sampling point number, n.sub.Cot.sub.
(48) For instance, it is assumed that each of the original frequency-lowered signal frames WL1 to WL4 in
(49) In order to locate an initial sampling point of the renovating frequency-lowered signal frame WL3′, the processing unit 102 may count the first count value Cot.sub.3.sup.+(n) of the original frequency-lowered signal frame WL3, so as to obtain the numbers of the sampling points whose first count values Cot.sub.3.sup.+(n) are equal to 18 (because the first count value Cot.sub.2.sup.+(188) of the original frequency-lowered signal frame WL2 corresponding to the sampling point of the number being 188 is less than the corresponding second count value Cot.sub.2.sup.−(188), the first count value Cot.sub.2.sup.+(188) is used as the reference value). As shown by the schematic diagram illustrating the frequency-lowered signal frame WL3 in
(50) It should be noted that, because the original frequency-lowered signal frame WL1 is the first original frequency-lowered signal frame, the sampling points of the renovating frequency-lowered signal frame WL1′ may be any 201 consecutive sampling points selected from the original frequency-lowered signal frame WL1 (e.g., the sampling points starting from the number 100 to the number 300 in the present embodiment), and the number of the sampling point of the original frequency-lowered signal frame WL1 corresponding to the middle sampling point of the renovating frequency-lowered signal frame WL1′ may be used as the phase reference sampling point number (e.g., the sampling point of the number 200 in the present embodiment). In the present embodiment, the number of the first sampling point of the original frequency-lowered signal frame WL2 phase-matched to the middle sampling point of the original frequency-lowered signal frame WL1 is 188. Herein, a method for obtaining the first sampling point (the sampling point of the number 188) is similar to that used in foregoing embodiment, and person skilled in the art should be able to infer its implementation based on teachings in the foregoing embodiment, which are not repeated hereinafter.
(51) After obtaining the renovating frequency-lowered signal frames, the processing unit 102 may then perform the 50% overlapping operation on the adjacent renovating frequency-lowered signal frames to generate an overlapped voice signal. Because the middle sampling point of each of the renovating frequency-lowered signal frames is phase-matched to the initial sampling point of the next renovating frequency-lowered signal frame, the issue of the signal distortion caused by the phase mismatching condition occurred when the signal frames are overlapped may be substantially solved. Furthermore, in some embodiments, after the renovating frequency-lowered signal frames corresponding to the original frequency-lowered signal frames are obtained, the frequency-lowered signal may be multiplied by a Hamming window to improve a continuity between the right-end and the left-end of the frequency-lowered signal. As shown by
(52) Referring to
(53) Referring back to
(54) Referring to
(55) In summary, according to the embodiments of the invention, a first sampling point of an m.sup.th original frequency-lowered signal frame phase-matched to the sampling point corresponding to a phase reference sampling point number is determined according to the phase reference sampling point number of an (m−1).sup.th original frequency-lowered signal frame corresponding to a middle sampling point of an (m−1).sup.th renovating frequency-lowered signal frame, and q consecutive sampling points starting from the first sampling point phase-matched to the sampling point corresponding to the phase reference sampling point number are used as the sampling points of an m.sup.th renovating frequency-lowered signal frame. As a result, when the frequency of the sampling voice signal is further lowered (e.g., when the frequency is to be lowered to be one fourth), the issue of the signal distortion caused by the phase mismatching condition occurred when the signal frames are overlapped may still be effectively solved.
(56) It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.