Hi,
I am working on a speech recognition project on eZdsp C5535 right now. This project would use 1 trigger word and several (4~7) short commands, such as 'recording', 'complete'.
I started from the reference design project introduced here: Speech Recognition Reference Design on the C5535 eZdsp
Initially the accuracy is not satisfactory, I made following changes:
1. Increased sampling rate from 8kHz to 16kHz.
In "TIesr_C55_demo/inc/audio_data_collection.h" file, I changed following:
#define SAMP_RATE ( SAMP_RATE_8KHZ ) ---> ( SAMP_RATE_16KHZ )
#define NUM_SAMP_PER_MS ( SAMPS_PER_MSEC_8KHZ ) ---> ( SAMPS_PER_MSEC_16KHZ )
In "TIesr_C55_demo/C55/TIesrEngine/src/winlen.h" file, I changed following:
#define FRAME_LEN 480 ---> 320
#define SAM_FREQ 24000 ---> 16000
In "TIesr_C55_demo/C55/TIesrEngine/src/mfcc_f.h":
if (WINDOW_LEN == 512 && SAM_FREQ == 24000 ) ---> if (WINDOW_LEN == 512 && SAM_FREQ == 16000 )
2. Increased the Rx circular buffer size from the default value 10 to 20 in "TIesr_C55_demo/inc/audio_data_collection.h" file.
#define RX_CIRCBUF_NUM_FRAMES ( 20 ) // 10 frames in Rx circular buffer
3. Increased the codec gain configuration.
Though the accuracy is improved after these modifications, I am not very sure if I was making changes at the right places. Could you help me to see/verify if these changes are correct?
Right now, I am still working on increasing the recognition accuracy.
1. I noticed that if I build less words/phrases into one grammar model file, the accuracy would increase. I guess if I use multiple grammar model file to store these 5~8 words/phrase, the overall accuracy would increase.
If this assumption is correct, May I ask how to switch grammar model during the run-time? Or it is better to create multiple different TIesr Engine instances loaded with different grammar model?
2. Does TI provide other reference design on techniques such as echo cancellation and adaptive noise cancellation for the TIesr to handle the noisy environment?
3. Any other techniques to improve the recognition accuracy?
Thank you
Da