SlideShare a Scribd company logo
1 of 1
Download to read offline
MATERIALS
The following tools were utilized:
1. C6713 DSK –Development board with the TI C6713 DSP
2. Code Composer (CCS) IDE—IDE used for programming in C and
Assembly languages
3. MATLAB—Simulation environment that will be used to design
and test the various digital filters
4. Visual Analyzer—Serves as an oscilloscope for real-time analysis
5. Adafruit DRV2605L Haptic Motor Controller, Arduino Uno R3, and
Vibrating Mini Motor Disc—Hardware components for the beat
detector device
6. MP3 Player and headphones
AUDIO EFFECTS
 Echo - An acoustic echo is one of the simplest acoustic
modeling problems. Echoes occur when a sound arrives
via more than one acoustic propagation path (Figure 1).
This effect was implemented using a simple digital filter.
 Reverberation - This is similar to the echo effect except
the delayed path (Figure 1, path “r”) is “faded out” over
time. The effect acoustically simulates a concert hall or a
large listening space.
 Chorus - The chorus effect is any DSP which makes one
sound source (such as a voice) sound like many such
sources singing (or playing) in unison. The chorus effect
was achieved by creating a time-varying delay line which
was varied using a Low-Frequency Oscillator (LFO) which
slowly varies the delay over time.
 Head-Related Transfer Functions (HRTFs) - HRTFs are
special digital filters that characterize how the ear re-
ceives sounds which is a common method for 3D binau-
ral spatial audio (i.e., over headphones). These HRTFs
were obtained from measuring a KEMAR mannequin
with average anatomical features (i.e., MIT’s HRTF data-
base [2]). The HRTF coefficients were imported into the
CCS program which used the HRTFs to spatialize audio in
real-time (no offline processing was required). A Human
Computer Interface (HCI) was also produced that allowed
a user to move the sound source azimuthally (see Figure
2).
BEAT DETECTOR
A haptic motor controller acts as a driver for the mini disc.
The controller was connected to the DSK via an Arduino.
CCS was used to interface with the DSK (see Figure 5).
The incoming music signal is continuously sampled at 8
kHz (with a 4 kHz anti-aliasing filter on the codec) and
stored in a buffer. The buffer has 4000 points and is de-
composed into 20 chunks, each chunk consisting of 200
points. The signal energy of a smaller portion of the buff-
er - a “chunk” of the larger buffer - consisting of the most
recently collected samples is compared to the signal ener-
gy of the entire buffer. When this portion of the signal has
a significantly higher energy than the rest of the signal, it
is considered to be a beat (see Figure 7).
Embedded Real-Time Sound Effects Processing Systems
Richard Jung, Olivia Meza, Kenneth John Faller II, Ph. D
DISCUSSION
The implications of this research reach far beyond the education-
al setting. A major goal was to explore various ways in which em-
bedded real-time sound effects can be used in assistive devices,
particularly in the field of haptics technology. We successfully
created a simplistic haptic device that was able to detect low fre-
quencies from the analog audio signal output of an MP3 player.
This served as proof-of-concept that a more complex device such
as an armband can be created in a similar fashion, allowing the
user to be able to “feel” music (or even environmental surround-
ings) through tactile sensations.
ACKNOWLEDGEMENTS
Thanks to the (STEM)2
program and its partnership with Citrus
College, allowing undergraduate community college students the
opportunity to conduct research during the Summer Research
Experience of 2015. Also, much thanks and appreciation to Dr.
Kenneth John Faller II, for his guidance and supervision through-
out this experience. This work was funded by the U.S. Depart-
ment of Education - Title III Part F, Grant # P031C110116.
RESULTS
All designs of digital filters created through MATLAB’s fdatool and
incorporated into CCS projects were evaluated and compared
through Visual Analyzer and tested with output devices such as
headphones. All project implementations worked according to
their design.
INTRODUCTION
The intention for this summer experience was to provide a com-
plete view of the computer engineering curriculum through sev-
eral small projects. Digital Signal Processors (DSPs) have been an
essential component for a wide array of applications including
communications, control technology, image processing, and
speech processing. Common uses include audio signal pro-
cessing, radar/sonar, radio transmissions, digital cameras, medi-
cal imaging, and speech transmission in mobile phones [1]. There
were two main objectives for this project, to use DSP techniques
on a Texas Instruments (TI) C6713 DSP Starter Kit (DSK) to: 1) pro-
cess sound waves and generate sound effects (e.g., echo, rever-
beration, chorus, 3D audio, and equalization) in real-time, and 2)
to create a device that transform music into a multi-sensory ex-
perience. To achieve this, various digital audio filters and Human
Computer Interfaces (HCIs) were designed and implemented
which allow users to interact with the embedded system in real-
time.
Keywords—DSP, HCI, digital filters, real-time processing, audio
effects
CONCEPTS
As a naturally occurring phenomenon, sound waves are con-
stantly interacting with other objects in the environment, which
in turn alters these sounds and produce sound effects. In es-
sence, sound effects are any modified or enhanced sound. These
sound wave interactions can be modeled and simulated digitally
in a similar fashion using a computer. An echo effect is an exam-
ple of a reflected sound wave (see Figure 1).
Digital Signal Processing can be defined as the mathematical ma-
nipulation and discrete digital representation of an information
signal (such as audio analog signals). A digital filter system usual-
ly consists of an ADC to sample the input signal, followed by a
DSP and some peripheral components such as memory to store
data and filter coefficients. Finally, a DAC to complete the output
stage (see Figure 1).
Figure 1 - Model of the echo effect Figure 5 - Complete assembly of haptic device, Arduino , and DSK
Figure 6 - Vibrating Mini Motor Disc
Figure 7 - Spectrogram plot of a music sample for a beat detector
Figure 8- Design of a bandstop filter on MATLAB and matching
capture in real-time with Visual Analyzer
Figure 2 - Spatialization using HRTFs
Figure 3 - The TI C6713 DSK
METHODS
REFERENCES
[1] Chassaing, R., Digital Signal Processing and Applications with the C6713 and C6416 DSK,
vol. 16, John Wiley & Sons, 2004.
[2] B. Gardner and K. M [1]. “HRTF Measurements of a KEMAR Dummy-Head Microphone,”
Massachusetts Institute of Technology (MIT) Media Laboratory Vision and Modeling Group.
[Online]. Available: http://sound.media. mit.edu/resources/KEMAR.html. [Accessed: 08-Mar
-2014].
[3] K. Faller II, C. Nguyen, and A. Barreto, “A Hands-on Approach to Binaural Spatial Audio
Education,” ASEE Comput. Educ. J., vol. 6, no. 2, pp. 90–99, 2015.
Figure 4 - Mixed signal path through the codec

