Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
LOW LATENCY AUDIO FILTERBANK HAVING IMPROVED FREQUENCY RESOLUTION
Document Type and Number:
WIPO Patent Application WO/2020/264064
Kind Code:
A1
Abstract:
A filterbank, suitable for modifying audio signals with dynamic gains in each band, is constructed so that the perceived latency is small, while a larger group delay is applied at low frequencies to enable higher frequency resolution in the lower frequency bands. The higher group delay at low frequencies is achieved by inserting an all-pass filter into the reconstructed filter response.

Inventors:
MCGRATH DAVID S (US)
Application Number:
PCT/US2020/039472
Publication Date:
December 30, 2020
Filing Date:
June 25, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
DOLBY LABORATORIES LICENSING CORP (US)
International Classes:
H03H17/02
Foreign References:
EP3236626A12017-10-25
Other References:
MCGRATH D S: "AN EFFICIENT 30-BAND GRAPHIC EQUALISER IMPLEMENTATION FOR A LOW COST DSP PROCESSOR", PREPRINTS OF PAPERS PRESENTED AT THE AES CONVENTION, XX, XX, vol. 95, 7 October 1993 (1993-10-07), pages 1 - 08, XP008023740
LOLLMANN ET AL: "Uniform and warped low delay filter-banks for speech enhancement", SPEECH COMMUNICATION, ELSEVIER SCIENCE PUBLISHERS, AMSTERDAM, NL, vol. 49, no. 7-8, 26 July 2007 (2007-07-26), pages 574 - 587, XP022146161, ISSN: 0167-6393, DOI: 10.1016/J.SPECOM.2007.04.009
MATTERA D ET AL: "Noncausal filters: Possible implementations and their complexity", PROCEEDINGS OF INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP'03) 6-10 APRIL 2003 HONG KONG, CHINA; [IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING (ICASSP)], IEEE, 2003 IEEE INTERNATIONAL CONFE, vol. 6, 6 April 2003 (2003-04-06), pages VI_365 - VI_368, XP010639492, ISBN: 978-0-7803-7663-2, DOI: 10.1109/ICASSP.2003.1201694
Attorney, Agent or Firm:
MA, Xin et al. (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A method of audio processing, the method comprising: generating a plurality of modified impulse responses from a plurality of ideal impulse responses, wherein the plurality of ideal impulse responses respectively correspond to a plurality of frequencies, wherein generating the plurality of modified impulse responses includes performing a fade operation and a time reverse operation on at least one of the plurality of ideal impulse responses; and

filtering an input signal with the plurality of modified impulse responses to generate an output signal.

2. The method of claim 1, wherein generating the plurality of modified impulse responses includes:

generating a pre-ripple response based on a first ideal impulse response; generating a post-ripple response based on the pre-ripple response; and adding the first ideal impulse response, subtracting the pre-ripple response, and adding the post-ripple response to generate a first modified impulse response.

3. The method of claim 2, wherein generating the pre-ripple response comprises:

performing the fade operation on the first ideal impulse response to generate the pre-ripple response.

4. The method of any one of claims 2-3, wherein generating the post ripple response comprises:

performing the time reverse operation on the pre-ripple response to generate the post-ripple response.

5. The method of claim 1, wherein generating the plurality of modified impulse responses includes:

generating a first filter response based on a first ideal impulse response; generating a pre-ripple response based on the first filter response; generating an intermediate response based on the pre-ripple response;

generating a second filter response based on the intermediate response;

generating a post-ripple response based on the second filter response; and adding the first filter response, adding the post-ripple response, and subtracting the pre-ripple response to generate a first modified impulse response.

6. The method of claim 5, wherein generating the first filter response comprises:

performing a first all-pass filter operation on the first ideal impulse response to generate the first filter response.

7. The method of claim 6, wherein the first all-pass filter operation applies a transfer function Gap to the first ideal impulse response, wherein

0.994986 - l.OOOOOOz 1

1.000000 - 0.994986z_1

8. The method of any one of claims 6-7, wherein the first all-pass filter operation is a first-order filter with a single real pole between 10Hz and 200Hz.

9. The method of any one of claims 6-8, wherein the first all-pass filter operation has a latency of L samples of an audio signal sampled at a rate of Fs samples per second, and wherein a frequency / of a pole of the all-pass filter operation is calculated according to an equation

/ = JL Hz

12

10. The method of any one of claims 5-9, wherein generating the pre ripple response comprises:

performing the fade operation on the first filter response to generate the pre ripple response.

11. The method of any one of claims 5-10, wherein generating the intermediate response comprises:

performing the time reverse operation on the pre-ripple response to generate the intermediate response.

12. The method of any one of claims 5-11, wherein generating the second filter response comprises:

performing a second all-pass filter operation on the intermediate response to generate the second filter response.

13. The method of any one of claims 5-12, wherein generating the post ripple response comprises:

performing a third all-pass filter operation on the second filter response to generate the post-ripple response.

14. The method of any one of claims 1-13, further comprising:

generating a plurality of weighted modified impulse responses by applying a plurality of weights to the plurality of modified impulse responses,

wherein filtering the input signal comprises filtering the input signal with the plurality of weighted modified impulse responses to generate the output signal.

15. The method of claim 14, wherein a reconstruction impulse response corresponds to a sum of the weighted modified impulse responses is approximately constant over a frequency range above 500Hz, and increases below 500Hz.

16. The method of any one of claims 14-15, wherein a bandwidth of at least one of the plurality of weighted modified impulse responses is narrower according to an increased group delay of the reconstruction impulse response.

17. The method of any one of claims 14-16, wherein the plurality of weights are time varying.

18. The method of any one of claims 1-17, wherein the input signal is one of a plurality of input signals, wherein the plurality of modified impulse responses are applied by a plurality of filter banks, wherein the output signal is one of a plurality of output signals, and wherein a given filter bank filters a given input signal to generate a given output signal.

19. A non-transitory computer readable medium storing a computer program that, when executed by a processor, controls an apparatus to execute processing including the method of any one of claims 1-18.

20. An apparatus for audio processing, the apparatus comprising:

a processor; and

a memory,

wherein the processor is configured to control the apparatus to generate a plurality of modified impulse responses from a plurality of ideal impulse responses, wherein the plurality of ideal impulse responses respectively correspond to a plurality of frequencies, wherein generating the plurality of modified impulse responses includes performing a fade operation and a time reverse operation on at least one of the plurality of ideal impulse responses; and

wherein the processor is configured to control the apparatus to filter an input signal with the plurality of modified impulse responses to generate an output signal.

Description:
LOW LATENCY AUDIO FILTERBANK HAVING IMPROVED FREQUENCY RESOLUTION

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to United States Provisional Patent Application No. 63/028,966, filed May 22, 2020 and United States Provisional Patent Application No.

62/866,823, filed June 26, 2019, each of which is hereby incorporated by reference in its entirety.

FIELD

[0002] The present disclosure relates to audio processing, and in particular, to dynamic audio filters.

BACKGROUND

[0003] Unless otherwise indicated herein, the approaches described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.

[0004] When an input audio signal is being processed, it is often desirable to use a filter bank to alter the audio signal such that the gain at various frequencies is specified by a set of dynamic coefficients. A dynamic audio filter may be implemented by making use a number of pre-computed band-pass filters, with the audio filter response being formed from the weighted sum of the band-pass filter responses. The weights may be varied dynamically.

[0005] In general, the frequency bands do not have the same bandwidth, but instead the lower frequency filters are narrower (and more closely spaced) than the higher frequency filters. As a consequence, the impulse responses of the higher frequency filters will be more compact (having most of their energy spread over a smaller number of samples) than the impulse responses of the lower frequency filters (having their energy spread over a larger number of samples). SUMMARY

[0006] One issue with existing filter banks is the latency. For the lower frequency filters, in order to accurately represent the impulse response, a defined number of samples must be used, which corresponds to the latency of the filter. The higher frequency filters need not use as many samples as the lower frequency filters, and hence have a lower latency. However, in a filter bank that contains both low and high frequency filters, in order to recombine the filtered bands, the high frequency filters need to be delayed to match the latency of the low frequency filters. Thus the latency of the low frequency filters constrains the overall latency of the filter bank.

[0007] Given the above, there is a need to reduce the latency at low frequencies while preserving the impulse response of the filter. Described herein are techniques related to low- latency filter design.

[0008] According to an embodiment, a method of audio processing includes generating a plurality of modified impulse responses from a plurality of ideal impulse responses, wherein the plurality of ideal impulse responses respectively correspond to a plurality of frequencies, wherein generating the plurality of modified impulse responses includes performing a fade operation and a time reverse operation on at least one of the plurality of ideal impulse responses. The method further includes filtering an input signal with the plurality of modified impulse responses to generate an output signal.

[0009] Generating the plurality of modified impulse responses may include generating a pre-ripple response based on a first ideal impulse response; generating a post-ripple response based on the pre-ripple response; and adding the first ideal impulse response, subtracting the pre-ripple response, and adding the post-ripple response to generate a first modified impulse response.

[0010] Generating the plurality of modified impulse responses may include generating a first filter response based on a first ideal impulse response; generating a pre-ripple response based on the first filter response; generating an intermediate response based on the pre-ripple response; generating a second filter response based on the intermediate response; generating a post-ripple response based on the second filter response; and adding the first filter response, adding the post-ripple response, and subtracting the pre-ripple response to generate a first modified impulse response. [0011] According to another embodiment, an apparatus includes a processor and a memory. The processor is configured to control the apparatus to generate a plurality of modified impulse responses from a plurality of ideal impulse responses, wherein the plurality of ideal impulse responses respectively correspond to a plurality of frequencies, wherein generating the plurality of modified impulse responses includes performing a fade operation and a time reverse operation on at least one of the plurality of ideal impulse responses. The processor is further configured to control the apparatus to filter an input signal with the plurality of modified impulse responses to generate an output signal. The apparatus may additionally include similar details to those of one or more of the methods described herein.

[0012] According to another embodiment, a non-transitory computer readable medium stores a computer program that, when executed by a processor, controls an apparatus to execute processing including one or more of the methods described herein.

[0013] The following detailed description and accompanying drawings provide a further understanding of the nature and advantages of various implementations.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG. 1 is a block diagram of a filter bank 100.

[0015] FIG. 2 is a graph 200 showing a set of filter bank frequency responses.

[0016] FIG. 3 is a graph 300 showing an example combined filter response 302.

[0017] FIG. 4 is a block diagram of a filter bank 400.

[0018] FIG. 5 is a block diagram of a filter bank 500.

[0019] FIG. 6 is a graph of an impulse response 600.

[0020] FIG. 7 is a block diagram of a filter array 700.

[0021] FIG. 8 is a graph 800 showing an example set of time-domain filter bank impulse responses.

[0022] FIG. 9 is a graph 900 of signals showing an improved method of modifying impulse responses.

[0023] FIG. 10 is a block diagram of a method 1000 of generating a filter response. [0024] FIG. 11 is a graph 1100 showing various signals related to FIG. 10.

[0025] FIG. 12 is a set of graphs showing a phase distortion 1202 and a group delay 1204. [0026] FIG. 13 is a graph 1300 showing various impulse responses.

[0027] FIG. 14 is a block diagram of a method 1400 of generating a filter response.

[0028] FIG. 15 is a graph 1500 showing various signals related to FIG. 14.

[0029] FIG. 16 is a flow diagram of a method 1600 of audio processing.

[0030] FIG. 17 is a flow diagram of a method 1700 of audio processing.

[0031] FIG. 18 is a flow diagram of a method 1800 of audio processing.

DETAILED DESCRIPTION

[0032] Described herein are techniques related to audio filters. In the following description, for purposes of explanation, numerous examples and specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be evident, however, to one skilled in the art that the present disclosure as defined by the claims may include some or all of the features in these examples alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.

[0033] In the following description, various methods, processes and procedures are detailed. Although particular steps may be described in a certain order, such order is mainly for convenience and clarity. A particular step may be repeated more than once, may occur before or after other steps (even if those steps are otherwise described in another order), and may occur in parallel with other steps. A second step is required to follow a first step only when the first step must be completed before the second step is begun. Such a situation will be specifically pointed out when not clear from the context.

[0034] In this document, the terms“and”,“or” and“and/or” are used. Such terms are to be read as having an inclusive meaning. For example,“A and B” may mean at least the following:“both A and B”,“at least both A and B”. As another example,“A or B” may mean at least the following:“at least A”,“at least B”,“both A and B”,“at least both A and B”. As another example,“A and/or B” may mean at least the following:“A and B”,“A or B”. When an exclusive-or is intended, such will be specifically noted (e.g.,“either A or B”,“at most one of A and B”).

[0035] This document describes various processing functions that are associated with structures such as blocks, elements, components, circuits, etc. In general, these structures may be implemented by a processor that is controlled by one or more computer programs.

[0036] FIG. 1 is a block diagram of a filter bank 100. The filter bank 100 includes a number of filters that are not individually shown. The filter bank 100 is configured with a number of weights 102 (also referred to as weighting coefficients), where each of the weights 102 corresponds to a gain for a particular frequency band. The filter bank 100 receives an input signal 104, applies the weights 102 to the input signal 104, and generates an output signal 106. The weights 102 may vary over time.

[0037] The input signal 104 (and the output signal 106) may be a single channel signal, in which case the filter bank 100 includes a number of filters, where each filter corresponds to one of the weights 102 and a particular frequency band. The input signal 104 (and the output signal 106) may be a multichannel signal, in which case the filter bank 100 includes a number of arrays of filters, where each array of filters corresponds to one of the channels, and each filter in a given array corresponds to one of the weights 102 and a particular frequency band. The input signal 104 and the output signal 106 may be multichannel signals with differing number of channels, where each array of filters corresponds to one of the input channels and one of the output channels.

[0038] In general, the filtering techniques described herein may be applied to each individual filter in the filter array 100.

[0039] FIG. 2 is a graph 200 showing a set of filter bank frequency responses. In the graph 200, the x-axis is the frequency and the y-axis is the gain. By way of example, a set of B band-pass impulse responses, h t (n), h 2 (n), ..., h B (n ) may be pre-computed, with band-pass center frequencies fc , fc 2 , ..., fc B . Ideally, the filter h b (n ) will have a frequency response, H b (f) that (approximately) satisfies: Equation (1):

when k = b

otherwise

[0040] The frequency response 202 of filter H 2 (/) is shown having a gain of 1 at / = fc 2 and a gain of 0 at all other values of / = fc b , b ¹ 2. The other filters H b (/) have a gain of 1 at other of the frequencies fc b . The frequency fs/2 is the frequency of half of the sampling rate (the Nyquist rate).

[0041] A set of weighting coefficients, w , w 2 , w B may then be used to form the combined filter response. The time-domain and frequency-domain versions of the equation are as follows:

Equation (2):

Time domain:

Equation (3):

Frequency domain:

[0042] FIG. 3 is a graph 300 showing an example combined filter response 302. The x-axis is the frequency (five frequency values shown) and the y-axis is the gain (five corresponding weights shown). The gain 304 at / = fc 2 is equal to w 2 , as an example. The other frequencies fc b have gains that correspond to their respective weights w b . In a practical application, this combined filter response may be implemented in a variety of ways, as shown in FIGS. 4-5.

[0043] FIG. 4 is a block diagram of a filter bank 400. The filter bank 400 includes a number of convolution blocks 402, a number of multiplication blocks 404, and an addition block 406. The filter bank 400 receives an input signal 410 (shown as X and also referred to as x(n), which references the input signal for a given sample n), and generates an output signal 412 (shown as Y and also referred to as y(n)).

[0044] Each of the convolution blocks 402 generally corresponds to a given frequency, frequency band or frequency range associated with an impulse response 420 (shown as h b ). A given convolution block 402 convolves the input signal 410 (e.g., x(n)) with the inpulse response 420 (e.g., h b (n)) to generate a filtered signal 422 (e.g., x b (n)).

[0045] Each of the multiplication blocks 404 is associated with a weight 430 (shown as w b ) and is associated with one of the convolution blocks 402 (so likewise associated with a frequency band). A given multiplication block 404 multiplies the filtered signal 422 (e.g., x b (n )) with the weight 430 (e.g., w b ) to generate a weighted signal 432.

[0046] The addition block 406 adds the weighted signal 432 from each of the multiplication blocks 404 to generate the output signal 412.

[0047] The equations representing these operations are as follows:

Equation (4):

Filtered sub-band signals: x b (n) = {h (g) x}(n)

Equation (5)

Equation (6):

Filtered output:

[0048] The {... (g) ... } operator used in Equation (4) indicates the convolution of h(n with x(n). [0049] Equation (5) shows the details of the convolution operation, resulting in the creation of sub-band signals Xi(n), x 2 (n), ..., Xg(n). The output signal 412 (e.g., y(n)) is then formed as the sum of these sub-band signals multiplied by their respective weights, as shown in Equation (6).

[0050] According to this method, the weights may be time-varied, so w b may also be replaced by w b (n ) in Equation (6).

[0051] FIG. 5 is a block diagram of a filter bank 500. The filter bank 500 includes a number of multiplication blocks 502, an addition block 504, and a convolution block 506. The filter bank 500 receives an input signal 510 (shown as X and also referred to as x(n), which references the input signal for a given sample n), and generates an output signal 512 (shown as Y and also referred to as y(n)).

[0052] Each of the multiplication blocks 502 generally corresponds to a given frequency, frequency band or frequency range associated with an impulse response 520 (shown as h b ), and is also associated with a weight 530 (shown as w b ). A given multiplication block 502 multiplies the impulse response 520 (e.g., h b (n)) and the weighting coefficient 530 (e.g., w b (n )) to generate one of the weighted responses 532.

[0053] The addition block 504 adds the weighted responses 532 from each of the multiplication blocks 502 to generate a combined filter response 540.

[0054] The convolution block 506 convolves the input signal 510 (e.g., x(n)) with the combined filter response 540 to generate the output signal 512 (e.g., y(n)).

[0055] In general, the filter bank 500 implements a dynamic filter that performs a periodic calculation of the filter response. For example, the input audio may be processed in

(overlapped) blocks of audio, and at the time of block#/e, the filter response (in the frequency domain) may be computed as per Equation (3).

[0056] In one embodiment, we may implement the actual convolution operation in the frequency domain, using overlapped audio blocks, with smoothed cross-fades between audio block, which may allow the filter response to be changed on a block-by -block basis.

[0057] In one common application, the filter bank responses are causal filters, in which the filter output depends only on past and present inputs (so that for each b G (1,2, ... , B] the impulse response h b (n ) = 0, Vn < 0). If all filter bank responses are causal, then the combined response (/i(n), as per Equation (2)) will also be causal.

[0058] FIG. 6 is a graph of an impulse response 600. The impulse response 600 results from applying a filter such that for each b G (1,2, ... , B] the impulse response h b (n ) =

0, Vn <—L, where L is a positive integer. Filters with this property may be implemented in practice by adding an additional delay of L samples in the filter implementation (so that the impulse responses are shifted by L samples in time to allow them to be implemented as causal filters).

[0059] FIG. 7 is a block diagram of a filter array 700. The filter array 700 includes a number of filters 702 (shown as Filter ny,nx ) and a number of addition blocks 704. The filter array 700 receives a number of input signals 710 (shown as Xi to X nx ) and generates a number of output signals 712 (shown as Yi to Y ny ). In general, the filter array 700 illustrates the operation of a multichannel-input, multichannel-output system, where a filter joins every input to every output. The filter 700 may also be conceptualized as a multichannel filter bank where, for each frequency band, there is a [ny by nx] two-dimensional array that defines the mixing of inputs to form the outputs.

[0060] The filters 702 are arranged in banks, where each filter bank is associated with one of the input signals 710 (e.g., a channel). Each of the filters 702 is generally associated with a frequency band, a filter response, and a weight similar to the other filters discussed herein.

For example, each of the filters 702 may be a filter such as the filter bank 400 (see FIG. 4), the filter bank 500 (see FIG. 5), etc.

[0061] In terms of frequency domain filter responses, we may describe the processing of the filter array 700 in terms of the following equation:

Equation (7): [0062] The embodiments described herein relate to methods used to implement one or more of the filters 702. It will be appreciated that embodiments are equally applicable to arrays of filters as shown in FIG. 7.

[0063] Referring back to FIG. 3, the desired frequency response of an example filter is shown, where the gain of the filter response 302, as a function of frequency, is defined according to a pre-defined set of control frequencies, fc 1 , fc 2 , ... and corresponding gain values, w t , w 2 , ...

[0064] In the example of FIG. 3, the gain of the filter at frequency fc 2 is set by w 2 , as shown as the gain 204.

[0065] In an embodiment, the frequency response of FIG. 3 is achieved by the weighted summation of a number of pre-defined filter bank responses. Example responses are shown in FIG. 2, with the frequency response 202 of band 2 being shown.

[0066] We will refer to the response of each of these pre-defined filter bank responses as H b (/) (in the frequency domain) or alternately as h b (n ) (in the time domain).

[0067] A desired filter response (such as 302 in FIG. 3) may be formed from a weighted sum of pre-defined filter bank responses. This may be expressed as a time-domain or frequency-domain summation:

Equation (8):

Time domain:

Equation (9):

Frequency domain:

[0068] We may choose to insist that each of the pre-defined filter bank responses should represent a causal filter (so that h(n ) = 0 , Vn < 0). However, as a matter of convenience, we instead insist that h(n = 0, Vn <— L and we therefore will be required to add L samples of latency to the implementation of our filters, so that the final (realizable) filter output, y'(n), will be computed as a delayed version of the ideal response, y(n), according to:

Equation (10):

Equation (11): y'(n ) = y(n— L)

Equation (12):

[0069] Note that the calculation of output sample n of the ideal signal, y(n), is computed using input samples up to x(n + L) (including L future input samples). In contrast, the calculation of output sample n of the delayed signal, y'(n), is computed only using input samples up to x(n).

[0070] An example impulse response, with the property that h(n ) = 0 , Vn <—L, is shown in FIG. 6.

[0071] In an embodiment, the frequency resolution of the filter bank (the spacing between adjacent filter bank center frequencies, for example fc b+1 — fc b ) is small, whilst the latency L is also small.

[0072] In one particular embodiment, a low-latency filter bank is used to provide low latency L and high resolution. In a further embodiment, an all-pass low-latency filter bank is used to provide low perceived latency L and high resolution. [0073] Ideal Filter Bank Responses

[0074] A filter bank may be constructed by a variety of means, including a method whereby ideal frequency responses are created as shown in FIG. 2, and then converted to linear-phase ideal time-domain impulse responses.

[0075] FIG. 8 is a graph 800 showing an example set of time-domain filter bank impulse responses. In the graph 800, the x-axis is time (in samples) and the y-axis is frequency. Numerous filter responses are shown in the graph 800, with each filter response

corresponding to a given frequency as indicated by the names F 1 , F 2 , , F B , where the number of filters in the filter bank, in this example is B = 10. The highest number (e.g. 10) corresponds to the highest freqency and the lowest number (e.g. 1) corresponds to the lowest frequency. The ideal impulse response for filter F b is h' b (n ) (for b G (1,2, ... , B}). Two filter responses 802 and 804 are indicated for further discussion below; the filter response 802 corresponds to the 3rd filter ( h' 3 (n )) and the filter response 804 corresponds to the lowest frequency filter response (h'^n)).

[0076] According to a common practice, the ideal filter bank responses exhibit a perfect summation property, as follows:

Equation (13):

Equation (14):

l n = 0

where <5(n) = f

to otherwise

[0077] Preferably, we may make use of filter banks where the lower frequency filters are narrower (and more closely spaced) than the higher frequency filters, as is illustrated in FIG. 2, where the separation between fc t and fc 2 is less than the separation between fc and /c 5 , for example. As a consequence, the impulse responses of the higher frequency filters will be more compact (having most of their energy spread over a smaller number of samples) than the impulse responses of the lower frequency filters, as may be observed in FIG. 8.

[0078] Theoretically, the impulse responses of the ideal filter banks may be infinite in length, and in particular it may be seen, in FIG. 8, that the impulse response 802 of the filter F 3 does not satisfy the desired low-latency property: h! 3 (n) = 0 , Vn <—L. Hence, the filters shown in FIG. 8 are not suitable for implementing a low-latency filter bank.

[0079] Techniques for Low-Latency Filter Responses

[0080] According to one method, a low-latency filter bank (with latency L ) may be created by simply truncating the ideal impulse responses, as follows:

Equation (15): n ³—L

n <—L

[0081] However, such truncation will impact the resulting responses at low frequencies, and may result in auditory artifacts if used in a real world system.

[0082] FIG. 9 is a graph 900 of signals showing an improved method of modifying impulse responses. In the graph 900, the x-axis is time (in samples). The y-axis is magnitude; note that each signal is independent of each other on the y-axis (e.g., the y-axis shows the magnitude range of each signal independently, not any sort of relative magnitude or comparison between signals). The signal 802 corresponds to the ideal impulse response of the filter F 3 (e.g., h' 3 (n)), as also shown in FIG. 8. The signal 904 corresponds to a fade function. The signal 906 corresponds to the signal 802 multiplied by the signal 904 to generate a low-latency filter response, as follows:

Equation (16): h b (n ) = h' b (n)q(n )

Equation (17):

n <—L

n > 0

where:

—L £ n < 0

[0083] It will be appreciated by those skilled in the art that according to both techniques (Equation (15) and Equation (16)), the resulting impulse response h b (n ) has the desirable property that h b (Q) = h! b (Q), and this guarantees that the perfect-reconstruction criteria (Equation (13)) will be satisfied.

[0084] However, the frequency response of these filters (as produced by Equation (15) or Equation (16)) will not necessarily match the original (ideal) responses, h' b (n ) as well as may be possible with improved techniques, as discussed below.

[0085] Improved Method for Low-Latency Filter Responses

[0086] FIG. 10 is a block diagram of a method 1000 of generating a filter response. The method 1000 may be used to generate the filter response for one or more of the filters in any of the filter banks discussed herein (e.g., the filter bank 400 of FIG. 4, the filter bank 500 of FIG. 5, the filter 702 in the filter array 700 of FIG. 7, etc.). The method 1000 includes a fade block 1002, a time reverse block 1004, and a summation block 1006. The blocks of the method 1000 may be implemented in various ways, e.g. by circuit elements, by a processor executing one or more computer programs, etc.

[0087] The fade block 1002 receives an ideal impulse response 1010, applies a fade function, and generates a pre-ripple response 1012. The ideal impulse response 1010 may correspond to one or more of the ideal impulses responses discussed above (e.g., h' b (n ) as discussed in FIG. 8 or FIG. 9, such as the signal 802). An example of the fade function is shown in FIG. 11. [0088] The time reverse block 1004 performs a time reverse operation on the pre-ripple response 1012 to generate a post-ripple response 1014. The time reverse operation generally corresponds to mirroring the pre-ripple response 1012 around the zero sample of the signal. An example of the time reverse operation is shown in FIG. 11.

[0089] The summation block 1006 adds the ideal impulse response 1010, subtracts the pre ripple response 1012, and adds the post-ripple response 1014, to generate a filter response 1016.

[0090] FIG. 11 is a graph 1100 showing various signals related to FIG. 10. In the graph 1100, the x-axis is time (in samples) and the y-axis is magnitude; as with FIG. 9, note that the magnitude of each signal is independent of each other signal. The signal 802 corresponds to the ideal impulse response of the filter F 3 (e.g., /i' 3 (n) ), as also shown in FIGS. 8-9. See also the ideal impulse response 1010 in FIG. 10.

[0091] The signal 1102 corresponds to a fade function. See also the signal 904 in FIG. 9. The signal 1104 corresponds to the signal 802 multiplied by the signal 1102 to generate a pre ripple response. See also the pre-ripple response 1012 in FIG. 10.

[0092] The signal 1106 corresponds to a time reverse of the signal 1104, referred to as the post-ripple response. See also the post-ripple response 1014 in FIG. 10.

[0093] The signal 1108 corresponds to the filter bank response, and is generated by adding the signal 802 (the ideal impulse response 1010), subtracting the signal 1104 (the pre-ripple response 1012), and adding the signal 1106 (the post-ripple response 1014). See also the filter response 1016 in FIG. 10.

[0094] The following equations show this process:

Equation (18): pre-ripple: r re (ri) = h' b (ri)s(n )

Equation (19): L n £ L

Equation (20): post-ripple: r ost (ri) = r re (— n)

Equation (21): low-latency response: h b (n) = h' b (n )— r & pre (n) + r ost (ri)

[0095] Note that, according to Equation (20), r & posi ( 0) = r & pre ( 0) and hence, the low- latency impulse response h b (n) (as per Equation (21) will have the desirable property that h b 0) = h! b (Q), and this guarantees that the perfect-reconstruction criteria (Equation (13)) will be satisfied.

[0096] Low-Latency All-Pass Filter Responses

[0097] Various types of audio filtering may be used to modify an audio signal without the group delay of the filtering being perceptible to a listener. As an example, a typical high-pass filter, such as that used to remove unwanted low-frequency noise from recorded sounds, will introduce phase distortion at low frequencies that will not be considered by a listener to be detrimental. Another common type of filtering that will be imperceptible to a listener is an all-pass filter.

[0098] FIG. 12 is a set of graphs showing a phase distortion 1202 and a group delay 1204. The phase distortion 1202 and the group delay 1204 result from using the transfer function as shown in Equation (22) to process an audio signal sampled at 48kHz. Equation (22):

0.994986 - l.OOOOOOz 1

° ar 1.000000 - 0.994986z _1

[0099] The constant 0.994986 in Equation (22) is a typical value that corresponds to a transition frequency of approximately 37Hz (where the phase shift of a first-order all-pass filter is 90 degrees), for a filter operating at a sample rate of 48000 samples per second. Alternative values for this constant may be chosen, and for filters operating at 48000 samples per second, the constant may vary between 0.9490 and 0.9993, which values correspond to transitions frequencies of 400Hz and 5Hz, respectively.

[0100] Given that this phase distortion 1202 produces artefacts in the output audio signal that are acceptable to a listener, it is therefore acceptable to apply the same phase distortion to the ideal impulse responses, to produce a new set of all-pass filter responses, as shown in FIG. 13.

[0101] FIG. 13 is a graph 1300 showing various impulse responses. In the graph 1300, the x-axis is time (in samples) and the y-axis arranges the impulse responses at various frequencies F n . The impulse response 1302 of filter F 3 appears to be similar to original (ideal) response 802 of filter F 3 in FIG. 8. In contrast, the impulse response 1304 of filter F t appears to be different from the original (ideal) response 804 of filter F t in FIG. 8. This difference is due to the effect of an all-pass filter, which affects the lower frequency filters, whilst having a negligible impact on the higher frequency filters. The all-pass filter is discussed in more detail below.

[0102] It can be seen that the impulse response 1304 of the filter F t has lower amplitude in the region 1306 (more than 100 samples prior to time zero) compared to the region 1308 (more than 100 samples after time zero). The shifting of the energy of the impulse response to a later time in the impulse response is a desirable attribute of the all-pass filter, as it produces a filter bank that more closely approximates the latency constraint (where L = 100 in the example of FIG. 13).

[0103] FIG. 14 is a block diagram of a method 1400 of generating a filter response. The method 1400 may be used to generate the filter response for one or more of the filters in any of the filter banks discussed herein (e.g., the filter bank 400 of FIG. 4, the filter bank 500 of FIG. 5, the filter 702 in the filter array 700 of FIG. 7, etc.). The method 1400 includes an all pass filter 1402, a fade block 1404, a time reverse block 1406, an all-pass filter 1408, an all pass filter 1410, and a summation block 1412. The blocks of the method 1400 may be implemented in various ways, e.g. by circuit elements, by a processor executing one or more computer programs, etc.

[0104] The all-pass filter 1402 receives an ideal impulse response 1420, performs all-pass filtering, and generates a filter response 1422. The ideal impulse response 1420 may correspond to one or more of the ideal impulses responses discussed above (e.g., h' b (n ) as discussed in FIG. 8 or FIG. 9, such as the signal 802). The impulse response of the all-pass filter is discussed in more detail in the equations below.

[0105] The fade block 1404 applies a fade function to the filter response 1422 to generate a pre-ripple response 1424. An example of the fade function is shown in FIG. 15.

[0106] The time reverse block 1406 performs a time reverse operation on the pre-ripple response 1424 to generate an intermediate response 1426. An example of the time reverse operation is shown in FIG. 15.

[0107] The all-pass filter 1408 performs all-pass filtering on the intermediate response 1426 to generate a filter response 1428.

[0108] The all-pass filter 1410 performs all-pass filtering on the filter response 1428 to generate a post-ripple response 1430.

[0109] The summation block 1412 adds the filter response 1422, adds the post-ripple response 1430, and subtracts the pre-ripple response 1424, to generate a filter response 1432.

[0110] In an embodiment, in order to correctly satisfy the latency constraint, we apply the process of Equation (21), with an adaptation to the calculation, to allow for the introduction of the all -pass filter. In the following equations, the notation {a (g) b](n) is used to indicate the convolution of the impulse responses a(n) and b(n). The generation of the low-latency all-pass filter responses is carried out as follows:

Equation (23): all-pass: h" b (n) = {g (g) h! b }(ri) Equation (24): pre-ripple: r & pre (n) = h" b (ri)s(ri)

Equation (25):

1 n <—L

0 n > L

fade-function: s(n (n + L + 1)p

cos 2 ( —L < n < 0

4( + 1) )

Equation (26): post-ripple: r b ost (n ) = r b re (—n )

Equation (27): low-latency response: h b (ri) = h" b (ri)— r b re (n ) + {g <8> g Q r b ° St }(n )

[0111] In the above equations, g(n is the impulse response of the all-pass filter (see also Equation (22)).

[0112] In an embodiment, the all-pass filter is a first-order filter with a single real pole at a frequency between 10Hz and 200Hz. For a filter bank that is operating on audio sampled at a rate of F s sample per second, with a latency L, the frequency of the all-pass pole may be set to approximately:

Equation (28): all-pass pole freq: / = A Hz

12 L [0113] The calculation of the pole frequency as shown in Equation (28) is an example. It will be appreciated that other pole frequencies will also provide the benefit of an improved latency/accuracy trade-off in the design of a filter bank.

[0114] When the impulse responses of the set of B filters in the low-latency all-pass filter bank are summed together, the end result (the reconstruction impulse response) is approximately equal to the all-pass response:

Equation (29):

Equation (30):

« g(n

[0115] The procedure of FIG. 14 may be applied for each filter in the filter bank, so for example, for b G (1,2, ... , B], the ideal impulse response h! b (n) may be processed according to FIG. 14 to produce the low-latency all-pass filter h b (n).

[0116] FIG. 15 is a graph 1500 showing various signals related to FIG. 14. In the graph 1500, the x-axis is time (in samples) and the y-axis is magnitude; as with FIGS. 9 and 11, note that the magnitude of each signal is independent of each other signal. The signal 1304 corresponds to the all-pass filtered impulse response of the filter (e.g., h'^ri)), as also shown in FIG. 13. See also the filter response 1422 in FIG. 14, and Equation (23).

[0117] The signal 1502 corresponds to a fade function. See also the signal 904 in FIG. 9 and the signal 1102 in FIG. 11, and Equation (25). The signal 1504 corresponds to the signal 1304 multiplied by the signal 1502 to generate a pre-ripple response. See also the pre-ripple response 1424 in FIG. 14, and Equation (24).

[0118] The signal 1506 corresponds to a time reverse of the signal 1504, referred to as the intermediate response. See also the intermediate response 1426 in FIG. 14. The signal 1508 corresponds to applying an all-pass filter twice to the signal 1506, referred to as the post ripple response. See also the post-ripple response 1430 of FIG. 14, and Equation (26).

[0119] The signal 1510 corresponds to the filter bank response, and is generated by adding the signal 1304 (the filter response 1422), adding the signal 1508 (the post-ripple response 1430), and subtracting the signal 1504 (the pre-ripple response 1424). See also Equation (27).

[0120] The differences between the method 1000 of FIG. 10 and the method 1400 of FIG. 14 may be conceptualized as follows. First, note that the method 1000 operates on the filter response h' b (n), and the method 1400 operates on the all-pass filtered version g (g) h! b (n). The process of the method 1000 relies on the fact that the pre-ripple and post-ripple components are made by mirroring around t=0, and in conjunction we know that the ideal impulse response 1010 is symmetric about time zero.

[0121] Extending this knowledge to the method 1400, imagine we can make a new filter component: preA = , g -1 (g)pre_ripple. This means we take the original pre_ripple (e.g., the intermediate response 1426 or the signal 1506) and apply the inverse of the all-pass function 9-

[0122] We then make another new filter component: postA(t) = preA(-t). This is simply the mirrored version of preA.

[0123] Now, we can make another new filter component: finalA = h' b (n) + postA - preA . This step is very much like the process used in FIG. 10 and, most importantly, this step obeys our mantra: the pre-ripple and post-ripple components are made by mirroring around t=0, and in conjunction we know that the original filter is symmetric about time zero.

[0124] We can then build the final filter: final_filter = i ) Final A = g< ) (h' b (n ) + postA - preA) = g(£)h' b (n ) + g® postA - g® preA = orig_filter + g® postA - pre_ripple .

[0125] Now, we know that: postA = mirror(preA) = mirror(5 ,_1 (g)pre_ripple) =

(g) m i rror( pre ri pp 1 e) = g (g)post_ripple . (This is true because the time-mirror of an all -pass filter is the same as the inverse of the all-pass filter.)

[0126] Hence, we get: final_filter = orig_filter + g( g)postA - pre_ripple = orig_filter + g (g) (g)posL_ripple - pre_ripple . [0127] FIG. 16 is a flow diagram of a method 1600 of audio processing. The method 1600 may be implemented by a processor executing instructions e.g. according to one or more computer programs.

[0128] At 1602, modified impulse responses are generated from ideal impulse responses. The ideal impulse responses respectively correspond to a number of frequencies. Generating the modified impulse responses includes performing a fade operation and a time reverse operation on at least one of the ideal impulse responses. For example, the method 1000 (see FIG. 10) may perform a fade operation using the fade block 1002 and a time reverse operation using the time reverse block 1004 on the ideal impulse response 1010. As another example, the method 1400 (see FIG. 14) may perform a fade operation using the fade block 1404 and a time reverse operation using the time reverse block 1406 on the ideal impulse response 1420.

[0129] At 1604, an input signal is filtered with the modified impulse responses (see 1602) to generate an output signal. For example, the filter bank 100 (see FIG. 1) may include a number of filters with the modified impulse responses generated at 1602, and may generate the output signal 106 from the input signal 104.

[0130] The general steps of the method 1600 are further detailed in FIGS. 17-18.

[0131] FIG. 17 is a flow diagram of a method 1700 of audio processing. The method 1700 may be implemented by a processor executing instructions e.g. according to one or more computer programs. The method 1700 is similar to the method 1600 (see FIG. 16) with more details specific to the operation of the method 1000 (see FIG. 10).

[0132] At 1702, modified impulse responses are generated from ideal impulse responses. This includes substeps 1704-1708.

[0133] At 1704, a pre-ripple response is generated based on a first ideal impulse response. For example, the fade block 1002 (see FIG. 10) may perform a fade operation on the ideal impulse response 1010 to generate the pre-ripple response 1012. See also Equation (18).

[0134] At 1706, a post-ripple response is generated based on the pre-ripple response. For example, the time reverse block 1004 (see FIG. 10) may perform a time reverse operation on the pre-ripple response 1012 to generate the post-ripple response 1014. See also Equation (20). [0135] At 1708, a first modified impulse response is generated by adding the first ideal impulse response, subtracting the pre-ripple response, and adding the post-ripple response.

For example, the summation block 1006 (see FIG. 10) may add the ideal impulse response 1010, subtract the pre-ripple response 1012, and add the post-ripple response 1014 to generate the filter response 1016. See also Equation (21).

[0136] At 1710, an input signal is filtered with the modified impulse responses (see 1702- 1708) to generate an output signal. For example, the filter bank 100 (see FIG. 1) may include a number of filters with the modified impulse responses generated at 1702, and may generate the output signal 106 from the input signal 104.

[0137] FIG. 18 is a flow diagram of a method 1800 of audio processing. The method 1800 may be implemented by a processor executing instructions e.g. according to one or more computer programs. The method 1800 is similar to the method 1600 (see FIG. 16) with more details specific to the operation of the method 1400 (see FIG. 14).

[0138] At 1802, modified impulse responses are generated from ideal impulse responses. This includes substeps 1804-1814.

[0139] At 1804, a first filter response is generated based on a first ideal impulse response. For example, the all-pass filter 1402 (see FIG. 14) may perform an all-pass filter operation on the ideal impulse response 1420 to generate the filter response 1422. See also Equation (23).

[0140] At 1806, a pre-ripple response is generated based on the first filter response. For example, the fade block 1404 (see FIG. 14) may perform a fade operation on the filter response 1422 to generate the pre-ripple response 1424. See also Equation (24).

[0141] At 1808, an intermediate response is generated based on the pre-ripple response. For example, the time reverse block 1406 (see FIG. 14) may perform a time reverse operation on the pre-ripple response 1424 to generate the intermediate response 1426. See also Equation (26).

[0142] At 1810, a second filter response is generated based on the intermediate response. For example, the all-pass filter 1408 (see FIG. 14) may perform an all-pass filter operation on the intermediate response 1426 to generate the filter response 1428. See also Equation (27). [0143] At 1812, a post-ripple response is generated based on the second filter response. For example, the all-pass filter 1410 (see FIG. 14) may perform an all-pass filter operation on the filter response 1428 to generate the post-ripple response 1430. See also Equation (27).

[0144] At 1814, a first modified impulse response is generated by adding the first filter response, adding the post-ripple response, and subtracting the pre-ripple response. For example, the summation block 1412 (see FIG. 14) may add the filter response 1422, add the post-ripple response 1430, and subtract the pre-ripple response 1424 to generate the filter response 1432. See also Equation (27).

[0145] At 1816, an input signal is filtered with the modified impulse responses (see 1802- 1814) to generate an output signal. For example, the filter bank 100 (see FIG. 1) may include a number of filters with the modified impulse responses generated at 1802, and may generate the output signal 106 from the input signal 104.

[0146] In an embodiment, an input audio signal may be processed to produce an output audio signal where the gain of the processing at a number of predetermined frequencies is approximately equal to a corresponding set of gain coefficients. The processing may be implemented according to a filter response that is the weighted sum of a corresponding number of low-latency all-pass filter responses with the weightings being determined by the corresponding gain coefficients. The low-latency all-pass filter responses have been determined according to the method of FIG. 18.

[0147] In an alternative embodiment, an input audio signal is processed to produce an output audio signal, where the said output audio signal is formed by filtering said input audio signal by a total impulse response that is a weighted sum of a set of filter bank impulse responses. The sum of said filter bank impulse responses is an all-pass filter. The all-pass filter may have approximately constant phase response above a frequency of approximately 500Hz, and a group-delay that rises at lower frequencies.

[0148] In an alternative embodiment, an input audio signal is processed to produce an output audio signal, where the said output audio signal is formed by filtering said input audio signal by a total impulse response that is a weighted sum of a set of filter bank impulse response. A reconstruction impulse response may be formed by the sum of the filter bank impulse responses such that the group delay of the reconstruction impulse response is approximately constant over a frequency range above 500Hz and increases below 500Hz. For example, the group delay may be perceptually constant above 500Hz (varying by no more than 0.1ms), and at lower frequencies, e.g., less than 500Hz, may vary by less than 0.5/f seconds. The bandwidth of one or more impulse responses from said set of filter bank impulse responses may be narrower according to the increased group delay of the reconstruction impulse response.

[0149] Implementation Details

[0150] An embodiment may be implemented in hardware, executable modules stored on a computer readable medium, or a combination of both (e.g., programmable logic arrays). Unless otherwise specified, the steps executed by embodiments need not inherently be related to any particular computer or other apparatus, although they may be in certain embodiments. In particular, various general-purpose machines may be used with programs written in accordance with the teachings herein, or it may be more convenient to construct more specialized apparatus (e.g., integrated circuits) to perform the required method steps. Thus, embodiments may be implemented in one or more computer programs executing on one or more programmable computer systems each comprising at least one processor, at least one data storage system (including volatile and non-volatile memory and/or storage elements), at least one input device or port, and at least one output device or port. Program code is applied to input data to perform the functions described herein and generate output information. The output information is applied to one or more output devices, in known fashion.

[0151] Each such computer program is preferably stored on or downloaded to a storage media or device (e.g., solid state memory or media, or magnetic or optical media) readable by a general or special purpose programmable computer, for configuring and operating the computer when the storage media or device is read by the computer system to perform the procedures described herein. The inventive system may also be considered to be implemented as a computer-readable storage medium, configured with a computer program, where the storage medium so configured causes a computer system to operate in a specific and predefined manner to perform the functions described herein. (Software per se and intangible or transitory signals are excluded to the extent that they are unpatentable subject matter.)

[0152] The above description illustrates various embodiments of the present disclosure along with examples of how aspects of the present disclosure may be implemented. The above examples and embodiments should not be deemed to be the only embodiments, and are presented to illustrate the flexibility and advantages of the present disclosure as defined by the following claims. Based on the above disclosure and the following claims, other arrangements, embodiments, implementations and equivalents will be evident to those skilled in the art and may be employed without departing from the spirit and scope of the disclosure as defined by the claims.