SUB-BAND CODING METHOD

Abstract: Bit allocation to the sub-bands of a sub-band coding system is performed semi-adaptively by deciding on a bit allocation strategy on the basis of spectral envelope esti­ mates derived from intermediate stages (41(1) and 41(2), 42(1) to 42(4)) of the filterbank (40) which divides the initial frequency band into the desired number of sub-bands. The invention has an application, for example, in 16 kBit/s digital speech transmission.

Description: DIGITAL CODING This invention relates to digital coding, and in particular to digital coding employing sub-band coding techniques. Sub-Band Coding (SBC) is a technique of coding in which a given frequency band is divided into sub-bands which are then separately encoded. SBC may be applied directly to analogue signals, or to a digitised signal such as, for example, a pulse code modulation {PCM) signal. The application of SBC to low bit rate speech transmission is described in "Digital Coding of Speech in Sub-bands", R E Crochiere et al, Bell Systems Technical Journal Vol 55 No. 8, October 1976, pp 1069-1085, and in "The Design of Sub-Band Coders for Low-Bit-Rate Speech Communication", R E Crochiere, Bell Systems Technical Journal, Vol 56, No. 5, May-June 1977, pp 747-770. The main advantage of SBC is considered to be the freedom to choose the number of quantising steps and hence the allocation of bits required for encoding separately for each sub-band in accordance with perception criteria applicable to that sub-band. The present invention is concerned with providing a method of bit allocation to each SBC sub-band, generally within the confines of an overall bit rate, and with providing apparatus for performing the bit allocation. According to one aspect of the present invention a method of sub-band coding a frequency band comprises dividing the frequency band into a plurality of sub-bands via intermediate level sub-bands, and allocating to each of said plurality of sub-bands an appropriate number of bits for quantisation and encoding in accordance with a bit allocation strategy selected by one or more spectral envelope estimates which are derived at least from one intermediate level of sub-bands and updated at intervals. Preferably, the spectral envelope estimates are derived from the intermediate level sub-bands only. Conveniently, the spectral envelope estimates derived from the lowest level sub-bands selects the bit allocation strategy, and any spectral envelope estimates derived from higher level sub-bands serve to modify the selected bit allocation strategy, whereby modifying a bit allocation strategy may be equivalent in its effect to selecting a different bit allocation strategy. According to another aspect of the present invention apparatus for sub-band coding a signal comprises filter means to divide the frequency band of the signal into a plurality of sub-bands, and quantising and encoding means to quantise and encode each sub-band, wherein the filter means include intermediate level filter means providing intermediate level sub-bands, and wherein at least some of the intermediate level filter means are coupled to spectral envelope estimating means the output of which is applied to selection means for selecting, or selecting and modifying, a bit allocation strategy and allocating bits to each quantising and encoding means according to the selected or the selected and modified strategy, the bit allocation strategy being updated at interval s. Preferably, the filter means include first level filter means dividing the frequency band into two first level sub-bands each of which is subsequently divided further, and the spectral envelope estimating means are coupled to at least the first level filter means. Conveniently the first level intenmediate filter means are followed by successively higher level intennediate filter means each providing a further division into two of the intermediate sub-bands of preceding order, until the required number of sub-bands Is obtained. Filter means of this kind are generally referred to as having a tree structure. Where the frequency band is divided into two first level sub-bands the spectral envelope estimating means may conveniently provide as output a decision variable capable of assuming three distinct values, the first value corresponding to one of the first level sub-bands containing a proportionally greater amount of energy than the other, the second value corresponding to said one first level sub-band containing a proportionally smaller amount than the other, and the third value corresponding to the sub-bands having substantially equal amounts of energy. In assessing the energy content of these or any other sub-bands appropriate scaling factors may be used to take account of, e.g. speech spectral distribution. In the case of speech transmission the first value may correspond to voiced speech (e.g. vowels), the second value to unvoiced speech (e.g. fricatives and sibilants) and the third value to an in-between speech condition. Previously, bit allocation for sub-band coding was either fixed, thereby largely losing the advantage of flexibility, or fully adaptive, requiring very complex circuitry and introducing considerable signal processing delays because the energy of each separate sub-band had to be measured prior to allocating the bits (c.f "Adaptive Transform Coding of Speech Signals", R Zelinski and P Noll, IEEE Transactions on Acoustics, Speech and Signal Processing, Vol ASSP 25, No. 4, Aug 1977, pp 299-309). Bit allocation according to the present invention, which may conveniently be called semi-adaptive, avoids the inflexibility of fixed bit allocation without introducing the complexity and the significant delay times of fully adaptive bit allocation. It has the further advantage over fully adaptive bit allocation that the amount of side information to be transmitted is greatly reduced. Although it may be applied to analogue input signals, the present invention is preferably applied to SBC coding of digitised signals. These may be data signals or digitally encoded analogue signals such as, for example, PCM coded speech signals. Application to a digitised signal permits the use of digital filters such as, for example, quadrature mirror filters, for dividing the frequency band via intermediate level sub-bands into the required plurality of sub-bands. It will be understood that the aforementioned frequency band may itself be a sub-band of another frequency band. The invention will be described further by way of a preferred embodiment and with reference to the accompanying drawings of which: Figure 1 is a schematic diagram of a conventional SBC transmission system; and Figure 2 is a schematic diagram of an SBC transmission system according to the present invention. Referring first to Figure 1, a conventional 16 kBit/s SBC transmission system comprises a transmitter terminal 1, a 16 kBit/s digital transmission line 2 and a receiver terminal 3. The transmitter terminal 1 comprises a signal input 10 connected to the input of N filters 11(1),...11(N-l), 11(N) of a filter bank 11, where N is the number of required sub-bands. For 16 kBit/s transmission of ordinary telephone speech the number N of sub-bands generally lies between 4 and 32, and usually Is chosen to be 8 or 16. Each of N coders 15I1),...15(W-I), 15(N) is connected with its input to the output of a respective one of the filters 11(1),...11(N-1), 11(N), and a multiplexer 16 is connected to the output of coders 15 15(1),.. .15(N-1), 15(N). If quadrature mirror digital filters are employed, the filter bank 11 may have a tree structure instead of the parallel structure shown in Figure 1. The receiver terminal is, at least functionally, the inverse of the transmitter terminal i, and comprises a demultiplexer 36, N decoders 35(1),. ..35(N-1), 35(h') and a receiver filter bank 31(1),...31(-1), 31fun) In operation, an input signal is applied to the filters 11(1) to 11(N) of the filterbank 11. In practice, the input signal is a previously digitised signal to allow the use of digital filters for the filters 11(1) to 11(N). Each of the filters 11(1) to 11(N) passes an appropriate range of frequencies to provide one of the sub-bands of the frequency band of the input signal. Each of the N sub-bands is frequency translated downwards to baseband, sampled at the appropriate Nyquist rate, and is then applied to the input of the appropriate one of the coders 15(1) to 15(N), where it is quantised and digitised according to the number of bits, and hence quantising steps, allocated to the sub-band concerned. (For further details of the SBC technique the reader is referred to the above mentioned articles in Bell Systems Technical Journal). The digitised sub-bands are then time-division-multiplexed and transmitted over the transmission line 2 to the receiver 3, where they are de-multiplexed, and, after decoding,up sampling, and filtering, recombined to appear at the output 17 as a replica of the input signal at terminal 10. The attraction of SBC lies in that the quantising noise for each sub-band is confined to its respective sub-band, and in the possibility of allocating the quantisation bits to each sub-band according to the desired quality criteria of the transmission. In the case of speech transmission these quality criteria will normally be those for the decoded speech at the receiver terminal. Referring now to Figure 2, a transmitter terminal for a seml-adaptive SBC transmission system using eight sub-bands comprises a signal input 10 connected to a filter bank 40 of QMF digital filters. The filter bank 40 comprises two first level intermediate filters 41(1) and 41(2). The outputs of the first level filters are connected to respective second level filters 42(1), 42(2) and 42(3), 42(4) which divide the first level sub-bands into four second level sub-bands. The four second level sub-bands are divided further in the filters 43(1) to 43(8) into eight third level sub-bands for transmission via quantisers and coders 45(1) to 45(8) and an output multiplexer 46. Connected also to the outputs of the first level intermediate filters 41(1) and 41(2) are respective average magnitude estimating circuits 51(1) and 51(2) to provide spectral envelope estimates of the lower and upper first level sub-bands. The outputs of the average magnitude estimating circuits 51(1) and 51(2) are applied to a comparator circuit 52. The output of the comparator circuit 52 is applied to the input of an allocation strategy decision circuit 55. The allocation strategy decision circuit 55 is connected via a line 56 to the multiplexer 46 to transmit side information regarding the adopted allocation strategy (and other control infonnation) and via lines 57(1) to 57(8) to the quantisers and coders 45(1) to 45(8) to allocate to each quantiser and coder the appropriate number of bits for quantisation and encoding. If desired, further average magnitude estimating circuits (not shown) may be connected to the outputs of the second order intermediate filter pairs 42(1), 42(2) and 42(3), 42(4), as indicated by the Intermittent lines, and the resulting spectral envelope estimates be applied to further comparator circuits such as 53 and from there to the allocation strategy decision circuit 55. Quadrature mirror filters (QMF) can be employed for the filter bank 40, since the filters need not necessarily be sharp-edged to avoid overlapping transition regions, for any aliasing components generated as a result of the downward frequency translation are, on account of symmetry, substantially cancelled at the receiver (not shown in Figure 2). The QMF filters 40 not only perform the division of the frequency band into sub-bands, but also a downward frequency translation, by discarding at each successive filter level (41, 42, 43), alternate samples. For the purposes of the further description an input signal of telephone speech bandwidth of 3.4 kHZ digitised at 64 kBit/s according to A-Law PCM is assumed, as is a transmission rate of 16 kBitis for the encoded signal. The QMF filters are, as discussed previously, cascaded in a tree-structured topology, which provides eight 500 Hz bandwidth signals each sampled at 1 kHz. QMFs are tapped delay line filters, and to provide the minimum FIR (finite impulse response) filter computation consistent with good speech quality, QM filters are used with 32, 16 and 12 taps respectively at successive branches 41, 42 and 43 in the filter bank tree. In the quantiser and coders 45(1) to 45(8), each sub-band is quantised and coded with either 0 bits, or with Jayant's one word-memory quantisers with 2, 3 or 4 bits, allocated as appropriate (for details of Jayant's one word memory quantisers see "Adaptive Quantisation With a One-Word Memory", N S Jayant, Bell System Techn. Journal Vol 52, No 7, September 1973). The 3.5-4.0 kHz band is never transmitted. The quantiser maximum and minimum step sizes, A max and A mien, are arranged to match the dynamic range of the signal within each band. Relative values of A min for each of the sub-bands are determined from a consideration of the average power In the sub-bands and a ratfo of A max/A min = 128 results in a dynamic range of about 40 dB for each of the encoders. The bit allocation for the sub-bands is determined as follows. After the first branch 41(1), 41(2) in the QMF filter bank, a spectral envelope estimate approximated by the short-term average magnitude is computed for the speech in each of the first order sub-bands, 0-2 kHz (L) and 2-4 kHZ (H). For each band, EMI8.1 where L or H is the average low band or high band magnitude estimate at the ith instant and si or rj is the ith QMF output sample from the relevant filter 41(1) or 41(2). At intervals of 6 ms (corresponding to speech stationarity and framing considerations) the difference between average magnitude estimates for the two bands is calculated and a three way decision made as to whether the speech is voIced, unvoiced or intermediate. The intermediate strategy is always implemented, unless L is greater than H x a (change to voiced strategy) or L is less than H x b (change to unvoiced strategy). The scaling factors a and b are determined by detailed examination of the behaviour of the magnitude difference function during speech and from subjective listening for the different strategies. Good results are obtained for a and b values of 12 and 1.5 respectively. Hysteresis in the decision making process is found to be subjectively advantageous, to prevent rapid strategy changes due to marginal decisions. Thus, if the voiced (unvoiced) strategy Is already in progress, then L must be less than H x a/2 (greater than H x 2b) to change back to the intermediate strategy. The bit allocation pattern selected Is first transmitted to the receive terminal as encoded side information via line 56 and the multiplexer 46. The encoder bit allocation strategy is changed only when the speech samples (whose bit assignment strategy has been determined) have filtered through the subsequent QMF filter branches 42 and 43 at the encoder. The best subjective performance was obtained with the following bit allocation assignment; Band (kHz) 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 to 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Bit assignment strategy Bit allocation pattern Voiced 4 4 3 2 2 0 0 0 Intermediate 4 3 2 2 2 2 0 0 Unvoiced 2 2 3 2 2 2 2 0 Additionally, it is possible under certain conditions to obtain perceptual improvement by artificially widening the bandwidth of the recovered speech when voiced or intermediate bit assignment strategies are selected and there are insufficient quantisation bits to allow the transmission of the 2.5-3.5 kHz frequency bands. This high frequency regeneration process couples energy from the 2.0-2.5 kHz band into the 2.5-3.0 kHz band when the voiced bit assignment is in progress. A similar procedure is performed for the intermediate bit assignment strategy. At the receiver, the side information indicating the bit allocation is used to separate the individual bands, which are then processed as in figure 1. The receiver will not be desribed further since its operation is in principle the same as in known systems employing adaptive bit allocation A pair of NEC 7720 digital signal processing (DSP) devices has been used to implement the coder in real-time. At the transmit terminal a single chip codec (not shown) interfaces a standard telephone (not shown) to a single DSP device. This performs PCM A-law to linear conversion, the 8 band QMF band splitting, adaptive quantisation, semi-adaptive bit allocation and synchronisation. At the receiver a single DSP and single channel codec perform the inverse processes. Both DSP devices are utilised approximately as follows: the available processing time 65/o instruction ROM 85 /, coefficient ROM 95 /e and RAM locations 95'/.. The perceived quality obtained was found to be highly acceptable for many applications and only marginally different from that of the original when listened through a standard telephone handset. (It should be kept in mind that judgement on quality is highly subjective, since there are no appropriate objective testing techniques available.) The semi-adaptive bit allocation scheme compared to a fully adaptive bit allocation strategy (where the power is measured in each band and then bits are successively allocated to the sub-bands), is relatively simple to implement and gives a slgnificant improvement over a fixed bit allocation scheme. The present Invention may find application, for example, in the following areas: a. Four 16 kbit/s speech channels over an end-to-end 64 kbits/s ISDN path. b. Satellite digital transmission applications to conserve space segment bandwidth. In the future, 16 kbit/s speech coding may be combined with Digital Speech Interpolation (DSI) to give an 8-10 fold increase in digital voice circuit capacity. c. Digital mobile radio applications. Speech coding for mobile radio may achieve a number of advantages; improved overall quality, a possible lower overall bandwidth requirement using efficient digital modulation techniques, less variation of quality with distance from the base station and amenability to digital encryption techniques. d. Reduced storage requirements for automatic announcements and voice store-and-forward systems in digital electronic telephone exchanges. It is to be particularly noted that in the arrangement described, in which the outputs of the first filter bank are employed to determine the bit allocation, the time delay introduced by the semi-adaptive bit allocation can be substantially reduced as compared with systems which use the filter bank output, where the signal must be delayed to allow for delays in the decision circuitry. Indeed, if, in figure 2, the path through units 51 (l), 51 (2) and 55 has a delay less than or equal to that inherent in the filters 42 and 43 (typically 4ms), no further delay is introduced compared with a non-adaptive system. If these delays are not substantially equal, additional delays are preferably introduced Into either the original path or decision path to ensure that the temporal portion of the signal upon which the decision is based embraces the samples actually being coded.

Claims: CLAIMS 1. A method of sub-band coding a signal which comprises dividing the frequency band of the signal into a plurality of sub-bands via intermediate level sub-bands, and allocating to each of said plurality of sub-bands an appropriate number of bits for quantisation and encoding in accordance with a bit allocation strategy selected by one or more spectral envelope estimates which are derived at least from one intermediate level of sub-bands. 2. A method as claimed in claim 1 in which the spectral envelope estimates are derived from intermediate level sub-bands only. 3. A method as claimed in claim 1 or claim 2 in which the spectral envelope estimate derived from the lowest level sub-bands selects the bit allocation strategy, and any spectral envelope estimates derived from higher level sub-bands serve to modify the selected bit allocation strategy. 4. Apparatus for sub-band coding a signal comprising filter means (41, 42, 43) to divide the frequency band of the signal into a plurality of sub-bands, and quantising and encoding means (45) to quantise and encode each sub-band, wherein the filter means include intermediate level filter means (41, 42)providing intermediate level sub-bands, and wherein at least some of the intermediate level filter means are coupled to spectral envelope estimating means (51,52) the output of which is applied to selection means (55) for selecting or selecting and modifying a bit allocation strategy and allocating bits to each quantising and encoding means according to the selected or selected and modified strategy, the bit allocation strategy being updated at intervals. 5. Apparatus as claimed in claim 4 in which the filter means include first level filter means (41) dividing the frequency band into two first level sub-bands each of which is subsequently divided further, and the spectral envelope estimating means (51) are coupled to at least the first level filter means. 6. Apparatus as claimed in claim 5 in which the spectral envelope estimating means (51, 52) provide as output a decision variable capable of assuming three distinct values, the first value corresponding to one of the first order sub-bands containing a proportionally greater amount of energy than the other, the second value corresponding to said one frequency band containing a proportionally smaller amount than the other, and the third value corresponding to the sub-bands having substantially equal amounts of energy.. 7. Apparatus as claimed in claim 5 or claim 6 in which the first level filter means (41) are followed by successively higher level filter means (42,43) each providing a further division into two of the intermediate level sub-bands of preceding level, until the required number of sub-bands is obtained. 8. Apparatus as claimed in any of claims 4 to 7 arranged to operate on a digitised signal.

Inventors: HANES, ROGER BRIAN
Applicants: BRITISH TELECOMMUNICATIONS PLC
Application year: 1984
Main classification: H04B1
IPC codes: H03M7, H04B14, H04B1