<< 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 do you get the 2/50
Abba Reply
number of sport play by 50 student construct discrete data
Aminu Reply
width of the frangebany leaves on how to write a introduction
Theresa Reply
Solve the mean of variance
Veronica Reply
Step 1: Find the mean. To find the mean, add up all the scores, then divide them by the number of scores. ... Step 2: Find each score's deviation from the mean. ... Step 3: Square each deviation from the mean. ... Step 4: Find the sum of squares. ... Step 5: Divide the sum of squares by n – 1 or N.
kenneth
what is error
Yakuba Reply
Is mistake done to something
Vutshila
Hy
anas
hy
What is the life teble
anas
hy
Jibrin
statistics is the analyzing of data
Tajudeen Reply
what is statics?
Zelalem Reply
how do you calculate mean
Gloria Reply
diveving the sum if all values
Shaynaynay
let A1,A2 and A3 events be independent,show that (A1)^c, (A2)^c and (A3)^c are independent?
Fisaye Reply
what is statistics
Akhisani Reply
data collected all over the world
Shaynaynay
construct a less than and more than table
Imad Reply
The sample of 16 students is taken. The average age in the sample was 22 years with astandard deviation of 6 years. Construct a 95% confidence interval for the age of the population.
Aschalew Reply
Bhartdarshan' is an internet-based travel agency wherein customer can see videos of the cities they plant to visit. The number of hits daily is a normally distributed random variable with a mean of 10,000 and a standard deviation of 2,400 a. what is the probability of getting more than 12,000 hits? b. what is the probability of getting fewer than 9,000 hits?
Akshay Reply
Bhartdarshan'is an internet-based travel agency wherein customer can see videos of the cities they plan to visit. The number of hits daily is a normally distributed random variable with a mean of 10,000 and a standard deviation of 2,400. a. What is the probability of getting more than 12,000 hits
Akshay
1
Bright
Sorry i want to learn more about this question
Bright
Someone help
Bright
a= 0.20233 b=0.3384
Sufiyan
a
Shaynaynay
How do I interpret level of significance?
Mohd Reply
It depends on your business problem or in Machine Learning you could use ROC- AUC cruve to decide the threshold value
Shivam
how skewness and kurtosis are used in statistics
Owen Reply
yes what is it
Taneeya
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