System Simplified

Category : Online Speech Recognition System

1.Upload HMM
2.Record speech
3. Save speech
4.Play Speech
5.Test
6.Display results

1.Upload HMM2.Record speech3. Save speech4.Play Speech5.Test6.Display results

Steps to put it online

Category : Online Speech Recognition System

Training Phase

Loading Data-load database.mat and load Word{1}-{10}

Extract Features-call ExtractionFeature.m. Inside got other file melcepst.m

Train System-call trainsystem.m->train.m

Test Performance-

System Main Pages

Category : Online Speech Recognition System

Main – main.m

training.m

isolatedtesting.m

close

help.m

Training Phase – training.m

database.mat

ExtractionFeature.m

-HMMToolbox Folder>melcepst.m

–melcepst.m>enframe.m, melbankm.m, rfft.m, rdct.m

trainsystem.m

-train.m (Function M-File)

–>HMMToolbox folder>init_mhmm.m, learn_mhmm.m

—init_mhmm.m>normalise.m, mk_stochastic.m, gmm.m, gmminit.m

—–>gmminit.m>consist.m, kmeans.m, dist2.m

—learn_mhmm.m>normalise.m, mk_stochastic.m, em_converged.m, mk_mhmm_obs_lik.m, gaussian_prob.m, forwards_backwards_mix.m

-C:\Program Files\MATLAB\R2009b\toolbox\matlab\general\save.m

testsystem.m

-recognize.m (Function M-File)>mk_mhmm_obs_lik.m, tiv_path.m

-C:\Program Files\MATLAB\R2009b\toolbox\matlab\elmat\length.m

-Bottom Panel

C:\Program Files\MATLAB\R2009b\toolbox\matlab\graphics\close.m

isolatedtesting.m

main.m

Testing Phase – isolatedtesting.m

Record speech or

Load Sound File

Upload Data

HMM.mat

Test button

sound toolbox>sap folder

-sound toolbox folder>sap>epdParamSet.m, epdByVolHod.m

–epdByVolHod.m>epdByVol.m, epdByVolZcr.m

-extract1.m, test.m

epdByVolHod.m->epdParamSet.m, buffer2.m, frameZaeroMean.m, frame2volume.m, frame2ashod.m, frame2SampleIndex.m

epdByVolZcr.m->epdParamSet.m

epdByVol->epdParamSet.m, wavReadInt.m, frame2SampleIndex.m

sound toolbox>utility folder

utility>segmentFind.m

Training Phase>Train System, Test Performance

Category : Online Speech Recognition System

Train System

Warning: Maximum number of iterations has been exceeded

iteration 1, loglik = -86530.676583
iteration 2, loglik = -83168.635521
iteration 3, loglik = -82825.296153
iteration 4, loglik = -82712.433608
iteration 5, loglik = -82641.508861
iteration 6, loglik = -82589.495001
iteration 7, loglik = -82562.114812
iteration 8, loglik = -82550.790772
iteration 9, loglik = -82546.065782
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -83147.486586
iteration 2, loglik = -80686.088212
iteration 3, loglik = -80593.673282
iteration 4, loglik = -80509.707514
iteration 5, loglik = -80306.056299
iteration 6, loglik = -80258.023131
iteration 7, loglik = -80242.978543
iteration 8, loglik = -80235.000829
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -74702.469978
iteration 2, loglik = -72762.069669
iteration 3, loglik = -72588.438449
iteration 4, loglik = -72500.931963
iteration 5, loglik = -72463.129498
iteration 6, loglik = -72449.470312
iteration 7, loglik = -72440.755660
iteration 8, loglik = -72421.711162
iteration 9, loglik = -72412.335110
iteration 10, loglik = -72409.195165
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -101360.671236
iteration 2, loglik = -98720.986764
iteration 3, loglik = -98550.373737
iteration 4, loglik = -98447.987206
iteration 5, loglik = -98381.814252
iteration 6, loglik = -98355.649849
iteration 7, loglik = -98332.995989
iteration 8, loglik = -98318.168172
iteration 9, loglik = -98306.333910
iteration 10, loglik = -98299.048784
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -91105.805877
iteration 2, loglik = -88709.023966
iteration 3, loglik = -88418.059878
iteration 4, loglik = -88233.613186
iteration 5, loglik = -88017.977986
iteration 6, loglik = -87971.197434
iteration 7, loglik = -87954.969805
iteration 8, loglik = -87945.167353
iteration 9, loglik = -87934.937057
iteration 10, loglik = -87924.024462
iteration 11, loglik = -87913.511926
iteration 12, loglik = -87901.787614
iteration 13, loglik = -87889.748275
iteration 14, loglik = -87880.315121
iteration 15, loglik = -87873.850205
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -158208.115175
iteration 2, loglik = -154035.900564
iteration 3, loglik = -153829.057650
iteration 4, loglik = -153724.176961
iteration 5, loglik = -153676.341047
iteration 6, loglik = -153650.166559
iteration 7, loglik = -153623.417785
iteration 8, loglik = -153587.589681
iteration 9, loglik = -153550.871953
iteration 10, loglik = -153501.739840
iteration 11, loglik = -153445.586533
iteration 12, loglik = -153379.206548
iteration 13, loglik = -153290.145602
iteration 14, loglik = -153200.265916
iteration 15, loglik = -153156.452258
iteration 16, loglik = -153132.689880
iteration 17, loglik = -153085.620892
iteration 18, loglik = -152985.082766
iteration 19, loglik = -152922.112869
iteration 20, loglik = -152892.864470
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -163684.473836
iteration 2, loglik = -159554.500290
iteration 3, loglik = -159134.698200
iteration 4, loglik = -158978.369607
iteration 5, loglik = -158893.911827
iteration 6, loglik = -158842.812955
iteration 7, loglik = -158765.043504
iteration 8, loglik = -158627.091177
iteration 9, loglik = -158487.284688
iteration 10, loglik = -158444.901005
iteration 11, loglik = -158426.234405
iteration 12, loglik = -158417.065711
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -182690.256973
iteration 2, loglik = -177102.753868
iteration 3, loglik = -176312.922557
iteration 4, loglik = -175975.736013
iteration 5, loglik = -175789.621350
iteration 6, loglik = -175508.788073
iteration 7, loglik = -175282.279329
iteration 8, loglik = -175165.148145
iteration 9, loglik = -175083.013822
iteration 10, loglik = -175015.268906
iteration 11, loglik = -174950.682943
iteration 12, loglik = -174919.592332
iteration 13, loglik = -174906.744375
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -137093.154960
iteration 2, loglik = -132976.312453
iteration 3, loglik = -132789.050913
iteration 4, loglik = -132670.747123
iteration 5, loglik = -132600.561961
iteration 6, loglik = -132554.415009
iteration 7, loglik = -132517.498052
iteration 8, loglik = -132484.124016
iteration 9, loglik = -132458.115726
iteration 10, loglik = -132442.345076
iteration 11, loglik = -132433.126098
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
Warning: Maximum number of iterations has been exceeded
iteration 1, loglik = -118154.126921
iteration 2, loglik = -114723.816236
iteration 3, loglik = -114379.229130
iteration 4, loglik = -114066.103117
iteration 5, loglik = -113927.593843
iteration 6, loglik = -113883.229050
iteration 7, loglik = -113574.381823
iteration 8, loglik = -113542.638358
iteration 9, loglik = -113495.297545
iteration 10, loglik = -113423.681636
iteration 11, loglik = -113382.248681
iteration 12, loglik = -113369.970050
iteration 13, loglik = -113359.575361

Warning: Maximum number of iterations has been exceeded

iteration 1, loglik = -86530.676583iteration 2, loglik = -83168.635521iteration 3, loglik = -82825.296153iteration 4, loglik = -82712.433608iteration 5, loglik = -82641.508861iteration 6, loglik = -82589.495001iteration 7, loglik = -82562.114812iteration 8, loglik = -82550.790772iteration 9, loglik = -82546.065782Warning: Maximum number of iterations has been exceededWarning: Maximum number of iterations has been exceededWarning: Maximum number of iterations has been exceedediteration 1, loglik = -83147.486586iteration 2, loglik = -80686.088212iteration 3, loglik = -80593.673282iteration 4, loglik = -80509.707514iteration 5, loglik = -80306.056299iteration 6, loglik = -80258.023131iteration 7, loglik = -80242.978543iteration 8, loglik = -80235.000829Warning: Maximum number of iterations has been exceedediteration 1, loglik = -74702.469978iteration 2, loglik = -72762.069669iteration 3, loglik = -72588.438449iteration 4, loglik = -72500.931963iteration 5, loglik = -72463.129498iteration 6, loglik = -72449.470312iteration 7, loglik = -72440.755660iteration 8, loglik = -72421.711162iteration 9, loglik = -72412.335110iteration 10, loglik = -72409.195165Warning: Maximum number of iterations has been exceededWarning: Maximum number of iterations has been exceedediteration 1, loglik = -101360.671236iteration 2, loglik = -98720.986764iteration 3, loglik = -98550.373737iteration 4, loglik = -98447.987206iteration 5, loglik = -98381.814252iteration 6, loglik = -98355.649849iteration 7, loglik = -98332.995989iteration 8, loglik = -98318.168172iteration 9, loglik = -98306.333910iteration 10, loglik = -98299.048784Warning: Maximum number of iterations has been exceedediteration 1, loglik = -91105.805877iteration 2, loglik = -88709.023966iteration 3, loglik = -88418.059878iteration 4, loglik = -88233.613186iteration 5, loglik = -88017.977986iteration 6, loglik = -87971.197434iteration 7, loglik = -87954.969805iteration 8, loglik = -87945.167353iteration 9, loglik = -87934.937057iteration 10, loglik = -87924.024462iteration 11, loglik = -87913.511926iteration 12, loglik = -87901.787614iteration 13, loglik = -87889.748275iteration 14, loglik = -87880.315121iteration 15, loglik = -87873.850205Warning: Maximum number of iterations has been exceededWarning: Maximum number of iterations has been exceedediteration 1, loglik = -158208.115175iteration 2, loglik = -154035.900564iteration 3, loglik = -153829.057650iteration 4, loglik = -153724.176961iteration 5, loglik = -153676.341047iteration 6, loglik = -153650.166559iteration 7, loglik = -153623.417785iteration 8, loglik = -153587.589681iteration 9, loglik = -153550.871953iteration 10, loglik = -153501.739840iteration 11, loglik = -153445.586533iteration 12, loglik = -153379.206548iteration 13, loglik = -153290.145602iteration 14, loglik = -153200.265916iteration 15, loglik = -153156.452258iteration 16, loglik = -153132.689880iteration 17, loglik = -153085.620892iteration 18, loglik = -152985.082766iteration 19, loglik = -152922.112869iteration 20, loglik = -152892.864470

Warning: Maximum number of iterations has been exceeded

iteration 1, loglik = -163684.473836iteration 2, loglik = -159554.500290iteration 3, loglik = -159134.698200iteration 4, loglik = -158978.369607iteration 5, loglik = -158893.911827iteration 6, loglik = -158842.812955iteration 7, loglik = -158765.043504iteration 8, loglik = -158627.091177iteration 9, loglik = -158487.284688iteration 10, loglik = -158444.901005iteration 11, loglik = -158426.234405iteration 12, loglik = -158417.065711

Warning: Maximum number of iterations has been exceeded

Warning: Maximum number of iterations has been exceeded

iteration 1, loglik = -182690.256973iteration 2, loglik = -177102.753868iteration 3, loglik = -176312.922557iteration 4, loglik = -175975.736013iteration 5, loglik = -175789.621350iteration 6, loglik = -175508.788073iteration 7, loglik = -175282.279329iteration 8, loglik = -175165.148145iteration 9, loglik = -175083.013822iteration 10, loglik = -175015.268906iteration 11, loglik = -174950.682943iteration 12, loglik = -174919.592332iteration 13, loglik = -174906.744375

Warning: Maximum number of iterations has been exceeded

Warning: Maximum number of iterations has been exceeded

Warning: Maximum number of iterations has been exceeded

iteration 1, loglik = -137093.154960iteration 2, loglik = -132976.312453iteration 3, loglik = -132789.050913iteration 4, loglik = -132670.747123iteration 5, loglik = -132600.561961iteration 6, loglik = -132554.415009iteration 7, loglik = -132517.498052iteration 8, loglik = -132484.124016iteration 9, loglik = -132458.115726iteration 10, loglik = -132442.345076iteration 11, loglik = -132433.126098

Warning: Maximum number of iterations has been exceeded

Warning: Maximum number of iterations has been exceeded

Warning: Maximum number of iterations has been exceeded

iteration 1, loglik = -118154.126921iteration 2, loglik = -114723.816236iteration 3, loglik = -114379.229130iteration 4, loglik = -114066.103117iteration 5, loglik = -113927.593843iteration 6, loglik = -113883.229050iteration 7, loglik = -113574.381823iteration 8, loglik = -113542.638358iteration 9, loglik = -113495.297545iteration 10, loglik = -113423.681636iteration 11, loglik = -113382.248681iteration 12, loglik = -113369.970050iteration 13, loglik = -113359.575361

Test Performance

Nr_ex =

5

recognition_rate1 =

1

Nr_ex =

5

recognition_rate2 =

1

Nr_ex =

5

recognition_rate3 =

1

Nr_ex =

5

recognition_rate4 =

1

Nr_ex =

5

recognition_rate5 =

1

Nr_ex =

5

recognition_rate6 =

1

Nr_ex =

5

recognition_rate7 =

1

Nr_ex =

5

recognition_rate8 =

1

Nr_ex =

5

recognition_rate9 =

1

Nr_ex =

5

recognition_rate10 =

1

Matlab System Interface

Category : Online Speech Recognition System

Main menu (main.m)

Training Phase

Testing Phase

Close

Help

Training Phase

Loading Data

Extract Features

Train System, Save

Test Performance

-Main Menu

-Testing Phase

-Close

Review Matlab Files

Category : Online Speech Recognition System

Folder

HMMToolbox

sound toolbox

Mat only

database2.mat

database.mat

HMM.mat

M only

extract1.m

testsystem.m

train.m

ASV only

testing.asv

testingcontinuous.asv

testoption.asv

ASV & M files

extract.asv, extract.m

ExtractionFeature.asv, ExtractionFeature.m

help.asv, help.m

isolatedtesting.asv, isolatedtesting.m

main.asv, main.m

recognize.asv, recognize.m

test.asv, test.m

training.asv, training.m

trainsystem.asv, trainsystem.m