SpeechRecHW1

SpeechRecHW1 - Lisa Schwartz ECE 5526 HW 1 Below is the...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Lisa Schwartz ECE 5526 HW 1 Below is the output figure from the female voice file sa1.phn:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Below is the output figure from the male voice file sa1.phn:
Background image of page 2
Below is the output figure from the female voice file sa1.phn with sound categories:
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The following code was inserted in and/or modified to the third plot of the specgram_nist.m file to create the additional labels: subplot(3,1,3); axis off ; hold on ; height = [0:0.005:3]; plot(first(1), height, '-r' , 'LineWidth' ,2); for i = 1:num_phoneme label = classof(phn(i)); t = strcat(phn(i),label); th = text( first(i)+((last(i) - first(i)) / 2), 0.05+0.1*mod(i- 1,9), t); set(th, 'FontUnits' , 'points' ); set(th, 'FontSize' , 7); set(th, 'Rotation' , 90); plot(last(i), height, '-r' , 'LineWidth' ,2); end title(newtitle); axis off ; return ; %---------------------------------------------------------------------% function [type] = classof(phni) type = '' ; if (strcmp(phni, 'bcl' ) || strcmp(phni, 'dcl' ) || strcmp(phni, 'gcl' ) || strcmp(phni, 'pcl'
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/11/2012 for the course ECE 5526 taught by Professor Staff during the Summer '09 term at FIT.

Page1 / 6

SpeechRecHW1 - Lisa Schwartz ECE 5526 HW 1 Below is the...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online