More Related Content

What's hot

Introduction to Digital Signal Processing (DSP)
Introduction  to  Digital Signal Processing (DSP)Introduction  to  Digital Signal Processing (DSP)
Introduction to Digital Signal Processing (DSP)Md. Arif Hossain
 
Practical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and TechniciansPractical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and TechniciansLiving Online
 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingJim Jenkins
 
Research perspectives in biomedical signal processing
Research perspectives in biomedical signal processingResearch perspectives in biomedical signal processing
Research perspectives in biomedical signal processingajayhakkumar
 
Introduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal ProcessingIntroduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal ProcessingDr. Shivananda Koteshwar
 
Dsp application on mobile communication
Dsp application on mobile communicationDsp application on mobile communication
Dsp application on mobile communicationKeval Patel
 
Real-Time Signal Processing: Implementation and Application
Real-Time Signal Processing:  Implementation and ApplicationReal-Time Signal Processing:  Implementation and Application
Real-Time Signal Processing: Implementation and Applicationsathish sak
 
48233737 low-power-vlsi-design
48233737 low-power-vlsi-design48233737 low-power-vlsi-design
48233737 low-power-vlsi-designpunithkumar M B
 
Fun with MATLAB
Fun with MATLABFun with MATLAB
Fun with MATLABritece
 
digital signal processing
digital signal processing digital signal processing
digital signal processing Marmik Kothari
 
Image Processing (General Topic)
Image Processing (General Topic)Image Processing (General Topic)
Image Processing (General Topic)mcc.jeppiaar
 
Image processing (Signal Processing)
Image processing (Signal Processing)Image processing (Signal Processing)
Image processing (Signal Processing)Muhammad Waqas
 
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakirMultimedia and-system-design-sound-images by zubair yaseen& yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakirUniversity of Education
 
Introduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthiaIntroduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthiaDr. Bibhu Prasad Ganthia
 
