Question

Bandpass filter Modulation Band-limiting Envelope detection BPF RECT LPF BPF sine wave Vo BPF 2 RECT LPF BPF 2 sine wave BPF[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.

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

close all,
clear all,
clc,

ProjectPath = pwd;
SoundPath = strcat(ProjectPath,'\BirdChirp.wav');
FilterOrder=3;
No_of_Bands=3;
fmin = 200;
fmax = 300;


[y, Fs, nbits] = wavread(SoundPath);
Freq = (bands_cutoff(fmin,fmax,No_of_Bands))/(Fs/2);
L=length(Freq);
subplot(4,3,[1 2 3]); plot(y); title('Original Signal');
c=4;
for r=1:L-1
[b a] = butter(FilterOrder,[Freq(r) Freq(r+1)],'bandpass');
[H F] = freqz(b,a,256,Fs);
FilteredSignal = filter(b,a,y);   
subplot(4,3,c); plot(F,abs(H));
str = strcat('Freq. Response of Band-Pass Butter Worth Filter (Order=',num2str(FilterOrder),') for Freq. Range - [',num2str(Freq(r)),', ',num2str(Freq(r+1)),']') ;
title(str);
subplot(4,3,c+1); plot(FilteredSignal); title('Filtered Signal');
subplot(4,3,c+2); spectrogram(FilteredSignal); title('Spectrogram');
c=c+3;
end

Original Signal 3 Freq. Response of Band-Pass Butter Worth Filter (Order- 3) for Freq. Range [0.035281,0.Q41448 Filtered Sign

Add a comment
Know the answer?
Add Answer to:
[MATLAB Scriptfile task] Design N-band tone vocoder with a given figure (below) in MATLAB implementing the...
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
  • [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...

  • LMS project Using the notes discussed in class: Implementing the LMS Algorithm First generate some signals clear all c...

    LMS project Using the notes discussed in class: Implementing the LMS Algorithm First generate some signals clear all close al1: Generate signals for testing the LMS Algorithm 1000 Fs Sampling frequency Sample time 1/Fs 10000: = L Length of signal S Time vector (0:L-1) *T ; Sum of a 50 Hz sinusoid and a 120 Hz sinusoid 0.7 sin (2*pi*50*t); inuside X d+ 10 randn (size (t)); Sinusoids 5O0000000L plus noise fiqure (1) plot (Fs*t (1:150),x (1:1500)) title('Signal Corrupted with...

  • LMS project Using the notes discussed in class: Implementing the LMS Algorithm First generate some signals...

    LMS project Using the notes discussed in class: Implementing the LMS Algorithm First generate some signals clear all close al1: Generate signals for testing the LMS Algorithm 1000 Fs Sampling frequency Sample time 1/Fs 10000: = L Length of signal S Time vector (0:L-1) *T ; Sum of a 50 Hz sinusoid and a 120 Hz sinusoid 0.7 sin (2*pi*50*t); inuside X d+ 10 randn (size (t)); Sinusoids 5O0000000L plus noise fiqure (1) plot (Fs*t (1:150),x (1:1500)) title('Signal Corrupted with...

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