Question

Explain the filtering of the human speech signal. How can we filter the noisy speech signal from ...

Explain the filtering of the human speech signal. How can we filter the noisy speech signal from the other sound sources which have high frequency components. Write a matlab script to filter this noisy speech signal from the noise. . The cutoff frequeny of the filter is 3000hz?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

clc;
clear all;
close all;
%% time domain
t = 0:1/1024:1;
x = sin(2*pi*50*t);

a = 5;
b = 2;

p = length(t);
e = rand(1,p);
n = (-1/a)*(log(1-e));

ns=x+n;

subplot(2,2,1);plot(t,ns);

[b,a] = butter(8,0.2,'low');
y = filter(b,a,ns);
subplot(2,2,2);plot(t,y);

  
%% freq domain
t1 = 0:2/1024:1-2/1024;
X=abs(fft(x));
subplot(2,2,3);
for i=2:6:18
[b,a] = butter(i,0.2,'low');
y = filter(b,a,ns);
F = abs(freqz(b,a,floor(length(ns)/2)));
temp=X(1:floor(length(X)/2));
temp=temp/max(temp);
plot(t1,temp);
hold on
plot(t1,F);hold on
end

%In the above program i in for loop indicates order of the filter and 0.2 and 0.8 indicates normalized frequency where you %need to consider one sampling frequency, so this program gives the fft output if you want convert to time domain by using %command ifft of the X and verify. y is the filtered output signal

Add a comment
Know the answer?
Add Answer to:
Explain the filtering of the human speech signal. How can we filter the noisy speech signal from ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Filtering for an electronic oscillator From Figure 4.5, we see that a sinusoid of frequency ω0 is...

    Filtering for an electronic oscillator From Figure 4.5, we see that a sinusoid of frequency ω0 is present in a square wave. Hence, in the oscillator, we must remove (filter out) the frequencies at 3ω0, 5ω0, and so on, to produce a sinusoid of frequency of wo The electronic oscillator can be depicted by the system of Figure 4.7. The input signal to the filter is a square wave, and its output signal is a sinusoid of the same frequency....

  • 3.2 Simple Bandpass Filter Design The L-point averaging filter is a lowpass filter. Its passband width...

    3.2 Simple Bandpass Filter Design The L-point averaging filter is a lowpass filter. Its passband width is controlled by L, being inversely proportional to L. In fact, you can use the GUI altidemo to view the frequency response for different averagers and measure the passband widths. It is also possible to create a filter whose passband is centered around some frequency other than zero. One simple way to do this is to define the impulse response of an L-point FIR...

  • A class C amplifier severely distorts the signal. How can we use a resonant tuned filter...

    A class C amplifier severely distorts the signal. How can we use a resonant tuned filter to get the desired signal at the output? Explain. If you compared the input and output signals for a given communication system and found that they were not similar in shape and form, what might you conclude? Please write the answer for these questions in paragraph and clearly.

  • I need help with number 2 . Please answer in MATLAB thank you! 1. In the lab we analyzed filtering 60 Hz power-line noi...

    I need help with number 2 . Please answer in MATLAB thank you! 1. In the lab we analyzed filtering 60 Hz power-line noise from ECG signal using a digital (signal processing) filter. Now let's try to an analog (circuit) filter approach to remove the 60 Hz line-noise. Following is an active twin-T notch filter with transfer function: (1+m)((2joRC? +1 Z(a) 2R 2R Here m is the ratio of the two feedback 2C R resistance which determines the gain and...

  • Prelab Preparation: Study how the differential equation of a first order low pass filter can be...

    Prelab Preparation: Study how the differential equation of a first order low pass filter can be converted to first order difference equation. Rewrite the difference equation in a form that can be coded to compute a filtered signal from acquired noisy signal. Explain the various parameters that are needed to implement the low pass filter equation. Lob Tod-o

  • You are taking a measurement of a signal from a sensor with high frequency noise. In...

    You are taking a measurement of a signal from a sensor with high frequency noise. In order to not amplify that noise through your instrumentation system, you decide to use a RC filter with a cutoff frequency (critical frequency, fc) of 1kHz after the sensor and before the amplification. What kind of RC filter do you need? Design the RC filter. Be sure to use standard resistor and capacitor values and specify the tolerance. Show all work. Construct the circuit...

  • Below is the MATLAB code of low-cut shelving filter which can cut the low frequency of given music signal and low-boost...

    Below is the MATLAB code of low-cut shelving filter which can cut the low frequency of given music signal and low-boost shelving filter which can boost the low frequency of given music signal. Design your low-boost shelving filter and low-cut shelving filter to have noticeablly different sound. Compare the sounds of two music signals after filtering, and explain the difference in sounds briefly. If there are any mistakes in code, correct them.   Low-cut shelving filter code: close all, clear all,...

  • Part A:- Synthesising a Discrete Signal using Matlab: Using a sampling frequency of 8000 Hz, determine...

    Part A:- Synthesising a Discrete Signal using Matlab: Using a sampling frequency of 8000 Hz, determine the discrete signal, x[n] that is obtained from sampling a 1000 Hz sine wave, with a peak magnitude of 0.8. (that is, x(t)-0.8cos(2rtft)). Determine an equation for xin] in terms of 'n' and then create the signal in Matlab. (Remember in this case 'n' is your independent variable not t'.) Play the x[n] signal through the PC soundcard using the 'sound' command in Matlab....

  • Recall the problem from lecture iavolving an information signal betweea (-100, 100) Iz and a noise...

    Recall the problem from lecture iavolving an information signal betweea (-100, 100) Iz and a noise signal with positive spectrum between (500,700) Hz and negative spectrum between (-700-500) Hz. a) Suppose we want the reconstructed signal to equal the information signal. Suppose also that we would like to VIOLATE the Syquist criterion. If we can use a reconstruction ilter different than the ideal lowpass filter considered ia lecture, then find the minimum sampling frequency which violates Nyquist but still gives...

  • [MATLAB Scriptfile task] Design N-band tone vocoder with a given figure (below) in MATLAB implementing the...

    [MATLAB Scriptfile task] Design N-band tone vocoder with a given figure (below) in MATLAB implementing the given script file(bands_cutoff). This program should be able to process any sound(.wav) file. Then, graph the band-passed signals and amplitude envelopes extracted(after rectification and low-pass filtering) and waveforms of the original sound and vocoded sound. Additionally, using the output of the script file, make spectrograms of the original sound and the synthesized sound. Bandpass filter Modulation Band-limiting Envelope detection BPF RECT LPF BPF sine...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT