<< Chapter < Page
  From matlab and simulink to real     Page 2 / 3
Chapter >> Page >
Startup Screen for Code Composer Studio (CCS)

Opening an existing model

Start MATLAB 7.3.0 R2006b

In the top left hand corner of the MATLAB screen, select File ->Open.

Opening an Existing Model(CCS)

The following screen will appear.

Selecting an Existing Model

Highlight “C6713_Audio_Template” then click on “Open”.

Viewing the “c6713 audio template”

The “C6713_Audio_Template” is now displayed.

The C6713 DSK Audio Template>

Overview of the complete echo subsystem

You are now going to implement the Echo Subsystem shown below.

The Complete Echo Subsytem

Implementing the echo subsystem

Double click on the “Effect 1” subsystem block. An empty model will appear.

The Blank “Effect 1” Subsystem

You will now drag-and-drop some library components onto the model.

Select View ->Library Browser. Expand the “Simulink” section.

A list of available blocks will appear. We are initially interested in the “Commonly Used Blocks”.

Commonly Used Blocks

From “Commonly Used Blocks”, drag-and-drop a ”Gain” block, a “Sum” block and two “Data Type Conversion” blocks onto the model.

From the Simulink Library Browser, select “Discrete”. Highlight “Integer Delay” and drag-and-drop this block onto the model.


Setting the integer delay time

The delay time will be 0.5 seconds. Using a sampling rate of 8000 Hz, this requires 8000 x 0.5 = 4000 samples. In the equation given in the lecture, this would make N = 4000.

Double click on the “Integer Delay” block. Change the “Number of delays” field to 4000, then click on “OK”.

Setting the Integer Delay Time

Setting the output data conversion to single

We want to set the gain to 0.9. If you multiply an integer value by 0.9, then the value 0.9 will be rounded-down to zero. Instead, you need to convert the integer value to a floating-point value such as “single”, and then convert it back later. Click on “OK”.

Setting the Data Conversion to Single

Setting the delay gain

We required that 0.9 of the delayed input is added to the normal input. Therefore, set the “Gain” to 0.9 then click on “OK”.

Setting the Echo Delay Gain

Setting the output data conversion to int16

Double click on the second “Data Type Conversion” block. Set the “Output data type mode” to int16. This is compatible with the DAC on the C6713 DSK.

Data Type Conversion to 16-bit Integer

The completed echo subsystem

Join the blocks as shown and add a title.

Joining the Blocks

Returning to the parent system

From the Toolbar, select the “Up Arrow” icon. This returns you to the next higher level.

Returning to the Parent System

The reverberation subsystem

The next subsystem to be implemented will be Reverberation.

Overview of the completed reverberation subsystem

We are now going to implement the Reverberation System shown below.

Overview of the Reverberation Subsystem

Note that the reverberation subsystem is very similar to that of echo. We will cut-and-paste from the Echo Subsystem

Opening the effects 2 subsystem

From the “C6713 Audio Template” top level, double-click on the “Effect 2” subsystem.

Questions & Answers

I am here for the first time just here to learn...
michael Reply
hi I'm new on here first time
Suppose an individual with OCD experiences obsessive thoughts about germs, contamination, and disease whenever she encounters a doorknob. What might have constituted a viable unconditioned stimulus? 
la Reply
What are factors that influence learning?
Enos Reply
Environment Heredity(I am not sure about heredity)
Helpful. .. thanks
Sure, anytime
I have other questions also
Based on the factors affecting learning, how do we improve learning
I think that addressing that everyone learns in their own time
Peer group influence can also be another reason
Also knowing what's going on at home. what pressure are the parents putting on them.
am I close or no
also is there a lack of care? going one more step. with peer groups do an activity that shows how much they have in common
under what schedule of reinforcement do animals learn from ?
Phelisa Reply
the role of emotional intelligence in a courtship behavior
Caren Reply
describe the task and roles of industrial psychologist in solving the problems
Solomzi Reply
hi I'm Vaishnavi and I'm new to psychology:)
Vaishnavi Reply
what is motivation
Muhammad Reply
getting passionate about something and strive for success
observation and method based
Winter Reply
the meaning of science
soul is the Greek word for psyche
psychology is scientific research of the human brain.
Psychology is a study of human mind and behaviour
psychology is a social science which aim at studying the mind as it affect the behavior of an individual.
write and explain four psychosexual stages of personality development
I'm asking on behalf of someone How can a guy get over his weakness for girls? Like the person have soft spot for every girl and he thinks he love them then suddenly stuff change.... Like a switch
Ajayi Reply
whats the age of the boy?
16 or 17
lol. it gets over with time. it's not something that can be changed instantly. and for teenagers.. anyone of opposite sex is a tasty lollipop.
yes in time it will go away but could also take years
maybe because he doesn't really have mind of making decisions at the moment on what he need and what he doesn't want
maybe he's trying to find someone to love because he's either lacked loved and feel that's the only way to feel loved or he's lonely and feels a girl can make it better . either he's got deal with the core issue
its natural. I think it should be like this. girls also have weakness toward guys. but you can overcome on few things like concept of beauty. first step is realisation which will grow in you. also discipline help in these things.
what are cluster A disease?
Saee Reply
because psychology is a natural science as well as a science. it's a interdisciplinary subject
Kamakshi Reply
yes absolutely we cabt out Psychology completely into science dur to its various measuring aspects
cannot* put*
Assess the relationship between heredity and environment in human development
Newman Reply
जिवन कक्षा विकासाच्या एकूण किती अवस्था आहेत
Digambar Reply
what happened Digambar?
Is here anybody exactly awared about the medicine used for the schizophrenia?
plz can i know if io psychology in demand ou it's better to continu in human resourses management?
there are many drugs used to alleviate the symptoms, but none are used for curing the disorder itself.
Researchers demonstrated that the hippocampus functions in memory processing by creating lesions in the hippocampi of rats, which resulted in ________.
Mapo Reply
The formulation of new memories is sometimes called ________, and the process of bringing up old memories is called ________.
Mapo Reply
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?