Audio decoding device, audio coding device, audio decoding method, audio coding method, audio decoding program, and audio coding program
11562760 · 2023-01-24
Assignee
Inventors
Cpc classification
G10L19/265
PHYSICS
International classification
Abstract
An objective of the present invention is to correct a temporal envelope shape of a decoded signal with a small information volume and to reduce perceptible distortions. An audio decoding device which decodes a coded audio signal and outputs an audio signal comprises: a coded series analysis unit that analyzes a coded series which contains the coded audio signal; an audio decoding unit that receives from the coded series analysis unit the coded series which contains the coded audio signal and decodes same, obtaining an audio signal; a temporal envelope shape establishment unit that receives information from the coded series analysis unit and/or the audio decoding unit, and, on the basis of the information, establishes a temporal envelope shape of the decoded audio signal; and a temporal envelope correction unit that, on the basis of the temporal envelope shape which is established with the temporal envelope shape establishment unit, corrects the temporal envelope shape of the decoded audio signal and outputs same.
Claims
1. A speech encoding device that encodes an input speech signal to output a code sequence, the speech encoding device comprising: a speech encoder that encodes the speech signal; a temporal envelope information encoder that calculates and encodes temporal envelope information of the speech signal; and a code sequence multiplexer that multiplexes a code sequence including the speech signal obtained by the speech encoder and a code sequence of the temporal envelope information obtained by the temporal envelope information encoder to generate an encoded sequence for output by the speech encoding device, wherein the temporal envelope information is generated based on a ratio between an arithmetic mean and geometric mean of a temporal envelope of a high frequency signal of the speech signal, and the temporal envelope information included in the encoded sequence indicates whether a temporal envelope shape is flat or not, wherein the temporal envelope information is represented by flag.
2. The speech encoding device according to claim 1 wherein the temporal envelope information is represented by one bit.
3. A speech encoding method executed by a speech encoding device that encodes an input speech signal to output a code sequence, the speech encoding method comprising: a speech encoding step of encoding the speech signal; a temporal envelope information encoding step of calculating and encoding temporal envelope information of the speech signal; and a code sequence multiplexing step of multiplexing a code sequence including the speech signal obtained in the speech encoding step and a code sequence of the temporal envelope information obtained in the temporal envelope information encoding step to generate an encoded sequence; and outputting the encoded sequence for receipt by a decoder, wherein the temporal envelope information is generated based on a ratio between an arithmetic mean and geometric mean of a temporal envelope of a high frequency signal of the speech signal, and the temporal envelope information output in the encoded sequence indicating whether a temporal envelope shape is flat or not, wherein the temporal envelope information is represented by flag.
4. The speech encoding method according to claim 3 wherein the temporal envelope information is represented by one bit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)
(46)
(47)
(48)
(49)
(50)
(51)
(52)
(53)
(54)
(55)
(56)
(57)
(58)
(59)
(60)
(61)
(62)
(63)
(64)
(65)
(66)
(67)
(68)
(69)
(70)
(71)
(72)
(73)
(74)
(75)
(76)
(77)
(78)
(79)
(80)
(81)
(82)
(83)
(84)
(85)
(86)
(87)
(88)
(89)
(90)
(91)
(92)
(93)
(94)
(95)
(96)
(97)
(98)
(99)
(100)
(101)
(102)
(103)
(104)
(105)
(106)
(107)
(108)
(109)
(110)
(111)
(112)
(113)
(114)
(115)
(116)
(117)
(118)
(119)
(120)
(121)
(122)
(123)
(124)
(125)
(126)
(127)
(128)
(129)
(130)
(131)
(132)
(133)
(134)
(135)
(136)
(137)
(138)
(139)
(140)
(141)
(142)
(143)
(144)
(145)
(146)
(147)
(148)
(149)
(150)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(151) Various embodiments will be described with reference to the accompanying drawings. The same parts are denoted with the same reference signs, if possible, and an overlapping description will be omitted.
First Embodiment
(152)
(153)
(154) The code sequence analyzer 1a analyzes a code sequence and divides the code sequence into a speech encoded part and information about the temporal envelope shape (step S1-1).
(155) The speech decoder 1b decodes the speech encoded part of the code sequence to obtain a decoded signal (step S1-2).
(156) The temporal envelope shape determiner 1c determines the temporal envelope shape of the decoded signal, based on at least one of the information about the temporal envelope shape divided by the code sequence analyzer 1a and the decoded signal obtained by the speech decoder 1b (step S1-3).
(157) For example, it is determined that the temporal envelope shape of the decoded signal is flat. For example, parameters representing the power of the decoded signal or parameters similar thereto are calculated. Thereafter, the dispersion, or a parameter similar thereto, of the parameters is calculated. The calculated parameter is compared with a predetermined threshold to determine whether the temporal envelope shape is flat or determine the degree of flatness. In another example, the ratio, or a parameter similar thereto, of an arithmetic mean to a geometric mean of the parameters, or parameters similar thereto, representing the power of the decoded signal and is compared with a predetermined threshold to determine whether the temporal envelope shape is flat or determine the degree of flatness. The method of determining that the temporal envelope shape of the decoded signal is flat is not limited to the above examples.
(158) For example, it is determined that the temporal envelope shape of the decoded signal is onset. For example, parameters, or parameters similar thereto, representing the power of the decoded signal are determined, differential values of the parameters in time direction are calculated, and the maximum value in the differential values in an arbitrary time segment is calculated. The maximum value is compared with a predetermined threshold to determine whether the temporal envelope shape is rising or determine the degree of onset. The method of determining that the temporal envelope shape of the decoded signal is onset is not limited to the above examples.
(159) For example, it is determined that the temporal envelope shape of a low frequency signal is offset. For example, parameters, or parameters similar thereto, representing the power of the decoded signal are determined, differential values of the parameters in time direction are calculated, and the minimum value of the differential values in an arbitrary time segment is calculated. The minimum value is compared with a predetermined threshold to determine whether the temporal envelope shape is offset or determine the degree of offset. The method of determining that the temporal envelope shape of the decoded signal is offset is not limited to the above examples.
(160) The above examples can also be applied to a case where the decoded signal is output as a time domain signal from the speech decoder 1b, and can also be applied to a case where the decoded signal is output as a plurality of subband signals.
(161) The temporal envelope modifier 1d modifies the shape of the temporal envelope of the decoded signal output from the speech decoder 1b, based on the temporal envelope shape determined by the temporal envelope shape determiner 1c (step S1-4).
(162) For example, if the decoded signal is expressed by a plurality of subband signals, the temporal envelope modifier 1d uses a predetermined function F(X.sub.dec(k,i)) for a plurality of subband signals X.sub.dec(k,i) (0≤k<k.sub.h, t(l)≤i<t(l+1)) of the decoded signal within an arbitrary time segment to calculate X′.sub.dec(k,i) using the following equation (1):
X.sub.dec′(k,i)=F(X.sub.dec)(k,i)) [Eq. 1]
(163) X′.sub.dec(k,i) being calculated as subband signals of the decoded signal whose temporal envelope shape is modified. The temporal envelope modifier 1d synthesizes a time domain signal from the subband signals and outputs the synthesized signal.
(164) For example, when it is determined that the temporal envelope shape of the decoded signal is flat, the temporal envelope shape of the decoded signal can be modified by the following process. For example, the subband signals X.sub.dec(k,i) are divided into M.sub.dec frequency bands having boundaries represented by B.sub.dec(m) (m=0, . . . , M.sub.dec, M.sub.dec≥1) (B.sub.dec(0)≥0, B.sub.dec(M.sub.dec)<k.sub.h) and, using a predetermined function F(X.sub.dec(k,i) expressed by the equations below for the subband signals X.sub.dec(k,i) (B.sub.dec(m)≤k<B.sub.dec(m+1)) t(l)≤i<t(l+1)) included in the m-th frequency band,
(165)
(166) X′.sub.dec(k,i) is calculated as subband signals of the decoded signal whose temporal envelope shape is modified. In another example, a predetermined function F(X.sub.dec(k,i)) defined by is used to perform a smoothing filter process on the subband signals X.sub.dec(k,i).
(167)
(168) With the definition of (N.sub.filt≥1), X′.sub.dec(k,i) are calculated as subband signals of the decoded signal whose temporal envelope shape is modified. The process can be performed such that the powers of the subband signals before and after the filter process are matched in each frequency band having the boundaries represented by the B.sub.dec(m).
(169) In another example, the subband signals X.sub.dec(k,i) are linearly predicted in the frequency direction in each frequency band having the boundaries represented by the B.sub.dec(m) to obtain a linear prediction coefficient α.sub.p(m) (m=0, . . . , M.sub.dec-1), and a predetermined function F(X.sub.dec(k,i)) is used to perform a linear prediction inverse filter process on the subband signals X.sub.dec(k,i).
(170)
(171) With the definition of (N.sub.pred≥1), X′.sub.dec(k,i) are calculated as subband signals of the decoded signal whose temporal envelope shape is modified.
(172) The process of modifying the temporal envelope into a flat shape can be carried out in any combination of the above examples.
(173) The processes performed by the temporal envelope modifier 1d to modify the temporal envelope of the decoded signal into a flat shape are not limited to the above examples.
(174) For example, when it is determined that the temporal envelope shape of the decoded signal is onset, the temporal envelope shape of the decoded signal can be modified by the following process.
(175) For example, a predetermined function F(X.sub.dec(k,i)) set forth below is defined using a function incr(i) that monotonously increases relative to i.
(176)
(177) X′.sub.dec(k,i) are calculated as the subband signals of the decoded signal whose temporal envelope shape is modified. A process can be performed such that the powers of the subband signals before and after modification of the temporal envelope shape are matched in each frequency band having the boundaries represented by the B.sub.dec(m).
(178) The temporal envelope modifier 1d carries out a process of modifying the temporal envelope shape of a plurality of subband signals of the decoded signal when it is onset, and the process is not limited to the above examples.
(179) For example, when it is determined that the temporal envelope shape of the decoded signal is offset, the temporal envelope shape of the decoded signal can be modified by the following process.
(180) For example, a predetermined function F(X.sub.dec(k,i)) set forth below includes a function decr(i) that monotonously decreases relative to i.
(181)
(182) X′.sub.dec(k,i) are calculated as subband signals of the low frequency signal whose temporal envelope shape is modified. A process can be performed such that the powers of the subband signals before and after modification of the temporal envelope shape are matched in each frequency band having the boundaries represented by the B.sub.dec(m).
(183) The temporal envelope modifier 1d performs a process of modifying the temporal envelope shape of a plurality of subband signals of the decoded signal when it is offset, and the process is not limited to the above examples.
(184) For example, if the decoded signal can be represented as a time domain signal, as shown below, the temporal envelope modifier 1d applies a predetermined function F.sub.t(x.sub.dec(i)) for the decoded signal x.sub.dec(i) (t(l)≤i<t(l+1)) in an arbitrary time segment to obtain x′.sub.dec(i).
x.sub.dec′(i)=F.sub.t(x.sub.dec(i)) [Eq. 7]
(185) Which is output as a decoded signal whose temporal envelope shape is modified.
(186) For example, when it is determined that the temporal envelope shape of the decoded signal is flat, the temporal envelope shape of the decoded signal can be modified by the following process. For example, a predetermined function F.sub.t(x.sub.dec(i)) set forth below for the decoded signal x.sub.dec(i) is used.
(187)
(188) To output x′.sub.dec(i) as a decoded signal whose temporal envelope shape is modified.
(189) In another example, a predetermined function F.sub.t(x.sub.dec(i)) set forth below to perform a smoothing filter process on the decoded signal x.sub.dec(i).
(190)
(191) With a definition of (N.sub.filt≥1), x′.sub.dec(i) is output as a decoded signal whose temporal envelope shape is modified.
(192) The process of modifying the temporal envelope into a flat shape can be carried out in any combination of the above examples.
(193) For example, when it is determined that the temporal envelope shape of the decoded signal is onset, the temporal envelope shape of the decoded signal can be modified by the following process.
(194) For example, a predetermined function F.sub.t(x.sub.dec(i)) set forth below uses a function incr(i) that monotonously increases relative to i.
(195)
(196) x′.sub.dec(i) is output as a decoded signal whose temporal envelope shape is modified.
(197) The temporal envelope modifier 1d carries out a process of modifying the temporal envelope of the decoded signal when it is onset, and the process is not limited to the above examples.
(198) For example, when it is determined that the temporal envelope shape of the decoded signal is offset, the temporal envelope shape of the decoded signal can be modified by the following process.
(199) For example, a predetermined function F.sub.t(x.sub.dec(i)) set forth below uses a function decr(i) that monotonously decreases relative to i.
(200)
(201) x′dec(i) is output as a decoded signal whose temporal envelope shape is modified. The temporal envelope modifier 1d carries out a process of modifying the temporal envelope of the decoded signal when it is offset, and the process is not limited to the above examples.
(202) For example, if the decoded signal is expressed by frequency domain transform coefficients X.sub.dec(k) (0≤k<k.sub.h) by a time-frequency transform, such as the discrete Fourier transform, the discrete cosine transform, or the modified discrete cosine transform, a predetermined function F.sub.f(X.sub.dec(k) is used in the following equation (12).
[Eq. 12]
X.sub.dec′(k)=F.sub.j(X.sub.dec(k)) formula (51)
(203) X′.sub.dec(k) are calculated as frequency domain transform coefficients of the decoded signal whose temporal envelope shape is modified, and then transformed into a time domain signal by a predetermined frequency transform to be output.
(204) For example, when it is determined that the temporal envelope shape of the decoded signal is flat, the temporal envelope shape of the decoded signal can be modified by the following process.
(205) In M.sub.dec arbitrary frequency bands B.sub.dec(m) having boundaries represented by B.sub.dec(m) (m=0, . . . , M.sub.dec, M.sub.dec≥1) (B.sub.dec(0)≥0, B.sub.dec(M.sub.dec)<k.sub.h), a linear prediction coefficient α.sub.p(m) (m=0, . . . , M.sub.dec−1) is obtained by linear prediction in a frequency direction, and a predetermined function F.sub.f(X.sub.dec(k)) set forth below is used to perform a linear prediction inverse filter process on the transform coefficients X.sub.dec(k).
(206)
(207) With a definition of (N.sub.pred≥1), X′.sub.dec(k,i) are calculated as transform coefficients of the decoded signal whose temporal envelope shape is modified.
(208) The temporal envelope modifier 1d performs a process of modifying the temporal envelope of the decoded signal into a flat shape, and the process is not limited to the above examples.
(209)
(210)
(211) The speech coder 2a encodes an input speech signal (step S2-1).
(212) The temporal envelope information encoder 2b calculates and encodes temporal envelope information, based on at least one of the input speech signal and information obtained in the encoding process including the encoding result of the input speech signal in the speech coder 2a (step S2-2).
(213) For example, the temporal envelope E.sub.t(i) of the input speech signal x(i), which is a time domain signal in an arbitrary time segment t(l)≤i<(l+1)), can be calculated as the power of the decoded signal normalized in the time segment.
(214)
(215) For example, if the input speech signal is calculated as a plurality of subband signals X(k,i) in the speech coder 2a, as the time envelop of the input speech signal, the temporal envelope E(k,i) of the subband signals X(k,i) (B(m)≤k<B(m+1), t(l)≤i<t(l+1)) of the input speech signal divided into M frequency bands having boundaries represented by B(m) (m=0, . . . , M, M≥1) (B(0)≥0, B(M)<k.sub.h) in an arbitrary time segment t(l)≤i<t(l+1) and included in the m-th frequency band can be calculated as the power of the subband signals of the input speech signal normalized in the time segment.
(216)
(217) The temporal envelope of the input speech signal is not limited to the above examples as long as it is a parameter indicating variations of the magnitude of the input speech signal in the time direction.
(218) For example, the decoded signal x.sub.dec(i) is calculated based on the encoding result of the input speech signal in the speech coder 2a, and the temporal envelope E.sub.dec,t(i) of the decoded signal x.sub.dec(i) in an arbitrary time segment t(l)≤i<t(l+1) can be calculated as the power of the decoded signal normalized in the time segment.
(219)
(220) For example, if the subband signals X.sub.dec(k,i) of the decoded signal are calculated during the process of encoding the input speech signal in the speech coder 2a or based on the encoding result, as the time envelop of the decoded signal, the temporal envelope E.sub.dec(k,i) of the subband signals X.sub.dec(k,i) (B(m)≤k<B(m+1), t(l)≤i<t(l+1)) of the input speech signal divided into M frequency bands having boundaries represented by B(m) (m=0, . . . M, M≥1) (B(0)≥0, B(M)<k.sub.h) in an arbitrary time segment t(l)≤i<t(l+1) and included in the m-th frequency band can be calculated as the power of the subband signals of the input speech signal normalized in the time segment.
(221)
(222) For example, the temporal envelope information encoder 2b calculates information representing the degree of flatness as temporal envelope information. For example, at least one of a parameter, and a parameter similar thereto, representing the dispersion of the temporal envelope of the input speech signal and the decoded signal is calculated. In another example, at least one of the ratio, and a parameter similar thereto, of an arithmetic mean to a geometric mean of the temporal envelope of the input speech signal and the decoded signal is calculated. In this case, the temporal envelope information encoder 2b may calculate information representing the flatness of the temporal envelope of the input speech signal as the temporal envelope information, and the process thereby is not limited to the above examples. The parameter is then encoded. For example, the differential value of the parameter of the input speech signal and the decoded signal or the absolute value of the differential value is encoded. For example, at least one of the value of the parameter of the input speech signal and the absolute value is encoded. For example, if the flatness of the temporal envelope is expressed by information of being flat or not, the information can be encoded by one bit. For example, for the time domain input speech signal, the information can be encoded by one bit in the arbitrary time segment. For example, when the information is encoded for each of the M frequency bands of the subband signals of the input speech signal, it can be encoded by M bits. The method of encoding the temporal envelope information is not limited to the above examples.
(223) For example, the temporal envelope information encoder 2b calculates information representing the degree of onset as the temporal envelope information. For example, in an arbitrary time segment t(l)≤i<t(l+1), the maximum value of the differential value of the temporal envelope of the input speech signal in time direction is calculated.
d.sub.Et,max(k)=max(E.sub.t(k,i)−E.sub.t(k,i−1))
d.sub.Edec,t,max(k)=max(E.sub.dec,t(k,i)−E.sub.dec,t(k,i−1))
or
d.sub.E max(k)=max(E(k,i)−E(k,i−1))
d.sub.Edec,max(k)=max(E.sub.dec(k,i)−E.sub.dec(k,i−1)) [Eq. 18]
(224) In these equations, the maximum value of the differential value of a parameter in time direction, the parameter being obtained by smoothing the temporal envelope in time direction, can be calculated in place of the temporal envelope.
(225) In this case, the temporal envelope information encoder 2b may calculate information representing the degree of onset of the temporal envelope of the input speech signal as the temporal envelope information, and the process thereby is not limited to the above examples. The parameter is then encoded. For example, at least one of the differential value of the parameter of the input speech signal and the decoded signal and the absolute value of the differential value is encoded. For example, if the rise of the temporal envelope is represented by information of being onset or not, the information can be encoded by one bit. For example, for the time domain input speech signal, the information can be encoded by one bit in the arbitrary time segment. For example, when the information is encoded for each of the M frequency bands of the subband signals of the input speech signal, it can be encoded by M bits. The method of encoding the temporal envelope information is not limited to the above examples.
(226) For example, the temporal envelope information encoder 2b calculates information representing the degree of offset as the temporal envelope information. For example, in the arbitrary time segment t(l)≤i<t(l+1), the minimum value of the differential value in time direction of the temporal envelope of the input speech signal is calculated.
d.sub.Et,min(k)=min(E.sub.t)(k,i)−E.sub.t(k,i−1))
d.sub.Edec,t,min(k)=min(E.sub.dec,t(k,i)−E.sub.dec,t(k,i−1))
or
d.sub.Emin(k)=min(E(k,i)−E(k,i−1))
d.sub.Edec,min(k)=min(E.sub.dec(k,i)−E.sub.dec(k,i−1)) [Eq. 19]
(227) In these equations, the minimum value of the differential value of a parameter in time direction, the parameter being obtained by smoothing the temporal envelope in time direction, can be calculated in place of the temporal envelope. In this case, the temporal envelope information encoder 2b may calculate information representing the degree of offset of the temporal envelope of the subband signals of the input speech signal as the temporal envelope information, and the process thereby is not limited to the above examples. The parameter is then encoded. For example, at least one of the differential value of the parameter of the input speech signal and the decoded signal and the absolute value of the differential value is encoded. For example, if the fall of the temporal envelope is represented by information of being offset or not, the information can be encoded by one bit. For example, for the time domain input speech signal, the information can be encoded by one bit in the arbitrary time segment. For example, when the information is encoded for each of the M frequency bands of the subband signals of the input speech signal, it can be encoded by M bits. The method of encoding the temporal envelope information is not limited to the above examples.
(228) In the above examples, in the arbitrary time segment t(l)≤i<t(l+1), an encoding parameter (for example, the gain of a codebook in CELP encoding) having a correlation to the power of a time segment shorter than the time segment can be used in the speech coder 2a, in place of the temporal envelope of the input speech signal.
(229) The code sequence multiplexer 2c receives the code sequence of the input speech signal from the speech coder 2a, receives the temporal envelope shape information encoded by the temporal envelope information encoder 2b and outputs a multiplexed code sequence (step S2-3).
Second Embodiment
(230)
(231)
(232) The code sequence demultiplexer 100a divides a code sequence into a low frequency encoded part, which is the encoded low frequency signal, and a high frequency encoded part, which is the encoded high frequency signal (step S100-1).
(233) The low frequency decoder 100b decodes the low frequency encoded part divided by the code sequence demultiplexer 100a to obtain a low frequency signal (step S100-2).
(234) The low frequency temporal envelope shape determiner 100c determines the temporal envelope shape of the low frequency signal, based on at least one of information about the low frequency temporal envelope shape divided by the code sequence demultiplexer 100a and the low frequency signal obtained by the low frequency decoder 100b (step S100-3).
(235) Examples include a case where it is determined that the temporal envelope shape of the low frequency signal is flat, a case where it is determined that the temporal envelope shape of the low frequency signal is onset, and a case where it is determined that the temporal envelope shape of the low frequency signal is offset.
(236) The temporal envelope shape of the low frequency signal is determined, for example, by replacing the decoded signal obtained by the speech decoder 1b with the low frequency signal obtained by the low frequency decoder 100b in the process of determining the temporal envelope shape of the decoded signal by the temporal envelope shape determiner 1c.
(237) The low frequency temporal envelope modifier 100d modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder 100b, based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner 100c (step S100-4).
(238) The temporal envelope shape of the low frequency signal can be modified, for example, by replacing the decoded signal obtained by the speech decoder 1b with the low frequency signal obtained by the low frequency decoder 100b in the process of modifying the temporal envelope shape of the decoded signal in the temporal envelope modifier 1d.
(239) The high frequency decoder 100e decodes the high frequency encoded part divided by the code sequence demultiplexer 100a to obtain a high frequency signal (step S100-5).
(240) The decoding of the high frequency signal in the high frequency decoder 100e can be performed by a method of decoding a code sequence in which a high frequency signal is encoded by at least one of domain signals of a time domain signal, a subband signal, and a frequency domain signal.
(241) For example, in some speech decoding devices, a high frequency signal can be generated by a bandwidth extension technique that generates a high frequency signal using the decoding result obtained by the low frequency decoder. In such speech decoding devices, if information required to generate a high frequency signal by a bandwidth extension technique is included in the code sequence, part of the code sequence that includes the information is the high frequency encoded part. A high frequency signal is then generated by decoding the high frequency encoded part divided by the code sequence demultiplexer 100a and obtaining the information required for the bandwidth extension technique. By contrast, if information required to generate a high frequency signal by a bandwidth extension technique is not included in the code sequence, the code sequence demultiplexer 100a inputs nothing to the high frequency decoder 100e and generates a high frequency signal through a predetermined process or a process using the decoding result obtained by the low frequency decoder.
(242) The low frequency/high frequency signal combiner 100f combines the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d and the high frequency signal obtained by the high frequency decoder 100e to output a speech signal including a low frequency component and a high frequency component (step S100-6).
(243)
(244)
(245) The low frequency encoder 200a encodes a low frequency signal corresponding to the low frequency component of the input speech signal (step S200-1).
(246) The high frequency encoder 200b encodes a high frequency signal corresponding to the high frequency component of the input speech signal (step S200-2).
(247) The low frequency temporal envelope information encoder 200c calculates and encodes low frequency temporal envelope shape information, based on at least one of the input speech signal and information obtained in the encoding process including the encoding result of the input speech signal in the low frequency encoder 200a (step S200-3).
(248) The process of calculating and encoding low frequency temporal envelope shape information can be performed in the same manner, for example, by using the low frequency signal of the input speech signal in place of the input speech signal and using the low frequency decoded signal obtained by decoding the encoding result in the low frequency encoder 200a in place of the decoded signal, in the process of calculating and encoding temporal envelope information on the input speech signal in the temporal envelope information encoder 2b.
(249) The code sequence multiplexer 200d receives the code sequence of the low frequency speech signal from the low frequency encoder 200a, receives the code sequence of the high frequency speech signal from the high frequency encoder 200b, receives the low frequency temporal envelope shape information encoded by the low frequency temporal envelope information encoder 200c and outputs a multiplexed code sequence (step S200-4).
(250) [First Modification of Speech Decoding Device of Second Embodiment]
(251)
(252)
(253) A high frequency decoder 100eA decodes the high frequency encoded part divided by the code sequence demultiplexer 100a to obtain a high frequency signal (step S100-5A).
(254) The high frequency decoder 100eA differs from the high frequency decoder 100e in that the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d is used when the low frequency decoded signal obtained by the low frequency decoder is used in decoding of the high frequency signal.
(255) [Second Modification of Speech Decoding Device of Second Embodiment]
(256)
(257) The difference from the first modification of the speech decoding device in the second embodiment is that the low frequency signal input to the low frequency/high frequency signal combiner 100f is not output from the low frequency temporal envelope modifier 100d but output from the low frequency decoder 100b.
Third Embodiment
(258)
(259)
(260) The code sequence demultiplexer 110a divides a code sequence into a low frequency encoded part, a high frequency encoded part and information about the high frequency temporal envelope shape (step S110-1).
(261) The high frequency temporal envelope shape determiner 110b determines the temporal envelope shape of the high frequency signal, based on at least one of information about the high frequency temporal envelope shape divided by the code sequence demultiplexer 110a, the high frequency signal obtained by the high frequency decoder 100e and the low frequency signal obtained by the low frequency decoder 100b (step S110-2).
(262) Examples include a case where it is determined that the temporal envelope shape of the high frequency signal is flat, a case where it is determined that the temporal envelope shape of the high frequency signal is onset, and a case where it is determined that the temporal envelope shape of the high frequency signal is offset.
(263) The temporal envelope shape of the high frequency signal is determined, for example, by replacing the decoded signal obtained by the speech decoder 1b with the high frequency signal obtained by the high frequency decoder 100e in the process of determining the temporal envelope shape of the decoded signal in the temporal envelope shape determiner 1c. Similarly, the decoded signal obtained by the speech decoder 1b can be replaced with the low frequency signal obtained by the low frequency decoder 100b.
(264) The high frequency temporal envelope modifier 110c modifies the shape of the temporal envelope of the high frequency signal output from the high frequency decoder 110e, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner 110b (step S110-3). For example, when it is determined that the temporal envelope shape of the high frequency signal is flat, the temporal envelope shape of the high frequency signal can be modified by the following process.
(265) The temporal envelope shape of the high frequency signal can be modified, for example, by replacing the decoded signal obtained by the speech decoder 1b with the high frequency signal obtained by the high frequency decoder 100e in the process of modifying the temporal envelope shape of the decoded signal in the temporal envelope modifier 1d.
(266)
(267)
(268) The high frequency temporal envelope information encoder 210a calculates and encodes high frequency temporal envelope shape information, based on at least one of the input speech signal, information obtained in the encoding process including the encoding result of the input speech signal in the low frequency encoder 200a, and information obtained in the encoding process including the encoding result of the input speech signal in the high frequency encoder 200b (step S210-1).
(269) Calculating and encoding high frequency temporal envelope shape information can be performed similarly, for example, in the process of calculating and encoding the temporal envelope information on the input speech signal in the temporal envelope information encoder 2b where the high frequency signal of the input speech signal is used in place of the input speech signal, and the high frequency decoded signal obtained by decoding the encoding result in the high frequency encoder 200b is used in place of the decoded signal.
(270) The code sequence multiplexer 210b receives the code sequence of the low frequency speech signal from the low frequency encoder 200a, receives the code sequence of the high frequency speech signal from the high frequency encoder 200b, receives the encoded high frequency temporal envelope shape information from the high frequency temporal envelope information encoder 210a and outputs a multiplexed code sequence (step S210-2).
Fourth Embodiment
(271)
(272)
(273) The code sequence demultiplexer 120a divides a code sequence into a low frequency encoded part, a high frequency encoded part, information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape (step S120-1).
(274) In doing so, the information about the low frequency temporal envelope shape and the information about the high frequency temporal envelope shape can be divided, for example, from a code sequence including information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape that are separately encoded or can be divided from a code sequence including information about the frequency temporal envelope shape and information about the high frequency temporal envelope shape that are encoded in combination. For example, they can be divided from a code sequence including information in which information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape are represented by a single piece of information and encoded.
(275) The high frequency temporal envelope shape determiner 120b determines the temporal envelope shape of the high frequency signal, based on at least one of the information about the high frequency temporal envelope shape divided by the code sequence demultiplexer 120a, the low frequency signal obtained by the low frequency decoder 100b, and the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d (step S120-2).
(276) Examples include a case where it is determined that the temporal envelope shape of the high frequency signal is flat, a case where it is determined that the temporal envelope shape of the high frequency signal is onset, and a case where it is determined that the temporal envelope shape of the high frequency signal is offset.
(277) If the process of determining the high frequency temporal envelope shape in the high frequency temporal envelope shape determiner 120b is based on the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d, the decoded signal obtained by the speech decoder 1b can be replaced with the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d in the process of determining the temporal envelope shape of the decoded signal in the temporal envelope shape determiner 1c.
(278)
(279)
(280) The high frequency temporal envelope information encoder 220a calculates and encodes high frequency temporal envelope shape information, based on at least one of the input speech signal, information obtained in the encoding process including the encoding result of the input speech signal in the low frequency encoder 200a, information obtained in the encoding process including the encoding result of the input speech signal in the high frequency encoder 200b, and information obtained in the encoding process including the encoding result of the low frequency temporal envelope information in the low frequency temporal envelope information encoder 200c (step S220-1).
(281) Calculating and encoding high frequency temporal envelope shape information can be performed, for example, in the process of calculating and encoding the temporal envelope information on the high frequency signal by the high frequency temporal envelope information encoder 210a. For example, the process may be based on the encoding result of the low frequency temporal envelope information. For example, only when the result indicating that the low frequency temporal envelope is flat is obtained as the encoding result of the low frequency temporal envelope information, can whether the high frequency temporal envelope is flat be encoded as the high frequency temporal envelope information.
(282) The code sequence multiplexer 220b receives the code sequence of the low frequency speech signal from the low frequency encoder 200a, receives the code sequence of the high frequency speech signal from the high frequency encoder 200b, receives the encoded low frequency temporal envelope shape information from the low frequency temporal envelope information encoder 200c, receives the encoded high frequency temporal envelope shape information from the high frequency temporal envelope information encoder 210a, and outputs a multiplexed code sequence (step S220-2).
(283) In doing so, in the encoding of the information about the low frequency temporal envelope shape and the information about the high frequency temporal envelope shape, for example, separately encoded information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape may be received, or unitedly encoded information about the frequency temporal envelope shape and information about the high frequency temporal envelope shape may be received. For example, information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape, both being represented by a single piece of information and encoded, may be received.
(284) [First Modification of Speech Decoding Device of Fourth Embodiment]
(285)
(286)
(287) [Second Modification of Speech Decoding Device of Fourth Embodiment]
(288)
(289)
(290) [Third Modification of Speech Decoding Device of Fourth Embodiment]
(291)
(292)
(293) The present modification differs from the speech decoding device 120 according to the fourth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 120d in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 110c.
(294) In the present modification, the low frequency temporal envelope shape determiner 120c differs from the low frequency temporal envelope shape determiner 100c in that it also notifies the high frequency temporal envelope modifier 120d of the determined temporal envelope shape.
(295) The high frequency temporal envelope modifier 120d differs from the high frequency temporal envelope modifier 110c in that the shape of the temporal envelope of the high frequency signal output from the high frequency decoder 100e is modified, based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b and the temporal envelope shape determined by the low frequency temporal envelope shape determiner 120c (S120-3).
(296) For example, if the low frequency temporal envelope shape determiner 120c determines that the temporal envelope shape is flat, the temporal envelope of the high frequency signal output from the high frequency decoder 100e is modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b. For example, if the low frequency temporal envelope shape determiner 120c determines that the temporal envelope shape is not flat, the temporal envelope of the high frequency signal output from the high frequency decoder 100e is not modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b. This is applicable to the cases of onset and offset and is not limited to any specific temporal envelope shape.
(297) [Fourth Modification of Speech Decoding Device of Fourth Embodiment]
(298)
(299)
(300) The present modification differs from the speech decoding device 120 according to the fourth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(301) In the present modification, the high frequency temporal envelope shape determiner 120bA differs from the high frequency temporal envelope shape determiner 120b in that it also notifies the low frequency temporal envelope modifier 120e of the determined temporal envelope shape.
(302) The determination of the temporal envelope shape in the high frequency temporal envelope shape determiner 120bA can be based, for example, on the frequency power distribution of the low frequency signal, in addition to the above examples. For example, the frame length in the decoding of the high frequency signal obtained from the code sequence demultiplexer 120a can be used. For example, it can be determined that the shape is flat if the frame length is long, and it can be determined that the shape is onset or offset if the frame length is short. The high frequency temporal envelope shape determiner 120b can also determine in the same manner.
(303) The low frequency temporal envelope modifier 120e differs from the low frequency temporal envelope modifier 100d in that the shape of the temporal envelope of the low frequency signal output from the low frequency decoder 100b is modified, based on at least one of the temporal envelope shape determined by the low frequency temporal envelope shape determiner 100c and the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120bA (S120-4).
(304) For example, if the high frequency temporal envelope shape determiner 120bA determines that the temporal envelope shape is flat, the temporal envelope of the low frequency signal output from the low frequency decoder 100b is modified into a flat shape, irrespective of the temporal envelope shape determined by the low frequency temporal envelope shape determiner 100c. For example, if the high frequency temporal envelope shape determiner 120bA determines that the temporal envelope shape is flat, the temporal envelope of the low frequency signal output from the low frequency decoder 100b is not modified into a flat shape, irrespective of the temporal envelope shape determined by the low frequency temporal envelope shape determiner 100c. This is applicable to the cases of onset and offset and is not limited to any specific temporal envelope shape.
(305) [Fifth Modification of Speech Decoding Device of Fourth Embodiment]
(306)
(307)
(308) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 120d, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(309) [Sixth Modification of Speech Decoding Device of Fourth Embodiment]
(310)
(311)
(312) The present modification differs from the speech decoding device 120 according to the fourth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(313) The temporal envelope shape determiner 120f determines the temporal envelope shape, based on at least one of information about the low frequency temporal envelope shape from the code sequence demultiplexer 120a, information about the high frequency temporal envelope shape, the low frequency signal from the low frequency decoder 100b, and the high frequency signal from the high frequency decoder 100e (S120-5). The low frequency temporal envelope modifier 100d and the high frequency temporal envelope modifier 110c are notified of the determined temporal envelope shape.
(314) For example, it may be determined that the temporal envelope shape is flat. For example, it may be determined that the temporal envelope shape is onset. For example, it may be determined that the temporal envelope shape is offset. The determined temporal envelope shape is not limited to the above examples.
(315) The temporal envelope shape determiner 120f can determine the temporal envelope shape, for example, as performed by the low frequency temporal envelope shape determiners 100c and 120c, and the high frequency temporal envelope shape determiners 120b and 120bA. The method of determining the temporal envelope shape is not limited to the above examples.
(316) [Seventh Modification of Speech Decoding Device of Fourth Embodiment]
(317)
(318)
(319) The present modification differs from the first modification 120A of the speech decoding device according to the fourth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 120d in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 110c.
(320) [Eighth Modification of Speech Decoding Device of Fourth Embodiment]
(321)
(322)
(323) The present modification differs from the first modification 120A of the speech decoding device according to the fourth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(324) [Ninth Modification of Speech Decoding Device of Fourth Embodiment]
(325)
(326)
(327) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 120d, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(328) [Tenth Modification of Speech Decoding Device of Fourth Embodiment]
(329)
(330)
(331) The present modification differs from the first modification 120A of the speech decoding device according to the fourth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(332) [Eleventh Modification of Speech Decoding Device of Fourth Embodiment]
(333)
(334)
(335) The present modification differs from the second modification 120B of the speech decoding device according to the fourth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 120d in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 110c.
(336) [Twelfth Modification of Speech Decoding Device of Fourth Embodiment]
(337)
(338)
(339) The present modification differs from the second modification 120B of the speech decoding device according to the fourth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(340) [Thirteenth Modification of Speech Decoding Device of Fourth Embodiment]
(341)
(342)
(343) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 120d, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(344) [Fourteenth Modification of Speech Decoding Device of Fourth Embodiment]
(345)
(346)
(347) The present modification differs from the second modification 120B of the speech decoding device according to the fourth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
Fifth Embodiment
(348)
(349)
(350) The high frequency temporal envelope modifier 130a modifies the shape of the temporal envelope of the low frequency signal input to the high frequency decoder 130b, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner 110b (step S130-1). The modification of the temporal envelope shape in the high frequency temporal envelope modifier 130a is performed, for example, in the process of modifying the temporal envelope shape of the decoded signal in the temporal envelope modifier 1d in which the decoded signal obtained by the speech decoder 1b is replaced with the low frequency signal obtained by the low frequency decoder 100b.
(351) The high frequency decoder 130b decodes the high frequency encoded part divided by the code sequence demultiplexer 100a to obtain a high frequency signal (step S130-2).
(352) The high frequency decoder 130b differs from the high frequency decoder 100e in that the low frequency signal having the temporal envelope shape modified by the high frequency temporal envelope modifier 130a is used when the low frequency decoded signal obtained by the low frequency decoder is used in decoding the high frequency signal.
(353)
(354)
(355) The high frequency temporal envelope information encoder 230a calculates and encodes the high frequency temporal envelope shape information, based on at least one of the input speech signal, information obtained in the encoding process including the encoding result of the input speech signal in the low frequency encoder 200a, and information obtained in the encoding process including the encoding result of the input speech signal in the high frequency encoder 200b (step S230-1).
(356) Calculating and encoding high frequency temporal envelope shape information can be performed, for example, in the process, by the low frequency temporal envelope information encoder 200c, of calculating and encoding the temporal envelope information on the low frequency signal. However, the process of calculating and encoding high frequency temporal envelope shape information differs from the process of calculating and encoding the temporal envelope information on the low frequency signal using the low frequency decoded signal of the input speech signal in that the information obtained in the encoding process including the encoding result of the input speech signal in the high frequency encoder 200b can be additionally used.
Sixth Embodiment
(357)
(358)
(359)
(360)
(361) [First Modification of Speech Decoding Device of Sixth Embodiment]
(362)
(363)
(364) A high frequency temporal envelope modifier 140a modifies the shape of the temporal envelope of the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b (step S140-1). The difference from the high frequency temporal envelope modifier 130a is that the input signal is the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d.
(365) [Second Modification of Speech Decoding Device of Sixth Embodiment]
(366)
(367) The difference from the first modification of the speech decoding device in the present embodiment is that the low frequency signal to be used in the combining process by the low frequency/high frequency signal combiner 100f is not the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d but the low frequency signal decoded by the low frequency decoder 100b.
(368) [Third Modification of Speech Decoding Device of Sixth Embodiment]
(369)
(370)
(371) The present modification differs from the speech decoding device 140 according to the sixth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 140b in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 130a.
(372) The high frequency temporal envelope modifier 140b differs from the high frequency temporal envelope modifier 130a in that the shape of the temporal envelope of the low frequency signal input to the high frequency decoder 130b is modified based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b and the temporal envelope shape determined by the low frequency temporal envelope shape determiner 120c (S140-2).
(373) For example, if the low frequency temporal envelope shape determiner 120c determines that the temporal envelope shape is flat, the temporal envelope of the low frequency signal input to the high frequency decoder 130b is modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b. For example, if the low frequency temporal envelope shape determiner 120c determines that the temporal envelope shape is not flat, the temporal envelope of the low frequency signal input to the high frequency decoder 130b is not modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b. This is applicable to the cases of onset and offset and is not limited to any specific temporal envelope shape.
(374) [Fourth Modification of Speech Decoding Device of Sixth Embodiment]
(375)
(376)
(377) The present modification differs from the speech decoding device 140 according to the sixth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(378) [Fifth Modification of Speech Decoding Device of Sixth Embodiment]
(379)
(380)
(381) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 140b, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(382) [Sixth Modification of Speech Decoding Device of Sixth Embodiment]
(383)
(384)
(385) The present modification differs from the speech decoding device 140 according to the sixth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(386) [Seventh Modification of Speech Decoding Device of Sixth Embodiment]
(387)
(388)
(389) The present modification differs from the first modification 140A of the speech decoding device according to the sixth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 140b in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 140a.
(390) In the present modification, the high frequency temporal envelope modifier 140b modifies the shape of the temporal envelope of the low frequency signal having the temporal envelope shape modified to be input to the high frequency decoder 130b, based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b and the temporal envelope shape determined by the low frequency temporal envelope shape determiner 120c (S140-2).
(391) [Eighth Modification of Speech Decoding Device of Sixth Embodiment]
(392)
(393)
(394) The present modification differs from the first modification 140A of the speech decoding device according to the sixth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(395) [Ninth Modification of Speech Decoding Device of Sixth Embodiment]
(396)
(397)
(398) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 140b, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(399) [Tenth Modification of Speech Decoding Device of Sixth Embodiment]
(400)
(401)
(402) The present modification differs from the first modification 140A of the speech decoding device according to the sixth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(403) [Eleventh Modification of Speech Decoding Device of Sixth Embodiment]
(404)
(405)
(406) The present modification differs from the second modification 140B of the speech decoding device according to the sixth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 140b in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 140a.
(407) [Twelfth Modification of Speech Decoding Device of Sixth Embodiment]
(408)
(409)
(410) The present modification differs from the second modification 140B of the speech decoding device according to the sixth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(411) [Thirteenth Modification of Speech Decoding Device of Sixth Embodiment]
(412)
(413)
(414) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 140b, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(415) [Fourteenth Modification of Speech Decoding Device of Sixth Embodiment]
(416)
(417)
(418) The present modification differs from the second modification 140B of the speech decoding device according to the sixth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
Seventh Embodiment
(419)
(420)
(421) The code sequence demultiplexer 150a divides a code sequence into high frequency signal generation control information, a low frequency encoded part, and information about the temporal envelope shape (step S150-1).
(422) It is determined whether to generate a high frequency signal, based on the high frequency signal generation control information obtained in the code sequence demultiplexer 150a (step S150-2).
(423) If a high frequency signal is to be generated, the code sequence demultiplexer 150a extracts a high frequency encoded part from the code sequence (step S150-3). A high frequency signal is then generated using the high frequency encoded part of the code sequence, the temporal envelope shape of the high frequency signal is determined, and the temporal envelope shape of the high frequency signal is modified.
(424) The order in which the processing in step S150-2 and S150-3 is performed is not limited to the order illustrated in the flowchart in
(425) If it is determined to generate a high frequency signal based on the high frequency signal generation information, the low frequency/high frequency signal combiner 150c synthesizes an output speech signal from the low frequency signal whose temporal envelope shape is modified and the high frequency signal whose temporal envelope shape is modified. If it is determined not to generate a high frequency signal based on the high frequency signal generation information, the low frequency/high frequency signal combiner 150c synthesizes an output speech signal from the low frequency signal whose temporal envelope shape is modified (step S150-4). However, even when it is determined not to generate a high frequency signal, if the low frequency signal, whose temporal envelope shape is modified, is input in a state ready for output to low frequency/high frequency signal combiner 150c, the input low frequency signal can be optionally output as it is.
(426)
(427)
(428) The high frequency signal generation control information encoder 250a determines whether to generate a high frequency signal based on at least one of an input speech signal and a high frequency signal generation control instruction signal and encodes high frequency signal generation control information (step S250-1). For example, if the input speech signal includes a signal in a frequency band to be encoded by the high frequency encoder 200b, it can be determined to generate a high frequency signal. For example, if the high frequency signal generation control instruction signal instructs to generate a high frequency signal, it can be determined to generate a high frequency signal. For example, these two methods can be combined, and, for example, if at least one of these two methods decides to generate a high frequency signal, it can be determined to generate a high frequency signal.
(429) The high frequency signal generation control information can be encoded, for example, by one bit representing whether to generate a high frequency signal.
(430) The method of determining whether to generate a high frequency signal and the method of encoding the high frequency signal generation control information are not limited.
(431) If the high frequency signal generation control information encoder 250a determines to generate a high frequency signal, the high frequency encoder 200b encodes a high frequency signal corresponding to the high frequency component of the input speech signal, and the high frequency temporal envelope information encoder 220a calculates and encodes high frequency temporal envelope shape information. By contrast, if the high frequency signal generation control information encoder 250a determines not to generate a high frequency signal, the encoding of the high frequency signal and the calculation and encoding of high frequency temporal envelope shape information are not carried out (step S250-2).
(432) The code sequence multiplexer 250c receives the encoded high frequency signal generation control information from the high frequency signal generation control information encoder 250a, receives the code sequence of the low frequency speech signal from the low frequency encoder 200a, receives the encoded low frequency temporal envelope shape information from the low frequency temporal envelope information encoder 200c, additionally receives the code sequence of the high frequency speech signal from the high frequency encoder 200b and the encoded high frequency temporal envelope shape information from the high frequency temporal envelope information encoder 210a if the high frequency signal generation control information encoder 250a determines to generate a high frequency signal, and outputs a multiplexed code sequence (step S250-3).
(433) If the high frequency signal generation control information encoder 250a determines to generate a high frequency signal, when encoding of the information about the low frequency temporal envelope shape and the information about the high frequency temporal envelope shape, for example, separately encoded information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape may be received, or unitedly encoded information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape may be received. For example, information about the low frequency temporal envelope shape and information about the high frequency temporal envelope shape, both being represented by a single piece of information and encoded, may be received.
(434) [First Modification of Speech Decoding Device of Seventh Embodiment]
(435)
(436)
(437) The order in which the processing in step S150-2 and S150-3 is performed is not limited to the order illustrated in the flowchart in
(438) [Second Modification of Speech Decoding Device of Seventh Embodiment]
(439)
(440) [Third Modification of Speech Decoding Device of Seventh Embodiment]
(441)
(442)
(443) The present modification differs from the speech decoding device 150 according to the seventh embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 120d in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 110c.
(444) [Fourth Modification of Speech Decoding Device of Seventh Embodiment]
(445)
(446)
(447) The present modification differs from the speech decoding device 150 according to the seventh embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(448) [Fifth Modification of Speech Decoding Device of Seventh Embodiment]
(449)
(450)
(451) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 120d, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(452) [Sixth Modification of Speech Decoding Device of Seventh Embodiment]
(453)
(454)
(455) The present modification differs from the speech decoding device 150 according to the seventh embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(456) [Seventh Modification of Speech Decoding Device of Seventh Embodiment]
(457)
(458)
(459) The present modification differs from the first modification 150A of the speech decoding device according to the seventh embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 120d in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 110c.
(460) [Eighth Modification of Speech Decoding Device of Seventh Embodiment]
(461)
(462)
(463) The present modification differs from the first modification 150A of the speech decoding device according to the seventh embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(464) [Ninth Modification of Speech Decoding Device of Seventh Embodiment]
(465)
(466)
(467) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 120d, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(468) [Tenth Modification of Speech Decoding Device of Seventh Embodiment]
(469)
(470)
(471) The present modification differs from the first modification 150A of the speech decoding device according to the seventh embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(472) [Eleventh Modification of Speech Decoding Device of Seventh Embodiment]
(473)
(474)
(475) The present modification differs from the second modification 150B of the speech decoding device according to the seventh embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 120d in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 110c.
(476) [Twelfth Modification of Speech Decoding Device of Seventh Embodiment]
(477)
(478)
(479) The present modification differs from the second modification 150B of the speech decoding device according to the seventh embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(480) [Thirteenth Modification of Speech Decoding Device of Seventh Embodiment]
(481)
(482)
(483) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 120d, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(484) [Fourteenth Modification of Speech Decoding Device of Seventh Embodiment]
(485)
(486)
(487) The present modification differs from the second modification 150B of the speech decoding device according to the seventh embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
Eighth Embodiment
(488)
(489)
(490)
(491)
(492) [First Modification of Speech Decoding Device of Eighth Embodiment]
(493)
(494)
(495) The difference from the speech decoding device 160 of the present embodiment is that the high frequency temporal envelope modifier 140a described in the first modification of the speech decoding device in the sixth embodiment is used in place of the high frequency temporal envelope modifier 130a.
(496) The order in which the processing in step S150-2 and S150-3 is performed is not limited to the order illustrated in the flowchart in
(497) [Second Modification of Speech Decoding Device of Eighth Embodiment]
(498)
(499) The difference from the first modification 160A of the speech decoding device of the present embodiment is that the low frequency signal to be used in the combining process by the low frequency/high frequency signal combiner 150c is the low frequency signal decoded by the low frequency decoder 100b, not the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier 100d, as in the second modification of the speech decoding device of the sixth embodiment.
(500) [Third Modification of Speech Decoding Device of Eighth Embodiment]
(501)
(502)
(503) The present modification differs from the speech decoding device 160 according to the eighth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 140b in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 130a.
(504) [Fourth Modification of Speech Decoding Device of Eighth Embodiment]
(505)
(506)
(507) The present modification differs from the speech decoding device 160 according to the eighth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(508) [Fifth Modification of Speech Decoding Device of Eighth Embodiment]
(509)
(510)
(511) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 140b, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(512) [Sixth Modification of Speech Decoding Device of Eighth Embodiment]
(513)
(514)
(515) The present modification differs from the speech decoding device 160 according to the eighth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(516) [Seventh Modification of Speech Decoding Device of Eighth Embodiment]
(517)
(518)
(519) The present modification differs from the first modification 160A of the speech decoding device according to the eighth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 140b in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 140a.
(520) In the present modification, the high frequency temporal envelope modifier 140b modifies the shape of the temporal envelope of the low frequency signal having the temporal envelope shape modified to be input to the high frequency decoder 130b, based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner 120b and the temporal envelope shape determined by the low frequency temporal envelope shape determiner 120c (S140-2).
(521) [Eighth Modification of Speech Decoding Device of Eighth Embodiment]
(522)
(523)
(524) The present modification differs from the first modification 160A of the speech decoding device according to the eighth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(525) [Ninth Modification of Speech Decoding Device of Eighth Embodiment]
(526)
(527)
(528) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 140b, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(529) [Tenth Modification of Speech Decoding Device of Eighth Embodiment]
(530)
(531)
(532) The present modification differs from the first modification 160A of the speech decoding device according to the eighth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(533) [Eleventh Modification of Speech Decoding Device of Eighth Embodiment]
(534)
(535)
(536) The present modification differs from the second modification 160B of the speech decoding device according to the eighth embodiment in that it includes a low frequency temporal envelope shape determiner 120c and a high frequency temporal envelope modifier 140b in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope modifier 140a.
(537) [Twelfth Modification of Speech Decoding Device of Eighth Embodiment]
(538)
(539)
(540) The present modification differs from the second modification 160B of the speech decoding device according to the eighth embodiment in that it includes a high frequency temporal envelope shape determiner 120bA and a low frequency temporal envelope modifier 120e in place of the high frequency temporal envelope shape determiner 120b and the low frequency temporal envelope modifier 100d.
(541) [Thirteenth Modification of Speech Decoding Device of Eighth Embodiment]
(542)
(543)
(544) The present modification includes the low frequency temporal envelope shape determiner 120c, the high frequency temporal envelope modifier 140b, the high frequency temporal envelope shape determiner 120bA, and the low frequency temporal envelope modifier 120e.
(545) [Fourteenth Modification of Speech Decoding Device of Eighth Embodiment]
(546)
(547)
(548) The present modification differs from the second modification 160B of the speech decoding device according to the eighth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 120b.
(549) [Speech Decoding Device of Ninth Embodiment]
(550)
(551)
(552) The temporal envelope modifier 380a modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder 100b and the high frequency signal output from the high frequency decoder 100e, based on at least one of the temporal envelope shape determined by the low frequency temporal envelope shape determiner 100c and the temporal envelope shape determined by the high frequency temporal envelope shape determiner 110b (S380-1).
(553) The temporal envelope shape determined by the low frequency temporal envelope shape determiner 100c and the temporal envelope shape determined by the high frequency temporal envelope shape determiner 110b may be the same or different.
(554) [First Modification of Speech Decoding Device of Ninth Embodiment]
(555)
(556)
(557) The present modification differs from the speech decoding device 380 according to the ninth embodiment in that it includes a temporal envelope shape determiner 120f in place of the low frequency temporal envelope shape determiner 100c and the high frequency temporal envelope shape determiner 110b, and a temporal envelope modifier 380aA in place of the temporal envelope modifier 380a.
(558) The temporal envelope modifier 380aA modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder 100b and the high frequency signal output from the high frequency decoder 100e, based on the temporal envelope shape determined by the temporal envelope shape determiner 120f (S380-1a).
(559) [Speech Decoding Device of Tenth Embodiment]
(560)
(561)
(562) In the present modification, the temporal envelope modifier 380aA modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder 100b, based on the temporal envelope shape determined by the temporal envelope shape determiner 120f, and, if it is determined to generate a high frequency signal based on the high frequency signal generation information, additionally modifies the shape of the temporal envelope of the high frequency signal output from the high frequency decoder 100e (S380-1a).