![Page 1: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/1.jpg)
ElectronicsElectronics
Principles & ApplicationsPrinciples & ApplicationsEighth EditionEighth Edition
DSP Audio Examples(Ch. 16 supplement)
Charles A. Schuler
McGraw-Hill©2013 by The McGraw-Hill Companies, Inc. All rights
reserved
![Page 2: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/2.jpg)
Square wave before filtering
![Page 3: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/3.jpg)
Square wave after low-pass filter
![Page 4: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/4.jpg)
The GoldWave Device Controls panel
Spectrum(1 kHz square wave)
Spectrum(1 kHz sine wave)
![Page 5: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/5.jpg)
HPF(2.7 kHz)
LPF(500 Hz)
400 HzSquarewave
Filtered wave(sine)
Audio example (square wave and filters)
Click the speaker icons to hear the sounds.
The low-pass filter attenuates all harmonicshigher than the 1st (the fundamental).
Filtered wave
The high-pass filter passes the 7th harmonicand all those above.
BPF(2.0 kHz)
Filtered wave(sine)
The band-pass filter passes the 5th harmonic
![Page 6: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/6.jpg)
LPF(2 kHz)
Voice Filtered Voice
Audio example (voice and low-pass filter)
![Page 7: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/7.jpg)
HPF(500 Hz)
Voice Filtered Voice
Audio example (voice and high-pass filter)
![Page 8: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/8.jpg)
BPF0.5 - 2kHz
Voice Filtered Voice
Audio example (voice and band-pass filter)
![Page 9: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/9.jpg)
Voice Voice with echo
Audio example (echo effect)
An echo effect is created by addingdelayed samples to the original signal.
Delay Delay
![Page 10: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/10.jpg)
ReverseVoice Reversed Voice
Audio example (voice and reverse effect)
The reverse effect flips the end ofthe sampled signal with the beginning
(thus it plays backwards).
![Page 11: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/11.jpg)
Voice
Noise
Voice + Noise
Audio example (voice + noise)
LPF(2 kHz)
The noise is broad band and a LPF only helps a little.
![Page 12: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/12.jpg)
The importance of signal-to-noise ratio
Very poor
Very good
![Page 13: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/13.jpg)
Voice
Clicks
Voice + Clicks
Audio example (voice + clicks)
ClickDSP
The removal of clicks with DSP works very well.
![Page 14: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/14.jpg)
BSF(1 kHz)
Voice
1 kHz sine
Voice + 1 kHz sine
Audio example (voice + 1 kHz sine)
The removal of an interfering tone with a band-stopfilter works very well but there is some ringing.
![Page 15: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/15.jpg)
Pitchhigher
Voice Altered Voice
Audio example (voice and special effects)
Pitchlower Altered Voice
The pitch is changed by clocking the datato the D/A converter at a faster or slower rate.
![Page 16: Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,](https://reader035.vdocuments.site/reader035/viewer/2022062305/5697c0261a28abf838cd5bc4/html5/thumbnails/16.jpg)
SE #1400 Hz
square wave
Audio example (400 Hz square wave and special effects)
SE #2
SE #3
SE #4
If you can imagine it, DSP can probably do it!