Ask Other Engineering Expert

Signals and Systems Assignment - FIR Filters in Audio Processing

This assignment will focus on the filtering of audio signals using FIR filters (specifically the audio file 'countdownfrom.wav' available to download from Canvas). Audio signal processing uses many types of digital filters to create effects such as echoes (often using FIR filters) and reverberations (using IIR filters), or to remove unwanted artefacts in a signal (e.g. noise or channel effects).

This assignment will be looking at how we can simulate a concert hall type effect on audio using an FIR filter.

a) In Audio editing software packages often contain effects to allow you to simulate different recording environments. An example could be to simulate the audio being produced in a concert hall, auditorium or pipe by adding echoes to the audio or to simulate a padded room by filtering the audio to dampen the sound.

In this task you are required to simulate the echo-ey room shown in figure 1:

1005_figure.png

Description:

This room contains a speaker in the top right-hand corner of the room which produces sound for the listener shown in the centre of the room.

Our listener experiences three versions of the audio;

The direct version coming straight from the speaker (blue line). There is no attenuation or delay with this audio (apart from the time it takes to get to the listener).

A first echo bouncing from the right-hand wall (red line) which is delayed by Td1 seconds (relative to the direct path), the amplitude of this audio has also been attenuated by G1 of the direct audio's amplitude and,

A second echo bouncing from the left-hand wall (green line) which is delayed by Td2 seconds (relative to the direct path), the amplitude of this audio has also been attenuated by G2 of the direct audio's amplitude.

The delays and attenuations will be based on the 5th number in your student number:

Student Number

Delays

Attenuations

1

Td1 = 0.15

Td2 = 0.2

G1 = 0.8

G2 = 0.4

2

Td1 = 0.2

Td2 = 0.25

G1 = 0.7

G2 = 0.35

3

Td1 = 0.25

Td2 = 0.3

G1 = 0.7

G2 = 0.25

4

Td1 = 0.3

Td2 = 0.35

G1 = 0.6

G2 = 0.2

5

Td1 = 0.35

Td2 = 0.4

G1 =  0.4

G2 = 0.1

6

Td1 = 0.35

Td2 = 0.45

G1 =  0.3

G2 = 0.2

7

Td1 = 0.3

Td2 = 0.5

G1 =  0.2

G2 = 0.15

8

Td1 = 0.25

Td2 = 0.55

G1 = 0.2

G2 = 0.1

9

Td1 = 0.2

Td2 = 0.6

G1 =  0.2

G2 = 0.1

0

Td1 = 0.1

Td2 = 0.2

G1 =  0.9

G2 = 0.45

Table 1: Delays and attenuations on sound paths

For example if your student number was 3210987 your first path will be delayed by 0.2 sec and attenuated to 20% of the original amplitude, your second path will be delayed by 0.6 sec and attenuated to 10% of the original amplitude.

i. Manually work out (neatly typed) the number of samples your delays will correspond to and the weightings (ak) for each part of the filter.

ii. Manually work out (neatly typed) the difference equation, impulse response and transfer function for this filter.

iii. Show the Direct Form I diagram for this filter (use a software package such as Microsoft Visio to show this neatly).

iv. Now use MATLAB to import the speech file 'countdownfrom.wav' which you will need to download from Canvas. Using the filter coefficients and delays you manually calculated above, create the FIR filter and use either the conv()or filter() functions to filter the 'countdownfrom.wav' file.

Listen to this new audio file; you should hear an echo effect occurring now.

Discuss:

1. Explain in your report how this filter generates the echoes. What's happening?

2. Plot the time-domain waveform for your filtered and non-filtered waveform, identify where the two echo paths are showing in the signal?

Attachment:- Assignment Files.rar

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M93081539
  • Price:- $22

Priced at Now at $22, Verified Solution

Have any Question?


Related Questions in Other Engineering

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Mine safety amp environmental engineering assignment -part

Mine Safety & Environmental Engineering Assignment - Part 1 - Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the fo ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Engineering materials term paper assignment -conduct a

ENGINEERING MATERIALS TERM PAPER ASSIGNMENT - Conduct a thorough literature search and write a 15-20 page technical review paper on the evolution of the engineering materials used in the manufacturing of any one of the f ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As