Bridging the gap between web and television
Bridging the gap between web and televisionBridging the gap between web and television
Bridging the gap between web and televisionMarius Preda PhD
 
Multimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniMultimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniSahil Punni
 

What's hot (19)

Introduction to dsp
Introduction to dspIntroduction to dsp
Introduction to dsp
 
Introduction to Digital Signal Processing (DSP)
Introduction  to  Digital Signal Processing (DSP)Introduction  to  Digital Signal Processing (DSP)
Introduction to Digital Signal Processing (DSP)
 
Practical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and TechniciansPractical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and Technicians
 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal Processing
 
Research perspectives in biomedical signal processing
Research perspectives in biomedical signal processingResearch perspectives in biomedical signal processing
Research perspectives in biomedical signal processing
 
Introduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal ProcessingIntroduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal Processing
 
Dsp application on mobile communication
Dsp application on mobile communicationDsp application on mobile communication
Dsp application on mobile communication
 
Soundpres
SoundpresSoundpres
Soundpres
 
Real-Time Signal Processing: Implementation and Application
Real-Time Signal Processing:  Implementation and ApplicationReal-Time Signal Processing:  Implementation and Application
Real-Time Signal Processing: Implementation and Application
 
48233737 low-power-vlsi-design
48233737 low-power-vlsi-design48233737 low-power-vlsi-design
48233737 low-power-vlsi-design
 
Fun with MATLAB
Fun with MATLABFun with MATLAB
Fun with MATLAB
 
digital signal processing
digital signal processing digital signal processing
digital signal processing
 
Image Processing (General Topic)
Image Processing (General Topic)Image Processing (General Topic)
Image Processing (General Topic)
 
Image processing (Signal Processing)
Image processing (Signal Processing)Image processing (Signal Processing)
Image processing (Signal Processing)
 
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakirMultimedia and-system-design-sound-images by zubair yaseen& yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakir
 
Introduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthiaIntroduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthia
 
Bridging the gap between web and television
Bridging the gap between web and televisionBridging the gap between web and television
Bridging the gap between web and television
 
Multimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniMultimedia Systems by Sahil Punni
Multimedia Systems by Sahil Punni
 
Mpeg v-awareness event
Mpeg v-awareness eventMpeg v-awareness event
Mpeg v-awareness event
 

Similar to Richard_Final_Poster

Curriculum Development of an Audio Processing Laboratory Course
Curriculum Development of an Audio Processing Laboratory CourseCurriculum Development of an Audio Processing Laboratory Course
Curriculum Development of an Audio Processing Laboratory Coursesipij
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...ijcsa
 
PSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEMPSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEMirjes
 
PSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEMPSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEMIJRES Journal
 
Rloynd ig2 t1 ws
Rloynd ig2 t1 wsRloynd ig2 t1 ws
Rloynd ig2 t1 wsrosstapher
 
Ig2 task 1 work sheet s
Ig2 task 1 work sheet sIg2 task 1 work sheet s
Ig2 task 1 work sheet sShaz Riches
 
Ig2 task 1 work sheet s
Ig2 task 1 work sheet sIg2 task 1 work sheet s
Ig2 task 1 work sheet sShaz Riches
 
Pavel_Solomein_Final_Project_2015
Pavel_Solomein_Final_Project_2015Pavel_Solomein_Final_Project_2015
Pavel_Solomein_Final_Project_2015Pavel Solomein
 
Ig2 task 1 no2
Ig2 task 1 no2Ig2 task 1 no2
Ig2 task 1 no2Kenyon101
 
Towards User-friendly Audio Creation
Towards User-friendly Audio CreationTowards User-friendly Audio Creation
Towards User-friendly Audio CreationJean Vanderdonckt
 
Ig2 task 1 work sheet lewis brady copy
Ig2 task 1 work sheet lewis brady copyIg2 task 1 work sheet lewis brady copy
Ig2 task 1 work sheet lewis brady copyLewisB2013
 
Sound recording glossary preivious
Sound recording glossary preiviousSound recording glossary preivious
Sound recording glossary preiviousPhillipWynne12281991
 
Sound recording glossary imporved version
Sound recording glossary imporved versionSound recording glossary imporved version
Sound recording glossary imporved versionAidenKelly
 

Similar to Richard_Final_Poster (20)

