<< Chapter < Page
  From matlab and simulink to real     Page 1 / 3
Chapter >> Page >
This module shows how to implement the echo and reverberation effects using the DSK6713. The effects are simulated using Simulink. Those simualtion models are used to generate the DSP code for the real-time implementation.

Introduction

Echo and Reverberation are two of the simplest applications of Digital Signal Processing (DSP). This laboratory shows how models of Echo and Reverberation can be designed using MATLAB and Simulink, and run them in real-time on the Texas Instruments C6000 DSPs.

Objectives

  • Design models of Echo and Reverberation for the Texas Instruments C6000 family of DSP devices using MATLAB® and Simulink®.
  • Modify an existing Simulink model.
  • Run the model in real-time on the Texas Instruments C6713 DSK.

Level

Beginner - Assumes only very basic knowledge of MATLAB and Simulink. It is suitable for students with limited knowledge of Texas Instruments DSPs.

Hardware and software requirements

This laboratory was originally developed using the following hardware and software:

  • MATLAB R2006b with Embedded Target for TI C6000.
  • Code Composer Studio (CCS) v3.1
  • Texas Instruments C6713 DSK hardware
  • Microphone and computer loudspeakers/headphones

Simulation

We shall start by running the Echo and Reverberation Simulink models. These use .wav files as the inputs.

Echo using wave file

From MATLAB, open EchoUsingWav.mdl

Echo using .wav File

Changing the delay time

Double-click on the “Delay” block and change the “Delay (samples)” to a different value.

Changing the Delay Time

Run the model and hear how the effect has changed. Try a few different settings between 100 and 20000 “Delay (samples)”.

Reverberation using wave file

From MATLAB, open ReverberationUsingWav.mdl

Reverberaton Using .wav File

Changing the delay time

Double-click on the “Delay” block. Change the “Delay (samples)” to a different value then run the model and listen to the effect.

Changing the gain

Double-click on the “Gain” block. Change the “Gain” to 0.95 then run the model. Listen to the effect.

Changing the Reverberation Gain

Questions

  • Why does Reverberation require a shorter delay time than echo?
  • What effect does the “Gain” block have on the stability of the reverberation system?

Real-time model for ti c6713 dsk

Texas instruments c6713 dsk setup

Texas Instruments C6713 DSK Setup

Alternatively, you can use computer loudspeakers.

Connect the C6713 hardware to a USB port of the computer and turn on the supply to the board.

If the board is powered, then the green LED lights on the board will come on during self-test.

Starting code composer studio

The stages required to implement Echo and Reverberation are now described.

Starting code composer studio

Start Code Composer Studio for C6713 DSK and use Debug ->Connect

Questions & Answers

what is mutation
Janga Reply
what is a cell
Sifune Reply
how is urine form
Sifune
what is antagonism?
mahase Reply
classification of plants, gymnosperm features.
Linsy Reply
what is the features of gymnosperm
Linsy
how many types of solid did we have
Samuel Reply
what is an ionic bond
Samuel
What is Atoms
Daprince Reply
what is fallopian tube
Merolyn
what is bladder
Merolyn
what's bulbourethral gland
Eduek Reply
urine is formed in the nephron of the renal medulla in the kidney. It starts from filtration, then selective reabsorption and finally secretion
onuoha Reply
State the evolution relation and relevance between endoplasmic reticulum and cytoskeleton as it relates to cell.
Jeremiah
what is heart
Konadu Reply
how is urine formed in human
Konadu
how is urine formed in human
Rahma
what is the diference between a cavity and a canal
Pelagie Reply
what is the causative agent of malaria
Diamond
malaria is caused by an insect called mosquito.
Naomi
Malaria is cause by female anopheles mosquito
Isaac
Malaria is caused by plasmodium Female anopheles mosquitoe is d carrier
Olalekan
a canal is more needed in a root but a cavity is a bad effect
Commander
what are pathogens
Don Reply
In biology, a pathogen (Greek: πάθος pathos "suffering", "passion" and -γενής -genēs "producer of") in the oldest and broadest sense, is anything that can produce disease. A pathogen may also be referred to as an infectious agent, or simply a germ. The term pathogen came into use in the 1880s.[1][2
Zainab
A virus
Commander
Definition of respiration
Muhsin Reply
respiration is the process in which we breath in oxygen and breath out carbon dioxide
Achor
how are lungs work
Commander
where does digestion begins
Achiri Reply
in the mouth
EZEKIEL
what are the functions of follicle stimulating harmones?
Rashima Reply
stimulates the follicle to release the mature ovum into the oviduct
Davonte
what are the functions of Endocrine and pituitary gland
Chinaza
endocrine secrete hormone and regulate body process
Achor
while pituitary gland is an example of endocrine system and it's found in the Brain
Achor
what's biology?
Egbodo Reply
Biology is the study of living organisms, divided into many specialized field that cover their morphology, physiology,anatomy, behaviour,origin and distribution.
Lisah
biology is the study of life.
Alfreda
Biology is the study of how living organisms live and survive in a specific environment
Sifune
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, From matlab and simulink to real-time with ti dsp's. OpenStax CNX. Jun 08, 2009 Download for free at http://cnx.org/content/col10713/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'From matlab and simulink to real-time with ti dsp's' conversation and receive update notifications?

Ask