This assignment will focus on the filtering of audio signals using FIR filters (specifically the audio...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
This assignment will focus on the filtering of audio signals using FIR filters (specifically the audio file 'countdownfrom.way' 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: 1 T 1 1 Direct path (no delay, no attenuation) First echo (delay = Ta seconds, gain = G₁) Second echo (delay =T2 seconds, gain = G₂) Figure 1: An echo-y sound environment 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 Ta seconds (relative to the direct path), the amplitude of this audio has also been attenuated by G₁ of the direct audio's amplitude and, A second echo bouncing from the left-hand wall (green line) which is delayed by Ta seconds (relative to the direct path), the amplitude of this audio has also been attenuated by G₂ of the direct audio's amplitude. The delays and attenuations will be based on the 5th number in your student number: Delays Attenuations Student Number 1 2 3 4 5 6 7 8 9 0 Tat= 0.15 Ta=0.2 Tal = 0.2 Tn=0.25 G₁=0.8 G₂=0.4 G₁ = 0.7 G₂= 0.35 G₁ = 0.7 Ta=0.25 Ta=0.3 Ta=0.3 Ta=0.35 Ta=0.35 Ta=0.4 Ta=0.35 Ta=0.45 Ta=0.3 T=0.5 G₂ 0.15 Ta=0.25 G₁ = 0.2 Ta=0.55 G₂=0.1 Ta = 0.2 G₁=0.2 Ta=0.6 G₂=0.1 G₁=0.9 Ta = 0.1 Tan = 0.2 G₂=0.45 Table 1: Delays and attenuations on sound paths G₂=0.25 G₁=0.6 G₂= 0.2 G₁=0.4 G₂ = 0.1 G₁=0.3 G₂=0.2 G₁=0.2 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 (ax) 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). you will iv. Now use MATLAB to import the speech file 'countdownfrom.wav' which 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 countdown from.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? This assignment will focus on the filtering of audio signals using FIR filters (specifically the audio file 'countdownfrom.way' 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: 1 T 1 1 Direct path (no delay, no attenuation) First echo (delay = Ta seconds, gain = G₁) Second echo (delay =T2 seconds, gain = G₂) Figure 1: An echo-y sound environment 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 Ta seconds (relative to the direct path), the amplitude of this audio has also been attenuated by G₁ of the direct audio's amplitude and, A second echo bouncing from the left-hand wall (green line) which is delayed by Ta seconds (relative to the direct path), the amplitude of this audio has also been attenuated by G₂ of the direct audio's amplitude. The delays and attenuations will be based on the 5th number in your student number: Delays Attenuations Student Number 1 2 3 4 5 6 7 8 9 0 Tat= 0.15 Ta=0.2 Tal = 0.2 Tn=0.25 G₁=0.8 G₂=0.4 G₁ = 0.7 G₂= 0.35 G₁ = 0.7 Ta=0.25 Ta=0.3 Ta=0.3 Ta=0.35 Ta=0.35 Ta=0.4 Ta=0.35 Ta=0.45 Ta=0.3 T=0.5 G₂ 0.15 Ta=0.25 G₁ = 0.2 Ta=0.55 G₂=0.1 Ta = 0.2 G₁=0.2 Ta=0.6 G₂=0.1 G₁=0.9 Ta = 0.1 Tan = 0.2 G₂=0.45 Table 1: Delays and attenuations on sound paths G₂=0.25 G₁=0.6 G₂= 0.2 G₁=0.4 G₂ = 0.1 G₁=0.3 G₂=0.2 G₁=0.2 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 (ax) 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). you will iv. Now use MATLAB to import the speech file 'countdownfrom.wav' which 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 countdown from.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?
Expert Answer:
Answer rating: 100% (QA)
i Calculate the number of samples for the delays and the weightings for each part of the filter Given a sampling frequency of 441 kHz the following de... View the full answer
Related Book For
Intermediate Accounting
ISBN: 978-1260481952
10th edition
Authors: J. David Spiceland, James Sepe, Mark Nelson, Wayne Thomas
Posted Date:
Students also viewed these accounting questions
-
This part of our case study will focus on the amount of instruction-level parallelism available to the run time hardware scheduler under the most favorable execution scenarios (the ideal case)....
-
This assignment will focus on some of the stressors encountered by law enforcement officers. You will explore how these stressors affect police officers. Learning about the incidence and prevalence...
-
Data Analytics / Financial Ratio Analysis This assignment will focus on the comparison between T Mobile and Verizon. Identify each companys weak and/or strong areas of performance. After analysis, if...
-
Research is a process of discovering new knowledge. In the Code of Federal Regulations (45 CFR 46.102(d)) pertaining to the protection ofhuman subjects,research is defined as:...
-
Refer to the situation described inBE 11-10. Assume that the present value of the estimated future cash flows generated from the division's assets is $22 million and that their fair value...
-
The magnitude of the force vector F(vector) is 82.3 newtons. The x component of this vector is directed along the +x axis and has a magnitude of 74.6 newtons. The y component points along the +y...
-
Explain the different ways that a summons may be served on individuals.
-
Differing Frames of Reference: E-Mail Cross-Cultural Misunderstanding A cultural misunderstanding nearly derailed an Indo-Japanese bridge-building project. An Indian firm sent a detailed list of...
-
Ricardo (just celebrated his 30th birthday), wants to accumulate $1 million by the time he turns 65 years of age. If he could obtain an interest rate of 7% (annual compounded monthly) and assuming he...
-
You have been hired as a consultant by Molycorp, a rare earth mineral mining company headquartered in Colorado. Your job is to evaluate a huge financing decision the company faces as part of its...
-
Analyze the Role of Knowledge Management, and Technology in the evolution of Dynamic Capabilities The ability for firms to learn is considered one of the strongest dynamic capabilities a firm can...
-
In September 2021, the European Parliament and Council adopts a (fictitious) new equality directive. In response to growing public criticism of sporting competitions in which prize funds for women's...
-
In what ways does expectancy theory elucidate the cognitive processes underlying motivation, exploring how individuals' expectations regarding effort-performance linkages, performance-outcome...
-
A stone is thrown from the top of a building upward at an angle of 2 1 . 0 degree to the horizontal with an initial speed of 2 2 . 6 m / s. The height of the building is 4 5 . 0 m . ( A ) How long...
-
49. Light incident normally on a plane mirror attached to a galvanometer coil retraces backwards as shown in figure. A current in the coil produces a deflection of 3.5 of the mirror. What is the...
-
a. Received $7,300 in cash and checks from a door-to-door campaign. b. Incurred and paid $2,200 cash for employee wages this month. c. Paid $3,700 cash on a short-term loan from the bank (ignore...
-
describes the conditionsneeded for a successfulformation for a product?
-
In Exercises 105108, evaluate each expression without using a calculator. log(ln e)
-
Refer to the situation described in E 1424. Required: How might your solution to requirement 1 for the issuer of the bonds differ if Gless Textiles prepares its financial statements according to...
-
At January 1, 2021, Caf Med leased restaurant equipment from Crescent Corporation under a nine-year lease agreement. The lease agreement specifies annual payments of $25,000 beginning January 1,...
-
Fullerton Waste Management purchased land and a warehouse for $600,000. In addition to the purchase price, Fullerton made the following expenditures related to the acquisition: broker's commission,...
-
Consider the two-dimensional flow field in which \(u=A x^{2}\) and \(v=B x y\), where \(A=1 / 2 \mathrm{ft}^{-1} \cdot \mathrm{s}^{-1}, B=-1 \mathrm{ft}^{-1} \cdot \mathrm{s}^{-1}\), and the...
-
Fluid passes through the set of thin, closely space blades at a velocity of \(3 \mathrm{~m} / \mathrm{s}\). Determine the circulation for the flow. P5.56 D= 0.6 m 30 V
-
The velocity profile for steady flow between parallel is parabolic and given by \(u=u_{c}+a y^{2}\), where \(u_{c}\) is the centerline velocity and \(y\) is the distance measured from the centerline....
Study smarter with the SolutionInn App