SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
Lab No.05

Signal Operations applied
to an audio signal

Designed by : Dawar Awan
dawar@cecos.edu.pk
CECOS College of Engineering and IT

March – July 2012
Audio in MATLAB
 Reading a Saved wav file
>> variablename=waveread(‘filename’)
 Reading a 2sec chunk of mic’s sound into MATLAB

 Playing back a wav file

CECOS College of Engineering and IT

March – July 2012
Signal Operations
 Delay of 10000 samples

CECOS College of Engineering and IT

March – July 2012
Signal operations
 Time reversed signal

CECOS College of Engineering and IT

March – July 2012
Signal operations
 Amplitude scaling

CECOS College of Engineering and IT

March – July 2012
Signal operations
 Adding an extra tone to the audio signal

CECOS College of Engineering and IT

March – July 2012
Signal operations
 Down sampling the audio signal by a factor of 3

CECOS College of Engineering and IT

March – July 2012
Signal Operations
 Changing the samples per second send to sound card

CECOS College of Engineering and IT

March – July 2012
Task
1. Write a MATLAB code that adds echo to an audio signal.
hint: An echo effect can be created by adding the original signal to its
delayed version.

CECOS College of Engineering and IT

March – July 2012

Contenu connexe

Tendances

Modeling Style and Delay Model of VHDL By Ap
Modeling Style and Delay Model of VHDL By ApModeling Style and Delay Model of VHDL By Ap
Modeling Style and Delay Model of VHDL By ApEr. Ashish Pandey
 
Convolution using Scilab
Convolution using ScilabConvolution using Scilab
Convolution using Scilabsachin achari
 
K neareast neighbor algorithm presentation
K neareast neighbor algorithm presentationK neareast neighbor algorithm presentation
K neareast neighbor algorithm presentationShiraz316
 
Linear programming assignment help
Linear programming assignment helpLinear programming assignment help
Linear programming assignment helpStatistics Help Desk
 
Profiling Java Programs for Parallelism
Profiling Java Programs for ParallelismProfiling Java Programs for Parallelism
Profiling Java Programs for ParallelismDmitry Anisimov
 
Energy of Certain Planar Graphs
Energy of Certain Planar GraphsEnergy of Certain Planar Graphs
Energy of Certain Planar Graphsijcoa
 
Java parallel programming made simple
Java parallel programming made simpleJava parallel programming made simple
Java parallel programming made simpleAteji Px
 
Wireless Sensor Network Simulation using matlab Iintroductory presenatation
Wireless Sensor Network Simulation using matlab Iintroductory presenatationWireless Sensor Network Simulation using matlab Iintroductory presenatation
Wireless Sensor Network Simulation using matlab Iintroductory presenatationvicky pandhare
 

Tendances (11)

00454
0045400454
00454
 
Modeling Style and Delay Model of VHDL By Ap
Modeling Style and Delay Model of VHDL By ApModeling Style and Delay Model of VHDL By Ap
Modeling Style and Delay Model of VHDL By Ap
 
Convolution using Scilab
Convolution using ScilabConvolution using Scilab
Convolution using Scilab
 
Xi practical file
Xi practical fileXi practical file
Xi practical file
 
K neareast neighbor algorithm presentation
K neareast neighbor algorithm presentationK neareast neighbor algorithm presentation
K neareast neighbor algorithm presentation
 
Linear programming assignment help
Linear programming assignment helpLinear programming assignment help
Linear programming assignment help
 
Profiling Java Programs for Parallelism
Profiling Java Programs for ParallelismProfiling Java Programs for Parallelism
Profiling Java Programs for Parallelism
 
Energy of Certain Planar Graphs
Energy of Certain Planar GraphsEnergy of Certain Planar Graphs
Energy of Certain Planar Graphs
 
VHDL Encryption
VHDL EncryptionVHDL Encryption
VHDL Encryption
 
Java parallel programming made simple
Java parallel programming made simpleJava parallel programming made simple
Java parallel programming made simple
 
Wireless Sensor Network Simulation using matlab Iintroductory presenatation
Wireless Sensor Network Simulation using matlab Iintroductory presenatationWireless Sensor Network Simulation using matlab Iintroductory presenatation
Wireless Sensor Network Simulation using matlab Iintroductory presenatation
 

En vedette (10)

matab no9
matab no9matab no9
matab no9
 
matab no4
matab no4matab no4
matab no4
 
Lab no.08
Lab no.08Lab no.08
Lab no.08
 
communication system Chapter 5
communication system Chapter 5communication system Chapter 5
communication system Chapter 5
 
communication system Chapter 6
communication system Chapter 6communication system Chapter 6
communication system Chapter 6
 
communication system ch1
communication system ch1communication system ch1
communication system ch1
 
Lab no.07
Lab no.07Lab no.07
Lab no.07
 
communication system Chapter 3
communication system Chapter 3communication system Chapter 3
communication system Chapter 3
 
communication system Chapter 4
communication system Chapter 4communication system Chapter 4
communication system Chapter 4
 
communication system Chapter 2
communication system Chapter 2communication system Chapter 2
communication system Chapter 2
 

Similaire à Lab no.06 (20)

Mini Project- Audio Enhancement
Mini Project- Audio EnhancementMini Project- Audio Enhancement
Mini Project- Audio Enhancement
 
Miniproject audioenhancement-100223094301-phpapp02
Miniproject audioenhancement-100223094301-phpapp02Miniproject audioenhancement-100223094301-phpapp02
Miniproject audioenhancement-100223094301-phpapp02
 
MarkGill_Resume
MarkGill_ResumeMarkGill_Resume
MarkGill_Resume
 
CV-January 2017
CV-January 2017CV-January 2017
CV-January 2017
 
resume
resumeresume
resume
 
resume_2.24.15
resume_2.24.15resume_2.24.15
resume_2.24.15
 
Lecture transcription
Lecture transcriptionLecture transcription
Lecture transcription
 
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
 
心理影响.ppt
心理影响.ppt心理影响.ppt
心理影响.ppt
 
Dr G S Javed - Research and Academic Introduction
Dr G S Javed - Research and Academic IntroductionDr G S Javed - Research and Academic Introduction
Dr G S Javed - Research and Academic Introduction
 
Ben ce sound recording glossary version 2
Ben ce sound recording glossary version 2Ben ce sound recording glossary version 2
Ben ce sound recording glossary version 2
 
Resume
ResumeResume
Resume
 
Resume
ResumeResume
Resume
 
Soumya_V
Soumya_VSoumya_V
Soumya_V
 
satish real
satish realsatish real
satish real
 
Digital TV
Digital TVDigital TV
Digital TV
 
prasadcv
prasadcvprasadcv
prasadcv
 
11607737capstone5
11607737capstone511607737capstone5
11607737capstone5
 
Audio-1
Audio-1Audio-1
Audio-1
 
Audio
AudioAudio
Audio
 

Lab no.06

  • 1. Lab No.05 Signal Operations applied to an audio signal Designed by : Dawar Awan dawar@cecos.edu.pk CECOS College of Engineering and IT March – July 2012
  • 2. Audio in MATLAB  Reading a Saved wav file >> variablename=waveread(‘filename’)  Reading a 2sec chunk of mic’s sound into MATLAB  Playing back a wav file CECOS College of Engineering and IT March – July 2012
  • 3. Signal Operations  Delay of 10000 samples CECOS College of Engineering and IT March – July 2012
  • 4. Signal operations  Time reversed signal CECOS College of Engineering and IT March – July 2012
  • 5. Signal operations  Amplitude scaling CECOS College of Engineering and IT March – July 2012
  • 6. Signal operations  Adding an extra tone to the audio signal CECOS College of Engineering and IT March – July 2012
  • 7. Signal operations  Down sampling the audio signal by a factor of 3 CECOS College of Engineering and IT March – July 2012
  • 8. Signal Operations  Changing the samples per second send to sound card CECOS College of Engineering and IT March – July 2012
  • 9. Task 1. Write a MATLAB code that adds echo to an audio signal. hint: An echo effect can be created by adding the original signal to its delayed version. CECOS College of Engineering and IT March – July 2012