Curriculum Development of an Audio Processing Laboratory Course
Curriculum Development of an Audio Processing Laboratory CourseCurriculum Development of an Audio Processing Laboratory Course
Curriculum Development of an Audio Processing Laboratory Course
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
 
PSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEMPSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEM
 
PSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEMPSoC BASED SPEECH RECOGNITION SYSTEM
PSoC BASED SPEECH RECOGNITION SYSTEM
 
Rloynd ig2 t1 ws
Rloynd ig2 t1 wsRloynd ig2 t1 ws
Rloynd ig2 t1 ws
 
Dsp ppt
Dsp pptDsp ppt
Dsp ppt
 
F5242832
F5242832F5242832
F5242832
 
Ig2 task 1 work sheet s
Ig2 task 1 work sheet sIg2 task 1 work sheet s
Ig2 task 1 work sheet s
 
Ig2 task 1 work sheet s
Ig2 task 1 work sheet sIg2 task 1 work sheet s
Ig2 task 1 work sheet s
 
Pavel_Solomein_Final_Project_2015
Pavel_Solomein_Final_Project_2015Pavel_Solomein_Final_Project_2015
Pavel_Solomein_Final_Project_2015
 
poster
posterposter
poster
 
Ig2 task 1
Ig2 task 1Ig2 task 1
Ig2 task 1
 
Ig2 task 1 no2
Ig2 task 1 no2Ig2 task 1 no2
Ig2 task 1 no2
 
ECE420_Chapter+1.pptx
ECE420_Chapter+1.pptxECE420_Chapter+1.pptx
ECE420_Chapter+1.pptx
 
Ig2
Ig2Ig2
Ig2
 
Lab based report
Lab based reportLab based report
Lab based report
 
Towards User-friendly Audio Creation
Towards User-friendly Audio CreationTowards User-friendly Audio Creation
Towards User-friendly Audio Creation
 
Ig2 task 1 work sheet lewis brady copy
Ig2 task 1 work sheet lewis brady copyIg2 task 1 work sheet lewis brady copy
Ig2 task 1 work sheet lewis brady copy
 
Sound recording glossary preivious
Sound recording glossary preiviousSound recording glossary preivious
Sound recording glossary preivious
 
Sound recording glossary imporved version
Sound recording glossary imporved versionSound recording glossary imporved version
Sound recording glossary imporved version
 

