For wideband, the Speex approach uses a quadrature mirror filter (QMF) to split the band in two. The 16 kHz signal is thus divided into two 8 kHz signals, one representing the low band (0-4 kHz), the other the high band (4-8 kHz). The low band is encoded with the narrowband mode described in section 3 in such a way that the resulting ``embedded narrowband bit-stream'' can also be decoded with the narrowband decoder. Since the low band encoding has already been described only the high band encoding is described in this section.
The linear prediction part used for the high-band is very similar to what is done for narrowband. The only difference is that we use only 12 bits to encode the high-band LSP's.
That part is easy: there's no pitch prediction for the high-band. There are two reasons for that. First, there is usually little harmonic structure in this band (above 4 kHz). Second, it would be very hard to implement since the QMF folds the 4-8 kHz band into 4-0 kHz (reversing the frequency axis), which means that the location of the harmonics are no longer at multiples of the fundamental (pitch).
The high-band excitation is coded in the same way as for narrowband.
For the wideband mode, all the narrowband frame is packed before the high-band is encoded. The narrowband part of the bit-stream is as defined in table 1. The high-band follows, as described in table 3. This also means that a wideband frame may be correctly decoded by a narrowband decoder with the only caveat that if more than one frame is packed in the same packet, the decoder will need to skip the high-band parts in order to sync with the bit-stream.
|