PATENT 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.

PATENT DESCRIPTION
RELATED APPLICATIONS 
       [0001]    This application is a continuation application of PCT/JP2013/061105 having an international filing date of Apr. 12, 2013, which claims priority to JP2012-103519 filed Apr. 27, 2012 and JP2012-254496 filed Nov. 20, 2012. This application incorporates PCT/JP2013/061105, JP2012-103519 and JP2012-254496 herein by reference. 
     
    
     BACKGROUND OF THE INVENTION 
       [0002]    1. Field of the Invention 
         [0003]    The present invention relates to a speech decoding device, a speech encoding device, a speech decoding method, a speech encoding method, a speech decoding program, and a speech encoding program. 
         [0004]    2. Description of the Related Art 
         [0005]    Speech encoding for compressing the amount of data of speech signals and audio signals to a few tenths of the original size is an extremely important technique in terms of transmission and accumulation of signals. Examples of speech encoding techniques widely used include code excited linear prediction (CELP) that encodes a signal in a time domain, transform coded excitation (TCX) that encodes a signal in a frequency domain, and “MPEG4 AAC” standardized by “ISO/IEC MPEG”. 
         [0006]    As a method for improving the performance of speech codec and enabling high speech quality at a low bit rate, bandwidth extension techniques have become widely used in these days in which a high frequency component is generated using a low frequency component of speech. An exemplary bandwidth extension technique is called a spectral band replication (SBR) used in “MPEG4 AAC”. 
         [0007]    In speech encoding, the temporal envelope shape of a decoded signal obtained by decoding a code sequence obtained by encoding an input signal may greatly differ from the temporal envelope shape of the input signal, and such a difference may be perceived as distortions. Also, when the bandwidth extension techniques are used, since a high frequency component is generated by using a signal obtained by encoding and decoding a low frequency component of a speech signal with the speech encoding techniques as described above, the temporal envelope shape of the high frequency component may likewise differ and such a difference may be perceived as distortions. 
         [0008]    The method below is a known method for solving this problem (see Patent Literature 1 below). Specifically, in order to generate high frequency component, a high frequency component in an arbitrary time segment is divided into frequency bands. When energy information for each frequency band is calculated and encoded, the energy information for each frequency band is calculated and encoded for respective time segments shorter than the aforementioned time segment. In doing so, with respect to the divided frequency band and the short time segment, the bandwidth of each frequency band and the length of the short time segment can be set flexibly. A decoding device therefore can control energy of a high frequency component for each short time segment in the time direction. That is, the decoding device can control the temporal envelope of a high frequency component for each short time segment. 
       CITATION LIST 
     Patent Literature 
       [0000]    
       
         Patent Literature 1: U.S. Pat. No. 7,191,121 
       
     
       SUMMARY OF THE INVENTION 
     Technical Problem 
       [0010]    According to the method in Patent Literature 1 above, however, in order to exactly control the temporal envelope of a high frequency component, it is necessary to perform division into extremely short time segments and to calculate and encode the energy information for each frequency band at each short time segment. This significantly increases the amount of information and makes low bit rate encoding difficult. 
         [0011]    In view of the aforementioned problem, the present invention aims to modify the temporal envelope shape of a decoded signal with a small amount of information in order to achieve less perception of distortions. 
       Solution to Problem 
       [0012]    The applicant invented a speech decoding device characterized in having the following first to fourth aspects in order to achieve the object above. 
         [0013]    A speech decoding device according to the first aspect is a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding device comprises a code sequence analyzer that analyzes a code sequence including the encoded speech signal, a speech decoder that receives and decodes the code sequence including the encoded speech signal from the code sequence analyzer to obtain a speech signal, a temporal envelope shape determiner that receives information from at least one of the code sequence analyzer and the speech decoder and determines a temporal envelope shape of the decoded speech signal, based on the information, and a temporal envelope modifier that modifies the temporal envelope shape of the decoded speech signal, based on the temporal envelope shape determined by the temporal envelope shape determiner, and outputs the modified speech signal. 
         [0014]    A speech decoding device according to the second aspect is a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding device comprises a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal, based on the first information, a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder and determines a temporal envelope shape of the decoded low frequency signal, based on the second information, a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner, and outputs the modified low frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal whose temporal envelope shape is modified from the low frequency temporal envelope modifier, receives the high frequency signal from the high frequency decoder and combines the low frequency signal whose temporal envelope shape is modified and the high frequency signal to obtain a speech signal to be output. 
         [0015]    A speech decoding device according to the third aspect is a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding device comprises a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal, based on the first information, a high frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines a temporal envelope shape of the generated high frequency signal, based on the second information, a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner, and outputs the modified high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal from the low frequency decoder, receives the high frequency signal whose temporal envelope shape is modified from the high frequency temporal envelope modifier and combines the low frequency signal and the high frequency signal whose temporal envelope shape is modified to obtain a speech signal to be output. 
         [0016]    A speech decoding device according to the fourth aspect is a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding device comprises a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal, based on the first information, a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder and determines a temporal envelope shape of the decoded low frequency signal, based on the second information, a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner, and outputs the modified low frequency signal, a high frequency temporal envelope shape determiner that receives third information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines a temporal envelope shape of the generated high frequency signal, based on the third information, a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner, and outputs the modified high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal whose temporal envelope shape is modified from the low frequency temporal envelope modifier, receives the high frequency signal whose temporal envelope shape is modified from the high frequency temporal envelope modifier and combines the low frequency signal whose temporal envelope shape is modified and the high frequency signal whose temporal envelope shape is modified to obtain a speech signal to be output. 
         [0017]    In the speech decoding device according to the second or fourth aspect, the high frequency decoder may receive information from at least one of the code sequence demultiplexer, the low frequency decoder and the low frequency temporal envelope modifier and may generate a high frequency signal based on the information. 
         [0018]    Also, in the speech decoding device according to the first to fourth aspects, the high frequency temporal envelope modifier may modify the temporal envelope shape of an intermediate signal appearing when generating the high frequency signal in the high frequency decoder, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner, and the high frequency decoder may carry out a process of generating a residual high frequency signal based on the intermediate signal whose temporal envelope shape is modified. 
         [0019]    The invention of the speech decoding device according to the foregoing first to fourth aspects may be understood as an invention of a speech decoding method and can be described as follows. 
         [0020]    A speech decoding method according to the first aspect is a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding method comprises a code sequence analyzing step of analyzing a code sequence including the encoded speech signal, a speech decoding step of receiving and decoding the code sequence including the encoded speech signal after the analysis to obtain a speech signal, a temporal envelope shape determining step of receiving information obtained in at least one of the code sequence analyzing step and the speech decoding step and determining a temporal envelope shape of the decoded speech signal based on the information, and a temporal envelope modifying step of modifying the temporal envelope shape of the decoded speech signal, based on the temporal envelope shape determined by the temporal envelope shape determining step, and outputting the modified speech signal. 
         [0021]    A speech decoding method according to the second aspect is a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding method comprises a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained by division to obtain a low frequency signal, a high frequency decoding step of receiving first information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the first information, a low frequency temporal envelope shape determining step of receiving second information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and determining a temporal envelope shape of the decoded low frequency signal based on the second information, a low frequency temporal envelope modifying step of modifying the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the low frequency temporal envelope shape determining step, and outputting the modified low frequency signal, and a low frequency/high frequency signal combining step of receiving the low frequency signal whose temporal envelope shape is modified obtained in the low frequency temporal envelope modifying step, receiving the high frequency signal obtained in the high frequency decoding step and combining the low frequency signal whose temporal envelope shape is modified and the high frequency signal to obtain a speech signal to be output. 
         [0022]    A speech decoding method according to the third aspect is a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding method comprises a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained by division to obtain a low frequency signal, a high frequency decoding step of receiving first information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the first information, a high frequency temporal envelope shape determining step of receiving second information obtained in at least one of the code sequence inverse multiplexing step, the low frequency decoding step and the high frequency decoding step and determining a temporal envelope shape of the generated high frequency signal based on the second information, a high frequency temporal envelope modifying step of modifying the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the high frequency temporal envelope shape determining step, and outputting the modified high frequency signal, and a low frequency/high frequency signal combining step of receiving the low frequency signal obtained in the low frequency decoding step, receiving the high frequency signal whose temporal envelope shape is modified obtained in the high frequency temporal envelope modifying step and combining the low frequency signal and the high frequency signal whose temporal envelope shape is modified to obtain a speech signal to be output. 
         [0023]    A speech decoding method according to the fourth aspect is a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding method comprises a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained in the code sequence inverse multiplexing step to obtain a low frequency signal, a high frequency decoding step of receiving first information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the first information, a low frequency temporal envelope shape determining step of receiving second information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and determining a temporal envelope shape of the decoded low frequency signal based on the second information, a low frequency temporal envelope modifying step of modifying the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the low frequency temporal envelope shape determining step, and outputting the modified low frequency signal, a high frequency temporal envelope shape determining step of receiving third information from at least one of the code sequence inverse multiplexing step, the low frequency decoding step and the high frequency decoding step and determining a temporal envelope shape of the generated high frequency signal based on the third information, a high frequency temporal envelope modifying step of modifying the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the high frequency temporal envelope shape determining step, and outputting the modified high frequency signal, and a low frequency/high frequency signal combining step of receiving the low frequency signal whose temporal envelope shape is modified obtained in the low frequency temporal envelope modifying step, receiving the high frequency signal whose temporal envelope shape is modified obtained in the high frequency temporal envelope modifying step and combining the low frequency signal whose temporal envelope shape is modified and the high frequency signal whose temporal envelope shape is modified to obtain a speech signal to be output. 
         [0024]    Furthermore, the invention of the speech decoding device according to the foregoing first to fourth aspects can be understood as an invention of a speech decoding program and can be described as follows. 
         [0025]    A speech decoding program according to the first aspect is a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as a code sequence analyzer that analyzes a code sequence including the encoded speech signal, a speech decoder that receives and decodes the code sequence including the encoded speech signal from the code sequence analyzer to obtain a speech signal, a temporal envelope shape determiner that receives information from at least one of the code sequence analyzer and the speech decoder and determines a temporal envelope shape of the decoded speech signal based on the information, and a temporal envelope modifier that modifies the temporal envelope shape of the decoded speech signal, based on the temporal envelope shape determined by the temporal envelope shape determiner, and outputs the modified speech signal. 
         [0026]    A speech decoding program according to the second aspect is a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information, a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder and determines a temporal envelope shape of the decoded low frequency signal based on the second information, a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner, and outputs the modified low frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal whose temporal envelope shape is modified from the low frequency temporal envelope modifier, receives the high frequency signal from the high frequency decoder and combines the low frequency signal whose temporal envelope shape is modified and the high frequency signal to obtain a speech signal to be output. 
         [0027]    A speech decoding program according to the third aspect is a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information, a high frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines a temporal envelope shape of the generated high frequency signal based on the second information, a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner, and outputs the modified high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal from the low frequency decoder, receives the high frequency signal whose temporal envelope shape is modified from the high frequency temporal envelope modifier and combines the low frequency signal and the high frequency signal whose temporal envelope shape is modified to obtain a speech signal to be output. 
         [0028]    A speech decoding program according to the fourth aspect is a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information, a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder, and determines a temporal envelope shape of the decoded low frequency signal based on the second information, a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner, and outputs the modified low frequency signal, a high frequency temporal envelope shape determiner that receives third information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines a temporal envelope shape of the generated high frequency signal based on the third information, a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner, and outputs the modified high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal whose temporal envelope shape is modified from the low frequency temporal envelope modifier, receives the high frequency signal whose temporal envelope shape is modified from the high frequency temporal envelope modifier and combines the low frequency signal whose temporal envelope shape is modified and the high frequency signal whose temporal envelope shape is modified to obtain a speech signal to be output. 
         [0029]    The applicant invented a speech encoding device characterized in having the following first to fourth aspects in order to achieve the object above. 
         [0030]    A speech encoding device according to the first aspect is a speech encoding device that encodes an input speech signal to output a code sequence. The speech encoding device comprises 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. 
         [0031]    A speech encoding device according to the second aspect is a speech encoding device that encodes an input speech signal to output a code sequence. The speech encoding device comprises a low frequency encoder that encodes a low frequency component of the speech signal, a high frequency encoder that encodes a high frequency component of the speech signal, a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder and information obtained in a process of the low frequency encoding, and a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder and a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder. 
         [0032]    A speech encoding device according to the third aspect is a speech encoding device that encodes an input speech signal to output a code sequence. The speech encoding device comprises a low frequency encoder that encodes a low frequency component of the speech signal, a high frequency encoder that encodes a high frequency component of the speech signal, a high frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder, information obtained in a process of the low frequency encoding, an encoding result in the high frequency encoder and information obtained in a process of the high frequency encoding, and a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder and a code sequence of the temporal envelope information of the high frequency component obtained by the high frequency temporal envelope information encoder. 
         [0033]    A speech encoding device according to the fourth aspect is a speech encoding device that encodes an input speech signal to output a code sequence. The speech encoding device comprises a low frequency encoder that encodes a low frequency component of the speech signal, a high frequency encoder that encodes a high frequency component of the speech signal, a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder and information obtained in a process of the low frequency encoding, a high frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder, information obtained in a process of the low frequency encoding, an encoding result in the high frequency encoder and information obtained in a process of the high frequency encoding, and a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder, a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder and a code sequence of the temporal envelope information of the high frequency component obtained by the high frequency temporal envelope information encoder. 
         [0034]    The invention of the speech encoding device according to the foregoing first to fourth aspects can be understood as an invention of a speech encoding method and can be described as follows. 
         [0035]    A speech encoding method according to the first aspect is 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 comprises 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. 
         [0036]    A speech encoding method according to the second aspect is 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 comprises a low frequency encoding step of encoding a low frequency component of the speech signal, a high frequency encoding step of encoding a high frequency component of the speech signal, a low frequency temporal envelope information encoding step of calculating and encoding temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoding step and information obtained in a process of the low frequency encoding, and a code sequence multiplexing step of multiplexing a code sequence including the low frequency component obtained in the low frequency encoding step, a code sequence including the high frequency component obtained in the high frequency encoding step and a code sequence of the temporal envelope information of the low frequency component obtained in the low frequency temporal envelope information encoding step. 
         [0037]    A speech encoding method according to the second aspect is 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 comprises a low frequency encoding step of encoding a low frequency component of the speech signal, a high frequency encoding step of encoding a high frequency component of the speech signal, a high frequency temporal envelope information encoding step of calculating and encoding temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoding step, information obtained in a process of the low frequency encoding, an encoding result in the high frequency encoding step and information obtained in a process of the high frequency encoding, and a code sequence multiplexing step of multiplexing a code sequence including the low frequency component obtained in the low frequency encoding step, a code sequence including the high frequency component obtained in the high frequency encoding step and a code sequence of the temporal envelope information of the high frequency component obtained in the high frequency temporal envelope information encoding step. 
         [0038]    A speech encoding method according to the fourth aspect is 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 comprises a low frequency encoding step of encoding a low frequency component of the speech signal, a high frequency encoding step of encoding a high frequency component of the speech signal, a low frequency temporal envelope information encoding step of calculating and encoding temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoding step and information obtained in a process of the low frequency encoding, a high frequency temporal envelope information encoding step of calculating and encoding temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoding step, information obtained in a process of the low frequency encoding, an encoding result in the high frequency encoding step and information obtained in a process of the high frequency encoding, and a code sequence multiplexing step of multiplexing a code sequence including the low frequency component obtained in the low frequency encoding step, a code sequence including the high frequency component obtained in the high frequency encoding step, a code sequence of the temporal envelope information of the low frequency component obtained in the low frequency temporal envelope information encoding step and a code sequence of the temporal envelope information of the high frequency component obtained in the high frequency temporal envelope information encoding step. 
         [0039]    The invention of the speech encoding device according to the foregoing first to fourth aspects can be understood as an invention of a speech encoding program and can be described as follows. 
         [0040]    A speech encoding program according to the first aspect is a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as 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. 
         [0041]    A speech encoding program according to the second aspect is a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as a low frequency encoder that encodes a low frequency component of the speech signal, a high frequency encoder that encodes a high frequency component of the speech signal, a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder and information obtained in a process of the low frequency encoding, and a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder and a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder. 
         [0042]    A speech encoding program according to the third aspect is a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as a low frequency encoder that encodes a low frequency component of the speech signal, a high frequency encoder that encodes a high frequency component of the speech signal, a high frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder, information obtained in a process of the low frequency encoding, an encoding result in the high frequency encoder and information obtained in a process of the high frequency encoding, and a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder and a code sequence of the temporal envelope information of the high frequency component obtained by the high frequency temporal envelope information encoder. 
         [0043]    A speech encoding program according to the fourth aspect is a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as a low frequency encoder that encodes a low frequency component of the speech signal, a high frequency encoder that encodes a high frequency component of the speech signal, a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder and information obtained in a process of the low frequency encoding, a high frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder, information obtained in a process of the low frequency encoding, an encoding result in the high frequency encoder and information obtained in a process of the high frequency encoding, and a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder, a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder and a code sequence of the temporal envelope information of the high frequency component obtained by the high frequency temporal envelope information encoder. 
         [0044]    The applicant invented a speech decoding device characterized in having the following fifth to sixth aspects in order to achieve the object above. 
         [0045]    A speech decoding device according to the fifth aspect is a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding device comprises a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information, a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the temporal envelope shape determiner, and outputs the modified low frequency signal, a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the temporal envelope shape determiner, and outputs the modified high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal modified in temporal envelope from the low frequency temporal envelope modifier, receives the high frequency signal modified in temporal envelope from the high frequency temporal envelope modifier and synthesizes a speech signal to be output. 
         [0046]    A speech decoding device according to the sixth aspect is a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding device comprises a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information, a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, a temporal envelope modifier that receives the decoded low frequency signal from the low frequency decoder, receives the generated high frequency signal from the high frequency decoder, modifies the temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, based on the temporal envelope shapes determined by the temporal envelope shape determiner, and outputs the modified low frequency signal and high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal and high frequency signal modified in temporal envelope from the temporal envelope modifier and synthesizes a speech signal to be output. 
         [0047]    In the speech decoding device according to the fifth aspect, the high frequency decoder may receive information from at least one of the code sequence demultiplexer, the low frequency decoder and the low frequency temporal envelope modifier, and may generate a high frequency signal based on the information. 
         [0048]    Furthermore, in the speech decoding device according to the fifth aspect, the high frequency temporal envelope modifier may modify a temporal envelope shape of an intermediate signal appearing when generating a high frequency signal in the high frequency decoder, based on the temporal envelope shape determined by the temporal envelope shape determiner, and the high frequency decoder may carry out a process of generating a residual high frequency signal based on the intermediate signal whose temporal envelope shape is modified. 
         [0049]    Furthermore, in the speech decoding device according to the sixth aspect, the high frequency decoder may receive information from at least one of the code sequence demultiplexer and the low frequency decoder and may generate a high frequency signal based on the information. 
         [0050]    Furthermore, in the speech decoding device according to the sixth aspect, the temporal envelope modifier may modify a temporal envelope shape of an intermediate signal appearing when generating a high frequency signal in the high frequency decoder, based on the temporal envelope shape determined by the temporal envelope shape determiner, and the high frequency decoder may carry out a process of generating a residual high frequency signal based on the intermediate signal whose temporal envelope shape is modified. 
         [0051]    The invention of the speech decoding device according to the foregoing fifth and sixth aspects may be understood as an invention of a speech decoding method and can be described as follows. 
         [0052]    A speech decoding method according to the fifth aspect is a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding method comprises a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained by division to obtain a low frequency signal, a high frequency decoding step of receiving information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the information, a temporal envelope shape determining step of receiving information obtained in at least one of the code sequence inverse multiplexing step, the low frequency decoding step and the high frequency decoding step and determining temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, a low frequency temporal envelope modifying step of modifying the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the temporal envelope shape determining step, and outputting the modified low frequency signal, a high frequency temporal envelope modifying step of modifying the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the temporal envelope shape determining step, and outputting the modified high frequency signal, and a low frequency/high frequency signal combining step of receiving the low frequency signal modified in temporal envelope obtained in the low frequency temporal envelope modifying step, receiving the high frequency signal modified in temporal envelope obtained in the high frequency temporal envelope modifying step and synthesizing a speech signal to be output. 
         [0053]    A speech decoding method according to the sixth aspect is a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal. The speech decoding method comprises a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained by division to obtain a low frequency signal, a high frequency decoding step of receiving information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the information, a temporal envelope shape determining step of receiving information obtained in at least one of the code sequence inverse multiplexing step, the low frequency decoding step and the high frequency decoding step and determining temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, a temporal envelope modifying step of receiving the decoded low frequency signal obtained in the low frequency decoding step, receiving the generated high frequency signal obtained in the high frequency decoding step, modifying the temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, based on the temporal envelope shapes determined by the temporal envelope shape determining step, and outputting the modified low frequency signal and high frequency signal, and a low frequency/high frequency signal combining step of receiving the low frequency signal and high frequency signal modified in temporal envelope obtained in the temporal envelope modifying step and synthesizing a speech signal to be output. 
         [0054]    The invention of the speech decoding device according to the foregoing fifth to sixth aspects may be understood as an invention of a speech decoding program and can be described as follows. 
         [0055]    A speech decoding program according to the fifth aspect is a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal, based on the information, a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal, based on the temporal envelope shape determined by the temporal envelope shape determiner, and outputs the modified low frequency signal, a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal, based on the temporal envelope shape determined by the temporal envelope shape determiner, and outputs the modified high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal modified in temporal envelope from the low frequency temporal envelope modifier, receives the high frequency signal modified in temporal envelope from the high frequency temporal envelope modifier and synthesizes a speech signal to be output. 
         [0056]    A speech decoding program according to the sixth aspect is a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal, a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal, a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information, a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, a temporal envelope modifier that receives the decoded low frequency signal from the low frequency decoder, receives the generated high frequency signal from the high frequency decoder, modifies the temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, based on the temporal envelope shapes determined by the temporal envelope shape determiner, and outputs the modified low frequency signal and high frequency signal, and a low frequency/high frequency signal combiner that receives the low frequency signal and high frequency signal modified in temporal envelope from the temporal envelope modifier and synthesizes a speech signal to be output. 
         [0057]    The present invention is also directed to a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding device comprising: 
         [0058]    a code sequence analyzer that analyzes a code sequence including the encoded speech signal; 
         [0059]    a speech decoder that receives and decodes the code sequence including the encoded speech signal from the code sequence analyzer to obtain a speech signal; 
         [0060]    a temporal envelope shape determiner that receives information from at least one of the code sequence analyzer and the speech decoder and determines a temporal envelope shape of the decoded speech signal based on the information; and 
         [0061]    a temporal envelope modifier that modifies the temporal envelope shape of the decoded speech signal based on the temporal envelope shape determined by the temporal envelope shape determiner and outputs the modified speech signal. 
         [0062]    The present invention is also directed to a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding device comprising: 
         [0063]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0064]    a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0065]    a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information; 
         [0066]    a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder and determines a temporal envelope shape of the decoded low frequency signal based on the second information; 
         [0067]    a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner and outputs the modified low frequency signal; and 
         [0068]    a low frequency/high frequency signal combiner that receives the low frequency signal, whose temporal envelope shape is modified, from the low frequency temporal envelope modifier, receives the high frequency signal from the high frequency decoder and combines the low frequency signal, whose temporal envelope shape is modified, and the high frequency signal to obtain a speech signal to be output. 
         [0069]    The present invention is also directed to a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding device comprising: 
         [0070]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0071]    a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0072]    a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information; 
         [0073]    a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder and determines a temporal envelope shape of the decoded low frequency signal based on the second information; 
         [0074]    a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner and outputs the modified low frequency signal; 
         [0075]    a high frequency temporal envelope shape determiner that receives third information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines a temporal envelope shape of the generated high frequency signal based on the third information; 
         [0076]    a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner and outputs the modified high frequency signal; and 
         [0077]    a low frequency/high frequency signal combiner that receives the low frequency signal, whose temporal envelope shape is modified, from the low frequency temporal envelope modifier, receives the high frequency signal, whose temporal envelope shape is modified, from the high frequency temporal envelope modifier and combines the low frequency signal, whose temporal envelope shape is modified, and the high frequency signal, whose temporal envelope shape is modified, to obtain a speech signal to be output. 
         [0078]    In the speech decoding device discussed above, the high frequency decoder receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the low frequency temporal envelope modifier and generates a high frequency signal based on the information. 
         [0079]    In the speech decoding device discussed above, the high frequency temporal envelope modifier modifies, based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner, a temporal envelope shape of an intermediate signal appearing when the high frequency decoder generates a high frequency signal, and 
         [0080]    the high frequency decoder generates a residual high frequency signal based on the intermediate signal whose temporal envelope shape is modified. 
         [0081]    The present invention is also directed to a speech encoding device that encodes an input speech signal to output a code sequence, the speech encoding device comprising: 
         [0082]    a speech encoder that encodes the speech signal; 
         [0000]    a temporal envelope information encoder that calculates and encodes temporal envelope information of the speech signal; and 
         [0083]    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. 
         [0084]    The present invention is also directed to a speech encoding device that encodes an input speech signal to output a code sequence, the speech encoding device comprising: 
         [0085]    a low frequency encoder that encodes a low frequency component of the speech signal; 
         [0086]    a high frequency encoder that encodes a high frequency component of the speech signal; 
         [0087]    a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder and information obtained in a process of the low frequency encoding; and 
         [0088]    a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder and a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder. 
         [0089]    The present invention is also directed to a speech encoding device that encodes an input speech signal to output a code sequence, the speech encoding device comprising: 
         [0090]    a low frequency encoder that encodes a low frequency component of the speech signal; 
         [0091]    a high frequency encoder that encodes a high frequency component of the speech signal; 
         [0092]    a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder and information obtained in a process of the low frequency encoding; 
         [0093]    a high frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder, information obtained in a process of the low frequency encoding, an encoding result in the high frequency encoder and information obtained in a process of the high frequency encoding; and 
         [0094]    a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder, a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder and a code sequence of the temporal envelope information of the high frequency component obtained by the high frequency temporal envelope information encoder. 
         [0095]    The present invention is also directed to a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding method comprising: 
         [0096]    a code sequence analyzing step of analyzing a code sequence including the encoded speech signal; 
         [0097]    a speech decoding step of receiving and decoding the analyzed code sequence including the encoded speech signal to obtain a speech signal; 
         [0098]    a temporal envelope shape determining step of receiving information obtained in at least one of the code sequence analyzing step and the speech decoding step, and determining a temporal envelope shape of the decoded speech signal based on the information; and 
         [0099]    a temporal envelope modifying step of modifying the temporal envelope shape of the decoded speech signal based on the temporal envelope shape determined in the temporal envelope shape determining step and outputting the modified speech signal. 
         [0100]    The present invention is also directed to a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding method comprising: 
         [0101]    a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0102]    a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained by division to obtain a low frequency signal; 
         [0103]    a high frequency decoding step of receiving first information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the first information; 
         [0104]    a low frequency temporal envelope shape determining step of receiving second information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and determining a temporal envelope shape of the decoded low frequency signal based on the second information; 
         [0105]    a low frequency temporal envelope modifying step of modifying the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the low frequency temporal envelope shape determining step, and outputting the modified low frequency signal; and 
         [0106]    a low frequency/high frequency signal combining step of receiving the low frequency signal, whose temporal envelope shape is modified, obtained in the low frequency temporal envelope modifying step, receiving the high frequency signal obtained in the high frequency decoding step, and combining the low frequency signal, whose temporal envelope shape is modified, and the high frequency signal to obtain a speech signal to be output. 
         [0107]    The present invention is also directed to a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding method comprising: 
         [0108]    a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0109]    a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained in the code sequence inverse multiplexing step to obtain a low frequency signal; a high frequency decoding step of receiving first information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the first information; 
         [0110]    a low frequency temporal envelope shape determining step of receiving second information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and determining a temporal envelope shape of the decoded low frequency signal based on the second information; 
         [0111]    a low frequency temporal envelope modifying step of modifying the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined in the low frequency temporal envelope shape determining step, and outputting the modified low frequency signal; a high frequency temporal envelope shape determining step of receiving third information from at least one of the code sequence inverse multiplexing step, the low frequency decoding step and the high frequency decoding step and determining a temporal envelope shape of the generated high frequency signal based on the third information; 
         [0112]    a high frequency temporal envelope modifying step of modifying the temporal envelope shape of the generated high frequency signal based on the temporal envelope shape determined in the high frequency temporal envelope shape determining step and outputting the modified high frequency signal; and 
         [0113]    a low frequency/high frequency signal combining step of receiving the low frequency signal, whose temporal envelope shape is modified, obtained in the low frequency temporal envelope modifying step, receiving the high frequency signal, whose temporal envelope shape is modified, obtained in the high frequency temporal envelope modifying step and combining the low frequency signal, whose temporal envelope shape is modified, and the high frequency signal, whose temporal envelope shape is modified, to obtain a speech signal to be output. 
         [0114]    The present invention is also directed to 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: 
         [0115]    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 
         [0116]    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. 
         [0117]    The present invention is also directed to 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: 
         [0118]    a low frequency encoding step of encoding a low frequency component of the speech signal; 
         [0119]    a high frequency encoding step of encoding a high frequency component of the speech signal; 
         [0120]    a low frequency temporal envelope information encoding step of calculating and encoding temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoding step and information obtained in a process of the low frequency encoding; and 
         [0121]    a code sequence multiplexing step of multiplexing a code sequence including the low frequency component obtained in the low frequency encoding step, a code sequence including the high frequency component obtained in the high frequency encoding step and a code sequence of the temporal envelope information of the low frequency component obtained in the low frequency temporal envelope information encoding step. 
         [0122]    The present invention is also directed to 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: 
         [0123]    a low frequency encoding step of encoding a low frequency component of the speech signal; 
         [0124]    a high frequency encoding step of encoding a high frequency component of the speech signal; 
         [0125]    a low frequency temporal envelope information encoding step of calculating and encoding temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoding step, and information obtained in the low frequency encoding step; 
         [0126]    a high frequency temporal envelope information encoding step of calculating and encoding temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoding step, information obtained in the low frequency encoding step, an encoding result in the high frequency encoding step and information obtained in the high frequency encoding step; and 
         [0127]    a code sequence multiplexing step of multiplexing a code sequence including the low frequency component obtained in the low frequency encoding step, a code sequence including the high frequency component obtained in the high frequency encoding step, a code sequence of the temporal envelope information of the low frequency component obtained in the low frequency temporal envelope information encoding step, and a code sequence of the temporal envelope information of the high frequency component obtained in the high frequency temporal envelope information encoding step. 
         [0128]    The present invention is also directed to a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as: 
         [0129]    a code sequence analyzer that analyzes a code sequence including the encoded speech signal; 
         [0130]    a speech decoder that receives and decodes the code sequence including the encoded speech signal from the code sequence analyzer to obtain a speech signal; a temporal envelope shape determiner that receives information from at least one of the code sequence analyzer and the speech decoder and determines a temporal envelope shape of the decoded speech signal based on the information; and 
         [0131]    a temporal envelope modifier that modifies the temporal envelope shape of the decoded speech signal based on the temporal envelope shape determined by the temporal envelope shape determiner, and outputs the modified speech signal. 
         [0132]    The present invention is also directed to a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as: 
         [0133]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0134]    a low frequency decoder that receives and decodes the code sequence including encoded information of the low frequency signal from the code sequence demultiplexer to obtain a low frequency signal; 
         [0135]    a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information; 
         [0136]    a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder and determines a temporal envelope shape of the decoded low frequency signal based on the second information; 
         [0137]    a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner and outputs the modified low frequency signal; and 
         [0138]    a low frequency/high frequency signal combiner that receives the low frequency signal. whose temporal envelope shape is modified, from the low frequency temporal envelope modifier, receives the high frequency signal from the high frequency decoder and combines the low frequency signal, whose temporal envelope shape is modified, and the high frequency signal to obtain a speech signal to be output. 
         [0139]    The present invention is also directed to a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as: 
         [0140]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0141]    a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0142]    a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information; 
         [0143]    a high frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines a temporal envelope shape of the generated high frequency signal based on the second information; 
         [0144]    a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner and outputs the modified high frequency signal; and 
         [0145]    a low frequency/high frequency signal combiner that receives the low frequency signal from the low frequency decoder, receives the high frequency signal, whose temporal envelope shape is modified, from the high frequency temporal envelope modifier and combines the low frequency signal and the high frequency signal, whose temporal envelope shape is modified, to obtain a speech signal to be output. 
         [0146]    The present invention is also directed to a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as: 
         [0147]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0148]    a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0149]    a high frequency decoder that receives first information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the first information; 
         [0150]    a low frequency temporal envelope shape determiner that receives second information from at least one of the code sequence demultiplexer and the low frequency decoder and determines a temporal envelope shape of the decoded low frequency signal based on the second information; 
         [0151]    a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner and outputs the modified low frequency signal; 
         [0152]    a high frequency temporal envelope shape determiner that receives third information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines a temporal envelope shape of the generated high frequency signal based on the third information; 
         [0153]    a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner, and outputs the modified high frequency signal; and 
         [0154]    a low frequency/high frequency signal combiner that receives the low frequency signal, whose temporal envelope shape is modified, from the low frequency temporal envelope modifier, receives the high frequency signal, whose temporal envelope shape is modified, from the high frequency temporal envelope modifier and combines the low frequency signal, whose temporal envelope shape is modified, and the high frequency signal, whose temporal envelope shape is modified, to obtain a speech signal to be output. 
         [0155]    The present invention is also directed to a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as: 
         [0156]    a speech encoder that encodes the speech signal; 
         [0157]    a temporal envelope information encoder that calculates and encodes temporal envelope information of the speech signal; and 
         [0158]    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. 
         [0159]    The present invention is also directed to a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as: 
         [0160]    a low frequency encoder that encodes a low frequency component of the speech signal; 
         [0161]    a high frequency encoder that encodes a high frequency component of the speech signal; 
         [0162]    a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result in the low frequency encoder and information obtained by the low frequency encoder; and 
         [0163]    a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder and a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder. 
         [0164]    The present invention is also directed to a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as: 
         [0165]    a low frequency encoder that encodes a low frequency component of the speech signal; 
         [0166]    a high frequency encoder that encodes a high frequency component of the speech signal; 
         [0167]    a high frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result from the low frequency encoder, information obtained by the low frequency encoder, an encoding result from the high frequency encoder, and information obtained by the high frequency encoder; and 
         [0168]    a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder, and a code sequence of the temporal envelope information of the high frequency component obtained by the high frequency temporal envelope information encoder. 
         [0169]    The present invention is also directed to a speech encoding program for causing a computer provided in a speech encoding device, which encodes an input speech signal to output a code sequence, to function as: 
         [0170]    a low frequency encoder that encodes a low frequency component of the speech signal; 
         [0171]    a high frequency encoder that encodes a high frequency component of the speech signal; 
         [0172]    a low frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the low frequency component, based on at least one of the speech signal, an encoding result from the low frequency encoder and information obtained by the low frequency encoder; 
         [0173]    a high frequency temporal envelope information encoder that calculates and encodes temporal envelope information of the high frequency component, based on at least one of the speech signal, an encoding result from the low frequency encoder, information obtained by the low frequency encoder, an encoding result from the high frequency encoder, and information obtained by the high frequency encoder; and 
         [0174]    a code sequence multiplexer that multiplexes a code sequence including the low frequency component obtained by the low frequency encoder, a code sequence including the high frequency component obtained by the high frequency encoder, a code sequence of the temporal envelope information of the low frequency component obtained by the low frequency temporal envelope information encoder and a code sequence of the temporal envelope information of the high frequency component obtained by the high frequency temporal envelope information encoder. 
         [0175]    The present invention is also directed to a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding device comprising: 
         [0176]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0177]    a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0178]    a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information; 
         [0179]    a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder, and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal; 
         [0180]    a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the temporal envelope shape determiner and outputs the modified low frequency signal; 
         [0181]    a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal based on the temporal envelope shape determined by the temporal envelope shape determiner and outputs the modified high frequency signal; and 
         [0182]    a low frequency/high frequency signal combiner that receives the low frequency signal, whose temporal envelope is modified, from the low frequency temporal envelope modifier, receives the high frequency signal, whose temporal envelope is modified, from the high frequency temporal envelope modifier and synthesizes a speech signal to be output. 
         [0183]    The present invention is also directed to a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding device comprising: 
         [0184]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0185]    a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0186]    a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information; 
         [0187]    a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal; 
         [0188]    a temporal envelope modifier that receives the decoded low frequency signal from the low frequency decoder, receives the generated high frequency signal from the high frequency decoder, modifies the temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, based on the temporal envelope shapes determined by the temporal envelope shape determiner, and outputs the modified low frequency signal and high frequency signal; and 
         [0189]    a low frequency/high frequency signal combiner that receives the low frequency signal and high frequency signal, whose temporal envelopes are modified, from the temporal envelope modifier and synthesizes a speech signal to be output. 
         [0190]    In the speech decoding device discussed above, the high frequency decoder receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the low frequency temporal envelope modifier and generates a high frequency signal based on the information. 
         [0191]    In the speech decoding device discussed above, the high frequency temporal envelope modifier modifies, based on the temporal envelope shape determined by the temporal envelope shape determiner, a temporal envelope shape of an intermediate signal appearing when the high frequency decoder generates a high frequency signal, and 
         [0192]    the high frequency decoder generates a residual high frequency signal based on the intermediate signal whose temporal envelope shape is modified. 
         [0193]    In the speech decoding device discussed above, the high frequency decoder receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information. 
         [0194]    In the speech decoding device discussed above, the temporal envelope modifier modifies, based on the temporal envelope shape determined by the temporal envelope shape determiner, a temporal envelope shape of an intermediate signal appearing when the high frequency decoder generates a high frequency signal, and 
         [0195]    the high frequency decoder generates a residual high frequency signal based on the intermediate signal whose temporal envelope shape is modified. 
         [0196]    The present invention is also directed to a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding method comprising: 
         [0197]    a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0198]    a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained in the code sequence inverse multiplexing step to obtain a low frequency signal; a high frequency decoding step of receiving information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the information; 
         [0199]    a temporal envelope shape determining step of receiving information obtained in at least one of the code sequence inverse multiplexing step, the low frequency decoding step and the high frequency decoding step and determining temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal; 
         [0200]    a low frequency temporal envelope modifying step of modifying the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the temporal envelope shape determining step and outputting the modified low frequency signal; 
         [0201]    a high frequency temporal envelope modifying step of modifying the temporal envelope shape of the generated high frequency signal based on the temporal envelope shape determined by the temporal envelope shape determining step and outputting the modified high frequency signal; and 
         [0202]    a low frequency/high frequency signal combining step of receiving the low frequency signal modified in temporal envelope obtained in the low frequency temporal envelope modifying step, receiving the high frequency signal modified in temporal envelope obtained in the high frequency temporal envelope modifying step and synthesizing a speech signal to be output. 
         [0203]    The present invention is also directed to a speech decoding method executed by a speech decoding device that decodes an encoded speech signal to output a speech signal, the speech decoding method comprising: 
         [0204]    a code sequence inverse multiplexing step of dividing a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; 
         [0205]    a low frequency decoding step of receiving and decoding the code sequence including encoded information of the low frequency signal obtained in the code sequence inverse multiplexing step to obtain a low frequency signal; a high frequency decoding step of receiving information obtained in at least one of the code sequence inverse multiplexing step and the low frequency decoding step and generating a high frequency signal based on the information; 
         [0206]    a temporal envelope shape determining step of receiving information obtained in at least one of the code sequence inverse multiplexing step, the low frequency decoding step and the high frequency decoding step and determining temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal; 
         [0207]    a temporal envelope modifying step of receiving the decoded low frequency signal obtained in the low frequency decoding step, receiving the generated high frequency signal obtained in the high frequency decoding step, modifying the temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, based on the temporal envelope shapes determined by the temporal envelope shape determining step and outputting the modified low frequency signal and high frequency signal; and 
         [0208]    a low frequency/high frequency signal combining step of receiving the low frequency signal and high frequency signal, whose temporal envelopes are modified, obtained in the temporal envelope modifying step and synthesizing a speech signal to be output. 
         [0209]    The present invention is also directed to a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as: 
         [0210]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0211]    a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information; 
         [0212]    a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal; 
         [0213]    a low frequency temporal envelope modifier that modifies the temporal envelope shape of the decoded low frequency signal based on the temporal envelope shape determined by the temporal envelope shape determiner and outputs the modified low frequency signal; 
         [0214]    a high frequency temporal envelope modifier that modifies the temporal envelope shape of the generated high frequency signal based on the temporal envelope shape determined by the temporal envelope shape determiner and outputs the modified high frequency signal; and 
         [0215]    a low frequency/high frequency signal combiner that receives the low frequency signal modified in temporal envelope from the low frequency temporal envelope modifier, receives the high frequency signal, whose temporal envelope is modified, from the high frequency temporal envelope modifier and synthesizes a speech signal to be output. 
         [0216]    The present invention is also directed to a speech decoding program for causing a computer provided in a speech decoding device, which decodes an encoded speech signal to output a speech signal, to function as: 
         [0217]    a code sequence demultiplexer that divides a code sequence including the encoded speech signal into at least a code sequence including encoded information of a low frequency signal of the speech signal and a code sequence including encoded information of a high frequency signal of the speech signal; a low frequency decoder that receives from the code sequence demultiplexer and decodes the code sequence including encoded information of the low frequency signal to obtain a low frequency signal; 
         [0218]    a high frequency decoder that receives information from at least one of the code sequence demultiplexer and the low frequency decoder and generates a high frequency signal based on the information; 
         [0219]    a temporal envelope shape determiner that receives information from at least one of the code sequence demultiplexer, the low frequency decoder and the high frequency decoder and determines temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal; 
         [0220]    a temporal envelope modifier that receives the decoded low frequency signal from the low frequency decoder, receives the generated high frequency signal from the high frequency decoder, modifies the temporal envelope shapes of the decoded low frequency signal and the generated high frequency signal, based on the temporal envelope shapes determined by the temporal envelope shape determiner, and outputs the modified low frequency signal and high frequency signal; and 
         [0221]    a low frequency/high frequency signal combiner that receives the low frequency signal and high frequency signal, whose temporal envelopes are modified, from the temporal envelope modifier and synthesizes a speech signal to be output. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0222]      FIG. 1  is a figure showing the configuration of the speech decoding device  1  according to a first embodiment. 
           [0223]      FIG. 2  is a flow chart showing the operation of the speech decoding device according to the first embodiment. 
           [0224]      FIG. 3  is a figure showing the configuration of the speech to digital converter  2  according to the first embodiment. 
           [0225]      FIG. 4  is a flow chart showing the operation of the speech to digital converter  2  according to the first embodiment. 
           [0226]      FIG. 5  is a figure showing the configuration of the speech decoding device  100  according to a second embodiment. 
           [0227]      FIG. 6  is a flow chart showing the operation of the speech decoding device according to the second embodiment. 
           [0228]      FIG. 7  is a figure showing the configuration of the speech to digital converter  200  according to the second embodiment. 
           [0229]      FIG. 8  is a flow chart showing the operation of the speech to digital converter  200  according to the second embodiment. 
           [0230]      FIG. 9  is a figure showing the configuration of the first modification  100 A of the speech decoding device according to the second embodiment. 
           [0231]      FIG. 10  is a flow chart showing the operation of the first modification  100 A of the speech decoding device according to the second embodiment. 
           [0232]      FIG. 11  is a figure showing the configuration of the first modification  100 A of the speech to digital converter according to the second embodiment. 
           [0233]      FIG. 12  is a figure showing the configuration of the speech decoding device  110  according to a third embodiment. 
           [0234]      FIG. 13  is a flow chart showing the operation of the speech decoding device according to the third embodiment. 
           [0235]      FIG. 14  is a figure showing the configuration of the speech to digital converter  210  according to the third embodiment. 
           [0236]      FIG. 15  is a flow chart showing the operation of the speech to digital converter  210  according to the third embodiment. 
           [0237]      FIG. 16  is a figure showing the configuration of the speech decoding device  120  according to a fourth embodiment. 
           [0238]      FIG. 17  is a flow chart showing the operation of the speech decoding device  120  according to the fourth embodiment. 
           [0239]      FIG. 18  is a figure showing the configuration of the speech to digital converter  220  according to the fourth embodiment. 
           [0240]      FIG. 19  is a flow chart showing the operation of the speech to digital converter  220  according to the fourth embodiment. 
           [0241]      FIG. 20  is a figure showing the configuration of the first modification  120 A of the speech decoding device according to the fourth embodiment. 
           [0242]      FIG. 21  is a flow chart showing the operation of the first modification  120 A of the speech decoding device according to the fourth embodiment. 
           [0243]      FIG. 22  is a figure showing the configuration of the second modification  120 B of the speech decoding device according to the fourth embodiment. 
           [0244]      FIG. 23  is a flow chart showing the operation of the second modification  120 B of the speech decoding device according to the fourth embodiment. 
           [0245]      FIG. 24  is a figure showing the configuration of the 3rd modification  120 C of the speech decoding device according to the fourth embodiment. 
           [0246]      FIG. 25  is a flow chart showing the operation of the 3rd modification  120 C of the speech decoding device according to the fourth embodiment. 
           [0247]      FIG. 26  is a figure showing the configuration of the 4th modification  120 D of the speech decoding device according to the fourth embodiment. 
           [0248]      FIG. 27  is a flow chart showing the operation of the 4th modification  120 D of the speech decoding device according to the fourth embodiment. 
           [0249]      FIG. 28  is a figure showing the configuration of the fifth modification  120 E of the speech decoding device according to the fourth embodiment. 
           [0250]      FIG. 29  is a flow chart showing the operation of the fifth modification  120 E of the speech decoding device according to the fourth embodiment. 
           [0251]      FIG. 30  is a figure showing the configuration of the sixth modification  120 F of the speech decoding device according to the fourth embodiment. 
           [0252]      FIG. 31  is a flow chart showing the operation of the sixth modification  120 F of the speech decoding device according to the fourth embodiment. 
           [0253]      FIG. 32  is a figure showing the configuration of the seventh modification  120 G of the speech decoding device according to the fourth embodiment. 
           [0254]      FIG. 33  is a flow chart showing the operation of the seventh modification  120 G of the speech decoding device according to the fourth embodiment. 
           [0255]      FIG. 34  is a figure showing the configuration of the eighth modification  120 H of the speech decoding device according to the fourth embodiment. 
           [0256]      FIG. 35  is a flow chart showing the operation of the eighth modification  120 H of the speech decoding device according to the fourth embodiment. 
           [0257]      FIG. 36  is a figure showing the configuration of the ninth modification  120 I of the speech decoding device according to the fourth embodiment. 
           [0258]      FIG. 37  is a flow chart showing the operation of the ninth modification  120 I of the speech decoding device according to the fourth embodiment. 
           [0259]      FIG. 38  is a figure showing the configuration of the tenth modification  120 J of the speech decoding device according to the fourth embodiment. 
           [0260]      FIG. 39  is a flow chart showing the operation of the tenth modification  120 J of the speech decoding device according to the fourth embodiment. 
           [0261]      FIG. 40  is a figure showing the configuration of the 11th modification  120 K of the speech decoding device according to the fourth embodiment. 
           [0262]      FIG. 41  is a flow chart showing the operation of the 11th modification  120 K of the speech decoding device according to the fourth embodiment. 
           [0263]      FIG. 42  is a figure showing the configuration of the 12th modification  120 L of the speech decoding device according to the fourth embodiment. 
           [0264]      FIG. 43  is a flow chart showing the operation of the 12th modification  120 L of the speech decoding device according to the fourth embodiment. 
           [0265]      FIG. 44  is a figure showing the configuration of the 13th modification  120 M of the speech decoding device according to the fourth embodiment. 
           [0266]      FIG. 45  is a flow chart showing the operation of the 13th modification  120 M of the speech decoding device according to the fourth embodiment. 
           [0267]      FIG. 46  is a figure showing the configuration of the 14th modification  120 N of the speech decoding device according to the fourth embodiment. 
           [0268]      FIG. 47  is a flow chart showing the operation of the 14th modification  120 N of the speech decoding device according to the fourth embodiment. 
           [0269]      FIG. 48  is a figure showing the configuration of the speech decoding device  130  according to a fifth embodiment. 
           [0270]      FIG. 49  is a flow chart showing the operation of the speech decoding device according to the fifth embodiment. 
           [0271]      FIG. 50  is a figure showing the configuration of the speech to digital converter  230  according to the fifth embodiment. 
           [0272]      FIG. 51  is a flow chart showing the operation of the speech to digital converter  230  according to the fifth embodiment. 
           [0273]      FIG. 52  is a figure showing the configuration of the speech decoding device  140  according to the sixth embodiment. 
           [0274]      FIG. 53  is a flow chart showing the operation of the speech decoding device according to the sixth embodiment. 
           [0275]      FIG. 54  is a figure showing the configuration of the speech to digital converter  240  according to the sixth embodiment. 
           [0276]      FIG. 55  is a flow chart showing the operation of the speech to digital converter  240  according to the sixth embodiment. 
           [0277]      FIG. 56  is a figure showing the configuration of the first modification  140 A of the speech decoding device according to the sixth embodiment. 
           [0278]      FIG. 57  is a flow chart showing the operation of the first modification  140 A of the speech decoding device according to the sixth embodiment. 
           [0279]      FIG. 58  is a figure showing the configuration of the second modification  140 B of the speech decoding device according to the sixth embodiment. 
           [0280]      FIG. 59  is a figure showing the configuration of the 3rd modification  140 C of the speech decoding device according to the sixth embodiment. 
           [0281]      FIG. 60  is a flow chart showing the operation of the 3rd modification  140 C of the speech decoding device according to the sixth embodiment. 
           [0282]      FIG. 61  is a figure showing the configuration of the 4th modification  140 D of the speech decoding device according to the sixth embodiment. 
           [0283]      FIG. 62  is a flow chart showing the operation of the 4th modification  140 D of the speech decoding device according to the sixth embodiment. 
           [0284]      FIG. 63  is a figure showing the configuration of the fifth modification  140 E of the speech decoding device according to the sixth embodiment. 
           [0285]      FIG. 64  is a flow chart showing the operation of the fifth modification  140 E of the speech decoding device according to the sixth embodiment. 
           [0286]      FIG. 65  is a figure showing the configuration of the sixth modification  140 F of the speech decoding device according to the sixth embodiment. 
           [0287]      FIG. 66  is a flow chart showing the operation of the sixth modification  140 F of the speech decoding device according to the sixth embodiment. 
           [0288]      FIG. 67  is a figure showing the configuration of the seventh modification  140 G of the speech decoding device according to the sixth embodiment. 
           [0289]      FIG. 68  is a flow chart showing the operation of the seventh modification  140 G of the speech decoding device according to the sixth embodiment. 
           [0290]      FIG. 69  is a figure showing the configuration of the eighth modification  140 H of the speech decoding device according to the sixth embodiment. 
           [0291]      FIG. 70  is a flow chart showing the operation of the eighth modification  140 H of the speech decoding device according to the sixth embodiment. 
           [0292]      FIG. 71  is a figure showing the configuration of the ninth modification  140 I of the speech decoding device according to the sixth embodiment. 
           [0293]      FIG. 72  is a flow chart showing the operation of the ninth modification  140 I of the speech decoding device according to the sixth embodiment. 
           [0294]      FIG. 73  is a figure showing the configuration of the tenth modification  140 J of the speech decoding device according to the sixth embodiment. 
           [0295]      FIG. 74  is a flow chart showing the operation of the tenth modification  140 J of the speech decoding device according to the sixth embodiment. 
           [0296]      FIG. 75  is a figure showing the configuration of the 11th modification  140 K of the speech decoding device according to the sixth embodiment. 
           [0297]      FIG. 76  is a flow chart showing the operation of the 11th modification  140 K of the speech decoding device according to the sixth embodiment. 
           [0298]      FIG. 77  is a figure showing the configuration of the 12th modification  140 L of the speech decoding device according to the sixth embodiment. 
           [0299]      FIG. 78  is a flow chart showing the operation of the 12th modification  140 L of the speech decoding device according to the sixth embodiment. 
           [0300]      FIG. 79  is a figure showing the configuration of the 13th modification  140 M of the speech decoding device according to the sixth. 
           [0301]      FIG. 80  is a flow chart showing the operation of the 13th modification  140 M of the speech decoding device according to the sixth embodiment. 
           [0302]      FIG. 81  is a figure showing the configuration of the 14th modification  140 N of the speech decoding device according to the sixth embodiment. 
           [0303]      FIG. 82  is a flow chart showing the operation of the 14th modification  140 N of the speech decoding device according to the sixth embodiment. 
           [0304]      FIG. 83  is a figure showing the configuration of the speech decoding device  150  according to a seventh embodiment. 
           [0305]      FIG. 84  is a flow chart showing the operation of the speech decoding device according to the seventh embodiment. 
           [0306]      FIG. 85  is a figure showing the configuration of the speech to digital converter  250  according to the seventh embodiment. 
           [0307]      FIG. 86  is a flow chart showing the operation of the speech to digital converter  250  according to the seventh embodiment. 
           [0308]      FIG. 87  is a figure showing the configuration of the first modification  150 A of the speech decoding device according to the seventh embodiment. 
           [0309]      FIG. 88  is a flow chart showing the operation of the first modification  150 A of the speech decoding device according to the seventh embodiment. 
           [0310]      FIG. 89  is a figure showing the configuration of the second modification  150 B of the speech decoding device according to the seventh embodiment. 
           [0311]      FIG. 90  is a figure showing the configuration of the 3rd modification  150 C of the speech decoding device according to the seventh embodiment. 
           [0312]      FIG. 91  is a flow chart showing the operation of the 3rd modification  150 C of the speech decoding device according to the seventh embodiment. 
           [0313]      FIG. 92  is a figure showing the configuration of the 4th modification  150 D of the speech decoding device according to the seventh embodiment. 
           [0314]      FIG. 93  is a flow chart showing the operation of the 4th modification  150 D of the speech decoding device according to the seventh embodiment. 
           [0315]      FIG. 94  is a figure showing the configuration of the fifth modification  150 E of the speech decoding device according to the seventh embodiment. 
           [0316]      FIG. 95  is a flow chart showing the operation of the fifth modification  150 E of the speech decoding device according to the seventh embodiment. 
           [0317]      FIG. 96  is a figure showing the configuration of the sixth modification  150 F of the speech decoding device according to the seventh embodiment. 
           [0318]      FIG. 97  is a flow chart showing the operation of the sixth modification  150 F of the speech decoding device according to the seventh embodiment. 
           [0319]      FIG. 98  is a figure showing the configuration of the seventh modification  150 G of the speech decoding device according to the seventh embodiment. 
           [0320]      FIG. 99  is a flow chart showing the operation of the seventh modification  150 G of the speech decoding device according to the seventh embodiment. 
           [0321]      FIG. 100  is a figure showing the configuration of the eighth modification  150 H of the speech decoding device according to the seventh embodiment. 
           [0322]      FIG. 101  is a flow chart showing the operation of the eighth modification  150 H of the speech decoding device according to the seventh embodiment. 
           [0323]      FIG. 102  is a figure showing the configuration of the ninth modification  150 I of the speech decoding device according to the seventh embodiment. 
           [0324]      FIG. 103  is a flow chart showing the operation of the ninth modification  150 I of the speech decoding device according to the seventh embodiment. 
           [0325]      FIG. 104  is a figure showing the configuration of the tenth modification  150 J of the speech decoding device according to the seventh embodiment. 
           [0326]      FIG. 105  is a flow chart showing the operation of the tenth modification  150 J of the speech decoding device according to the seventh embodiment. 
           [0327]      FIG. 106  is a figure showing the configuration of the 11th modification  150 K of the speech decoding device according to the seventh embodiment. 
           [0328]      FIG. 107  is a flow chart showing the operation of the 11th modification  150 K of the speech decoding device according to the seventh embodiment. 
           [0329]      FIG. 108  is a figure showing the configuration of the 12th modification  150 L of the speech decoding device according to the seventh embodiment. 
           [0330]      FIG. 109  is a flow chart showing the operation of the 12th modification  150 L of the speech decoding device according to the seventh embodiment. 
           [0331]      FIG. 110  is a figure showing the configuration of the 13th modification  150 M of the speech decoding device according to the seventh embodiment. 
           [0332]      FIG. 111  is a flow chart showing the operation of the 13th modification  150 M of the speech decoding device according to the seventh embodiment. 
           [0333]      FIG. 112  is a figure showing the configuration of the 14th modification  150 N of the speech decoding device according to the seventh embodiment. 
           [0334]      FIG. 113  is a flow chart showing the operation of the 14th modification  150 N of the speech decoding device according to the seventh embodiment. 
           [0335]      FIG. 114  is a figure showing the configuration of the speech decoding device  160  according to an eighth embodiment. 
           [0336]      FIG. 115  is a flow chart showing the operation of the speech decoding device according to the eighth embodiment. 
           [0337]      FIG. 116  is a figure showing the configuration of the speech to digital converter  260  according to the eighth embodiment. 
           [0338]      FIG. 117  is a flow chart showing the operation of the speech to digital converter  260  according to the eighth embodiment. 
           [0339]      FIG. 118  is a figure showing the configuration of the first modification  160 A of the speech decoding device according to the eighth embodiment. 
           [0340]      FIG. 119  is a flow chart showing the operation of the first modification  160 A of the speech decoding device according to the eighth embodiment. 
           [0341]      FIG. 120  is a figure showing the configuration of the second modification  160 B of the speech decoding device according to the eighth embodiment. 
           [0342]      FIG. 121  is a figure showing the configuration of the 3rd modification  160 C of the speech decoding device according to the eighth embodiment. 
           [0343]      FIG. 122  is a flow chart showing the operation of the 3rd modification  160 C of the speech decoding device according to the eighth embodiment. 
           [0344]      FIG. 123  is a figure showing the configuration of the 4th modification  160 D of the speech decoding device according to the eighth embodiment. 
           [0345]      FIG. 124  is a flow chart showing the operation of the 4th modification  160 D of the speech decoding device according to the eighth embodiment. 
           [0346]      FIG. 125  is a figure showing the configuration of the fifth modification  160 E of the speech decoding device according to the eighth embodiment. 
           [0347]      FIG. 126  is a flow chart showing the operation of the fifth modification  160 E of the speech decoding device according to the eighth embodiment. 
           [0348]      FIG. 127  is a figure showing the configuration of the sixth modification  160 F of the speech decoding device according to the eighth embodiment. 
           [0349]      FIG. 128  is a flow chart showing the operation of the sixth modification  160 F of the speech decoding device according to the eighth embodiment. 
           [0350]      FIG. 129  is a figure showing the configuration of the seventh modification  160 G of the speech decoding device according to the eighth embodiment. 
           [0351]      FIG. 130  is a flow chart showing the operation of the seventh modification  160 G of the speech decoding device according to the eighth embodiment. 
           [0352]      FIG. 131  is a figure showing the configuration of the eighth modification  160 H of the speech decoding device according to the eighth embodiment. 
           [0353]      FIG. 132  is a flow chart showing the operation of the eighth modification  160 H of the speech decoding device according to the eighth embodiment. 
           [0354]      FIG. 133  is a figure showing the configuration of the ninth modification  160 I of the speech decoding device according to the eighth embodiment. 
           [0355]      FIG. 134  is a flow chart showing the operation of the ninth modification  160 I of the speech decoding device according to the eighth embodiment. 
           [0356]      FIG. 135  is a figure showing the configuration of the tenth modification  160 J of the speech decoding device according to the eighth embodiment. 
           [0357]      FIG. 136  is a flow chart showing the operation of the tenth modification  160 J of the speech decoding device according to the eighth embodiment. 
           [0358]      FIG. 137  is a figure showing the configuration of the 11th modification  160 K of the speech decoding device according to the eighth embodiment. 
           [0359]      FIG. 138  is a flow chart showing the operation of the 11th modification  160 K of the speech decoding device according to the eighth embodiment. 
           [0360]      FIG. 139  is a figure showing the configuration of the 12th modification  160 L of the speech decoding device according to the eighth embodiment. 
           [0361]      FIG. 140  is a flow chart showing the operation of the 12th modification  160 L of the speech decoding device according to the eighth embodiment. 
           [0362]      FIG. 141  is a figure showing the configuration of the 13th modification  160 M of the speech decoding device according to the eighth embodiment. 
           [0363]      FIG. 142  is a flow chart showing the operation of the 13th modification  160 M of the speech decoding device according to the eighth embodiment. 
           [0364]      FIG. 143  is a figure showing the configuration of the 14th modification  160 N of the speech decoding device according to the eighth embodiment. 
           [0365]      FIG. 144  is a flow chart showing the operation of the 14th modification  160 N of the speech decoding device according to the eighth embodiment. 
           [0366]      FIG. 145  is a figure showing the configuration of the speech decoding device  380  according to a ninth embodiment. 
           [0367]      FIG. 146  is a flow chart showing the operation of the speech decoding device  380  according to the ninth embodiment. 
           [0368]      FIG. 147  is a figure showing the configuration of the first modification  380 A of the speech decoding device according to the ninth embodiment. 
           [0369]      FIG. 148  is a flow chart showing the operation of the first modification  380 A of the speech decoding device according to the ninth embodiment. 
           [0370]      FIG. 149  is a figure showing the configuration of the speech decoding device  390  according to a tenth embodiment. 
           [0371]      FIG. 150  is a flow chart showing the operation of the speech decoding device  390  according to the tenth embodiment. 
       
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0372]    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 
       [0373]      FIG. 1  is a diagram showing the configuration of a speech decoding device  1  according to a first embodiment. A communication device of the speech decoding device  1  receives a multiplexed code sequence output from a speech encoding device  2  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 1 , the speech decoding device  1  functionally includes a code sequence analyzer  1   a , a speech decoder  1   b , a temporal envelope shape determiner  1   c , and a temporal envelope modifier  1   d.    
         [0374]      FIG. 2  is a flowchart showing the operation of the speech decoding device  1  according to the first embodiment. 
         [0375]    The code sequence analyzer  1   a  analyzes a code sequence and divides the code sequence into a speech encoded part and information about the temporal envelope shape (step S 1 - 1 ). 
         [0376]    The speech decoder  1   b  decodes the speech encoded part of the code sequence to obtain a decoded signal (step S 1 - 2 ). 
         [0377]    The temporal envelope shape determiner  1   c  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  1   a  and the decoded signal obtained by the speech decoder  1   b  (step S 1 - 3 ). 
         [0378]    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. 
         [0379]    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. 
         [0380]    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. 
         [0381]    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  1   b , and can also be applied to a case where the decoded signal is output as a plurality of subband signals. 
         [0382]    The temporal envelope modifier  1   d  modifies the shape of the temporal envelope of the decoded signal output from the speech decoder  1   b , based on the temporal envelope shape determined by the temporal envelope shape determiner  1   c  (step S 1 - 4 ). 
         [0383]    For example, if the decoded signal is expressed by a plurality of subband signals, the temporal envelope modifier  1   d  uses a predetermined function F(X dec (k,i)) for a plurality of subband signals X dec (k,i) (0≦k&lt;k h , t(l)≦i&lt;t(l+1)) of the decoded signal within an arbitrary time segment to calculate X′ dec (k,i) using the following equation (1): 
         [0000]        X′   dec ( k,i )= F ( X   dec ( k,i ))  [Eq. 1]
 
         [0384]    X′ dec (k,i) being calculated as subband signals of the decoded signal whose temporal envelope shape is modified. The temporal envelope modifier  1   d  synthesizes a time domain signal from the subband signals and outputs the synthesized signal. 
         [0385]    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 dec (k,i) are divided into M dec  frequency bands having boundaries represented by B dec (m) (m=0, . . . , M dec , M dec ≧1) (B dec (0)≧0, B dec (M dec )&lt;k h ) and, using a predetermined function F(X dec (k,i) expressed by the equations below for the subband signals X dec (k,i) (B dec (m)≦k&lt;B dec (m+1)) t(l)≦i&lt;t(l+1)) included in the m-th frequency band, 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       F 
                        
                       
                         ( 
                         
                           
                             X 
                             dec 
                           
                            
                           
                             ( 
                             
                               k 
                               , 
                               i 
                             
                             ) 
                           
                         
                         ) 
                       
                     
                     = 
                     
                       
                         
                           
                             
                               ∑ 
                               
                                 ? 
                               
                               
                                 
                                   
                                     t 
                                     E 
                                   
                                    
                                   
                                     ( 
                                     
                                       l 
                                       + 
                                       1 
                                     
                                     ) 
                                   
                                 
                                 - 
                                 1 
                               
                             
                              
                             
                                 
                             
                              
                             
                               
                                 ∑ 
                                 
                                   ? 
                                 
                                 
                                   
                                     
                                       B 
                                       dec 
                                     
                                      
                                     
                                       ( 
                                       
                                         m 
                                         + 
                                         1 
                                       
                                       ) 
                                     
                                   
                                   - 
                                   1 
                                 
                               
                                
                               
                                   
                               
                                
                               
                                 
                                    
                                   
                                     
                                       X 
                                       dec 
                                     
                                      
                                     
                                       ( 
                                       
                                         j 
                                         , 
                                         n 
                                       
                                       ) 
                                     
                                   
                                    
                                 
                                 2 
                               
                             
                           
                           
                             
                               ( 
                               
                                 
                                   
                                     t 
                                     E 
                                   
                                    
                                   
                                     ( 
                                     
                                       l 
                                       + 
                                       1 
                                     
                                     ) 
                                   
                                 
                                 - 
                                 
                                   
                                     t 
                                     E 
                                   
                                    
                                   
                                     ( 
                                     l 
                                     ) 
                                   
                                 
                               
                               ) 
                             
                             · 
                             
                               ( 
                               
                                 
                                   
                                     B 
                                     dec 
                                   
                                    
                                   
                                     ( 
                                     
                                       m 
                                       + 
                                       1 
                                     
                                     ) 
                                   
                                 
                                 - 
                                 
                                   
                                     B 
                                     dec 
                                   
                                    
                                   
                                     ( 
                                     m 
                                     ) 
                                   
                                 
                               
                               ) 
                             
                           
                         
                       
                        
                       
                         
                           
                             X 
                             dec 
                           
                            
                           
                             ( 
                             
                               k 
                               , 
                               i 
                             
                             ) 
                           
                         
                         
                           
                             
                                
                               
                                 
                                   X 
                                   dec 
                                 
                                  
                                 
                                   ( 
                                   
                                     k 
                                     , 
                                     i 
                                   
                                   ) 
                                 
                               
                                
                             
                             2 
                           
                         
                       
                        
                       
                           
                       
                        
                       or 
                     
                   
                    
                   
                     
 
                   
                    
                   
                     
                       F 
                        
                       
                         ( 
                         
                           
                             X 
                             dec 
                           
                            
                           
                             ( 
                             
                               k 
                               , 
                               i 
                             
                             ) 
                           
                         
                         ) 
                       
                     
                     = 
                     
                       
                         
                           
                             
                               ∑ 
                               
                                 ? 
                               
                               
                                 
                                   
                                     t 
                                     E 
                                   
                                    
                                   
                                     ( 
                                     
                                       l 
                                       + 
                                       1 
                                     
                                     ) 
                                   
                                 
                                 - 
                                 1 
                               
                             
                              
                             
                                 
                             
                              
                             
                               
                                 ∑ 
                                 
                                   ? 
                                 
                                 
                                   
                                     
                                       B 
                                       dec 
                                     
                                      
                                     
                                       ( 
                                       
                                         m 
                                         + 
                                         1 
                                       
                                       ) 
                                     
                                   
                                   - 
                                   1 
                                 
                               
                                
                               
                                   
                               
                                
                               
                                 
                                    
                                   
                                     
                                       X 
                                       dec 
                                     
                                      
                                     
                                       ( 
                                       
                                         j 
                                         , 
                                         n 
                                       
                                       ) 
                                     
                                   
                                    
                                 
                                 2 
                               
                             
                           
                           
                             
                               
                                 t 
                                 E 
                               
                                
                               
                                 ( 
                                 
                                   l 
                                   + 
                                   1 
                                 
                                 ) 
                               
                             
                             - 
                             
                               
                                 t 
                                 E 
                               
                                
                               
                                 ( 
                                 l 
                                 ) 
                               
                             
                           
                         
                       
                        
                       
                         
                           
                             X 
                             dec 
                           
                            
                           
                             ( 
                             
                               k 
                               , 
                               i 
                             
                             ) 
                           
                         
                         
                           
                             
                               ∑ 
                               
                                 j 
                                 = 
                                 
                                   
                                     B 
                                     dec 
                                   
                                    
                                   
                                     ( 
                                     m 
                                     ) 
                                   
                                 
                               
                               
                                 
                                   
                                     B 
                                     dec 
                                   
                                    
                                   
                                     ( 
                                     
                                       m 
                                       + 
                                       1 
                                     
                                     ) 
                                   
                                 
                                 - 
                                 1 
                               
                             
                              
                             
                                 
                             
                              
                             
                               
                                  
                                 
                                   
                                     X 
                                     dec 
                                   
                                    
                                   
                                     ( 
                                     
                                       j 
                                       , 
                                       i 
                                     
                                     ) 
                                   
                                 
                                  
                               
                               2 
                             
                           
                         
                       
                     
                   
                    
                   
                     
 
                   
                    
                   
                     
                       ? 
                     
                      
                     
                       indicates text missing or illegible when filed 
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     2 
                   
                   ] 
                 
               
             
           
         
       
     
         [0386]    X′ 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 dec (k,i)) defined by is used to perform a smoothing filter process on the subband signals X dec (k,i). 
         [0000]    
       
         
           
             
               
                 
                   
                     F 
                      
                     
                       ( 
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           
                             k 
                             , 
                             i 
                           
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       ∑ 
                       
                         p 
                         = 
                         0 
                       
                       
                         
                           N 
                           filt 
                         
                         - 
                         1 
                       
                     
                      
                     
                         
                     
                      
                     
                       
                         a 
                          
                         
                           ( 
                           p 
                           ) 
                         
                       
                        
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           
                             k 
                             , 
                             
                               i 
                               - 
                               p 
                             
                           
                           ) 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     3 
                   
                   ] 
                 
               
             
           
         
       
     
         [0387]    With the definition of (N filt ≧1), X 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 dec (m). 
         [0388]    In another example, the subband signals X dec (k,i) are linearly predicted in the frequency direction in each frequency band having the boundaries represented by the B dec (m) to obtain a linear prediction coefficient α p (m) (m=0, . . . , M dec-1 ), and a predetermined function F(X dec (k,i)) is used to perform a linear prediction inverse filter process on the subband signals X dec (k,i). 
         [0000]    
       
         
           
             
               
                 
                   
                     F 
                      
                     
                       ( 
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           
                             k 
                             , 
                             i 
                           
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         X 
                         dec 
                       
                        
                       
                         ( 
                         
                           k 
                           , 
                           i 
                         
                         ) 
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           p 
                           = 
                           1 
                         
                         
                           N 
                           pred 
                         
                       
                        
                       
                           
                       
                        
                       
                         
                           
                             α 
                             p 
                           
                            
                           
                             ( 
                             m 
                             ) 
                           
                         
                          
                         
                           
                             X 
                             dec 
                           
                            
                           
                             ( 
                             
                               
                                 k 
                                 - 
                                 p 
                               
                               , 
                               i 
                             
                             ) 
                           
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     4 
                   
                   ] 
                 
               
             
           
         
       
     
         [0389]    With the definition of (N pred ≧1), X′ dec (k,i) are calculated as subband signals of the decoded signal whose temporal envelope shape is modified. 
         [0390]    The process of modifying the temporal envelope into a flat shape can be carried out in any combination of the above examples. 
         [0391]    The processes performed by the temporal envelope modifier  1   d  to modify the temporal envelope of the decoded signal into a flat shape are not limited to the above examples. 
         [0392]    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. 
         [0393]    For example, a predetermined function F(X dec (k,i)) set forth below is defined using a function incr(i) that monotonously increases relative to i. 
         [0000]    
       
         
           
             
               
                 
                   
                     F 
                      
                     
                       ( 
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           
                             k 
                             , 
                             i 
                           
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       incr 
                        
                       
                         ( 
                         i 
                         ) 
                       
                     
                      
                     
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           
                             k 
                             , 
                             i 
                           
                           ) 
                         
                       
                       
                         
                           
                              
                             
                               
                                 X 
                                 dec 
                               
                                
                               
                                 ( 
                                 
                                   k 
                                   , 
                                   i 
                                 
                                 ) 
                               
                             
                              
                           
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     5 
                   
                   ] 
                 
               
             
           
         
       
     
         [0394]    X′ 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 dec (m). 
         [0395]    The temporal envelope modifier  1   d  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. 
         [0396]    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. 
         [0397]    For example, a predetermined function F(X dec (k,i)) set forth below includes a function decr(i) that monotonously decreases relative to i. 
         [0000]    
       
         
           
             
               
                 
                   
                     F 
                      
                     
                       ( 
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           
                             k 
                             , 
                             i 
                           
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       decr 
                        
                       
                         ( 
                         i 
                         ) 
                       
                     
                      
                     
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           
                             k 
                             , 
                             i 
                           
                           ) 
                         
                       
                       
                         
                           
                              
                             
                               
                                 X 
                                 dec 
                               
                                
                               
                                 ( 
                                 
                                   k 
                                   , 
                                   i 
                                 
                                 ) 
                               
                             
                              
                           
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     6 
                   
                   ] 
                 
               
             
           
         
       
     
         [0398]    X′ 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 dec (m). 
         [0399]    The temporal envelope modifier  1   d  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. 
         [0400]    For example, if the decoded signal can be represented as a time domain signal, as shown below, the temporal envelope modifier  1   d  applies a predetermined function F t (x dec (i)) for the decoded signal x dec (i) (t(l)≦i&lt;t(l+1)) in an arbitrary time segment to obtain x′ dec (i). 
         [0000]        x′   dec ( i )= F   t ( x   dec ( i ))  [Eq. 7]
 
         [0401]    Which is output as a decoded signal whose temporal envelope shape is modified. 
         [0402]    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 t (x dec (i)) set forth below for the decoded signal x dec (i) is used. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       F 
                       t 
                     
                      
                     
                       ( 
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           i 
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         
                           
                             ∑ 
                             
                               n 
                               = 
                               
                                 
                                   t 
                                   E 
                                 
                                  
                                 
                                   ( 
                                   l 
                                   ) 
                                 
                               
                             
                             
                               
                                 
                                   t 
                                   E 
                                 
                                  
                                 
                                   ( 
                                   
                                     l 
                                     + 
                                     1 
                                   
                                   ) 
                                 
                               
                               - 
                               1 
                             
                           
                            
                           
                               
                           
                            
                           
                             
                                
                               
                                 
                                   x 
                                   dec 
                                 
                                  
                                 
                                   ( 
                                   n 
                                   ) 
                                 
                               
                                
                             
                             2 
                           
                         
                         
                           ( 
                           
                             
                               
                                 t 
                                 E 
                               
                                
                               
                                 ( 
                                 
                                   l 
                                   + 
                                   1 
                                 
                                 ) 
                               
                             
                             - 
                             
                               
                                 t 
                                 E 
                               
                                
                               
                                 ( 
                                 l 
                                 ) 
                               
                             
                           
                           ) 
                         
                       
                     
                      
                     
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           i 
                           ) 
                         
                       
                       
                         
                           
                              
                             
                               
                                 x 
                                 dec 
                               
                                
                               
                                 ( 
                                 i 
                                 ) 
                               
                             
                              
                           
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     8 
                   
                   ] 
                 
               
             
           
         
       
     
         [0403]    To output x′ dec (i) as a decoded signal whose temporal envelope shape is modified. 
         [0404]    In another example, a predetermined function F t (x dec (i)) set forth below to perform a smoothing filter process on the decoded signal x dec (i). 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       F 
                       t 
                     
                      
                     
                       ( 
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           i 
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       ∑ 
                       
                         p 
                         = 
                         0 
                       
                       
                         
                           N 
                           filt 
                         
                         - 
                         1 
                       
                     
                      
                     
                         
                     
                      
                     
                       
                         a 
                          
                         
                           ( 
                           p 
                           ) 
                         
                       
                        
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           
                             i 
                             - 
                             p 
                           
                           ) 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     9 
                   
                   ] 
                 
               
             
           
         
       
     
         [0405]    With a definition of (N filt ≧1), x′ dec (i) is output as a decoded signal whose temporal envelope shape is modified. 
         [0406]    The process of modifying the temporal envelope into a flat shape can be carried out in any combination of the above examples. 
         [0407]    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. 
         [0408]    For example, a predetermined function F t (x dec (i)) set forth below uses a function incr(i) that monotonously increases relative to i. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       F 
                       t 
                     
                      
                     
                       ( 
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           i 
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       incr 
                        
                       
                         ( 
                         i 
                         ) 
                       
                     
                      
                     
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           i 
                           ) 
                         
                       
                       
                         
                           
                              
                             
                               
                                 x 
                                 dec 
                               
                                
                               
                                 ( 
                                 i 
                                 ) 
                               
                             
                              
                           
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     10 
                   
                   ] 
                 
               
             
           
         
       
     
         [0409]    x′ dec (i) is output as a decoded signal whose temporal envelope shape is modified. 
         [0410]    The temporal envelope modifier  1   d  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. 
         [0411]    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. 
         [0412]    For example, a predetermined function F t (x dec (i)) set forth below uses a function decr(i) that monotonously decreases relative to i. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       F 
                       t 
                     
                      
                     
                       ( 
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           i 
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       decr 
                        
                       
                         ( 
                         i 
                         ) 
                       
                     
                      
                     
                       
                         
                           x 
                           dec 
                         
                          
                         
                           ( 
                           i 
                           ) 
                         
                       
                       
                         
                           
                              
                             
                               
                                 x 
                                 dec 
                               
                                
                               
                                 ( 
                                 i 
                                 ) 
                               
                             
                              
                           
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     11 
                   
                   ] 
                 
               
             
           
         
       
     
         [0413]    x′dec(i) is output as a decoded signal whose temporal envelope shape is modified. The temporal envelope modifier  1   d  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. 
         [0414]    For example, if the decoded signal is expressed by frequency domain transform coefficients X dec (k) (0≦k&lt;k 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 f (X dec (k) is used in the following equation (12). 
         [0000]      [Eq. 12] 
         [0000]        X′   dec ( k )= F   j ( X   dec ( k )  formula (51)
 
         [0415]    X′ 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. 
         [0416]    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. 
         [0417]    In M dec  arbitrary frequency bands B dec (m) having boundaries represented by B dec (m) (m=0, . . . , M dec , M dec ≧1) (B dec (0)≧0, B dec (M dec )&lt;k h ), a linear prediction coefficient α p (m) (m=0, . . . , M dec −1) is obtained by linear prediction in a frequency direction, and a predetermined function F f (X dec (k)) set forth below is used to perform a linear prediction inverse filter process on the transform coefficients X dec (k). 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       F 
                       f 
                     
                      
                     
                       ( 
                       
                         
                           X 
                           dec 
                         
                          
                         
                           ( 
                           k 
                           ) 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         X 
                         dec 
                       
                        
                       
                         ( 
                         k 
                         ) 
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           p 
                           = 
                           1 
                         
                         
                           N 
                           pred 
                         
                       
                        
                       
                           
                       
                        
                       
                         
                           
                             α 
                             p 
                           
                            
                           
                             ( 
                             m 
                             ) 
                           
                         
                          
                         
                           
                             X 
                             dec 
                           
                            
                           
                             ( 
                             
                               k 
                               - 
                               p 
                             
                             ) 
                           
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     13 
                   
                   ] 
                 
               
             
           
         
       
     
         [0418]    With a definition of (N pred ≧1), X′ dec (k,i) are calculated as transform coefficients of the decoded signal whose temporal envelope shape is modified. 
         [0419]    The temporal envelope modifier  1   d  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. 
         [0420]      FIG. 3  is a diagram showing the configuration of a speech encoding device  2  according to the first embodiment. A communication device of the speech encoding device  2  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 3 , the speech encoding device  2  functionally includes a speech coder  2   a , a temporal envelope information encoder  2   b , and a code sequence multiplexer  2   c.    
         [0421]      FIG. 4  is a flowchart showing the operation of the speech encoding device  2  according to the first embodiment. 
         [0422]    The speech coder  2   a  encodes an input speech signal (step S 2 - 1 ). 
         [0423]    The temporal envelope information encoder  2   b  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  2   a  (step S 2 - 2 ). 
         [0424]    For example, the temporal envelope E t (i) of the input speech signal x(i), which is a time domain signal in an arbitrary time segment t(l)≦i&lt;t(l+1)), can be calculated as the power of the decoded signal normalized in the time segment. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       E 
                       t 
                     
                      
                     
                       ( 
                       i 
                       ) 
                     
                   
                   = 
                   
                     
                       
                          
                         
                           x 
                            
                           
                             ( 
                             i 
                             ) 
                           
                         
                          
                       
                       2 
                     
                     
                       
                         ∑ 
                         
                           n 
                           = 
                           
                             t 
                              
                             
                               ( 
                               l 
                               ) 
                             
                           
                         
                         
                           
                             t 
                              
                             
                               ( 
                               
                                 l 
                                 + 
                                 1 
                               
                               ) 
                             
                           
                           - 
                           1 
                         
                       
                        
                       
                           
                       
                        
                       
                         
                            
                           
                             x 
                              
                             
                               ( 
                               n 
                               ) 
                             
                           
                            
                         
                         2 
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     14 
                   
                   ] 
                 
               
             
           
         
       
     
         [0425]    For example, if the input speech signal is calculated as a plurality of subband signals X(k,i) in the speech coder  2   a , 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&lt;B(m+1), t(l)≦i&lt;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)&lt;k h ) in an arbitrary time segment t(l)≦i&lt;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. 
         [0000]    
       
         
           
             
               
                 
                   
                     E 
                      
                     
                       ( 
                       
                         k 
                         , 
                         i 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           
                             B 
                              
                             
                               ( 
                               m 
                               ) 
                             
                           
                         
                         
                           
                             B 
                              
                             
                               ( 
                               
                                 m 
                                 + 
                                 1 
                               
                               ) 
                             
                           
                           - 
                           1 
                         
                       
                        
                       
                           
                       
                        
                       
                         
                            
                           
                             X 
                              
                             
                               ( 
                               
                                 j 
                                 , 
                                 n 
                               
                               ) 
                             
                           
                            
                         
                         2 
                       
                     
                     
                       
                         ∑ 
                         
                           n 
                           = 
                           
                             t 
                              
                             
                               ( 
                               l 
                               ) 
                             
                           
                         
                         
                           t 
                            
                           
                             ( 
                             
                               l 
                               + 
                               1 
                             
                             ) 
                           
                         
                       
                        
                       
                           
                       
                        
                       
                         
                           ∑ 
                           
                             j 
                             = 
                             
                               B 
                                
                               
                                 ( 
                                 m 
                                 ) 
                               
                             
                           
                           
                             
                               B 
                                
                               
                                 ( 
                                 
                                   m 
                                   + 
                                   1 
                                 
                                 ) 
                               
                             
                             - 
                             1 
                           
                         
                          
                         
                             
                         
                          
                         
                           
                              
                             
                               X 
                                
                               
                                 ( 
                                 
                                   j 
                                   , 
                                   n 
                                 
                                 ) 
                               
                             
                              
                           
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     15 
                   
                   ] 
                 
               
             
           
         
       
     
         [0426]    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. 
         [0427]    For example, the decoded signal x dec (i) is calculated based on the encoding result of the input speech signal in the speech coder  2   a , and the temporal envelope E dec,t (i) of the decoded signal x dec (i) in an arbitrary time segment t(l)≦i&lt;t(l+1) can be calculated as the power of the decoded signal normalized in the time segment. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       E 
                       
                         dec 
                         , 
                         t 
                       
                     
                      
                     
                       ( 
                       i 
                       ) 
                     
                   
                   = 
                   
                     
                       
                          
                         
                           
                             x 
                             dec 
                           
                            
                           
                             ( 
                             i 
                             ) 
                           
                         
                          
                       
                       2 
                     
                     
                       
                         ∑ 
                         
                           n 
                           = 
                           
                             t 
                              
                             
                               ( 
                               l 
                               ) 
                             
                           
                         
                         
                           
                             t 
                              
                             
                               ( 
                               
                                 l 
                                 + 
                                 1 
                               
                               ) 
                             
                           
                           - 
                           1 
                         
                       
                        
                       
                           
                       
                        
                       
                         
                            
                           
                             
                               x 
                               dec 
                             
                              
                             
                               ( 
                               n 
                               ) 
                             
                           
                            
                         
                         2 
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     16 
                   
                   ] 
                 
               
             
           
         
       
     
         [0428]    For example, if the subband signals X dec (k,i) of the decoded signal are calculated during the process of encoding the input speech signal in the speech coder  2   a  or based on the encoding result, as the time envelop of the decoded signal, the temporal envelope E dec (k,i) of the subband signals X dec (k,i) (B(m)≦k&lt;B(m+1), t(l)≦i&lt;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)&lt;k h ) in an arbitrary time segment t(l)≦i&lt;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. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       E 
                       dec 
                     
                      
                     
                       ( 
                       
                         k 
                         , 
                         i 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           
                             B 
                              
                             
                               ( 
                               m 
                               ) 
                             
                           
                         
                         
                           
                             B 
                              
                             
                               ( 
                               
                                 m 
                                 + 
                                 1 
                               
                               ) 
                             
                           
                           - 
                           1 
                         
                       
                        
                       
                           
                       
                        
                       
                         
                            
                           
                             
                               X 
                               dec 
                             
                              
                             
                               ( 
                               
                                 j 
                                 , 
                                 n 
                               
                               ) 
                             
                           
                            
                         
                         2 
                       
                     
                     
                       
                         ∑ 
                         
                           n 
                           = 
                           
                             t 
                              
                             
                               ( 
                               l 
                               ) 
                             
                           
                         
                         
                           t 
                            
                           
                             ( 
                             
                               l 
                               + 
                               1 
                             
                             ) 
                           
                         
                       
                        
                       
                           
                       
                        
                       
                         
                           ∑ 
                           
                             j 
                             = 
                             
                               B 
                                
                               
                                 ( 
                                 m 
                                 ) 
                               
                             
                           
                           
                             
                               B 
                                
                               
                                 ( 
                                 
                                   m 
                                   + 
                                   1 
                                 
                                 ) 
                               
                             
                             - 
                             1 
                           
                         
                          
                         
                             
                         
                          
                         
                           
                              
                             
                               
                                 X 
                                 dec 
                               
                                
                               
                                 ( 
                                 
                                   j 
                                   , 
                                   n 
                                 
                                 ) 
                               
                             
                              
                           
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   [ 
                   
                     Eq 
                     . 
                     
                         
                     
                      
                     17 
                   
                   ] 
                 
               
             
           
         
       
     
         [0429]    For example, the temporal envelope information encoder  2   b  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  2   b  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. 
         [0430]    For example, the temporal envelope information encoder  2   b  calculates information representing the degree of onset as the temporal envelope information. For example, in an arbitrary time segment t(l)≦i&lt;t(l+1), the maximum value of the differential value of the temporal envelope of the input speech signal in time direction is calculated. 
         [0000]        d   Et,max ( k )=max( E   t ( k,i )− E   t ( k,i− 1))
 
         [0000]        d   Kdec,t,max ( k )=max( E   dec,t ( k,i )− E   dec,t ( k,i− 1))
 
         [0000]      or 
         [0000]        d   Emax ( k )=max( E ( k,i )− E ( k,i− 1))
 
         [0000]        d   Edec,max ( k )=max( E   dec ( k,i )− E   dec ( k,i− 1))  [Eq. 18]
 
         [0431]    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. 
         [0432]    In this case, the temporal envelope information encoder  2   b  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. 
         [0433]    For example, the temporal envelope information encoder  2   b  calculates information representing the degree of offset as the temporal envelope information. For example, in the arbitrary time segment t(l)≦i&lt;t(l+1), the minimum value of the differential value in time direction of the temporal envelope of the input speech signal is calculated. 
         [0000]        d   Et,min ( k )=min( E   t ( k,i )− E   t ( k,i− 1))
 
         [0000]        d   Edec,t,min ( k )=min( E   dec,t ( k,i )− E   dec,t ( k,i− 1))
 
         [0000]      or 
         [0000]        d   Emin ( k )=min( E ( k,i )− E ( k,i− 1))
 
         [0000]        d   Edec,min ( k )=min( E   dec ( k,i )− E   dec ( k,i− 1))  [Eq. 19]
 
         [0434]    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  2   b  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. 
         [0435]    In the above examples, in the arbitrary time segment t(l)≦i&lt;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  2   a , in place of the temporal envelope of the input speech signal. 
         [0436]    The code sequence multiplexer  2   c  receives the code sequence of the input speech signal from the speech coder  2   a , receives the temporal envelope shape information encoded by the temporal envelope information encoder  2   b  and outputs a multiplexed code sequence (step S 2 - 3 ). 
       Second Embodiment 
       [0437]      FIG. 5  is a diagram showing the configuration of a speech decoding device  100  according to an second embodiment. A communication device of the speech decoding device  100  receives a multiplexed code sequence output from a speech encoding device  200  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 5 , the speech decoding device  100  functionally includes a code sequence demultiplexer  100   a , a low frequency decoder  100   b , a low frequency temporal envelope shape determiner  100   c , a low frequency temporal envelope modifier  100   d , a high frequency decoder  100   e , and a low frequency/high frequency signal combiner  100   f.    
         [0438]      FIG. 6  is a flowchart showing the operation of the speech decoding device according to the second embodiment. 
         [0439]    The code sequence demultiplexer  100   a  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 S 100 - 1 ). 
         [0440]    The low frequency decoder  100   b  decodes the low frequency encoded part divided by the code sequence demultiplexer  100   a  to obtain a low frequency signal (step S 100 - 2 ). 
         [0441]    The low frequency temporal envelope shape determiner  100   c  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  100   a  and the low frequency signal obtained by the low frequency decoder  100   b  (step S 100 - 3 ). 
         [0442]    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. 
         [0443]    The temporal envelope shape of the low frequency signal is determined, for example, by replacing the decoded signal obtained by the speech decoder  1   b  with the low frequency signal obtained by the low frequency decoder  100   b  in the process of determining the temporal envelope shape of the decoded signal by the temporal envelope shape determiner  1   c.    
         [0444]    The low frequency temporal envelope modifier  100   d  modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder  100   b , based on the temporal envelope shape determined by the low frequency temporal envelope shape determiner  100   c  (step S 100 - 4 ). 
         [0445]    The temporal envelope shape of the low frequency signal can be modified, for example, by replacing the decoded signal obtained by the speech decoder  1   b  with the low frequency signal obtained by the low frequency decoder  100   b  in the process of modifying the temporal envelope shape of the decoded signal in the temporal envelope modifier  1   d.    
         [0446]    The high frequency decoder  100   e  decodes the high frequency encoded part divided by the code sequence demultiplexer  100   a  to obtain a high frequency signal (step S 100 - 5 ). 
         [0447]    The decoding of the high frequency signal in the high frequency decoder  100   e  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. 
         [0448]    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  100   a  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  100   a  inputs nothing to the high frequency decoder  100   e  and generates a high frequency signal through a predetermined process or a process using the decoding result obtained by the low frequency decoder. 
         [0449]    The low frequency/high frequency signal combiner  100   f  combines the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  and the high frequency signal obtained by the high frequency decoder  100   e  to output a speech signal including a low frequency component and a high frequency component (step S 100 - 6 ). 
         [0450]      FIG. 7  is a diagram showing the configuration of the speech encoding device  200  according to the second embodiment. A communication device of the speech encoding device  200  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 1 , the speech encoding device  200  functionally includes a low frequency encoder  200   a , a high frequency encoder  200   b , a low frequency temporal envelope information encoder  200   c , and a code sequence multiplexer  200   d.    
         [0451]      FIG. 8  is a flowchart showing the operation of the speech encoding device  200  according to the second embodiment. 
         [0452]    The low frequency encoder  200   a  encodes a low frequency signal corresponding to the low frequency component of the input speech signal (step S 200 - 1 ). 
         [0453]    The high frequency encoder  200   b  encodes a high frequency signal corresponding to the high frequency component of the input speech signal (step S 200 - 2 ). 
         [0454]    The low frequency temporal envelope information encoder  200   c  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  200   a  (step S 200 - 3 ). 
         [0455]    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  200   a  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  2   b.    
         [0456]    The code sequence multiplexer  200   d  receives the code sequence of the low frequency speech signal from the low frequency encoder  200   a , receives the code sequence of the high frequency speech signal from the high frequency encoder  200   b , receives the low frequency temporal envelope shape information encoded by the low frequency temporal envelope information encoder  200   c  and outputs a multiplexed code sequence (step S 200 - 4 ). 
       First Modification of Speech Decoding Device of Second Embodiment 
       [0457]      FIG. 9  is a diagram showing the configuration of a first modification  100 A of the speech decoding device according to the second embodiment. 
         [0458]      FIG. 10  is a flowchart showing the operation of the first modification  100 A of the speech decoding device according to the second embodiment. 
         [0459]    A high frequency decoder  100   e A decodes the high frequency encoded part divided by the code sequence demultiplexer  100   a  to obtain a high frequency signal (step S 100 - 5 A). 
         [0460]    The high frequency decoder  100   e A differs from the high frequency decoder  100   e  in that the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  is used when the low frequency decoded signal obtained by the low frequency decoder is used in decoding of the high frequency signal. 
       Second Modification of Speech Decoding Device of Second Embodiment 
       [0461]      FIG. 11  is a diagram showing the configuration of a first modification  100 A of the speech decoding device according to the second embodiment. 
         [0462]    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  100   f  is not output from the low frequency temporal envelope modifier  100   d  but output from the low frequency decoder  100   b.    
       Third Embodiment 
       [0463]      FIG. 12  is a diagram showing the configuration of a speech decoding device  110  according to a third embodiment. A communication device of the speech decoding device  110  receives a multiplexed code sequence output from a speech encoding device  210  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 12 , the speech decoding device  110  functionally includes a code sequence demultiplexer  110   a , a low frequency decoder  100   b , a high frequency decoder  100   e , a high frequency temporal envelope shape determiner  110   b , a high frequency temporal envelope modifier  110   c , and a low frequency/high frequency signal combiner  100   f.    
         [0464]      FIG. 13  is a flowchart showing the operation of the speech decoding device according to the third embodiment. 
         [0465]    The code sequence demultiplexer  110   a  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 S 110 - 1 ). 
         [0466]    The high frequency temporal envelope shape determiner  110   b  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  110   a , the high frequency signal obtained by the high frequency decoder  100   e  and the low frequency signal obtained by the low frequency decoder  100   b  (step S 110 - 2 ). 
         [0467]    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. 
         [0468]    The temporal envelope shape of the high frequency signal is determined, for example, by replacing the decoded signal obtained by the speech decoder  1   b  with the high frequency signal obtained by the high frequency decoder  100   e  in the process of determining the temporal envelope shape of the decoded signal in the temporal envelope shape determiner  1   c . Similarly, the decoded signal obtained by the speech decoder  1   b  can be replaced with the low frequency signal obtained by the low frequency decoder  100   b.    
         [0469]    The high frequency temporal envelope modifier  110   c  modifies the shape of the temporal envelope of the high frequency signal output from the high frequency decoder  110   e , based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner  110   b  (step S 110 - 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. 
         [0470]    The temporal envelope shape of the high frequency signal can be modified, for example, by replacing the decoded signal obtained by the speech decoder  1   b  with the high frequency signal obtained by the high frequency decoder  100   e  in the process of modifying the temporal envelope shape of the decoded signal in the temporal envelope modifier  1   d.    
         [0471]      FIG. 14  is a diagram showing the configuration of the speech encoding device  210  according to the third embodiment. A communication device of the speech encoding device  210  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 14 , the speech encoding device  210  functionally includes a low frequency encoder  200   a , a high frequency encoder  200   b , a high frequency temporal envelope information encoder  210   a , and a code sequence multiplexer  210   b.    
         [0472]      FIG. 15  is a flowchart showing the operation of the speech encoding device  210  according to the third embodiment. 
         [0473]    The high frequency temporal envelope information encoder  210   a  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  200   a , and information obtained in the encoding process including the encoding result of the input speech signal in the high frequency encoder  200   b  (step S 210 - 1 ). 
         [0474]    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  2   b  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  200   b  is used in place of the decoded signal. 
         [0475]    The code sequence multiplexer  210   b  receives the code sequence of the low frequency speech signal from the low frequency encoder  200   a , receives the code sequence of the high frequency speech signal from the high frequency encoder  200   b , receives the encoded high frequency temporal envelope shape information from the high frequency temporal envelope information encoder  210   a  and outputs a multiplexed code sequence (step S 210 - 2 ). 
       Fourth Embodiment 
       [0476]      FIG. 16  is a diagram showing the configuration of a speech decoding device  120  according to a fourth embodiment. A communication device of the speech decoding device  120  receives a multiplexed code sequence output from a speech encoding device  220  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 16 , the speech decoding device  120  functionally includes a code sequence demultiplexer  120   a , a low frequency decoder  100   b , a low frequency temporal envelope shape determiner  100   c , a low frequency temporal envelope modifier  100   d , a high frequency decoder  100   e , a high frequency temporal envelope shape determiner  120   b , a high frequency temporal envelope modifier  110   c , and a low frequency/high frequency signal combiner  100   f.    
         [0477]      FIG. 17  is a flowchart showing the operation of the speech decoding device  120  according to the fourth embodiment. 
         [0478]    The code sequence demultiplexer  120   a  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 S 120 - 1 ). 
         [0479]    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. 
         [0480]    The high frequency temporal envelope shape determiner  120   b  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  120   a , the low frequency signal obtained by the low frequency decoder  100   b , and the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  (step S 120 - 2 ). 
         [0481]    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. 
         [0482]    If the process of determining the high frequency temporal envelope shape in the high frequency temporal envelope shape determiner  120   b  is based on the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d , the decoded signal obtained by the speech decoder  1   b  can be replaced with the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  in the process of determining the temporal envelope shape of the decoded signal in the temporal envelope shape determiner  1   c.    
         [0483]      FIG. 18  is a diagram showing the configuration of the speech encoding device  220  according to the fourth embodiment. A communication device of the speech encoding device  220  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 18 , the speech encoding device  220  functionally includes a low frequency encoder  200   a , a high frequency encoder  200   b , a low frequency temporal envelope information encoder  200   c , a high frequency temporal envelope information encoder  220   a , and a code sequence multiplexer  220   b.    
         [0484]      FIG. 19  is a flowchart showing the operation of the speech encoding device  220  according to the fourth embodiment. 
         [0485]    The high frequency temporal envelope information encoder  220   a  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  200   a , information obtained in the encoding process including the encoding result of the input speech signal in the high frequency encoder  200   b , 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  200   c  (step S 220 - 1 ). 
         [0486]    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  210   a . 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. 
         [0487]    The code sequence multiplexer  220   b  receives the code sequence of the low frequency speech signal from the low frequency encoder  200   a , receives the code sequence of the high frequency speech signal from the high frequency encoder  200   b , receives the encoded low frequency temporal envelope shape information from the low frequency temporal envelope information encoder  200   c , receives the encoded high frequency temporal envelope shape information from the high frequency temporal envelope information encoder  210   a , and outputs a multiplexed code sequence (step S 220 - 2 ). 
         [0488]    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. 
       First Modification of Speech Decoding Device of Fourth Embodiment 
       [0489]      FIG. 20  is a diagram showing the configuration of a first modification  120 A of the speech decoding device according to the fourth embodiment. The difference from the speech decoding device  120  in the fourth embodiment is that the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  is used in decoding a high frequency signal in the high frequency decoder  100   e A. 
         [0490]      FIG. 21  is a flowchart showing the operation of the first modification  120 A of the speech decoding device according to the fourth embodiment. In step  100 - 5 A in  FIG. 21 , when the low frequency decoded signal obtained by the low frequency decoder  100   b  is used in decoding a high frequency signal, the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  is used. 
       Second Modification of Speech Decoding Device of Fourth Embodiment 
       [0491]      FIG. 22  is a diagram showing the configuration of a second modification  120 B of the speech encoding device according to the fourth embodiment. The difference from the first modification of the speech decoding device in the fourth embodiment is that the low frequency signal input to the low frequency/high frequency signal combiner  100   f  is not output from the low frequency temporal envelope modifier  100   d  but output from the low frequency decoder  100   b.    
         [0492]      FIG. 23  is a flowchart showing the operation of the second modification  120 B of the speech decoding device according to the fourth embodiment. In step S 100 - 6  in  FIG. 23 , the low frequency signal from the low frequency decoder  100   b  and the high frequency signal from the high frequency temporal envelope modifier  110   c  are combined. 
       Third Modification of Speech Decoding Device of Fourth Embodiment 
       [0493]      FIG. 24  is a diagram showing the configuration of a third modification  120 C of the speech decoding device according to the fourth embodiment. 
         [0494]      FIG. 25  is a flowchart showing the operation of the third modification  120 C of the speech decoding device according to the fourth embodiment. 
         [0495]    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  120   c  and a high frequency temporal envelope modifier  120   d  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  110   c.    
         [0496]    In the present modification, the low frequency temporal envelope shape determiner  120   c  differs from the low frequency temporal envelope shape determiner  100   c  in that it also notifies the high frequency temporal envelope modifier  120   d  of the determined temporal envelope shape. 
         [0497]    The high frequency temporal envelope modifier  120   d  differs from the high frequency temporal envelope modifier  110   c  in that the shape of the temporal envelope of the high frequency signal output from the high frequency decoder  100   e  is modified, based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b  and the temporal envelope shape determined by the low frequency temporal envelope shape determiner  120   c  (S 120 - 3 ). 
         [0498]    For example, if the low frequency temporal envelope shape determiner  120   c  determines that the temporal envelope shape is flat, the temporal envelope of the high frequency signal output from the high frequency decoder  100   e  is modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b . For example, if the low frequency temporal envelope shape determiner  120   c  determines that the temporal envelope shape is not flat, the temporal envelope of the high frequency signal output from the high frequency decoder  100   e  is not modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b . This is applicable to the cases of onset and offset and is not limited to any specific temporal envelope shape. 
       Fourth Modification of Speech Decoding Device of Fourth Embodiment 
       [0499]      FIG. 26  is a diagram showing the configuration of a fourth modification  120 D of the speech decoding device according to the fourth embodiment. 
         [0500]      FIG. 27  is a flowchart showing the operation of the fourth modification  120 D of the speech decoding device according to the fourth embodiment. 
         [0501]    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  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
         [0502]    In the present modification, the high frequency temporal envelope shape determiner  120   b A differs from the high frequency temporal envelope shape determiner  120   b  in that it also notifies the low frequency temporal envelope modifier  120   e  of the determined temporal envelope shape. 
         [0503]    The determination of the temporal envelope shape in the high frequency temporal envelope shape determiner  120   b A 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  120   a  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  120   b  can also determine in the same manner. 
         [0504]    The low frequency temporal envelope modifier  120   e  differs from the low frequency temporal envelope modifier  100   d  in that the shape of the temporal envelope of the low frequency signal output from the low frequency decoder  100   b  is modified, based on at least one of the temporal envelope shape determined by the low frequency temporal envelope shape determiner  100   c  and the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b A (S 120 - 4 ). 
         [0505]    For example, if the high frequency temporal envelope shape determiner  120   b A determines that the temporal envelope shape is flat, the temporal envelope of the low frequency signal output from the low frequency decoder  100   b  is modified into a flat shape, irrespective of the temporal envelope shape determined by the low frequency temporal envelope shape determiner  100   c . For example, if the high frequency temporal envelope shape determiner  120   b A determines that the temporal envelope shape is flat, the temporal envelope of the low frequency signal output from the low frequency decoder  100   b  is not modified into a flat shape, irrespective of the temporal envelope shape determined by the low frequency temporal envelope shape determiner  100   c . This is applicable to the cases of onset and offset and is not limited to any specific temporal envelope shape. 
       Fifth Modification of Speech Decoding Device of Fourth Embodiment 
       [0506]      FIG. 28  is a diagram showing the configuration of a fifth modification  120 E of the speech decoding device according to the fourth embodiment. 
         [0507]      FIG. 29  is a flowchart showing the operation of the fifth modification  120 E of the speech decoding device according to the fourth embodiment. 
         [0508]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  120   d , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Sixth Modification of Speech Decoding Device of Fourth Embodiment 
       [0509]      FIG. 30  is a diagram showing the configuration of a sixth modification  120 F of the speech decoding device according to the fourth embodiment. 
         [0510]      FIG. 31  is a flowchart showing the operation of the sixth modification  120 F of the speech decoding device according to the fourth embodiment. 
         [0511]    The present modification differs from the speech decoding device  120  according to the fourth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
         [0512]    The temporal envelope shape determiner  120   f  determines the temporal envelope shape, based on at least one of information about the low frequency temporal envelope shape from the code sequence demultiplexer  120   a , information about the high frequency temporal envelope shape, the low frequency signal from the low frequency decoder  100   b , and the high frequency signal from the high frequency decoder  100   e  (S 120 - 5 ). The low frequency temporal envelope modifier  100   d  and the high frequency temporal envelope modifier  110   c  are notified of the determined temporal envelope shape. 
         [0513]    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. 
         [0514]    The temporal envelope shape determiner  120   f  can determine the temporal envelope shape, for example, as performed by the low frequency temporal envelope shape determiners  100   c  and  120   c , and the high frequency temporal envelope shape determiners  120   b  and  120   b A. The method of determining the temporal envelope shape is not limited to the above examples. 
       Seventh Modification of Speech Decoding Device of Fourth Embodiment 
       [0515]      FIG. 32  is a diagram showing the configuration of a seventh modification  120 G of the speech decoding device according to the fourth embodiment. 
         [0516]      FIG. 33  is a flowchart showing the operation of the seventh modification  120 G of the speech decoding device according to the fourth embodiment. 
         [0517]    The present modification differs from the first modification  120 A of the speech decoding device according to the fourth embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  120   d  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  110   c.    
       Eighth Modification of Speech Decoding Device of Fourth Embodiment 
       [0518]      FIG. 34  is a diagram showing the configuration of an eighth modification  120 H of the speech decoding device according to the fourth embodiment. 
         [0519]      FIG. 35  is a flowchart showing the operation of the eighth modification  120 H of the speech decoding device according to the fourth embodiment. 
         [0520]    The present modification differs from the first modification  120 A of the speech decoding device according to the fourth embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Ninth Modification of Speech Decoding Device of Fourth Embodiment 
       [0521]      FIG. 36  is a diagram showing the configuration of a ninth modification  120 I of the speech decoding device according to the fourth embodiment. 
         [0522]      FIG. 37  is a flowchart showing the operation of the ninth modification  120 I of the speech decoding device according to the fourth embodiment. 
         [0523]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  120   d , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Tenth Modification of Speech Decoding Device of Fourth Embodiment 
       [0524]      FIG. 38  is a diagram showing the configuration of a tenth modification  120 J of the speech decoding device according to the fourth embodiment. 
         [0525]      FIG. 39  is a flowchart showing the operation of the tenth modification  120 J of the speech decoding device according to the fourth embodiment. 
         [0526]    The present modification differs from the first modification  120 A of the speech decoding device according to the fourth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Eleventh Modification of Speech Decoding Device of Fourth Embodiment 
       [0527]      FIG. 40  is a diagram showing the configuration of an eleventh modification  120 K of the speech decoding device according to the fourth embodiment. 
         [0528]      FIG. 41  is a flowchart showing the operation of the eleventh modification  120 K of the speech decoding device according to the fourth embodiment. 
         [0529]    The present modification differs from the second modification  120 B of the speech decoding device according to the fourth embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  120   d  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  110   c.    
       Twelfth Modification of Speech Decoding Device of Fourth Embodiment 
       [0530]      FIG. 42  is a diagram showing the configuration of a twelfth modification  120 L of the speech decoding device according to the fourth embodiment. 
         [0531]      FIG. 43  is a flowchart showing the operation of the twelfth modification  120 L of the speech decoding device according to the fourth embodiment. 
         [0532]    The present modification differs from the second modification  120 B of the speech decoding device according to the fourth embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Thirteenth Modification of Speech Decoding Device of Fourth Embodiment 
       [0533]      FIG. 44  is a diagram showing the configuration of a thirteenth modification  120 M of the speech decoding device according to the fourth embodiment. 
         [0534]      FIG. 45  is a flowchart showing the operation of the thirteenth modification  120 M of the speech decoding device according to the fourth embodiment. 
         [0535]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  120   d , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Fourteenth Modification of Speech Decoding Device of Fourth Embodiment 
       [0536]      FIG. 46  is a diagram showing the configuration of a fourteenth modification  120 N of the speech decoding device according to the fourth embodiment. 
         [0537]      FIG. 47  is a flowchart showing the operation of the fourteenth modification  120 N of the speech decoding device according to the fourth embodiment. 
         [0538]    The present modification differs from the second modification  120 B of the speech decoding device according to the fourth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Fifth Embodiment 
       [0539]      FIG. 48  is a diagram showing the configuration of a speech decoding device  130  according to a fifth embodiment. A communication device of the speech decoding device  130  receives a multiplexed code sequence output from a speech encoding device  230  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 48 , the speech decoding device  130  functionally includes a code sequence demultiplexer  110   a , a low frequency decoder  100   b , a high frequency temporal envelope shape determiner  110   b , a high frequency temporal envelope modifier  130   a , a high frequency decoder  130   b , and a low frequency/high frequency signal combiner  100   f.    
         [0540]      FIG. 49  is a flowchart showing the operation of the speech decoding device according to the fourth embodiment. 
         [0541]    The high frequency temporal envelope modifier  130   a  modifies the shape of the temporal envelope of the low frequency signal input to the high frequency decoder  130   b , based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner  110   b  (step S 130 - 1 ). The modification of the temporal envelope shape in the high frequency temporal envelope modifier  130   a  is performed, for example, in the process of modifying the temporal envelope shape of the decoded signal in the temporal envelope modifier  1   d  in which the decoded signal obtained by the speech decoder  1   b  is replaced with the low frequency signal obtained by the low frequency decoder  100   b.    
         [0542]    The high frequency decoder  130   b  decodes the high frequency encoded part divided by the code sequence demultiplexer  100   a  to obtain a high frequency signal (step S 130 - 2 ). 
         [0543]    The high frequency decoder  130   b  differs from the high frequency decoder  100   e  in that the low frequency signal having the temporal envelope shape modified by the high frequency temporal envelope modifier  130   a  is used when the low frequency decoded signal obtained by the low frequency decoder is used in decoding the high frequency signal. 
         [0544]      FIG. 50  is a diagram showing the configuration of the speech encoding device  230  according to the fifth embodiment. A communication device of the speech encoding device  230  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 50 , the speech encoding device  230  functionally includes a low frequency encoder  200   a , a high frequency encoder  200   b , a high frequency temporal envelope information encoder  230   a , and a code sequence multiplexer  210   b.    
         [0545]      FIG. 51  is a flowchart showing the operation of the speech encoding device  230  according to the fifth embodiment. 
         [0546]    The high frequency temporal envelope information encoder  230   a  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  200   a , and information obtained in the encoding process including the encoding result of the input speech signal in the high frequency encoder  200   b  (step S 230 - 1 ). 
         [0547]    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  200   c , 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  200   b  can be additionally used. 
       Sixth Embodiment 
       [0548]      FIG. 52  is a diagram showing the configuration of a speech decoding device  140  according to a sixth embodiment. A communication device of the speech decoding device  140  receives a multiplexed code sequence output from a speech encoding device  240  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 52 , the speech decoding device  140  functionally includes a code sequence demultiplexer  120   a , a low frequency decoder  100   b , a low frequency temporal envelope shape determiner  100   c , a low frequency temporal envelope modifier  100   d , a high frequency temporal envelope shape determiner  120   b , a high frequency temporal envelope modifier  130   a , a high frequency decoder  130   b , and a low frequency/high frequency signal combiner  100   f.    
         [0549]      FIG. 53  is a flowchart showing the operation of the speech decoding device according to the sixth embodiment. The code sequence demultiplexer  120   a  and the high frequency temporal envelope shape determiner  120   b  perform the same operation as the code sequence demultiplexer  120   a  and the high frequency temporal envelope shape determiner  120   b  in the fourth embodiment (steps S 120 - 1 , S 120 - 2 ). The high frequency temporal envelope modifier  130   a  and the high frequency decoder  130   b  perform the same operation as the high frequency temporal envelope modifier  130   a  and the high frequency decoder  130   b  in the fifth embodiment (steps S 130 - 1 , S 130 - 2 ). 
         [0550]      FIG. 54  is a diagram showing the configuration of the speech encoding device  240  according to the sixth embodiment. A communication device of the speech encoding device  240  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 54 , the speech encoding device  240  functionally includes a low frequency encoder  200   a , a high frequency encoder  200   b , a low frequency temporal envelope information encoder  200   c , a high frequency temporal envelope information encoder  220   a , and a code sequence multiplexer  220   b.    
         [0551]      FIG. 55  is a flowchart showing the operation of the speech encoding device  240  according to the sixth embodiment. 
       First Modification of Speech Decoding Device of Sixth Embodiment 
       [0552]      FIG. 56  is a diagram showing the configuration of a first modification  140 A of the speech decoding device according to the sixth embodiment. 
         [0553]      FIG. 57  is a flowchart showing the operation of the first modification  140 A of the speech decoding device according to the sixth embodiment. 
         [0554]    A high frequency temporal envelope modifier  140   a  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  100   d , based on the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b  (step S 140 - 1 ). The difference from the high frequency temporal envelope modifier  130   a  is that the input signal is the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d.    
       Second Modification of Speech Decoding Device of Sixth Embodiment 
       [0555]      FIG. 58  is a diagram showing the configuration of a second modification  140 B of the speech encoding device according to the sixth embodiment. 
         [0556]    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  100   f  is not the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  but the low frequency signal decoded by the low frequency decoder  100   b.    
       Third Modification of Speech Decoding Device of Sixth Embodiment 
       [0557]      FIG. 59  is a diagram showing the configuration of a third modification  140 C of the speech decoding device according to the sixth embodiment. 
         [0558]      FIG. 60  is a flowchart showing the operation of the third modification  140 C of the speech decoding device according to the sixth embodiment. 
         [0559]    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  120   c  and a high frequency temporal envelope modifier  140   b  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  130   a.    
         [0560]    The high frequency temporal envelope modifier  140   b  differs from the high frequency temporal envelope modifier  130   a  in that the shape of the temporal envelope of the low frequency signal input to the high frequency decoder  130   b  is modified based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b  and the temporal envelope shape determined by the low frequency temporal envelope shape determiner  120   c  (S 140 - 2 ). 
         [0561]    For example, if the low frequency temporal envelope shape determiner  120   c  determines that the temporal envelope shape is flat, the temporal envelope of the low frequency signal input to the high frequency decoder  130   b  is modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b . For example, if the low frequency temporal envelope shape determiner  120   c  determines that the temporal envelope shape is not flat, the temporal envelope of the low frequency signal input to the high frequency decoder  130   b  is not modified into a flat shape, irrespective of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b . This is applicable to the cases of onset and offset and is not limited to any specific temporal envelope shape. 
       Fourth Modification of Speech Decoding Device of Sixth Embodiment 
       [0562]      FIG. 61  is a diagram showing the configuration of a fourth modification  140 D of the speech decoding device according to the sixth embodiment. 
         [0563]      FIG. 62  is a flowchart showing the operation of the fourth modification  140 D of the speech decoding device according to the sixth embodiment. 
         [0564]    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  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Fifth Modification of Speech Decoding Device of Sixth Embodiment 
       [0565]      FIG. 63  is a diagram showing the configuration of a fifth modification  140 E of the speech decoding device according to the sixth embodiment. 
         [0566]      FIG. 64  is a flowchart showing the operation of the fifth modification  140 E of the speech decoding device according to the sixth embodiment. 
         [0567]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  140   b , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Sixth Modification of Speech Decoding Device of Sixth Embodiment 
       [0568]      FIG. 65  is a diagram showing the configuration of a sixth modification  140 F of the speech decoding device according to the sixth embodiment. 
         [0569]      FIG. 66  is a flowchart showing the operation of the sixth modification  140 F of the speech decoding device according to the sixth embodiment. 
         [0570]    The present modification differs from the speech decoding device  140  according to the sixth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Seventh Modification of Speech Decoding Device of Sixth Embodiment 
       [0571]      FIG. 67  is a diagram showing the configuration of a seventh modification  140 G of the speech decoding device according to the sixth embodiment. 
         [0572]      FIG. 68  is a flowchart showing the operation of the seventh modification  140 G of the speech decoding device according to the sixth embodiment. 
         [0573]    The present modification differs from the first modification  140 A of the speech decoding device according to the sixth embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  140   b  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  140   a.    
         [0574]    In the present modification, the high frequency temporal envelope modifier  140   b  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  130   b , based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b  and the temporal envelope shape determined by the low frequency temporal envelope shape determiner  120   c  (S 140 - 2 ). 
       Eighth Modification of Speech Decoding Device of Sixth Embodiment 
       [0575]      FIG. 69  is a diagram showing the configuration of an eighth modification  140 H of the speech decoding device according to the sixth embodiment. 
         [0576]      FIG. 70  is a flowchart showing the operation of the eighth modification  140 H of the speech decoding device according to the sixth embodiment. 
         [0577]    The present modification differs from the first modification  140 A of the speech decoding device according to the sixth embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Ninth Modification of Speech Decoding Device of Sixth Embodiment 
       [0578]      FIG. 71  is a diagram showing the configuration of a ninth modification  140 I of the speech decoding device according to the sixth embodiment. 
         [0579]      FIG. 72  is a flowchart showing the operation of the ninth modification  140 I of the speech decoding device according to the sixth embodiment. 
         [0580]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  140   b , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Tenth Modification of Speech Decoding Device of Sixth Embodiment 
       [0581]      FIG. 73  is a diagram showing the configuration of a tenth modification  140 J of the speech decoding device according to the sixth embodiment. 
         [0582]      FIG. 74  is a flowchart showing the operation of the tenth modification  140 J of the speech decoding device according to the sixth embodiment. 
         [0583]    The present modification differs from the first modification  140 A of the speech decoding device according to the sixth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Eleventh Modification of Speech Decoding Device of Sixth Embodiment 
       [0584]      FIG. 75  is a diagram showing the configuration of an eleventh modification  140 K of the speech decoding device according to the sixth embodiment. 
         [0585]      FIG. 76  is a flowchart showing the operation of the eleventh modification  140 K of the speech decoding device according to the sixth embodiment. 
         [0586]    The present modification differs from the second modification  140 B of the speech decoding device according to the sixth embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  140   b  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  140   a.    
       Twelfth Modification of Speech Decoding Device of Sixth Embodiment 
       [0587]      FIG. 77  is a diagram showing the configuration of a twelfth modification  140 L of the speech decoding device according to the sixth embodiment. 
         [0588]      FIG. 78  is a flowchart showing the operation of the twelfth modification  140 L of the speech decoding device according to the sixth embodiment. 
         [0589]    The present modification differs from the second modification  140 B of the speech decoding device according to the sixth embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Thirteenth Modification of Speech Decoding Device of Sixth Embodiment 
       [0590]      FIG. 79  is a diagram showing the configuration of a thirteenth modification  140 M of the speech decoding device according to the sixth embodiment. 
         [0591]      FIG. 80  is a flowchart showing the operation of the thirteenth modification  140 M of the speech decoding device according to the sixth embodiment. 
         [0592]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  140   b , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Fourteenth Modification of Speech Decoding Device of Sixth Embodiment 
       [0593]      FIG. 81  is a diagram showing the configuration of a fourteenth modification  140 N of the speech decoding device according to the sixth embodiment. 
         [0594]      FIG. 82  is a flowchart showing the operation of the fourteenth modification  140 N of the speech decoding device according to the sixth embodiment. 
         [0595]    The present modification differs from the second modification  140 B of the speech decoding device according to the sixth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Seventh Embodiment 
       [0596]      FIG. 83  is a diagram showing the configuration of a speech decoding device  150  according to a seventh embodiment. A communication device of the speech decoding device  150  receives a multiplexed code sequence output from a speech encoding device  250  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 83 , the speech decoding device  150  functionally includes a code sequence demultiplexer  150   a , switches  150   b , a low frequency decoder  100   b , a low frequency temporal envelope shape determiner  100   c , a low frequency temporal envelope modifier  100   d , a high frequency decoder  100   e , a high frequency temporal envelope shape determiner  120   b , a high frequency temporal envelope modifier  110   c , and a low frequency/high frequency signal combiner  150   c.    
         [0597]      FIG. 84  is a flowchart showing the operation of the speech decoding device according to the seventh embodiment. 
         [0598]    The code sequence demultiplexer  150   a  divides a code sequence into high frequency signal generation control information, a low frequency encoded part, and information about the temporal envelope shape (step S 150 - 1 ). 
         [0599]    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  150   a  (step S 150 - 2 ). 
         [0600]    If a high frequency signal is to be generated, the code sequence demultiplexer  150   a  extracts a high frequency encoded part from the code sequence (step S 150 - 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. 
         [0601]    The order in which the processing in step S 150 - 2  and S 150 - 3  is performed is not limited to the order illustrated in the flowchart in  FIG. 84  as long as it is before the determination of the high frequency temporal envelope shape and the decoding of the high frequency encoded part. 
         [0602]    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  150   c  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  150   c  synthesizes an output speech signal from the low frequency signal whose temporal envelope shape is modified (step S 150 - 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  150   c , the input low frequency signal can be optionally output as it is. 
         [0603]      FIG. 85  is a diagram showing the configuration of the speech encoding device  250  according to the seventh embodiment. A communication device of the speech encoding device  250  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 85 , the speech encoding device  250  functionally includes a high frequency signal generation control information encoder  250   a , a low frequency encoder  200   a , a high frequency encoder  200   b , a low frequency temporal envelope information encoder  200   c , a high frequency temporal envelope information encoder  220   a , and a code sequence multiplexer  250   b.    
         [0604]      FIG. 86  is a flowchart showing the operation of the speech encoding device  250  according to the seventh embodiment. 
         [0605]    The high frequency signal generation control information encoder  250   a  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 S 250 - 1 ). For example, if the input speech signal includes a signal in a frequency band to be encoded by the high frequency encoder  200   b , 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. 
         [0606]    The high frequency signal generation control information can be encoded, for example, by one bit representing whether to generate a high frequency signal. 
         [0607]    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. 
         [0608]    If the high frequency signal generation control information encoder  250   a  determines to generate a high frequency signal, the high frequency encoder  200   b  encodes a high frequency signal corresponding to the high frequency component of the input speech signal, and the high frequency temporal envelope information encoder  220   a  calculates and encodes high frequency temporal envelope shape information. By contrast, if the high frequency signal generation control information encoder  250   a  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 S 250 - 2 ). 
         [0609]    The code sequence multiplexer  250   c  receives the encoded high frequency signal generation control information from the high frequency signal generation control information encoder  250   a , receives the code sequence of the low frequency speech signal from the low frequency encoder  200   a , receives the encoded low frequency temporal envelope shape information from the low frequency temporal envelope information encoder  200   c , additionally receives the code sequence of the high frequency speech signal from the high frequency encoder  200   b  and the encoded high frequency temporal envelope shape information from the high frequency temporal envelope information encoder  210   a  if the high frequency signal generation control information encoder  250   a  determines to generate a high frequency signal, and outputs a multiplexed code sequence (step S 250 - 3 ). 
         [0610]    If the high frequency signal generation control information encoder  250   a  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. 
       First Modification of Speech Decoding Device of Seventh Embodiment 
       [0611]      FIG. 87  is a diagram showing the configuration of a first modification  150 A of the speech decoding device according to the seventh embodiment. 
         [0612]      FIG. 88  is a flowchart showing the operation of the first modification  150 A of the speech decoding device according to the seventh embodiment. The difference from the speech decoding device  150  in the seventh embodiment is that the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  is used in decoding a high frequency signal by the high frequency decoder  100   e A. In step  100 - 5 A in  FIG. 88 , when the low frequency decoded signal obtained by the low frequency decoder  100   b  is used in decoding a high frequency signal, the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d  is used. 
         [0613]    The order in which the processing in step S 150 - 2  and S 150 - 3  is performed is not limited to the order illustrated in the flowchart in  FIG. 88  as long as it is before the determination of the high frequency temporal envelope shape and the decoding of the high frequency encoded part. 
       Second Modification of Speech Decoding Device of Seventh Embodiment 
       [0614]      FIG. 89  is a diagram showing the configuration of a second modification  150 B of the speech decoding device according to the seventh embodiment. The difference from the first modification of the speech decoding device in the seventh embodiment is that the low frequency signal input to the low frequency/high frequency signal combiner  150   c  is not output from the low frequency temporal envelope modifier  100   d  but output from the low frequency decoder  100   b.    
       Third Modification of Speech Decoding Device of Seventh Embodiment 
       [0615]      FIG. 90  is a diagram showing the configuration of a third modification  150 C of the speech decoding device according to the seventh embodiment. 
         [0616]      FIG. 91  is a flowchart showing the operation of the third modification  150 C of the speech decoding device according to the seventh embodiment. 
         [0617]    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  120   c  and a high frequency temporal envelope modifier  120   d  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  110   c.    
       Fourth Modification of Speech Decoding Device of Seventh Embodiment 
       [0618]      FIG. 92  is a diagram showing the configuration of a fourth modification  150 D of the speech decoding device according to the seventh embodiment. 
         [0619]      FIG. 93  is a flowchart showing the operation of the fourth modification  150 D of the speech decoding device according to the seventh embodiment. 
         [0620]    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  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Fifth Modification of Speech Decoding Device of Seventh Embodiment 
       [0621]      FIG. 94  is a diagram showing the configuration of a fifth modification  150 E of the speech decoding device according to the seventh embodiment. 
         [0622]      FIG. 95  is a flowchart showing the operation of the fifth modification  150 E of the speech decoding device according to the seventh embodiment. 
         [0623]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  120   d , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Sixth Modification of Speech Decoding Device of Seventh Embodiment 
       [0624]      FIG. 96  is a diagram showing the configuration of a sixth modification  150 F of the speech decoding device according to the seventh embodiment. 
         [0625]      FIG. 97  is a flowchart showing the operation of the sixth modification  150 F of the speech decoding device according to the seventh embodiment. 
         [0626]    The present modification differs from the speech decoding device  150  according to the seventh embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Seventh Modification of Speech Decoding Device of Seventh Embodiment 
       [0627]      FIG. 98  is a diagram showing the configuration of a seventh modification  150 G of the speech decoding device according to the seventh embodiment. 
         [0628]      FIG. 99  is a flowchart showing the operation of the seventh modification  150 G of the speech decoding device according to the seventh embodiment. 
         [0629]    The present modification differs from the first modification  150 A of the speech decoding device according to the seventh embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  120   d  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  110   c.    
       Eighth Modification of Speech Decoding Device of Seventh Embodiment 
       [0630]      FIG. 100  is a diagram showing the configuration of an eighth modification  150 H of the speech decoding device according to the seventh embodiment. 
         [0631]      FIG. 101  is a flowchart showing the operation of the eighth modification  150 H of the speech decoding device according to the seventh embodiment. 
         [0632]    The present modification differs from the first modification  150 A of the speech decoding device according to the seventh embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Ninth Modification of Speech Decoding Device of Seventh Embodiment 
       [0633]      FIG. 102  is a diagram showing the configuration of a ninth modification  150 I of the speech decoding device according to the seventh embodiment. 
         [0634]      FIG. 103  is a flowchart showing the operation of the ninth modification  150 I of the speech decoding device according to the seventh embodiment. 
         [0635]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  120   d , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Tenth Modification of Speech Decoding Device of Seventh Embodiment 
       [0636]      FIG. 104  is a diagram showing the configuration of a tenth modification  150 J of the speech decoding device according to the seventh embodiment. 
         [0637]      FIG. 105  is a flowchart showing the operation of the tenth modification  150 J of the speech decoding device according to the seventh embodiment. 
         [0638]    The present modification differs from the first modification  150 A of the speech decoding device according to the seventh embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Eleventh Modification of Speech Decoding Device of Seventh Embodiment 
       [0639]      FIG. 106  is a diagram showing the configuration of an eleventh modification  150 K of the speech decoding device according to the seventh embodiment. 
         [0640]      FIG. 107  is a flowchart showing the operation of the eleventh modification  150 K of the speech decoding device according to the seventh embodiment. 
         [0641]    The present modification differs from the second modification  150 B of the speech decoding device according to the seventh embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  120   d  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  110   c.    
       Twelfth Modification of Speech Decoding Device of Seventh Embodiment 
       [0642]      FIG. 108  is a diagram showing the configuration of a twelfth modification  150 L of the speech decoding device according to the seventh embodiment. 
         [0643]      FIG. 109  is a flowchart showing the operation of the twelfth modification  150 L of the speech decoding device according to the seventh embodiment. 
         [0644]    The present modification differs from the second modification  150 B of the speech decoding device according to the seventh embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Thirteenth Modification of Speech Decoding Device of Seventh Embodiment 
       [0645]      FIG. 110  is a diagram showing the configuration of a thirteenth modification  150 M of the speech decoding device according to the seventh embodiment. 
         [0646]      FIG. 111  is a flowchart showing the operation of the thirteenth modification  150 M of the speech decoding device according to the seventh embodiment. 
         [0647]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  120   d , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Fourteenth Modification of Speech Decoding Device of Seventh Embodiment 
       [0648]      FIG. 112  is a diagram showing the configuration of a fourteenth modification  150 N of the speech decoding device according to the seventh embodiment. 
         [0649]      FIG. 113  is a flowchart showing the operation of the fourteenth modification  150 N of the speech decoding device according to the seventh embodiment. 
         [0650]    The present modification differs from the second modification  150 B of the speech decoding device according to the seventh embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Eighth Embodiment 
       [0651]      FIG. 114  is a diagram showing the configuration of a speech decoding device  160  according to an eighth embodiment. A communication device of the speech decoding device  160  receives a multiplexed code sequence output from a speech encoding device  260  described below and outputs a decoded speech signal to the outside. As shown in  FIG. 114 , the speech decoding device  160  functionally includes a code sequence demultiplexer  150   a , switches  150   b , a low frequency decoder  100   b , a low frequency temporal envelope shape determiner  100   c , a low frequency temporal envelope modifier  100   d , a high frequency temporal envelope shape determiner  120   b , a high frequency temporal envelope modifier  130   a , a high frequency decoder  130   b , and a low frequency/high frequency signal combiner  150   c.    
         [0652]      FIG. 115  is a flowchart showing the operation of the speech decoding device according to the eighth embodiment. The order in which the processing in step S 150 - 2  and S 150 - 3  is performed is not limited to the order illustrated in the flowchart in  FIG. 115  as long as it is before the determination of the high frequency temporal envelope shape and the decoding of the high frequency encoded part. 
         [0653]      FIG. 116  is a diagram showing the configuration of the speech encoding device  260  according to the eighth embodiment. A communication device of the speech encoding device  260  receives a speech signal to be encoded from the outside and outputs the encoded code sequence to the outside. As shown in  FIG. 116 , the speech encoding device  260  functionally includes a high frequency signal generation control information encoder  250   a , a low frequency encoder  200   a , a high frequency encoder  200   b , a low frequency temporal envelope information encoder  200   c , a high frequency temporal envelope information encoder  220   a , and a code sequence multiplexer  250   b.    
         [0654]      FIG. 117  is a flowchart showing the operation of the speech encoding device  260  according to the eighth embodiment. 
       First Modification of Speech Decoding Device of Eighth Embodiment 
       [0655]      FIG. 118  is a diagram showing the configuration of a first modification  160 A of the speech decoding device according to the eighth embodiment. 
         [0656]      FIG. 119  is a flowchart showing the operation of the first modification  160 A of the speech decoding device according to the eighth embodiment. 
         [0657]    The difference from the speech decoding device  160  of the present embodiment is that the high frequency temporal envelope modifier  140   a  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  130   a.    
         [0658]    The order in which the processing in step S 150 - 2  and S 150 - 3  is performed is not limited to the order illustrated in the flowchart in  FIG. 119  as long as it is before the determination of the high frequency temporal envelope shape and the decoding of the high frequency encoded part. 
       Second Modification of Speech Decoding Device of Eighth Embodiment 
       [0659]      FIG. 120  is a diagram showing the configuration of a second modification  170 B of the speech decoding device according to the eighth embodiment. 
         [0660]    The difference from the first modification  160 A 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  150   c  is the low frequency signal decoded by the low frequency decoder  100   b , not the low frequency signal having the temporal envelope shape modified by the low frequency temporal envelope modifier  100   d , as in the second modification of the speech decoding device of the sixth embodiment. 
       Third Modification of Speech Decoding Device of Eighth Embodiment 
       [0661]      FIG. 121  is a diagram showing the configuration of a third modification  160 C of the speech decoding device according to the eighth embodiment. 
         [0662]      FIG. 122  is a flowchart showing the operation of the third modification  160 C of the speech decoding device according to the eighth embodiment. 
         [0663]    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  120   c  and a high frequency temporal envelope modifier  140   b  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  130   a.    
       Fourth Modification of Speech Decoding Device of Eighth Embodiment 
       [0664]      FIG. 123  is a diagram showing the configuration of a fourth modification  160 D of the speech decoding device according to the eighth embodiment. 
         [0665]      FIG. 124  is a flowchart showing the operation of the fourth modification  160 D of the speech decoding device according to the eighth embodiment. 
         [0666]    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  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Fifth Modification of Speech Decoding Device of Eighth Embodiment 
       [0667]      FIG. 125  is a diagram showing the configuration of a fifth modification  160 E of the speech decoding device according to the eighth embodiment. 
         [0668]      FIG. 126  is a flowchart showing the operation of the fifth modification  160 E of the speech decoding device according to the eighth embodiment. 
         [0669]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  140   b , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Sixth Modification of Speech Decoding Device of Eighth Embodiment 
       [0670]      FIG. 127  is a diagram showing the configuration of a sixth modification  160 F of the speech decoding device according to the eighth embodiment. 
         [0671]      FIG. 128  is a flowchart showing the operation of the sixth modification  160 F of the speech decoding device according to the eighth embodiment. 
         [0672]    The present modification differs from the speech decoding device  160  according to the eighth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Seventh Modification of Speech Decoding Device of Eighth Embodiment 
       [0673]      FIG. 129  is a diagram showing the configuration of a seventh modification  160 G of the speech decoding device according to the eighth embodiment. 
         [0674]      FIG. 130  is a flowchart showing the operation of the seventh modification  160 G of the speech decoding device according to the eighth embodiment. 
         [0675]    The present modification differs from the first modification  160 A of the speech decoding device according to the eighth embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  140   b  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  140   a.    
         [0676]    In the present modification, the high frequency temporal envelope modifier  140   b  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  130   b , based on at least one of the temporal envelope shape determined by the high frequency temporal envelope shape determiner  120   b  and the temporal envelope shape determined by the low frequency temporal envelope shape determiner  120   c  (S 140 - 2 ). 
       Eighth Modification of Speech Decoding Device of Eighth Embodiment 
       [0677]      FIG. 131  is a diagram showing the configuration of an eighth modification  160 H of the speech decoding device according to the eighth embodiment. 
         [0678]      FIG. 132  is a flowchart showing the operation of the eighth modification  160 H of the speech decoding device according to the eighth embodiment. 
         [0679]    The present modification differs from the first modification  160 A of the speech decoding device according to the eighth embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Ninth Modification of Speech Decoding Device of Eighth Embodiment 
       [0680]      FIG. 133  is a diagram showing the configuration of a ninth modification  160 I of the speech decoding device according to the eighth embodiment. 
         [0681]      FIG. 134  is a flowchart showing the operation of the ninth modification  160 I of the speech decoding device according to the eighth embodiment. 
         [0682]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  140   b , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Tenth Modification of Speech Decoding Device of Eighth Embodiment 
       [0683]      FIG. 135  is a diagram showing the configuration of a tenth modification  160 J of the speech decoding device according to the eighth embodiment. 
         [0684]      FIG. 136  is a flowchart showing the operation of the tenth modification  160 J of the speech decoding device according to the eighth embodiment. 
         [0685]    The present modification differs from the first modification  160 A of the speech decoding device according to the eighth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Eleventh Modification of Speech Decoding Device of Eighth Embodiment 
       [0686]      FIG. 137  is a diagram showing the configuration of an eleventh modification  160 K of the speech decoding device according to the eighth embodiment. 
         [0687]      FIG. 138  is a flowchart showing the operation of the eleventh modification  160 K of the speech decoding device according to the eighth embodiment. 
         [0688]    The present modification differs from the second modification  160 B of the speech decoding device according to the eighth embodiment in that it includes a low frequency temporal envelope shape determiner  120   c  and a high frequency temporal envelope modifier  140   b  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope modifier  140   a.    
       Twelfth Modification of Speech Decoding Device of Eighth Embodiment 
       [0689]      FIG. 139  is a diagram showing the configuration of a twelfth modification  160 L of the speech decoding device according to the eighth embodiment. 
         [0690]      FIG. 140  is a flowchart showing the operation of the twelfth modification  160 L of the speech decoding device according to the eighth embodiment. 
         [0691]    The present modification differs from the second modification  160 B of the speech decoding device according to the eighth embodiment in that it includes a high frequency temporal envelope shape determiner  120   b A and a low frequency temporal envelope modifier  120   e  in place of the high frequency temporal envelope shape determiner  120   b  and the low frequency temporal envelope modifier  100   d.    
       Thirteenth Modification of Speech Decoding Device of Eighth Embodiment 
       [0692]      FIG. 141  is a diagram showing the configuration of a thirteenth modification  160 M of the speech decoding device according to the eighth embodiment. 
         [0693]      FIG. 142  is a flowchart showing the operation of the thirteenth modification  160 M of the speech decoding device according to the eighth embodiment. 
         [0694]    The present modification includes the low frequency temporal envelope shape determiner  120   c , the high frequency temporal envelope modifier  140   b , the high frequency temporal envelope shape determiner  120   b A, and the low frequency temporal envelope modifier  120   e.    
       Fourteenth Modification of Speech Decoding Device of Eighth Embodiment 
       [0695]      FIG. 143  is a diagram showing the configuration of a fourteenth modification  160 N of the speech decoding device according to the eighth embodiment. 
         [0696]      FIG. 144  is a flowchart showing the operation of the fourteenth modification  160 N of the speech decoding device according to the eighth embodiment. 
         [0697]    The present modification differs from the second modification  160 B of the speech decoding device according to the eighth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  120   b.    
       Speech Decoding Device of Ninth Embodiment 
       [0698]      FIG. 145  is a diagram showing the configuration of a speech decoding device  380  according to a ninth embodiment. 
         [0699]      FIG. 146  is a flowchart showing the operation of the speech decoding device  380  according to the ninth embodiment. 
         [0700]    The temporal envelope modifier  380   a  modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder  100   b  and the high frequency signal output from the high frequency decoder  100   e , based on at least one of the temporal envelope shape determined by the low frequency temporal envelope shape determiner  100   c  and the temporal envelope shape determined by the high frequency temporal envelope shape determiner  110   b  (S 380 - 1 ). 
         [0701]    The temporal envelope shape determined by the low frequency temporal envelope shape determiner  100   c  and the temporal envelope shape determined by the high frequency temporal envelope shape determiner  110   b  may be the same or different. 
       First Modification of Speech Decoding Device of Ninth Embodiment 
       [0702]      FIG. 147  is a diagram showing the configuration of a first modification  380 A of the speech decoding device according to the ninth embodiment. 
         [0703]      FIG. 148  is a flowchart showing the operation of the first modification  380 A of the speech decoding device according to the ninth embodiment. 
         [0704]    The present modification differs from the speech decoding device  380  according to the ninth embodiment in that it includes a temporal envelope shape determiner  120   f  in place of the low frequency temporal envelope shape determiner  100   c  and the high frequency temporal envelope shape determiner  110   b , and a temporal envelope modifier  380   a A in place of the temporal envelope modifier  380   a.    
         [0705]    The temporal envelope modifier  380   a A modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder  100   b  and the high frequency signal output from the high frequency decoder  100   e , based on the temporal envelope shape determined by the temporal envelope shape determiner  120   f  (S 380 - 1   a ). 
       Speech Decoding Device of Tenth Embodiment 
       [0706]      FIG. 149  is a diagram showing the configuration of a speech decoding device  390  according to a tenth embodiment. 
         [0707]      FIG. 150  is a flowchart showing the operation of the speech decoding device  390  according to the tenth embodiment. 
         [0708]    In the present modification, the temporal envelope modifier  380   a A modifies the shape of the temporal envelope of the low frequency signal output from the low frequency decoder  100   b , based on the temporal envelope shape determined by the temporal envelope shape determiner  120   f , 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  100   e  (S 380 - 1   a ).