A coder of an input sound signal (s(n)), comprising: an adaptive codebook stage structured to search an adaptive codebook to find an adaptive codebook index and an adaptive codebook gain ( g p); a codebook arrangement comprising: a first codebook stage including one of a time-domain CELP codebook (130, 604, 607) and a transform-domain codebook (320, 520, 605, 606) including a calculator of a transform of a transform-domain codebook target signal (300, 500) and a quantizer of transform-domain coefficients (304, 504) from the transform calculator; and a second codebook stage including the other of the time-domain CELP codebook (130, 604, 607) and the transform-domain codebook (320, 520, 605, 606); wherein the first and second codebook stages are structured to search the respective time-domain CELP codebook (130, 604, 607) and transform-domain codebook (320, 520, 605, 606) to find an innovative codebook index (k), an innovative codebook gain ( g c), transform-domain coefficients (304, 504), and a transform-domain codebook gain (gq); wherein the codebook stages are used in the sequence adaptive codebook stage, first codebook stage, second codebook stage for coding the input sound signal; characterized in that the codebook arrangement further comprises: a selector of an order of the time-domain CELP codebook (130, 604, 607) and the transform-domain codebook (320, 520, 605, 606) in the first and second codebook stages, respectively, as a function of at least one of (a) characteristics of the input sound signal ( s(n)) and (b) a bit rate of a codec using the codebook arrangement. an adaptive codebook stage structured to search an adaptive codebook to find an adaptive codebook index and an adaptive codebook gain ( g p); a codebook arrangement comprising: a first codebook stage including one of a time-domain CELP codebook (130, 604, 607) and a transform-domain codebook (320, 520, 605, 606) including a calculator of a transform of a transform-domain codebook target signal (300, 500) and a quantizer of transform-domain coefficients (304, 504) from the transform calculator; and a second codebook stage including the other of the time-domain CELP codebook (130, 604, 607) and the transform-domain codebook (320, 520, 605, 606); wherein the first and second codebook stages are structured to search the respective time-domain CELP codebook (130, 604, 607) and transform-domain codebook (320, 520, 605, 606) to find an innovative codebook index (k), an innovative codebook gain ( g c), transform-domain coefficients (304, 504), and a transform-domain codebook gain (gq); a first codebook stage including one of a time-domain CELP codebook (130, 604, 607) and a transform-domain codebook (320, 520, 605, 606) including a calculator of a transform of a transform-domain codebook target signal (300, 500) and a quantizer of transform-domain coefficients (304, 504) from the transform calculator; and a second codebook stage including the other of the time-domain CELP codebook (130, 604, 607) and the transform-domain codebook (320, 520, 605, 606); wherein the first and second codebook stages are structured to search the respective time-domain CELP codebook (130, 604, 607) and transform-domain codebook (320, 520, 605, 606) to find an innovative codebook index (k), an innovative codebook gain ( g c), transform-domain coefficients (304, 504), and a transform-domain codebook gain (gq); wherein the codebook stages are used in the sequence adaptive codebook stage, first codebook stage, second codebook stage for coding the input sound signal; characterized in that the codebook arrangement further comprises: a selector of an order of the time-domain CELP codebook (130, 604, 607) and the transform-domain codebook (320, 520, 605, 606) in the first and second codebook stages, respectively, as a function of at least one of (a) characteristics of the input sound signal ( s(n)) and (b) a bit rate of a codec using the codebook arrangement. a selector of an order of the time-domain CELP codebook (130, 604, 607) and the transform-domain codebook (320, 520, 605, 606) in the first and second codebook stages, respectively, as a function of at least one of (a) characteristics of the input sound signal ( s(n)) and (b) a bit rate of a codec using the codebook arrangement.