Richard_Final_Poster

  • 1. MATERIALS The following tools were utilized: 1. C6713 DSK –Development board with the TI C6713 DSP 2. Code Composer (CCS) IDE—IDE used for programming in C and Assembly languages 3. MATLAB—Simulation environment that will be used to design and test the various digital filters 4. Visual Analyzer—Serves as an oscilloscope for real-time analysis 5. Adafruit DRV2605L Haptic Motor Controller, Arduino Uno R3, and Vibrating Mini Motor Disc—Hardware components for the beat detector device 6. MP3 Player and headphones AUDIO EFFECTS  Echo - An acoustic echo is one of the simplest acoustic modeling problems. Echoes occur when a sound arrives via more than one acoustic propagation path (Figure 1). This effect was implemented using a simple digital filter.  Reverberation - This is similar to the echo effect except the delayed path (Figure 1, path “r”) is “faded out” over time. The effect acoustically simulates a concert hall or a large listening space.  Chorus - The chorus effect is any DSP which makes one sound source (such as a voice) sound like many such sources singing (or playing) in unison. The chorus effect was achieved by creating a time-varying delay line which was varied using a Low-Frequency Oscillator (LFO) which slowly varies the delay over time.  Head-Related Transfer Functions (HRTFs) - HRTFs are special digital filters that characterize how the ear re- ceives sounds which is a common method for 3D binau- ral spatial audio (i.e., over headphones). These HRTFs were obtained from measuring a KEMAR mannequin with average anatomical features (i.e., MIT’s HRTF data- base [2]). The HRTF coefficients were imported into the CCS program which used the HRTFs to spatialize audio in real-time (no offline processing was required). A Human Computer Interface (HCI) was also produced that allowed a user to move the sound source azimuthally (see Figure 2). BEAT DETECTOR A haptic motor controller acts as a driver for the mini disc. The controller was connected to the DSK via an Arduino. CCS was used to interface with the DSK (see Figure 5). The incoming music signal is continuously sampled at 8 kHz (with a 4 kHz anti-aliasing filter on the codec) and stored in a buffer. The buffer has 4000 points and is de- composed into 20 chunks, each chunk consisting of 200 points. The signal energy of a smaller portion of the buff- er - a “chunk” of the larger buffer - consisting of the most recently collected samples is compared to the signal ener- gy of the entire buffer. When this portion of the signal has a significantly higher energy than the rest of the signal, it is considered to be a beat (see Figure 7). Embedded Real-Time Sound Effects Processing Systems Richard Jung, Olivia Meza, Kenneth John Faller II, Ph. D DISCUSSION The implications of this research reach far beyond the education- al setting. A major goal was to explore various ways in which em- bedded real-time sound effects can be used in assistive devices, particularly in the field of haptics technology. We successfully created a simplistic haptic device that was able to detect low fre- quencies from the analog audio signal output of an MP3 player. This served as proof-of-concept that a more complex device such as an armband can be created in a similar fashion, allowing the user to be able to “feel” music (or even environmental surround- ings) through tactile sensations. ACKNOWLEDGEMENTS Thanks to the (STEM)2 program and its partnership with Citrus College, allowing undergraduate community college students the opportunity to conduct research during the Summer Research Experience of 2015. Also, much thanks and appreciation to Dr. Kenneth John Faller II, for his guidance and supervision through- out this experience. This work was funded by the U.S. Depart- ment of Education - Title III Part F, Grant # P031C110116. RESULTS All designs of digital filters created through MATLAB’s fdatool and incorporated into CCS projects were evaluated and compared through Visual Analyzer and tested with output devices such as headphones. All project implementations worked according to their design. INTRODUCTION The intention for this summer experience was to provide a com- plete view of the computer engineering curriculum through sev- eral small projects. Digital Signal Processors (DSPs) have been an essential component for a wide array of applications including communications, control technology, image processing, and speech processing. Common uses include audio signal pro- cessing, radar/sonar, radio transmissions, digital cameras, medi- cal imaging, and speech transmission in mobile phones [1]. There were two main objectives for this project, to use DSP techniques on a Texas Instruments (TI) C6713 DSP Starter Kit (DSK) to: 1) pro- cess sound waves and generate sound effects (e.g., echo, rever- beration, chorus, 3D audio, and equalization) in real-time, and 2) to create a device that transform music into a multi-sensory ex- perience. To achieve this, various digital audio filters and Human Computer Interfaces (HCIs) were designed and implemented which allow users to interact with the embedded system in real- time. Keywords—DSP, HCI, digital filters, real-time processing, audio effects CONCEPTS As a naturally occurring phenomenon, sound waves are con- stantly interacting with other objects in the environment, which in turn alters these sounds and produce sound effects. In es- sence, sound effects are any modified or enhanced sound. These sound wave interactions can be modeled and simulated digitally in a similar fashion using a computer. An echo effect is an exam- ple of a reflected sound wave (see Figure 1). Digital Signal Processing can be defined as the mathematical ma- nipulation and discrete digital representation of an information signal (such as audio analog signals). A digital filter system usual- ly consists of an ADC to sample the input signal, followed by a DSP and some peripheral components such as memory to store data and filter coefficients. Finally, a DAC to complete the output stage (see Figure 1). Figure 1 - Model of the echo effect Figure 5 - Complete assembly of haptic device, Arduino , and DSK Figure 6 - Vibrating Mini Motor Disc Figure 7 - Spectrogram plot of a music sample for a beat detector Figure 8- Design of a bandstop filter on MATLAB and matching capture in real-time with Visual Analyzer Figure 2 - Spatialization using HRTFs Figure 3 - The TI C6713 DSK METHODS REFERENCES [1] Chassaing, R., Digital Signal Processing and Applications with the C6713 and C6416 DSK, vol. 16, John Wiley & Sons, 2004. [2] B. Gardner and K. M [1]. “HRTF Measurements of a KEMAR Dummy-Head Microphone,” Massachusetts Institute of Technology (MIT) Media Laboratory Vision and Modeling Group. [Online]. Available: http://sound.media. mit.edu/resources/KEMAR.html. [Accessed: 08-Mar -2014]. [3] K. Faller II, C. Nguyen, and A. Barreto, “A Hands-on Approach to Binaural Spatial Audio Education,” ASEE Comput. Educ. J., vol. 6, no. 2, pp. 90–99, 2015. Figure 4 - Mixed signal path through the codec