17.01.2015 Views

Basic Digital Audio Effects

Basic Digital Audio Effects

Basic Digital Audio Effects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Fractional Delay Line - Interpolation<br />

• To improve effect we can use some form of interpolation to<br />

compute the output, y(n).<br />

– Above uses Linear Interpolation<br />

or:<br />

y(n,1)=Delayline(i+1)*frac+Delayline(i)*(1-frac);<br />

CM0268<br />

MATLAB<br />

DSP<br />

GRAPHICS<br />

381<br />

y(n) = x(n − (M + 1)).frac + x(n − M).(1 − frac)<br />

– Alternatives (commented in code)<br />

%---Allpass Interpolation------------------------------<br />

%y(n,1)=(Delayline(i+1)+(1-frac)*Delayline(i)-...<br />

(1-frac)*ya_alt);<br />

%ya_alt=y(n,1);<br />

1<br />

or:<br />

y(n) = x(n − (M + 1)).frac + x(n − M).(1 − frac) −<br />

y(n − 1).(1 − frac)<br />

– or spline based interpolation — see DAFX book p68-69.<br />

◭◭<br />

◮◮<br />

◭<br />

◮<br />

Back<br />

Close

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!