Record your voice signal in mp3  or .dat format. Write a Matlab program to produce an echo signal....

Free

60.1K

Verified Solution

Question

Electrical Engineering


Record your voice signalin mp3  or .dat format. Write a Matlab program to producean echo signal. Critically analyze the system and find out thevalue of delay in milli seconds required to get a good echo effecton the recorded voice. Demonstrate the results by playing thesignal using sound command in Matlab.


I need command in matlab from recordedsignal to eco-signal and delay and play

Answer & Explanation Solved by verified expert
4.2 Ratings (805 Votes)

Hello,
          Please find the answer attached as under. Please give a thumbs up rating if you find the answer useful! Have a rocking day ahead!

NOTE: i do not have access to your recorded voice sample, hence I have written the code for a stored sample:

************ Matlab Code ************

load handel;
%to add an echo after 1s (with amplitude=0.5, phase=pi/3.5)
echo_vector=[1                  zeros(1,Fs)     ...
             0.5*exp(1i*pi/3.5) zeros(1,1.5*Fs) ...
             0.5*exp(1i*1.2*pi)                   ];
yecho=real(conv(y,echo_vector));
sound(yecho,Fs);

*********** End of Code *****************

*****************************************************************
PS: Please do not forget the thumbs up!


Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students