<< Chapter < Page
  From matlab and simulink to real     Page 3 / 3
Chapter >> Page >
The Blank “Effect 2” Subsystem

Copying a block from the echo subsystem

Double click on the “ Effect 1” subsystem. Cut-and-paste a copy of the echo block as follows: while left-clicking the mouse, mark the area to be copied.

Outlining the Block to be Copied

Release the left button on the mouse.

Block to be Copied is Marked

From pull-down menu, select Edit ->Copy (or Ctrl + C)

Blocks dropped onto effect 2 subsystem

Return to the “Effect 2” subsystem and Edit ->Paste (Ctrl + V) into the model.

Blocks Dropped onto Subsystem

Flipping the blocks

The blocks are facing the wrong way. Turn them round using Format ->Flip Block.

Flipping the Blocks

Changing the integer delay for reverberation.

Because the sound goes round several times with reverberation, a shorter delay time can be used. Here the delay time is 0.1 seconds.

Delay Time for Reverberation

Set the “Number of delays” to 800 then click on “OK”.

Completing the reverberation subsystem

Connect the blocks as shown below. Change the title to “Reverberation Subsystem”.

The Completed Reverberation Subsystem

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 improved echo subsystem

The final subsystem to be implemented will be “Improved Echo”. This is based on the “Echo” subsystem, but with several delay paths.

The complete improved echo subsystem

Double click on the “Effect 3” subsystem box. The required components are shown below.

The Improved Echo Subsystem

Implementing the improved echo subsystem

You should now have enough knowledge to implement this subsystem block without further assistance. This time you are on your own!

Building the model

Select Tools ->Real-Time Workshop ->Build Model.

Building the Model

Running the model

Microphone straight through to loudspeakers

To check out the microphone and loudspeakers, set the DIP switches on the C6713 DSK as follows:

Switch Position 0

The microphone is fed directly to the loudspeakers without any digital signal processing.

Switch position for echo

To run the “Echo” subsystem, set the DIP switch to 1.

Switch Position 1 for Echo

Switch position for reverberation

To run the “Reverberation” subsystem, set the DIP switch to 2.

Switch Position 2 for Reverberation

Switch position for improved echo

To run the “Improved Echo” subsystem, set the DIP switch to 3.

Switch Position 3 for Improved Echo

Some things to try

Change the echo delay

Change the value of the “Integer Delay” block for echo. Listen to the effect of using short and long delays. Set the delay time to a large value and sing a round such as “Frere Jacques” or “Row, Row, Row your Boat”.

Change the amount of reverberation gain

In the “Reverberation Subsystem” block, change the “Gain” from 0.8 to higher and lower values. Notice how the system can become unstable if the gain is too large.

Modify the improved echo subsystem

In the “Improved Echo Subsystem”, you may wish to experiment with the number of delay elements, the delay times and the amounts of gain. Try to make the echo as realistic as possible.

Create your own subsystem

Add your own subsystem block and add your own signal processing. You might want to design a subsystem with both echo and reverberation.

MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.

Questions & Answers

how environment affect demand and supply of commodity ?
Amos Reply
Wht at the criteria for market ?
what is difference between monitory policy and fiscal policy?
Malik Reply
monetary policy is a policy thrust by National Govt(CBN) to influence government spending, purchase &taxes
necessity of economics
Pamela Reply
I will say want,choice,opportunity cost,scarcity,scale of preference
what is monopoly market.How price output are determined under monopoly market
b) Monopoly market is an impecfect market where s single firm having the innovation to produce a particular commodity.Prices are determined through output since there are no other competitive.
Monopoly market:firm has market power & does not respond to market price
Explain the process of price determination under perfect competition market with suitable diagram
bisham Reply
Price determination under perfect competition via this process :firms have no market power to influence price rather firms respond to market price.
price is different from demand- demand is amount of commodity
Effah Reply
demand is amount /quantity of commodity a potential buyer is willing to buy at a given price at market
demand is a desire of customer on commodity with the ability to pay it and willing to buy it at given price of commodity
demand is price of what
Faith Reply
show that shortrun average cost
Baby Reply
what is economics
Mbah Reply
what is money
what is money
Difine macro economics
money is a medium of exchange between goods and services,maybe inform of currency.
Economics is study of how human beings strive to satisfy numerous wants using limited available resources.
how do you find the maximum number of workers the firms should employ order to produce where there are increasing returns
what are implications of computing national income?.
what is the formulae for calculating national income
it calculated by value added method
classify the production units like agriculture, banking, transport etc
money is anything that is generally acceptetable for human
Estimate the net value added(NVA) at fixed cost by each industrial structure
definition of unemployment
Adam Reply
what are the causes of unemployment?
Mbubi Reply
The main causes of unemployment are listed below. 1. Frictional unemployment 2. Cyclical unemployment 3. Structural unemployment
We can also categorize the causes on a broader sense as: 1. Political and 2. Social cause As unemployeement root causes are embaded in this two.
would opportunity cost exist if there was no scarcity?
yes just because the opportunity cost arose when there is Alternative to choose among the alternatives.
I am thinking that, if our resources were unlimited, then there wouldn't be any need to forgo some wants. Hence the inexistence if opportunity cost
politics has done what?
consider time assani
I'm Emmanuel,...I taught the main cause is the change in gov't.
...Lack of capital to set up a firm respectively
I would like to bring in Educational levels can also be the cause the cause of the problem respectively
lack of skills among the new generation is the serious issue.
Where I come from , I don't see why education or personal aspects seem to do with unimployment, technically the motivation and eigerness in all works of live is there , dispite the cultural influence and physical bearriors;the thing we lacking is Government Support and open market ethics.
sorry about that-(repation). We have a over powering ethical political system that's displacing the marketing asspects of economy and causing large scale unemployment right across the board...
can someone Explain Expansionary Monetary Policy and Contractionary Monetary Policy Using one of the instrument of Monetary Policy? Please am kinda lost here?. ta
Emmanuel Reply
using a graph show the case of substitute and compliment goods
Ade Reply
can anyone give me a simple explanation to Five Sector Macroeconomics?
Can someone please define what economics is
jason Reply
economics simply is a social science subject that study human behavior.
economics is a social science which studies human behaviour as a relationship between ends and scarce means that has alternative uses
Can someone please tell me how to calculate GDP
emmanual kapal to calculate GDP (Gross Domestic Product) has three method in calculating it (1)income approach (2) expenditure approach (3) value added method
thanks Alae
u are welcome
in basic terms economics is revered to as battery system, it date back to when Men sees the need to exchange sapless goods and produce to gain , either wealth , basic necessities or to establish trading ties for personal benefit or social asspects in terms of coexistence and continuity, future .
what is the law of demand
Berlinda Reply
keep other thing constant, when the price increases demand decrease when the price decreases demand increases of the commodity.
all things being equal,quantity demanded decrease as price increase and increase as price decrease
there's practial joke to it ..." the higher the demand ; scarcity, increase in production and drop in quality"... quite the controversy - for example China vs Europe, United States and we are all boxed up in between somewhere...
Other thing remain constant the low price of commodity the high quantity of commodity and vice versa is true
Explain Effective demand
Anita Reply
What is effective demand
like Modi is in demand...best example of effective demand
Don't get you
Anita you mean you don't get me or who?
level of demand that represents a real intention to purchase by people with the means to pay
Difference between extinct and extici spicies
Amanpreet Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!

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?