ALIASING CANCELLATION IN AUDIO EFFECTS ALGORITHMS

Abstract: A method for effecting aliasing cancellation in an audio effects algorithm using a delay modulated signal, derived from interpolation of a delay modulator at an instantaneous sampling frequency, including: determining the instantaneous sampling frequency 1/Tisf and band limiting an input signal, to which the audio effects algorithm is to be applied, to 1/2 Tisf prior to interpolation.

Description: ALIASING CANCELLATION IN AUDIO EFFECTS ALGORITHMS Field nf the Invention This invention is applicable in the field of Digital Audio Processing and, in panicular, to aliasing cancellation in an audio effects algorithm. Back-ground nf the Invention Audio effects such as delay, echo, reverberation, flanging and chorus are indispensable in music production and performance. Most of these effects today are implemented using digital signal processors. The modulating delay line forms the basis of many of these standard audio effects. The "dry" input is mixed with the effect signal, which is usually a linear function of the modulating delay. Delay modulators introduce interpolation and aliasing artifacts. Previously, DSP processors were limited in their processing power and so it was understandable that algorithms made no extra effort to correct such errors. However, today, processing power is becoming lesser and lesser the limiting factoi. In such a setting it is important that high quality be achieved by removing all artifacts and distortion. The present invention seeks to cancel aliasing in audio effects algorithms. Summary of the Invention In accordance with the present invention, there is provided a method for effecting aliasing cancellation in an audio effects algorithm using a delay modulated signal, derived from interpolation of a delay modulator at an instantaneous sampling frequency, including: determining the instantaneous sampling frequency 1/T^; and band limiting an input signal, to which the audio effects algorithm is to be applied, to V4 T lr/ prior to interpolation. Preferably, the delay modulated signal of a sampled version x[n] of the band limited analogue signal x(t) is expressed as where n = integer D = maximum delay 0 = oscillating frequency of the delay modulator; and , = 1 /sampling frequency. Preferably .interpolation of the delay modulated signal y[n] is computed using n' = INT(n+D 2sin(wjι)) Δt = ln^D 2sin(w 0 n)]T 1 - n'T t . Preferably, the instantaneous sampling frequency, for a generalised modulating function g(n) is derived from T^[l+g(n) - g(p.~ϊ)]T t . Detailed Description of a Preferred Embodiment Consider a uniformly sampled version x[n] of the bandlimited analog signal x(t). A single reflection or echo of the signal can be implemented by the following filter, which adds to the direct signal a delayed copy of itself y[n] = ax[n] + (l - a) * xin + d(n)], l > α > 0 (1) For echo the delay d(n) ■ = D, which essentially means that delay is constant. Note that although the equation (1) is nonca sal the actual system can be made causal by adding an ©vera-tWelay, More interesting audio effects, such as flanging, chorus and reverberation can be created by allowing the delay d(n) to vary in time e.g. d(n) = D/2 sin(w 0 τϊ) . Therefore, the delay keeps oscillating between -D 2 and D/2, about the centre point For the simple implementations of (1) the effect is like two singers - the lead singer sings normally while the Other singer keeps racing up and down. Consider the delay modulator (also known as vibrato) y(n) — x[n + d(n)] in (1). It essentially attempts to perform non-uniform sampling of the signal x t) i.e. y[ή] = x({n + D/2 * n(w β n)}T M ) Since the only information about x(t) that is available to the system is that of values at discrete times n t some form of interpolation is required to compute y[n]. The simplest approach is to use linear, cubic or lagrange interpolation n' =: INT(n+D 2sin(wjι)) and Δt = ln+D/2sin(w g n)]T t - n'T t What these interpolation methods overlook is the aliasing resulting from sampling below the Nyquist limit. Consider the instantaneous sampling frequency 17T, at time nT, + Δi Ti f f = {n +D/2 sin(w 0 n)}T s - {n - 1 +D/2 sin(w 0 (n - l)}^ To remove aliasing errors from the interpolated signal, the signal x[n] should be first bandlimited to 1 2T V . The interpolation and filtering however can be combined into one operation by using the analog reconstruction filter model. We now show how this is possible. We know from sampling theorem that the signal χ(t), bandlimited to F/2, can be reconstructed from its samples xinT as x{t) = VFs i ∑ Since the new sampling frequency is F^= 1 T^ (and if F^ < F the limit in the above equation should be changed accordingly, thus leading to x tø = 1 Λ 2 [∑ *ln)e-* MF ' dF Upon simplification the above Eq leads to Finally, the summation must be limited to a finite range, for practical implementation. Therefore y[n] = X c {n'T s + At), evaluated by considering 2N+1 sample points (x[nj) about nTs, is equivalent to y[n) = ∑ x[n f - k)\ ^^^ j In the above example the modulating function was the sinusoidal sin v 0 rt. If a general modulating function g(n) is used the above formulation still works with the definition of the instantaneous sampling frequency as (/ T^) as 7 = (1 + g(n) — g(n — 1)]7_

Claims: THE CLAIMS DEFINING THE INVENTION ARE AS FOLLOWS: 1. A method for effecting aliasing cancellation in an audio effects algorithm using a delay modulated signal, derived from interpolation of a delay modulator at an instantaneous sampling frequency, including: determining the instantaneous sampling frequency H ^ and band limiting an input signal, to which the audio effects algorithm is to be applied, to V_ T^ prior to interpolation. 2. A method as claimed in claim 1, wherein the delay modulated signal of a sampled version x[n] of the band limited analogue signal x(t) is expressed as where n = integer D = maximum delay W„= oscillating frequency of the delay modulator; and T t — 1 /sampling frequency. 3. A method as claimed in claim 2, wherein interpolation of the delay modulated signal y[n] is computed using , . -rsin (it__-Ar f );r u ]l n' - INT(n+D 2sin(w g n)) 4. A method as claimed in any one of claims 1 to 3, wherein the instantaneous sampling frequency, for a generalised modulating function g(n) is derived from T uf = [l +g(n) - g(n-l)]T r

Inventors: ABSAR MOHAMMED JAVED, ALVAREZ-TINOCO ANTONIO MARIO, GEORGE SAPNA, ABSAR, MOHAMMED, JAVED, ALVAREZ-TINOCO, ANTONIO, MARIO, GEORGE, SAPNA
Applicants: ABSAR MOHAMMED JAVED, ALVAREZ TINOCO ANTONIO MARIO, GEORGE SAPNA, ST MICROELECTRONICS ASIA, ABSAR, MOHAMMED, JAVED, ALVAREZ-TINOCO, ANTONIO, MARIO, GEORGE, SAPNA, STMICROELECTRONICS ASIA PACIFIC PTE LTD
Application year: 1999
Main classification: G10H1
IPC codes: G10H1, G10H7