Elimination of pre-dominant frequency from speech signal .pdf

Ts 1fs tmax n 1ts t 0tstmax figure10plottno title no

This preview shows page 7 - 13 out of 23 pages.

ts = 1/Fs; tmax = (n-1)*ts; t = 0:ts:tmax; figure(10);plot(t,no); title( 'No Speech Signal (8000Samples/sec)' ); xlabel( 'Time In Seconds----->' );ylabel( 'Magnitude' ); %Plot Of ‘no1’ Speech Signal In Time Domain ts1 = 1/Fs; tmax1 = ((n/2)-1)*ts1; t1 = 0:ts1:tmax1; figure(11); plot(t1,no1);title( 'One Vector Of 4000 Samples (half second) Of No' ); xlabel( 'Time In Seconds----->' );ylabel( 'Magnitude' ); %Plot Of ‘no2’ Speech Signal In Time Domain ts2 = 1/Fs; tmax2 = ((n/2)-1)*ts2; t2 = 0:ts2:tmax2; figure(12); plot(t2,no2);title( 'Second Vector Of 4000 Samples (half second) Of No' ); xlabel( 'Time In Seconds----->' );ylabel( 'Magnitude' ); % all data is stored as task1.mat and task4.mat Result: Start speaking. End of Recording. Start speaking. End of Recording
Image of page 7
Elimination of pre-dominant frequency in speech signal 8 KLUNIVERSITY DEPARTMENT OF ELECTRONICS AND COMMUNICTION ENGINEERING Figure1: Figure2: Figure3: 0 1000 2000 3000 4000 5000 6000 7000 8000 -8 -6 -4 -2 0 2 4 6 8 x 10 -4 Yes Speech Signal (8000Samples/sec) Samples-----> Magnitude 0 500 1000 1500 2000 2500 3000 3500 4000 -8 -6 -4 -2 0 2 4 6 8 x 10 -4 One Vector Of 4000 Samples (half second) Of Yes Samples-----> Magnitude 0 500 1000 1500 2000 2500 3000 3500 4000 -6 -4 -2 0 2 4 6 8 x 10 -4 Second Vector Of 4000 Samples (half second) Of Yes Samples-----> Magnitude
Image of page 8
Elimination of pre-dominant frequency in speech signal 9 KLUNIVERSITY DEPARTMENT OF ELECTRONICS AND COMMUNICTION ENGINEERING Figure4: Figure5: Figure6: 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -8 -6 -4 -2 0 2 4 6 8 x 10 -4 Yes Speech Signal (8000Samples/sec) Time In Seconds-----> Magnitude 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 -8 -6 -4 -2 0 2 4 6 8 x 10 -4 One Vector Of 4000 Samples (half second) Of Yes Time In Seconds-----> Magnitude 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 -6 -4 -2 0 2 4 6 8 x 10 -4 Second Vector Of 4000 Samples (half second) Of Yes Time In Seconds-----> Magnitude
Image of page 9
Elimination of pre-dominant frequency in speech signal 10 KLUNIVERSITY DEPARTMENT OF ELECTRONICS AND COMMUNICTION ENGINEERING Figure7: Figure8: Figure9: 0 1000 2000 3000 4000 5000 6000 7000 8000 -6 -4 -2 0 2 4 6 x 10 -4 No Speech Signal (8000Samples/sec) Samples-----> Magnitude 0 500 1000 1500 2000 2500 3000 3500 4000 -6 -4 -2 0 2 4 6 x 10 -4 One Vector Of 4000 Samples (half second) Of No Samples-----> Magnitude 0 500 1000 1500 2000 2500 3000 3500 4000 -6 -4 -2 0 2 4 6 x 10 -4 Second Vector Of 4000 Samples (half second) Of No Samples-----> Magnitude
Image of page 10
Elimination of pre-dominant frequency in speech signal 11 KLUNIVERSITY DEPARTMENT OF ELECTRONICS AND COMMUNICTION ENGINEERING Figure10: Figure11: 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -6 -4 -2 0 2 4 6 x 10 -4 No Speech Signal (8000Samples/sec) Time In Seconds-----> Magnitude 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 -6 -4 -2 0 2 4 6 x 10 -4 One Vector Of 4000 Samples (half second) Of No Time In Seconds-----> Magnitude
Image of page 11
Elimination of pre-dominant frequency in speech signal 12 KLUNIVERSITY DEPARTMENT OF ELECTRONICS AND COMMUNICTION ENGINEERING Figure12: Task2: load task1.mat ; sound(yes); sound(yes1); sound(yes2); %While Listening To The Above Sounds, It Is Observed That the ‘e’ segment of ‘yes’ speech signal is available in the vector “yes1” % Extracting 50ms ‘e’ segment from ‘yes’ speech signal from “yes1” max_value = max(abs(yes1)); yes1 = yes1/max_value; yes1 = yes1(Fs*0.35:Fs*0.40); %Fs = 8000 % Fs*0.35 = 2800 , Fs*0.40 = 3200 % 0.40 0.35 = 0.05 = 50ms % (400 samples of yes1 from 2800 to 3200) sound(yes1); ext = 0.35:1/Fs:0.40; % 0.40 0.35 = 0.05 = 50ms plot(ext,yes1); title( '50ms Segment of ‘e’ in yes Which is roughly Periodic' ); xlabel( 'Time In Seconds -------->' ); ylabel( 'Magnitude----->' );
Image of page 12

Want to read all 23 pages?

Image of page 13

Want to read all 23 pages?

You've reached the end of your free preview.

Want to read all 23 pages?

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern