摘要 |
A high-quality decoded signal is synthesized. A coding method of the present invention includes a local decoding coefficient searching step. The local decoding coefficient searching step includes a replication determining sub-step, a candidate replication shift signal sequence generating sub-step, a distance calculating sub-step, and a minimum distance shift amount finding sub-step. The replication determining sub-step determines, for each source signal sequence to be coded, whether or not a candidate replication shift signal sequence is to be generated from a decoded signal sequence and outputs a replication determination flag. If the replication determination flag indicates that a candidate replication shift signal sequence is to be generated, the candidate replication shift signal sequence generating sub-step generates a candidate replication shift signal sequence for each predetermined candidate signal shift amounts. The distance calculating sub-step calculates a parameter representing the distance between predetermined signal sequences. The minimum distance shift amount finding step obtains a signal shift amount that minimizes the distance. |