In fact, we have integrate the functionality of SA into a MATLAB function waveAssess.m in the ASR toolbox. Please try the following example:
In the above example, waveAssess.m does invoke ASRA to do speech assessment, and then read the output file output.xml to get the word/phoneme boundaries and scores to draw the plot. To be specific,
"cmObj" is a MATLAB structure which has the same information as the contents of "confidenceMeasure" tag of the output.xml file.
"dosCmd" is the DOS command used to run the ASRA for speech assessment. You can copy the command and run it under {asrToolboxRoot}\exe to see the result. (In fact, running the DOS command is a good way to do debugging when waveAssess.m errs out.)
If you need to get the pitch of the utterance, try the following example:
For spoken Chinese assessment, try this one:
Moreover, you can use the following scripts for demonstration: