speech hw

speech hw - Speech Recognization Hw 1 Bandar ECE5526...

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

View Full Document Right Arrow Icon
Speech Recognization Hw 1 ECE5526 Deepika Bandar
Background image of page 1

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

View Full DocumentRight Arrow Icon
Problem#1: Displays the Wave File of the spectrum
Background image of page 2
Wave file sa1
Background image of page 3

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

View Full DocumentRight Arrow Icon
Wave file sa2
Background image of page 4
Problem #2 The following code is to display the phoncode of sound categories for the voice file sa1.phn
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
display = '' ; u=strcmp(phni, 'bcl' ); u1=strcmp(phni, 'dcl' ); u2=strcmp(phni, 'gcl' ); u3=strcmp(phni, 'pcl' ); u4=strcmp(phni, 'tcl' ); u5=strcmp(phni, 'kcl' ); u6=strcmp(phni, 'dx' ); if (u||u1||u2||u3||u4||u5||u6) display = ' Stop' ; return end a=strcmp(phni, 'jh' ); a1=strcmp(phni, 'ch' ); if (a||a1) display = ' Affricate' ; return end v=strcmp(phni, 's' ); v1=strcmp(phni, 'sh' ); v2=strcmp(phni, 'z' ); v3=strcmp(phni, 'zh' ); v4=strcmp(phni, 'f' ); v5=strcmp(phni, 'th' ); v6=strcmp(phni, 'v' ); v7=strcmp(phni, 'dh' ); if (v||v1||v2||v3||v4||v5||v6||v7) display = ' Fricative' ; return end
Background image of page 7

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

View Full DocumentRight Arrow Icon
b=strcmp(phni, 'l' ); b1=strcmp(phni, 'r' ); b2=strcmp(phni, 'w' ); b3=strcmp(phni, 'y' ); b4=strcmp(phni, 'hh' ); b5=strcmp(phni, 'hv' ); b6=strcmp(phni, 'el' ); if (b||b1||b2||b3||b4||b5||b6) display = ' Semivowel' ; return end c=strcmp(phni, 'm' ); c1=strcmp(phni, 'n' ); c2=strcmp(phni, 'ng' ); c3=strcmp(phni, 'em' ); c4=strcmp(phni, 'en' ); c5=strcmp(phni, 'eng' ); c6=strcmp(phni, 'nx' ); if
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 15

speech hw - Speech Recognization Hw 1 Bandar ECE5526...

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

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