<< 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

how to study physic and understand
Ewa Reply
what is conservative force with examples
Moses
what is work
Fredrick Reply
the transfer of energy by a force that causes an object to be displaced; the product of the component of the force in the direction of the displacement and the magnitude of the displacement
AI-Robot
why is it from light to gravity
Esther Reply
difference between model and theory
Esther
Is the ship moving at a constant velocity?
Kamogelo Reply
The full note of modern physics
aluet Reply
introduction to applications of nuclear physics
aluet Reply
the explanation is not in full details
Moses Reply
I need more explanation or all about kinematics
Moses
yes
zephaniah
I need more explanation or all about nuclear physics
aluet
Show that the equal masses particles emarge from collision at right angle by making explicit used of fact that momentum is a vector quantity
Muhammad Reply
yh
Isaac
A wave is described by the function D(x,t)=(1.6cm) sin[(1.2cm^-1(x+6.8cm/st] what are:a.Amplitude b. wavelength c. wave number d. frequency e. period f. velocity of speed.
Majok Reply
what is frontier of physics
Somto Reply
A body is projected upward at an angle 45° 18minutes with the horizontal with an initial speed of 40km per second. In hoe many seconds will the body reach the ground then how far from the point of projection will it strike. At what angle will the horizontal will strike
Gufraan Reply
Suppose hydrogen and oxygen are diffusing through air. A small amount of each is released simultaneously. How much time passes before the hydrogen is 1.00 s ahead of the oxygen? Such differences in arrival times are used as an analytical tool in gas chromatography.
Ezekiel Reply
please explain
Samuel
what's the definition of physics
Mobolaji Reply
what is physics
Nangun Reply
the science concerned with describing the interactions of energy, matter, space, and time; it is especially interested in what fundamental mechanisms underlie every phenomenon
AI-Robot
what is isotopes
Nangun Reply
nuclei having the same Z and different N s
AI-Robot
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