Patent ID: 7756698

Claim:
A sound decoder comprising: a demultiplexing unit that performs a first demultiplexing operation by receiving a sound code on a frame-by-frame basis and demultiplexing the sound code into an auxiliary code which is multiplexed for each frame in a same fixed order; a demultiplexing order determination unit for determining an order in which the sound code is to be demultiplexed into main codes, part or all of which are variable length codes, based on decreasing order of the values of an amplitude envelope's elements, each value of the amplitude envelope's elements being obtained from one of frequency regions of the amplitude envelope, the amplitude envelope being produced from the auxiliary code as an intermediate variable; the demultiplexing unit performing a second demultiplexing operation by demultiplexing the sound code into the main codes according to the order determined by said demultiplexing order determination unit and outputting the main codes; and a decoding unit for decoding the main codes output from said demultiplexing unit so as to reproduce a sound signal.