22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

484 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

""" ::><br />

"-<br />

;;;:<br />

1.0<br />

• • •<br />

0.8 • • •<br />

0.6<br />

• • •<br />

0.4<br />

0.2<br />

• •<br />

•<br />

0 • •<br />

-0.2<br />

-0.4<br />

• •<br />

-0.6 • •<br />

-0.8 • •<br />

-1.0 • • •<br />

6.0 • • • •<br />

5.6 • •<br />

4.0<br />

• •<br />

::> """ 3.0<br />

• •<br />

"- • •<br />

""" ::> 2.0<br />

0 • • •<br />

1.0<br />

• • •<br />

0 • • •<br />

-1.0<br />

Ie)<br />

""" ::><br />

"-<br />

z<br />

6.0<br />

1.0 5.0<br />

• • • •<br />

0.8 4.0<br />

0.6 ::> """ 3.0<br />

• • • • a..<br />

•<br />

• •<br />

• •<br />

• •<br />

0.4 ::> """ 2.0<br />

0<br />

0.2 1.0 • • •<br />

• • •<br />

0 0<br />

-1.0<br />

•<br />

- -0.2<br />

-0.4<br />

-0.6 • •<br />

-0.8<br />

-1.0 •<br />

(0)<br />

Fig. 14-2. Filtering action <strong>of</strong> a digital integrator (cont.). (C) Graphs for Fig.<br />

14-2 (A). (D) Graphs for Fig. 14-2 (8).<br />

Therefore, inasmuch as an integrator is a type <strong>of</strong> analog low-pass filter, an<br />

accumulator is a type <strong>of</strong> digital low-pass filter.<br />

As an example, consider the tables and plots <strong>of</strong> Fig. 14-2. A digital<br />

integrator is implemented by simply adding input samples to an accumulator<br />

and providing output samples that are the present content <strong>of</strong> the accumulator.<br />

As an experiment, two different strings <strong>of</strong> sine wave samples are<br />

tried. The first string represents a sine wave with a frequency 1/20 <strong>of</strong> the<br />

sample rate, while the second string has a frequency <strong>of</strong> 1/10 Fs. The<br />

amplitudes <strong>of</strong> both input waves are identical. The resulting tables and graphs<br />

give the response <strong>of</strong> the digital integrator to these strings <strong>of</strong> samples. Note<br />

that the lower frequency wave comes out with approximately twice the<br />

amplitude <strong>of</strong> the higher-frequency wave. Also note that the output wave lags

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

Saved successfully!

Ooh no, something went wrong!