Design of Digital Filter Banks for Speech Analysis

43
Copyright ) 1971 American Telephone and Telegraph Company THE BELL SYSTEM TECHNICAL JOUINAL Vol. SO, No. 10, December, 1971 Printed in U.S.A. Design of Digital Filter Banks for Speech Analysis By R. W. SCHÄFER and L. R. RABINER (Manuscript received June 22, 1971) A bank of bandpass filters is often used in performing short-time spectrum analysis of speech signals. This paper is concerned voith the analysis and design of digital filter banks composed of equally spaced bandpass filters. It is shoum thai significant improvement in the composite filter bank response can be achieved by proper choice of the relative phases of the band- pass filters. The results are extended to more general filter bank configura- tions. I. INTRODUCTION Many speech processing systems are based on the concept of short- time spectrum analysis.''* Spectrum analyzers for such systems often consist of a set of bandpass filters Whose combined passbands cover a desired frequency range. Although continuous-time filters have tradi- tionally been used in filter banks for speech analysis, hardware realiza- tions of digital filters are now available,' and the advantages which digital filters offer should be exploited in filter bank design. These advantages include: flexibility of design of the individual bandpass filters, precision of reaUzation, stability of digital hardware, and the eflSciency of realization of the filter bank afforded by the possibility of multiplexing the digital hardware. Thus it is important to consider design techniques for filter banks composed of digital bandpass filters. To focus on the basic concepts in filter bank design, it is useful to define an ideal filter bank spectrum analyzer. Figure 1 depicts such a filter bank composed of digital filters whose impulse responses are denoted by hi,{nT), fc = 0, 1, · · · , M, where l/T is the sampling frequency of the input signal.* Such a filter bank constitutes an ideal spectrum analyzer if the input x{nT) (\vith possibly further band limit- ing) can be synthesized exactlj' (within some fixed delay) by a linear * The filter ho(nT) is a lowpass niter which is included for completeness although this band is usually not analyzed in practical speech analysis .systems. 3097

Transcript of Design of Digital Filter Banks for Speech Analysis

  • Copyright ) 1971 American Telephone and Telegraph Company T H E B E L L S Y S T E M T E C H N I C A L J O U I N A L

    Vol. SO, No. 10, December, 1971 Printed in U.S.A.

    Design of Digital Filter Banks for Speech Analysis

    By R. W. S C H F E R and L. R . R A B I N E R (Manuscript received June 22, 1971)

    A bank of bandpass filters is often used in performing short-time spectrum analysis of speech signals. This paper is concerned voith the analysis and design of digital filter banks composed of equally spaced bandpass filters. It is shoum thai significant improvement in the composite filter bank response can be achieved by proper choice of the relative phases of the bandpass filters. The results are extended to more general filter bank configurations.

    I . I N T R O D U C T I O N

    Many speech processing systems are based on the concept of short-time spectrum analysis. ' '* Spectrum analyzers for such systems often consist of a set of bandpass filters Whose combined passbands cover a desired frequency range . Although continuous-time filters have t radi tionally been used in filter banks for speech analysis, hardware realizations of digital filters are now available, ' and the advantages which digital filters offer should be exploited in filter bank design. These advantages include: flexibility of design of the individual bandpass filters, precision of reaUzation, stability of digital hardware , and the eflSciency of realization of the filter bank afforded by the possibility of multiplexing the digital hardware . Thu s it is importan t to consider design techniques for filter banks composed of digital bandpass filters.

    T o focus on the basic concepts in filter bank design, i t is useful to define an ideal filter bank spectrum analyzer . Figure 1 depicts such a filter bank composed of digital filters whose impulse responses are denoted by hi,{nT), fc = 0, 1, , M, where l/T is the sampling frequency of the inpu t signal.* Such a filter bank constitutes an ideal spectrum analyzer if the inpu t x{nT) (\vith possibly further band limiting) can be synthesized exactlj ' (within some fixed delay) by a linear

    * The filter ho(nT) is a lowpass niter which is included for completeness although this band is usually not analyzed in practical speech analysis .systems.

    3097

  • 3098 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    , " r , o ( n T ) " l

    h, ()

    hj(nT)

    X. ()

    hM(nT) ()

    Fig. 1Bank of digital bandpass filters.

    combination of the bandpass n i t e r outputs Xi,{nT). An example of such a system would be one in which the filters are ideal rectangular bandpass filters with the same constant gain and linear phase in their passbands and zero gain outside. If the filter bandwidths are such t h a t the frequency range

    T IT

    is completely covered without overlap, then the input can be synthesized exactly by adding together the outputs of the bandpass filters.

    The essential characteristics of the ideal spectrum analyzer are t h a t the frequency response of the combined outputs must exhibit a flat magnitude response and a linear phase, and therefore the combined impulse response must be a delayed digital impulse (imit sample). Causal digital filters (filters whose impulse responses are zero for < 0) cannot have the desired ideal gain characteristics and may not have linear phase.* Therefore a filter bank composed of such filters cannot achieve the ideal characteristics of flat magnitude response and linear phase. In this paper we will describe an approach to the design of filter banks t h a t approximate the ideal spectrum analyzer. First we present a detailed analysis of a filter bank configuration in which equally spaced, equal-bandwidth digital filters are used. This analysis suggests a technique for optimizing the filter bank characteristics and

    * Finite duration impulse response digital filters can have precisely linear phase.

  • DIGITAL F I L T E R B A N K S 3099

    also suggests how the results can be used where nonuniform bandwidths are desired. The results are illustrated with examples.

    I I . A N A L Y S I S O F U N I F O R M F I L T E R B A N K S

    Assume t h a t the bandpass filters in Fig. 1 have impulse responses of the form

    h(nT) = 2\D,\ h(nT) cos (, + .) k = 1,2, ,

    hoinT) =\Do\ KnT)

    where wi = , + (fc 1) , and A(nT) is the impulse response of a prototype lowpass filter. (When the fc = 0 lowpass filter is used, , = and = 0.) The system functions for this set of bandpass filters are

    H,{z) = I Z ) J e'**ff(ze-"'*'') + | Z). | e-'**ii(2e'" ' ' ' ) A; = 1, 2, ,M

    H,{z) = I Do I H{z). (2) The frequency response of these filters is obtained after substi tuting = ' ' - ' ' in (2) as

    .(e''"') = I D, |e'*'/i(e""-"'"') + | D, | e-'*'ff(e""*"""),

    A; = 1 ,2 , . . . , M , (3)

    Joe'"'') = I I>o |(e'"^). If the frequency response of prototype lowpass filter, H(e'"^), drops off sharply , then it can be seen from (3) t h a t

    I H,(e'"'') I A ; I D . I I (""-"*"") | 0 g g /

    ; I D . I I ("-*"*"") I - / ^ 0.

    In this case the filter bank consists of a set of (M + 1) equally spaced bandpass filters with identical magnitude responses around their respective center frequencies. We have chosen this method of designing bandpass filters from lowpass prototypes for analytical convenience and because of the importance of spectrum analysis systems of this form.''^ The results t o be discussed apply for other bandpass t ransformations in so far as they yield a set of uniformly spaced bandpass filters with identical frequency characteristics.

    Our objective is to choose the prototype lowpass filter and the parameters | {, , , , and so tha t the filter bank will closely approximate the characteristics of the ideal spectrum analyzer. T o do this we must consider the response of the composite filter bank. First ,

  • 3100 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    (5)

    (6)

    y{nT) = DtXiwt ,n)e'"^"' (9) K

    where _* = , a n d D . is the complex conjugate of Dt. Subst i tu tmg (7) into (9) and interchanging the order of summations results in

    y(nT) = x(rT)

    Defining

    u -TT) HnT-rT)- ^ . e ' " ' ' " ^ - " "

    K--M (10)

    however, it is useful to interpret the individual bandpass filter outputs in terms of spectrum analysis considerations.

    The individual filter outputs are of the form

    xnT) = 2x(rT) \ D, \ h(nT - rT) cos MnT - rT) + . ] , (4) r-CO

    XoinT) = x{rT) \ Z) | h(nT - rT) r

    which can be expressed as

    x,(nT) = 2 R e ).(. , 7)""" () = R e {DoX{0,n)\

    where Dt is the complex constan t defined by

    = 1 I e ' * ' fc = 1 ,2 , , M . = I I,

    and

    X(o^ ,n)= x(rT)HnT - rT)f'""\ (7) --00

    The quant i ty X(jn>k, n) is the discrete-time version of the short-time Fourier transform* of x(nT). Thus , (5) serves to relate the bandpass filter outputs XtinT) to the short-time Fourier transform.

    The frequency response and impulse response of the composite filter bank are obtained from

    yinT) = XtinT). (8) t - o

    After subst i tut ing (5) into (8) a n d n o t i n g t h a t i f ( ) isreal , X(* , n ) is the complex conjugate of X(k , n ) , we obtain

  • DIGITAL F I L T E R B A N K S 3101

    (13) D, = e '- '"-^ fc = 1 , 2 , , i l / .

    0 = 1,

    where is an integer . T h a t is,

    = ,', and \D,\ = \.

    (The condition o = 1 implies t h a t the band around = 0 is included in the filter bank D o = 0 implies t h a t it is not.) I t can be shown t h a t for this choice of , (11) becomes

    dinT) = A . + , ; [ 7 + )/2] ^'' '^^^ + '^"^^^ ^'^^

    where , = , 4- ( i l / 1) /2, and D o is 1 or 0 dependmg on \vhether or no t the lowpa-ss channel is included.

    The properties of the sequence d(nT) determine the character of

    d(nT) = 0 .6""", (11)

    we observe from (10) t ha t the combined impulse response of the filter bank can be expressed as

    h{nT) = h{nT) d{nT). (12)

    Equat ions (11) and (12) are the basic results of the analysis. (Note tha t they could have been obtained directly by summing the impulse responses / i t(nT), with the sacrifice of the interpretat ion of the filter bank outputs in terms of the short-time spectrum.)

    Equat ion (12) shows t ha t the filter bank impulse response is the product of the prototype lowpass filter impulse response h{nT), and the sequence d(,nT) defined by (11). The choice of lowpass filter depends on both the desired frequency resolution and the requirement of obtaining flat magnitude and linear phase response in the composite filter bank. The sequence d(nT) is independent of the prototype lowpass filter and is a function of the fre(|uency spacing, the relative gains and phases, and the number of bandpas.s filters. Thus , for a given choice of prototype lowpass filter, the parameters of d(nT) can be adjusted to achieve the best approximation to the ideal spectrum analyzer. To see how this occurs, we shall first examine in detail the characteristics of the sequence dijiT).

    As will be shown in the remainder of this section, a particularly useful choice of the complex coefficients in (11) is

  • 3102 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    sm

    sin [( + )/2]

    - 1 if D o = 0 (15a)

    if Do = 1. (15b)

    (If is even, the fc = 0 filter is not used, i.e.. D o = 0, and , is /2.) I t is clear from (15b) t h a t for these conditions d(nT) is a periodic sequence with period NT = 2ir/Aw. I n fact, d(nT) may be thought of as samples of a continuous-time periodic Dirichlet kernel as shown in Fig. 2a. I = (N - l ) / 2 and D o = 1, d(nT) is a periodic discrete-time impulse train with impulses occurring a t multiples of . This is because the sample points on the periodic Dirichlet kernel occur a t the maxima and the zero crossings, as indicated by the small circles in Fig. 2a.

    The conditions for d{nT) to be periodic are t h a t both ,/ and 2/() be equal to integers. To see this, we must examine (14) in detail . If 2/() is an integer, and is an odd integer, the sequence 2 sin [M ( -f- 7) /2]/8 [( -|- )/2] is periodic with period NT = 2/. If ,/ is an integer and is odd, the sequence cos [(, -I- ( 1) /2) ( + )] is also periodic with a period

    the impulse response of the filter bank. Some of these properties are summarized below:

    () The paramete r shifts the sequence d{nT) by fio samples with respect to A(nT).

    (n) The sequence {) is even about the sample = ; i.e., d{nT - noT) = d{-nT - ^).

    (iii) The maximum value of d(nT) occurs a t = . This value is d(-noT) = 2i/ + .

    (iv) If 2/{) and / are both integers, then the sequence dinT) is periodic with period 2/. Otherwise, () will be an almos t periodic sequence which will peak up a t t ime intervals of 2/.

    Insigh t into the properties of d(nT) can be gained by considering a simple example . Assume t ha t , = and 2ir/() = where is an odd mteger . T h a t is, the entire frequency range / ^ / , is divided into equal bands. If = ( l ) / 2 , the entire frequency range is covered. Under these conditions (14) can be writ ten

  • D K i l T A L KILTER B A N K S 3103

    sLn (2^Ltl)At

    sLn v t i L 2 J

    (zM + )

    SIR

    sn [M (1+)/2]

    ^'" stn[Au(t+noT)/2]

    -noT (b)

    Fig. 2(a) Periodic continuous-time Dirichlet kernel, (b) continuous-time envelope and sequence d(nT) when either / or 2/() are not integers.

    t ha t is an integer multiple of 2T/^U. Thus the produc t of these two sequences is periodic with period 27/. The identical result holds for an even integer and 2/ and ,/ integers al though the interaction between the componen t sequences is slightly different.

    If either 2/() or ,/ are not integers, d{nT) vAW no t be periodic, bu t will still peak up a t t ime intervals of 2/. Such a case is depicted in Fig. 2b where the samples d{nT) are marked by the

  • 3104 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    small circles and the dot ted curve shows the factor

    sin [M ( + noT)/2]/sm [( + )/2]

    when is odd . As shown in Fig. 2b , () will always have even symmetry abou t sample = no.

    I I I . D E S I G N O F U N I F O R M F I L T E R B A N K S U S I N G B E . S S E L F I L T E R S

    In the preceding section we presented a detailed analysis of a filter bank composed of equally spaced equal-bandwidth filters. In this section we will show how the results of t h a t analysis can be employed in filter bank design.

    The objective of flat amplitude response and linear phase is mos t easily achieved with bandpass filters having these same properties . Fo r this reason, Bessel (maximally flat delay) filters are often used in filter banks." In the examples shown in this paper , we have used digital filters obtained from Bessel prototype designs using impulse invariance. ' I t should be noted t h a t t he digital filters obtained this way do no t have the maximally flat delay property . J . P . Th i ran ' has shown t h a t the denominator of the system function of maximally flat delay digital filters is a Gauss hypergeometric function. I t is reasonable to expect however, t h a t for the narrow-band filters of interest here, the differences should be negligible.

    As an example a digital filter derived from a sixth-order Bessel lowpass filter with asymptotic cutoff frequency of 60 Hz is shown in Fig . 3. The impulse response is shown in Fig . 3a, and the amplitude and phase responses are shown in Fig . 3b and Fig. 3c. The filter shown in Fig . 3 was used in a filter bank* with the following choice of parameters : Do = 0, = 10"* sec, = 2ir(100), , = 2ir(100), Wo = 0, and = 30. The resulting filter bank characteristics are shovm in Fig. 4. The filter bank impulse response, h(nT), is shown in Fig . 4a along with the protot3e lowpass impulse response h{nT). Fo r the above choice of parameters , d(nT) is obtained from (15a) as

    which is periodic with period 100 samples (10 msec), with peaks occurring a t = 0, 1 0 , 2 0 , msec. From Fig . 4a, it can be seen t h a t in the produc t h(yiT)d{nT), the peak of d{nT) a t = 0 will be a t tenua ted since h{nT) is small around = 0. On the other hand ,

    * Note tha t the resulting bandpass n i t e r s are twelfth order.

  • DIGITAL F I L T E R B A N K S 3105

    0.010,

    40 60

    FREQUENCY IN HERTZ

    Fig. 3Sixth-order Bessel filter characteristics, (a) Impulse response, (b) magnitude response, (c) phase response.

  • 3106 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    as

    a

    0.2

    0.1

    -0.1

    / /

    / /

    / /

    / /

    / /

    ^ - N (a) \

    \ \ \ \ \

    I, k 1 ,J

    10 20 TIME IN MILLISECONDS

    30

    1000 2000 3000 FREQUENCY IN HERTZ

    Fig. 4Characteristics of 30-channel filter bank, (a) Impulse response (dotted curve is the impulse response of the prototype lowpass filter in Fig. 3), (b) composite magnitude response, (c) composite phase respon.se after subtracting lO-msec delay.

  • DIGITAL F I L T E R B A N K S 3107

    = 20 log.o I 2 + ttl + 3 L| 2 1 3 (17)

    Similariy, if | a, + , I < I 21, the peak-to-peak phase ripple abou t a linear phase corresponding to a delay of is given by

    Rp = 2 tan" 1 - Qf3 l(al - ( a . + cc3)y'\

    (18)

    The conditions for (17) and (18) to hold are satisfied when a , and a s are small relative to a , , which is the norma l situation . I t can be seen from (18) and (17) t h a t the phase ripple will be zero if a , = , , and the amplitude ripple will be small if ( a , - | - o j ) / , is small.

    Although these results were derived for the ideaUzed case when d(nT)

    the peak of dijiT) &t = 10 msec occurs a t approximately the peak of h(nT), and a t = 20 msec, ( ) is large enough to produce a significant echo in the impulse response of the filter bank . As is shown in Fig . 4b and 4c, this corresponds to a 3.9-dB ripple in the ampUtude response and a 25.5-degree peak-to-peak ripple in the phase response (after removing a linear phase componen t corresponding to a 10-msec or 100-sample delay) . To decrease this amplitude and phase ripple, we should a t t emp t to eliminate the echo in the impulse response. Fur ther more , the phase ripple will be eliminated if the impulse response h(nT) has even symmetry abou t some delay t ime /, . One approach is to broaden the filter bandwidths , or equivalently reduce the spacing , so t h a t h{nT) is contracted relative to the spacing of pulses in {). This is generally no t an acceptable solution since h{nT) and are usually fixed by some frequency resolution criterion. However , if we refer to the properties of d{nT) which were previously summarized , we note t h a t a negative value of will shift d{nT) to the right relative to h{nT) so t ha t d(nT) wiW have even symmetry abou t t ime UpT = . If can be chosen so than K(nT) = h(nT)-d(nT) has approximately even symmetry and consists of only one significant pulse, then the amplitude and phase ripple be small. The manner in which this is achieved is shown in Fig. 5 where it is assumed for simplicity t h a t d(nT) is a t rain of digital impulses as would be the case for = {N l ) / 2 . Figure 5a depicts the case where = 0. Figure 5b shows t he situation where was chosen to shift the impulse which was a t = 0 in Fig . 5a to the right and into the vicinity of the peak of h(nT). If it is assumed t h a t only three impulses have nonzero amplitudes ( , , o j , 03) such t h a t 4 I a , | | 3 | < | a , -|- a a | ( , |, then i t can be shown (see Appendix) t h a t the peak-to-peak ampUtude ripple of the filter bank is

  • 3108 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    Fig. 5Illustration of how to adjust the parameter no. (a) Composite impulse response for no = 0, (b) no chosen to minimize magnitude and phase ripple (dotted lines indicate movement of individual pulses in d(nT)).

    is an impulse train, we have found t ha t amplitude and phase ripple can be determined quite accurately using (17) and (18) in more general situations. With the foregoing principles in mind we have writ ten an interactive computer program for ni ter bank design. Using this program we can design a filter bank with low amplitude and phase ripple by the following process:

    (i) Choose (0, , , and t o cover the desired analysis band and choose hinT) t o provide desired frequency resolution. This results in an () t ha t has a duration of approximately 4/ as shown in Fig. 5.

    (ii) Eva lua te h(nT) and determine no such t h a t a, ^ , as in Fig. 5b.

    (Hi) If the resulting filter bank is not satisfactory, steps i and ii are repeated.

    In cases where ,/ is not an integer, it is important to choose n

  • DIGITAL F I L T E R B A N K S 3109

    SO tha t the point of even symmetry in d(nT) is shifted into the vicinity of the peak of h{iiT). Otherwise, it may be impossible to achieve a very good approximation to linear phase. An example of the improvement gained by proper choice of is shown in Fig. 6. I n this example all the parameters were the same as in the example of Fig. 4 except a value of ?io = 129 was chosen by the above process. In this case the in-band amplitude ripple is 0.8 dB and the phtise ripple is 0.6 degree, as compared to 3.8 dB and 2)..') degrees when >i = 0.

    R. M. Golden" has shown tha t inverting the sign of alternating channels often significantly improves the characteristics of a filter bank. This technique has a simple interpretation in te rms of our results. I t can be shown tha t inverting the sign of al ternat ing channels is equivalent to delaying the sequence d{nT) by no = -/() samples. This amount of delay may be nearly correct if the duration of h(nT) is approximately 3/; however for the situation shown in Fig. 4a, such a delay would produce a worse filter bank than no delay a t all (n = 0). Also, to achieve linear phase when ,/ is not an integer, the point of even symmetry in rf(wT) should be delayed to the vicinity of the peak of h{nT). This does not occur when the signs of al ternate channels are inverted.

    I V . D E S I G N O F N O N U N I F O R M B A N D W I D T H F I L T E R B A N K S

    In speech applications it is common to take advantage of the frequency resolution characteristics of the e a r * ' by using increasing bandwidth filters a t higher frequencies. The previously discussed techniques can be applied to this situation if the filter bank consists of several sub-banks, each with different resolution. Each sub-bank can be designed as discussed above, with care being taken to ensure t ha t the entire frequency band of interest is covered by the combination of the sub-banks. I t may be npce.ssary to equalize the delay between sub-banks by providing additional delay for all bu t one of the sub-banks.* This is depicted in Fig. 7 for three .sub-banks with increasing-bandwidth sixth-order Bessel filters. Figure 7a shows the lowpass prototype impulse response and shifted d(jiT) sequence^ for the first sub-bank. The lowpa.ss asymptotic cutoff used was 78 Hz, the spacing of filters was , = 2(125), the first filter was centered a t ,, = 2(250), and a value of = 100 (10-msec delay) was required to

    * Golden ha.s shown that the delays can be approximately equalized by increasing the order of the lowpa.s.s prototype in direct proportion to the increase in bandwidth.

    The sequence d(nT) is shown as an impulse train for convenience in plotting. The actual sequences would look like those m Fig. 4 and Fig. 6.

  • 3110 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    02

    -

    f

    I I

    1 1

    I 1

    1 /

    / . J

    ( a )

    \ \

    \ \

    \ \

    \ \

    \

    1 1

    1600 2400 FREQUENCY IN HERTZ

    Fig. 6Characteristics of 30-channel filter bank, (a) Impulse response for no -129 (dotted curve is the impulse response in Fig. 3), (b) composite magnitude response, (c) composite phase response alter subtracting 12.9-m8ec delay.

    0.3 r

  • DIGITAL F I L T E R B A N K S 3111

    minimize the ampUtude and phase ripple. Figure 7b shows the second sub-bank in which the basic parameters were: lowpass asymptot ic cutoff 136 Hz, Aw2 = 2ir(218), co,2 = 27r(1296.5), and tio^ = -57 (5.7-msec delay). To line up the central peaks, an additional delay of 712 = 43 samples (4.3 msec) was required. Figure 7c shows the third sub-bank where the lowpass cutoff was 192 Hz, 3 = 2ir(307), 13 = 27(2213), and rio, = 40 (4-msec delay). A value of TIJ = 60 samples (6.0 msec) is required to line up the central peak with those in Fig. 7a and 7b. The response of the combination of these three sub-banks is shown in Fig. 8. Figure 8a shows the impulse response. Fig. 8b shows the amplitude response, and Fig. 8c shows the phase after a linear phase corresponding to lO-msec delay has been subtracted. I t can be

    20 nT(msec)

    nT(msec)

    2 nT(msec)

    Fig. 7Illustration of the de-sign of nonuniform filter banks: (a) impulse response for narrow bandwidth filters, (b) impulse response for intermediate bandwidth filters, (c) impulse respon.se for wide bandwidth filters.

  • 3112 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    0 . 3 0

    3

    - u 1

    (a)

    1

    1 1 5 10 15

    TIME IN MILLISECONDS

    20

    2000

    FREQUENCY IN HERTZ

    4000

    Fig. 8Composite filter bank characteristics with three different sub-banks: (a) impulse response, (b) magnitude response, (c) phase response after subtracting lO-njsec delay.

  • DICilTAL F I L T E R B A N K S 3113

    seen in Fig. 8b and 8c t ha t the ripple in the sub-banks is quite low as would be expected from Fig. 7. A t the boundary between sub-banks, however, the ripple increases significantly due to the fact t h a t the last filter in the lower sub-bank drops off more rapidly t han the first filter in the next sub-bank. This excessive variation a t the boundary between sub-banks can be eliminated to some extent by using increasingly higher-order filters in the sub-banks. Alternatively, nonuniform resolution can be obtained by using equal-bandwidth filters a n d adding together groups of two or more of their outputs to achieve the desired bandwidth. Such an approach would require mcreased computat ion bu t would produce filter bank characteristics comparable to those in Fig. 6.

    v. CONCLUSION

    We have discussed the analysis and design of digital filter banks and have shown how the incorporation of a linearly increasing phase shift in each bandpass filter can significantly improve the overall filter bank characteristics. We also showed how the techniques can be used in nonuniform bandwidth filter banks.

    The examples which we gave were based on Bessel lowpass prototypes which have impulse responses of desirable shape bu t ra ther poor amplitude response. Recent results in the design of finite duration impulse response filters* offer at t ract ive possibilities for filter bank design. Such filters can have precisely linear phase and can be designed using i terative techniques with constraints on both the impulse response shape and the amplitude response. The use of such filters, together with the basic principles discussed in this paper, should yield filter banks with excellent properties.

    APPENDIX

    Derivation of Magnitude and Phase Ripple Formulas

    A.ssume an impulse respon.se sequence

    h(n) = a , = 0

    = j ,

    = 03 = 2 ,

    = elsewhere. (19)

    The system function of this system is

    / / ( e " " " ) = o , + a.e-'""'^ + a , e - ' " " " ' ' . (20)

  • 3114 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    The squared magnitude response is

    I ff(e'-') I ' = [, + (a, + a a ) COS {,)]' + (, - ,)" s in ' ( , ) ,

    (21)

    and the phase response is

    (a, a a ) sin (,) arg L W " ' ) ] = t a n -

    [ott + (a, + tta) COS (wn,r)J (22)

    where a linear phase component , has been removed. Clearly, both (21) and (22) are periodic functions of with period 2/,. T o determine the ampli tude and phase ripple, we must locate the maxima and minima of (21) and (22).

    If we differentiate (21) with respect to , we find tha t the maxima and minima occur for values of satisfying

    sm (cM,T) = 0

    cos (,) = (" 4 3

    (23a)

    (23b)

    The second equation is satisfied by a real value of if and only if

    4 I a , I I tta I > I a , -f- ttj I I 2 |. (24) In a good filter bank design, a i and a a will be positive and much smaller than 2 , and (24) will not be satisfied. Evaluat ing the second derivative shows t ha t in this case the maxima and minima of {Hie'"^) \ will a l ternate and occur a t values of satisfying (23a); i.e., = 0, i i r / , , dc2ir/npT, . I n this case the amplitude ripple in dB is given by

    RA 20 log., I 2 + a i + aa

    L| a j a , Oa |J (25)

    If (22) is differentiated with respect to , we find t ha t the maxima and minima occur a t values of satisfying

    coswn, (26)

    Equat ion (26) is satisfied by real values of if | a , + a a | < | |. In this case the maxima and minima again al ternate, and the peak-to-peak phase ripple is

    R, = 2 t a n ' L(a '2-"(a, + " a a ) ' ) ' ' ' J '

    (27)

  • D I C I T A L KILTER B A N K S 3115

    1. f lanagan, J. L;., ana ooiaeii, n . ruase Yucouer, D.SS.LJ., JIO, RTU. \I^UVCIU-ber 1966), pp. 1493-1509.

    2. Flanagan, J . L., and Lummis, R. C , "Signal Processing to Reduce Multipath Distortion in Small Rooms," J. Acoust. Soc. Am., 47, No. 1 (June 1970), pp.

    R E F E R E N C E S

    1. Flanagan, J . L., and Golden, R. M., "Phase Vocoder," B.S.T.J., 46, No. 9 (Novem-

    2.

    147.'5-1481. 3. Jackson, L. B., Kaiser, J. F., and McDonald, H. S., "An Approach to the Imple

    mentation of Digital Filters," I E E E Trans. Audio and Electroacoust., AU-, No. 3 (September 1968), pp. 413-421.

    4. Flanagan, J. L., Speech Analysis, Synthesis and Perception, New York: Academic Press, 1965.

    6. Golden, R. M., "Vocoder Filter Design: Practical Considerations," J. Acoust. Soc. Am., 4% (December 1967) pp. 803-810.

    6. Gold, B., and Rader, C. M., Digital Processing of Signals, New York: McGraw-Hill Book Co., 1969.

    7. Thiran, J. P., "Recursive Digital Filters with Maximally Flat Group Delay," I E E E Trans. Ckt. Theory, CT-18, No. 4 (November 1971).

    8. Rabiner, L. R., "Techniques for Designing Finite Duration Impulse Response Digital Filters," I E E E Trans. Com. Tech., COM-19, No. 2 (April 1971), pp. 188-195.

    If I a, + 3 I > I 2 1 , the phase curve will be discontinuous with a jump of 2T radians occurring a t = it/n,T, 3 r / n , T , .

  • Copyright 1971 American Telephone and Telegraph Company T H E B E L L S Y S T E M T E C H N I C A L JOUNAL

    Vol . SO, No . 10, December, 1971 Printed in U.S.A.

    The Preference of Slope Overload to Granularity in the Delta Modulation of

    Speech By N . S. J A Y A N T and A. E . R O S E N B E R G

    (Manuscript received June 18, 1971)

    A preference study was made to assess the relative annoyance values of slope-overload distortion and granular noise in delta-modulated speech. A recently described adaptive delta modulator tvas simulated at frequencies of SO and Jfi kHz, and controlled amounts of the tivo types of degradation were introduced into samples of a 2-secand utterance. Rankings ivere obtained for these samples on the basis of preference judgments of nine listeners, each of lohom assessed the samples, pairwise, in a toumament-iype strategy. Results indicate that the speech sample exhibiting the minimum degradation on an objective, overall-naise-power basis is not subjectively the most preferred sample. Furthermore, the subjectively optimum delta modulalor exhibits greater overload and lesser granularity than the objectively optimum device.

    I. I N T R O D U C T I O N

    The principle of delta modulation ' has been widely described in the l i terature . Briefly, delta modulation Ls a digital encoding s t rategy which uses a simple feedback mechanism to produce a "stairca-se" approximation to an inpu t signal. A block diagram of the simplest form of delta modulation appears in Fig. 1. The inpu t sequence {,\ is usually band-limited and suitably oversampled. The "staircase" sequence Y, is generated according to the equations

    C, = sgn (', - r,.,) (1)

    - = = . . (2) The step-size , is assumed to be a constant in conventional (linear) delta modulation. "Adapt ive" delta modulation, on the other hand, allows for modifications of , in accordance with the changing slope

    3117

  • 3118 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1 9 7 1

    INPUT

    Xp

    OUTPUT

    \ \

    JI

    Y - s m

    INTEORATOB

    sgn Tp-Cr

    J

    Fig. 1Schematic diagram of a linear delta modulator.

    characteristics of the input signal. Such adapta t ion results in bet ter encoding, and several types of adapt ive delta modulation have been described in the l i t e r a t u r e . " ' *

    Figure 2 illustrates the mechanism of an adaptive delta modulator and demonstrates how suitable increases and decreases of step size facilitate bet ter encoding during steep and flat regions of the input signal waveform. Such adaptat ions can be effected by observations on a " recent" segment of the binary sequence {C, | ; this is illustrated by equation (5) in the sequel.

    Figure 2 also brings out the distinction between two types of encoding error in delta modulation, viz., "granular noise" and "slope-overload"

    "HUNTING" OR "GRANULAR" NOISE

    "SLOPE-OVERLOAD-DISTORTION

    - Yp- 1 " '^ X r - X r - i ~ S r

    ^ t - Y t - E t c i X t - i - Y t - | - E ( t - t ) o

    1 1 1 :r=sgn

    C p S TRANSMITTED "CHANNEL" SYMBOL

    Fig. 2Illustration of adaptive delta modulation.

  • DELTA M O D U L A T I O N 3119

    distortion. A given error sample

    Er = Xr- Yr (3)

    can be defined to fall into tlie granular or slope-overload category, depending on whether the corresponding s tep m, crosses the input waveform or not. Thus, in Fig. 2 , there is a 'granular ' error E,a a t the sampling instant t, and an Overload' error EU-DO a t the sampling instant (i 1). As a mat te r of definition, we will note t ha t E,o = Ei,-i)o = 0.

    The signal ou tput {Z, 1 of the delta modulator is actually obtained by filtering the staircase sequence \,\ t o the input signal band. Let ['] be the result of passing through the same lowpass filter. A perceptually relevant measure of signal degradation is accordingly defined by the encoding error

    = - Z , . ( 4 )

    As with the quant i ty E, in (3), one can distinguish samples of granulari ty and slope overload, , and e,o , in the error sequence | e , | . Referring to Fig. 2 once more i t can be seen t ha t a physical distmction between the two types of error is suggested. Granulari ty can be described as a "signal-uncorrelated" random noise-type of phenomenon. I t is characterized by alternation of signs and tends to be independent of signal amplitude. Slope overload, on the other hand, can be described as a "signal-correlated" distortion, since its sign and magnitude are related to the slope of the signal. This physical difference between slope overload and granularity suggests a corresponding perceptual distinction and raises the question of the relative annoyance values of the two forms of signal degradation in delta modulation. T h e present paper describes a s tudy of the above question as referred to the delta modulation of a speech signal.

    Earlier work in this subject is in the form of a perceptual experiment ' in whicii H. Levitt , et al., characterized the perceptibility of slope-overload distortion as such. As mentioned earlier, our pap)er will seek to answer the complementary question of the relative perceptibilities of slope overload and granularity when they occur simultaneously in delta-modulated speech, as they usually do.

    The approach we used was to vary the relative amount of slope overload and granularity introduced into samples of a tes t ut terance, and to evaluate these samples on the basis of bo th objective and perceptual criteria; and then to interpret these evaluations with specific reference to the overload-granularity dichotomy.

  • 3120 B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    Section I I summarizes the saUent features of a computer-simulated adaptive delta modulator t ha t was utihzed in the present s tudy. This adaptive encoder has been recently described and shown to provide toU-quahty speech reproduction a t bit rates of practical importance.^

    Section I I I defines the objective measures of speech quali ty used in our s tudy, \vhile Section IV defines a subjective measure of preference and describes an underlying perceptual experiment.

    I I . D E S C R I P T I O N O F T H E D E L T A M O D U L A T O R

    Figure 3 is a schematic block diagram of the adaptive delta modulator utilized in the present s tudy. This encoder is defined by the ba.sic equations (1) and (2), and by the adapta t ion rule

    if C, = C,_,

    if C, ^ C,_, (5)

    Notice tha t a conventional (Hnear) delta modulator corresponds to the special case of = 1. In our s tudy the value of was a variable parameter; different (delta-modulated) speech samples corresponded to different suitably spaced values of P, and thereby to different mixtures of slope-overload and granularity.

    The original speech sample X was a 2-second male ut terance of " H a v e you seen Bill?" t ha t had been band-limited to 3.3 kHz. The delta modulation was performed a t sampling rates of 20 and 40 kHz. The latter frequency provides speech reproduction t ha t approaches telephone

    INPUT

    Tp=Xp Yp.,

    \

    sgn Tp

    OUTPUT

    Cr

    - Cr

    INTEGRATOR

    UNIT DELAY h iCr-i

    UNIT DELAY -1

    ADAPTATION LOGIC

    FOR STEP-SIZE MAGNITUDE

    Fig. 3Schematic diagram of an adaptive delta modulator.

  • Copyright 1971 American Telephone and Telegraph Company T H E B E L L S V S T E H T E C H N I C A L J O U I N A L

    Vol . 50, No . 10, December , 1971 Printed in U.S.A.

    Design of Digital Filter Banks for Speech Analysis

    By R . W . S C H F E R and L. R . R A B I N E R

    (Manuscript received June 22, 1971)

    A bank of bandpass filters is often used in performing short-time spectrum analysis of speech signals. This paper is concerned with the analysis and design of digital filter banks composed of equally spaced bandpass filters. It is shown that significant improvement in the composite filter bank response can be achieved by proper choice of the relative phases of the bandpass filters. The results are extended to more general filter bank configurations.

    I. I N T R O D U C T I O N

    Many speech processing systems are based on the concept of short-time spectrum analysis. ' '* Spectrum analyzers for such systems often consist of a set of bandpass filters Whose combined passbands cover a desired frequency range . Although continuous-time filters have t radi tionally been used in filter banks for speech analysis, hardware realizations of digital filters are now available, ' and the advantages which digital filters offer should be exploited in filter bank design. These advantages include: flexibility of design of the individual bandpass filters, precision of realization, stability of digital hardware , and the efficiency of realization of the filter bank afforded by the possibility of multiplexing the digital hardware . Thus it is importan t to consider design techniques for filter banks composed of digital bandpass filters.

    To focus on the basic concepts in filter bank design, it is useful to define an ideal filter bank spectrum analyzer . Figure 1 depicts such a filter bank composed of digital filters whose impulse responses are denoted by hk(nT), k = 0, I, , M, where l/T is the sampling frequency of the inpu t signal.* Such a filter bank constitutes an ideal spectrum analyzer if the inpu t x{n T) (\vith possibly further band limiting) can be synthesized exactly (wnthin some fixed delay) by a linear

    The filter ht{nT) is a lowpass filter which is included f o r comp le teness although th is b a n d is usUEilly n o t a n a l y z e d in p rac t i ca l speech ana lys is sys tems .

    3097

  • 3098 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    , ^""nT H- ^"-

    Fig. 1^Bank of digital bandpass filters.

    combination of the bandpass filter outputs () . An example of such a system would be one in which the filters are ideal rectangular bandpass filters with the same constant gain and linear phase in their passbands and zero gain outside. If the filter bandwidths are such t h a t the frequency range

    - y - ^ S y

    is completely covered without overlap, then the input can be synthesized exactly by adding together the outputs of the bandpass filters.

    The essential characteristics of the ideal spectrum analyzer are t h a t the frequency response of the combined outputs must exhibit a flat magnitude response and a linear phase, and therefore the combined impulse response must be a delayed digital impulse (unit sample). Causal digital filters (filters whose impulse responses are zero for < 0) cannot have the desired ideal gain characteristics and may not have linear phase.* Therefore a filter bank composed of such filters cannot achieve the ideal characteristics of flat magnitude response and linear phase. In this paper we will describe an approach t o the design of filter banks t ha t approximate the ideal spectrum analyzer. Firs t we present a detailed analysis of a filter bank configuration in which equally spaced, equal-bandwidth digital filters are used. This analysis suggests a technique for optimizing the filter bank characteristics and

    * Finite duration impulse response digital filters can have precisely linear phase.

  • DIGITAL F I L T E R B A N K S 3099

    also suggests how the results can be used where nonuniform bandwidths are desired. The results are illustrated with examples.

    I I . A N A L Y S I S O F U N I F O R M F I L T E R B A N K S

    Assume t h a t the bandpass filters in Fig. 1 have impulse responses of the form

    .() = 2 I D. I h{nT) cos (, + .) k = ,2,--,M

    () = I Z>o I ()

    where w* = , + (fc 1) , and () is the impulse response of a prototype lowpass filter. (When the fc = 0 lowpass filter is used, = and = 0.) The system functions for this set of bandpass filters are

    H,iz) = I Z). I e'**ff(ze-'-*') + | D. | e"'* W ^ ' ' ) fc = 1, 2, ,M Ho(z) = 1 Do I Hiz). (2) The frequency response of these filters is obtained after subst i tut ing 2 = e"" in (2) as

    //.(e'""") = I D, le'^W"-"'"") + I Dt | e-'**tf(e''-*"*"'), fc = 1, 2, , , (3)

    Hoie'-^) = \Do\H{e'"^).

    If the frequency response of prototype lowpass filter, H{e'"^), drops off sharply, then it can be seen from (3) t h a t

    I i/.(e'"'') I I D. I I (""-""") I 0 g / R I D. I I ("-*""") I - / 0 .

    In this case the filter bank consists of a set of (ilf + 1) equally spaced bandpass filters with identical magnitude responses around their respective center frequencies. We have chosen this method of designing bandpass filters from lo\vpass prototJes for analytical convenience and because of the importance of spectrum analysis systems of this fo rm. ' " The results to be discussed apply for other bandpass t ransformations in so far as they yield a set of uniformly spaced bandpass filters with identical frequency characteristics.

    Our objective is to choose the prototype lowpass filter and the parameters \ D t \ , , , , and so t ha t the filter bank will closely approximate the characteristics of the ideal spectrum analyzer. T o do this we must consider the response of the composite filter bank. First,

  • (5)

    ()

    3100 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    y{nT) = xirT) - -

    Defining

    -)- D .e ' " ' ' - ' " - ' ' ' * - - A f

    (10)

    however, it is useful to interpret the individual bandpass filter outputs in terms of spectrum analysis considerations.

    The individual filter outputs are of the form

    XkinT) = 2() i D, \ h{nT - rT) cos [.( - rT) + .], (4)

    XoinT) = ) I Do I h(nT - rT)

    which can be expressed as

    x,{nT) = 2 R e {).(. ,n)e""*-''}

    Xo{nT) = R e [DoX(Si,n)]

    where is the complex constant defined by

    D t = \D, | ' * ' ; = 1, 2, ,

    Do=\Do I ,

    and

    Xil^K ,n)= x(rT)h(nT - ) " ' " * " . (7) r-m

    The quant i ty ( , ) is the discrete-time version of the short-t ime Fourier transform* of x{nT). Thus , (5) serves to relate the bandpass filter outputs Xit(nT) to the short-t ime Fourier transform .

    The frequency response and impulse response of the composite filter bank are obtained from

    y(nT) = ,{). (8)

    After substi tuting (5) into (8) and noting t h a t if x(nT) is real, X( , ) is the complex conjugate of X(wt , n ) , we obtain

    y(nT) = . ( . , ) ' " ' " ' ' (9) K--M

    where _ = *, and D. is the complex conjugate of D t . Subst i tu tmg (7) into (9) and interchanging the order of summations results in

    u

  • DIGITAL KILTER B A N K S 3101

    d{nT) = . D .e '""^ (11) t .1/

    we observe from (10) t ha t the combined impulse response of the filter bank can be expressed as

    UnT) = h{nT) dinT). (12)

    Equat ions (11) and (12) are the basic results of the analysis. (Note tha t they could have been obtained directly by summing the impulse responses (), with the sacrifice of the interpretation of the filter bank outputs in terms of the short-t ime spectrum.)

    Equat ion (12) shows t ha t the filter bank impulse response is the product of the prototype lowpass filter impulse response h(nT), and the sequence d(nT) defined by (11). The choice of lowpass filter depends on both the desired frequency resolution and the requirement of obtaining flat magnitude and linear phase response in the composite filter bank. The sequence rf(nT) Ls independent of the prototype lowpass filter and is a function of the frequency spacing, the relative gains and phases, and the number of bandpass filters. Thus, for o given choice of prototype loicpass filter, the parameters of dinT) can be adjusted to achieve the best approximation to tiie ideal spectrum analyzer. To see how this occurs, we siiall first examine in detail the characteristics of the sequence dinT).

    As will be shown in the remainder of this section, a particularly useful choice of the complex coeflicients Dt in (11) is

    D . = e ' " ' - ^ A: = 1 , 2 , , M. ^ ^

    Do = 1,

    where n is an integer. T h a t is,

    = utnoT, and \ D^ \ = I.

    (The condition Do = 1 implies tha t the band around = 0 is included in the filter bank; Do = 0 implies t ha t it is not.) I t can be shown t h a t for this choice of D , (11) becomes

    dinT) = D,. + ,in\^u,(nT-hn!r)/2] ^""^"^ + ""^^^ ^^^^

    where = , + (/ 1) /2, and D is 1 or 0 depending on whether or not the lowpass channel is included.

    The properties of the sequence dinT) determine the character of

  • 3102 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    sin

    sin [( + )/2]

    - 1 if Do = 0 (15a)

    if Do = 1. (15b)

    (If is even, the fc = 0 filter is no t used, i.e.. Do = 0, and , is /2.) I t is clear from (15b) t h a t for these conditions d{nT) is a periodic sequence with period NT = 2/. In fact, d{nT) may be though t of as samples of a continuous-time periodic Dirichlet kernel as shown in Fig . 2a. U = (N - l)/2 and Do = 1, d{nT) is a. periodic discrete-t ime impulse train with impulses occurring a t multiples of NT. This is because the sample points on the periodic Dirichlet kernel occur a t the maxima and the zero crossings, as indicated by the small circles in Fig. 2a.

    The conditions for d{nT) to be periodic are t h a t both / and 2/() be equal to integers. T o see this , we mus t examine (14) in detail . If 2/() is an integer, and is an odd integer, the sequence 2 sin [A/ + noT)/2]/sin [(7' -|- )/2] is periodic with period NT = 2/. If ,/ is an integer and is odd, the sequence cos [(, + ( I) /2) ( -|- no )] is also periodic with a period

    the impulse response of the filter bank . Some of these properties are summarized below:

    (t) The paramete r no shifts the sequence d{nT) by no samples with respect to hinT).

    (it) The sequence d{nT) is even abou t the sample = no; i.e., d{nT - noT) = d(-nT - nT).

    (Hi) The maximum value of d{nT) occurs a t = . This value is dC-noT) = 2M + D o .

    (iv) If 2/() and ,/ are both integers, then the sequence d(nT) is periodic with period 2ir/Aw. Otherwise, d(nT) will be an almost periodic sequence which will peak up a t t ime intervals of 2/.

    Insigh t in to the properties of d(nT) can be gained by considering a simple example. Assume t h a t , = and 2/(7') = where is an odd integer. T h a t is, the entire frequency range / ^ g ir/, is divided into equa l bands , li = {N l ) / 2 , the entire frequency range is covered. Under these conditions (14) can be writ ten

  • DIGITAL F I L T E R B A N K S 3103

    sLn [M (+)/2"

    1^^^ sLn[Aw(t+noT)/2]

    I

    -noT

    --

    (b)

    Fig. 2(a) Periodic continuou-time Dirichlet kernel, (b) continuous-time envelope and sequence d(nT) when either / or 2/(7') are not integers.

    t ha t is an integer multiple of 2/. Thus the product of these two sequences is periodic m t h period 2-/ . The identical result holds for an even integer and 2ir/ and ,/ integers although the interaction between the component sequences is slightly different.

    If either 2/() or ,/ are not integers, d(nT) will not be periodic, but will still peak up a t time intervals of 2/. Such a case is depicted in Fig. 2b where the samples d(nT) are marked by the

  • 3104 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    Note that the resulting bandpass niters are twelfth order.

    small circles and the dot ted curve shows the factor

    sin [M ( + noT)/2]/sm [( + )/2]

    when is odd. As shown in Fig. 2b, d(nT) will always have even symmetry about sample = no .

    I I I . D E S I G N O F U N I F O R M F I L T E R B A N K S U S I N G B E S S E L F I L T E R S

    In the preceding section we presented a detailed analysis of a filter bank composed of equally spaced equal-bandwidth filters. In this section we will show how the results of t h a t analysis can be employed in filter bank design.

    The objective of flat amplitude response and linear phase is most easily achieved with bandpass filters having these same properties. For this reason, Bessel (maximally flat delay) filters are often used in filter banks . ' In the examples shown in this paper, we have used digital filters obtained from Bessel prototype designs using impulse invariance. ' I t should be noted t ha t the digital filters obtained this way do not have the maximally flat delay property. J. P . Thiran^ has shown tha t the denominator of the system function of maximally flat delay digital filters is a Gauss hypergeometric function. I t is reasonable to expect however, t ha t for the narrow-band filters of interest here, the differences should be negligible.

    As an example a digital filter derived from a sixth-order Bessel lowpass filter with asymptotic cutoff frequency of 60 Hz is shown in Fig. 3. The impulse response is shown in Fig. 3a, and the amplitude and phase responses are shown in Fig. 3b and Fig. 3c. The filter shoAvn in Fig. 3 was used in a filter bank* with the following choice of parameters: Do = 0, = 10* sec. = 27(100), , = 2(100), = , and = 30. The resulting filter bank characteristics are shown in Fig. 4. The filter bank impulse response, {), is shown in Fig. 4a along with the prototype lowpass impulse response h{nT). For the above choice of parameters, d{nT) is obtained from (15a) as

    . sin [0.61im] , ..^ ' ^ ( " ^ ^ = s i n [ 0 . 0 1 x ] - ^ ' ^^^^

    which is periodic with period 100 samples (10 msec), with peaks occurring a t = O, 1 0 , 2 0 , msec. From Fig. 4a, i t can be seen t ha t in the product h{nT)-d{nT), the peak oi d{nT) a t = O will be a t tenua ted since () is small around = 0. On the other hand.

  • DIGITAL FILTER BANKS 3105

    0.010

    40 60 FREQUENCY IN HERTZ

    Fig. 3Sixth-order Bessel filter characteristics, (a) Impulse response, (b) magnitude response, (c) phase response.

  • 3106 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    4000

    -32.0 woo 2000

    FREQUENCY IN HERTZ

    3000 4000

    Fig. 4Characteristics of 30-channel filter bank, (a) Impulse response (dotted curve is the impulse response of the prototype lowpass filter in Fig. 3), (b) composite magnitude response, (c) composite phase response after subtracting 10-msec delay.

  • DIGITAL F I L T E R B A N K S 3107

    = 20 log,, 2 + 1 + 3 I Ll , o , 3 I.

    (17)

    Similariy, if | a, -|- aa 1 < | ,, the peak-to-peak phase ripple about a linear phase corresponding to a delay of is given by

    Rp = 2 t a n ' I Q 3 l(al - (a , + aa)^)"^J

    (18)

    The conditions for (17) and (18) to hold are satisfied when a, and , are small relative to , , which is the normal situation. I t can be seen from (18) and (17) t h a t the phase ripple will be zero if a , = a a , and the ampli tude ripple will be small if ( a , -|- 3 ) / , is small.

    Although these results were derived for the ideaUzed case when d{nT)

    the peak of d(nT) &t = 10 msec occurs a t approximately the peak of hitiT), and a t 7* = 20 msec, h{nT) is large enough to produce a significant echo in the impulse response of the filter bank. As is shown in Fig. 4b and 4c, this corresponds to a 3.9-dB ripple in the ampli tude response and a 25.5-degree peak-to-peak ripple in the phase response (after removing a linear phase component corresponding to a 10-msec or 100-sample delay). T o decrease this amplitude and phase ripple, we should a t t emp t to eliminate the echo in the impulse response. Fur ther more, the phase ripple will be eliminated if the impulse response h{nT) has even symmetry about some delay t ime UDT. One approach is to broaden the filter bandwidths, or equivalently reduce the spacmg , so t ha t h{nT) is contracted relative to the spacing of pulses in d{nT). This is generally not an acceptable solution since h(nT) and are usually fixed by some frequency resolution criterion. However, if we refer to the properties of d{nT) which were previously summarized, we note t ha t a negative value of no will shift d{nT) to the right relative to h(nT) so t ha t d(nT) will have even symmetry about t ime UoT = UoT. If no can be chosen so than fi{nT) = h(nT)-d{nT) has approximately even symmetry and consists of only one significant pulse, then the ampli tude and phase ripple will be small. The manner in which this is achieved is shown in Fig. 5 where it is assumed for simplicity t h a t d(nT) is a train of digital impulses as would be the case for = (N l ) / 2 . Figure 5a depicts the case where no = 0. Figure 5b shows the situation where no was chosen to shift the impulse which was a t = 0 in Fig. 5a to the right and into the vicinity of the peak of h{nT). If i t is assumed t h a t only three impulses have nonzero amplitudes ( a , , Q j , aa) such t h a t 4 I a, I I aa I < I 1 -I- aa I I a j I, then i t can be shown (see Appendix) t ha t the peak-to-peak amplitude ripple of the filter bank is

  • 3108 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    Fig. 5Illustration of how to adjust the parameter no. (a) Composite impulse response for no = 0, (b) no chosen to minimize magnitude and phase ripple (dotted lines indicate movement of individual pulses in d(nT)).

    is an impulse train, we have found t ha t amplitude and phase ripple can be determined quite accurately using (17) and (18) in more general situations. With the foregoing principles in mind we have writ ten an interactive computer program for filter bank design. Using this program we can design a filter bank with low ampli tude and phase ripple by the following process:

    (i) Choose , , , and to cover the desired analysis band and choose h(nT) to provide desired frequency resolution. This results in an h(nT) t h a t has a duration of approximately 4ir/ as shown in Fig. 5.

    (M) Eva lua te h(nT) and determine no such t h a t a , 3 as in Fig. 5b.

    ( m ) If the resulting filter bank is not satisfactory, steps i and it are repeated.

    In cases where ,/ is not an integer, it is important to choose n

  • DIGITAL F I L T E R B A N K S 3109

    so tha t the point of even symmetry in d(nT) is shifted into the vicinity of the peak of h(nT). Otherwise, it may be impossible to achieve a very good approximation to linear phase. An example of the improvement gained by proper choice of is shown in Fig. 6. In this example all the parameters were the same as in the example of Fig. 4 except a value of Mo = 129 was chosen by the above process. In this case the in-band amplitude ripple is 0.8 dB and the phase ripple is 0.6 degree, as compared to 3.8 dB and 25..') degrees when /i = 0.

    R. M. Golden' has shown that inverting the sign of alternating channels often significantly improves tiie characteristics of a filter bank. This technique has a simple interpretation in terms of our results. I t can be shown tha t inverting the sign of al ternat ing channels is equivalent to delaying the sequence d{nT) by Ua = /{) samples. This amount of delay may be nearly correct if the duration of h{nT) is approximately 3/; however for the .situation shown in Fig. 4a, such a delay would produce a worse filter bank than no delay a t all ( n o = 0). Also, to achieve linear phase when ,/ is not an integer, the point of even symmetry in rf(wT) should be delayed to the vicinity of the peak of h{nT). This does not occur when the .signs of alternate channels are inverted.

    I V . D E S I G N O F N O N U N I F O R M B A N D W I D T H F I L T E R B A N K S

    In speech applications it is common to take advantage of the frequency resolution characteristics of the e a r * ' by using increasing bandwidth filters a t higher frecjuencies. The previously discussed techniques can be applied to this situation if the filter bank consists of several sub-banks, each with different resolution. Each sub-bank can be designed as discussed above, with care being taken to ensure t ha t the entire frequency band of interest is covered by the combination of the sub-banks. I t may be necessary to eciualize the delay between sub-banks by providing additional delay for all bu t one of the sub-banks.* This is depicted in Fig. 7 for three sub-banks with increasing-bandwidth sixth-order Bessel filters. Figure 7a sho\vs the lowpass prototype impulse response and shifted d(nT) sequence^ for the first sub-bank. The lowpass asymptotic cutoff used was 78 Hz, the spacing of filters was , = 2ir(125), the first filter was centered a t , = 2(250), and a value of n^ = 100 (10-msec delay) was required to

    * Golden' has shown that the delays can be approximately equalized by increasing the order of the lowpa.ss prototype in direct proportion to the increase in bandwidth.

    The sequence d{nT) is shown as an impulse train for convenience in plotting. The actual sequences would look like those m Fig. 4 and Fig. 6.

  • 3110 THE BELL SYSTEM TECHNICAL JOURNAL, DECEMBER 1971

    0.3

    02

    -Ol

    / 1

    1 1

    1 1

    1 1

    - /

    \

    \ \ \ \

    \ \

    \

    V . I '

    J 10 20 30

    800 1600 2400 3200 4000 FREQUENCY IN HERTZ

    -i.3H

    -2.6 1600 2400

    FREQUENCY IN HERTZ

    4000

    Fig. Characteristics of 30-channel filter bank, (a) Impulse response for no - 129 (dotted curve is the impulse response in Fig. 3), (b) composite magnitude response, (c) composite phase response after subtracting 12.9-msec delay.

  • DIGITAL FILTER BANKS 3111

    minimize the amplitude and phase ripple. Figure 7b s h o v s the second sub-bank in which the basic parameters were: lowpass asymptotic cutoff 136 Hz, , = 2(218), ,, = 2(1296.5), and , = - 5 7 (5.7-msec delay). T o line up the central peaks, an additional delay of T i j = 43 samples (4.3 msec) was required. Figure 7c shows the third sub-bank where the lowpass cutoff was 192 Hz, 3 = 2(307), ,3 = 2jr(2213), and ., = 40 (4-msec delay). A value of Uj = 60 samples (6.0 msec) is required to line up the central peak with those in Fig. 7a and 7b. The response of the combination of these three sub-banks is sho^vn in Fig. 8. Figure 8a s h o v s the impulse response. Fig. 8b shows the amplitude response, and Fig. 8c shows the phase after a linear phase corresponding to 10-msec delay has been subtracted. I t can be

    20 nT(msec)

    nT(msec)

    2 0 nT(msec)

    Fig. 7Illustration of the design of nonuniform filter banks: (a) impulse response for narrow bandwidth filters, (b) impulse response for intermediate bandwidth filters, (c) impulse response for wide bandwidth filters.

  • 3 1 1 2 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1871

    OIS

    O

    <

    -0.15

    -

    (a)

    1. 1 . 1 ,

    1 1 5 10 15

    TIME IN MILLISECONDS

    20

    4000

    1000 2000 3000

    FREQUENCY IN HERTZ

    4000

    Fig. 8Composite filter bank characteristics with three different sub-banks: (a) impulse response, (b) magnitude response, (c) phase response after subtracting 10-msec delay.

    0.30 r

  • DIGITAL F I L T E R B A N K S 3113

    seen in Fig. 8b and 8c t ha t the ripple in the sub-banks is quite low as would be expected from Fig. 7. At the boundary between sub-banks, however, the ripple increases significantly due to the fact t h a t the last filter in the lower sub-bank drops off more rapidly t han the first filter in the next sub-bank. This excessive variation a t the boundary between sub-banks can be eliminated to some extent by using increasingly higher-order filters in the sub-banks. Alternatively, nonuniform resolution can be obtained by using equal-bandwidth filters and adding together groups of two or more of their outputs to achieve the desired bandwidth. Such an approach would require increased computat ion bu t would produce filter bank characteristics comparable t o those in Fig. 6.

    V. CONCLUSION

    We have discussed the analysis and design of digital filter banks and have shown how the incorporation of a linearly increasing phase shift in each bandpass filter can significantly improve the overall filter bank characteristics. We also showed how the techniques can be used in nonuniform b a n d m d t h filter banks.

    The examples which we gave were based on Bessel lowpass prototypes which have impulse responses of desirable shape bu t ra ther poor amplitude response. Recent results in the design of finite duration impulse response filters* offer at tract ive possibilities for filter bank design. Such filters can have precisely linear phase and can be designed using iterative techniques with constraints on both the impulse response shape and the amplitude response. The use of such filters, together with the basic principles discussed in this paper, should yield filter banks with excellent properties.

    A P P E N D I X

    Derivation of Magnitude and Phase Ripple Formulas

    Assume an impulse response sequence

    h(n) = a, = 0 = , = , = 03 = 2 ,

    = elsewhere. (19)

    T h e system function of this system is

    Hie'"'') = o, + ,-'-"'' -I- aae"'"""''. (20)

  • 3114 T H E B E L L S Y S T E M T E C H N I C A L J O U R N A L , D E C E M B E R 1971

    The squared magnitude response is

    I r = [2 + ( . + 3 ) cos (umM + (a . - 3 ) ' sin* (,),

    ( 2 1 )

    and the phase response is

    arg [Hie'")] = tan" ( o i 0 3 ) sin (,)

    IfXj + (a, + 3 ) cos (,) J (22)

    where a linear phase componen t , has been removed . Clearly, both (21) and (22) are periodic functions of with period 2 / , . To determine the ampli tude and phase ripple, we mus t locate the maxima and minima of (21) and (22).

    If we differentiate (21) with respect to , we find t h a t the maxima and minima occur for values of satisfying

    sin (,) = 0

    cos (,) = 2 ( 1 + a )

    4,3

    (23a)

    (23b)

    The second equation is satisfied by a real value of if and only if

    4 I a, l-l 3 I > I a . + a j l-l 2 |. (24) In a good filter bank design, a , and as will be positive and much smaller than 2 , and (24) will no t be satisfied. Evaluat ing the second derivative shows t h a t in this case the maxima and minima of \ H(e'"^) \ will al ternate and occur a t values of satisfying (23a); i.e., = 0, /^, 2/ , . I n this case the ampli tude ripple in dB is given by

    = 20 log, 2 + 1 + I Ll 2 - a , - 3 |J (25)

    If (22) is differentiated with respect to , we find t h a t the maxima and minima occur a t values of satisfying

    (26)

    Equat ion (26) is satisfied by real values of if | a, + 3 I < I | I n this case the maxima and minima again al ternate , and the peak-to-peak phase ripple is

    , = 2 tan" 1 3 l{al-{a,+a,)T'

    (27)

  • DIGITAL F I L T E R B A N K S 3115

    R E F E R E N C E S

    1. Flanagan, J . L., and Golden, R. M., "Phase Vocoder," B.S.T.J., J^, No . 9 (November 1966), pp . 1493-1509.

    2. Flanagan, J . L., and Lummis, R. C , "Signal Processing to Reduce Multipath Distortion in Small Rooms," J . Acoust. Soc. Am., 47, No . 1 (June 1970), pp . 147.'>-1481.

    3. Jackson, L. B. , Kaiser, J . F. , and McDonald, H . S., "An Approach to the Implementation of Digital Filters," I E E E Trans . Audio and Electroacoust., AU-, No. 3 (September 1968), pp. 413-421.

    4. Flanagan, J . L., Speech Analysis, Synthesis and Perception, New York: Academic Press, 1965.

    6. Golden, R. M., "Vocoder Filter Design: Practical Considerations," J. Acoust. Soc. Am., (December 1967) pp. 803-810.

    6. Gold, B., and Rader, C. M., Digal Processing of Signals, New York: McGraw-Hill Book Co., 1969.

    7. Thiran . J . P. , "Recursive Digital Filters with Maximally Fla t Group Delay," I E E E Trans . Ckt . Theory, CT-18, No . 4 (November 1971).

    8. Rabiner, L. R., "Techniques for Designing Finite Duration Impulse Response Digital Filters," I E E E Trans . Com. Tech., COM-19, No . 2 (April 1971), pp . 188-195.

    If I , + 3 I > I 2 I, the phase curve will be discontinuous with a j ump of 2 radians occurring a t = ir/n,T, /, .