www.pudn.com > 3yuyinshibie.rar > BSR.INC



.EXTERNAL F_BSRStartPlay
//Parameters: R1 = Buffer address, R2 = Number of samples, R3 = Memory bank no.

.EXTERNAL F_BSRAudioStop
//....This function is used to clear all interrupt, so the audio function is disabled.
//Parameters: NONE

.EXTERNAL F_BSR_PauseRecognizer
//....This function is used to temporary stop the recognizer. After calling this function
//all resource can be used by the main program, including CPU, RAM, Audio and Interrupt.
//Parameters: NONE

.EXTERNAL F_BSR_ResumeRecognizer
//....Call this function to continue the recognition process after BSRPause().
//Parameters: NONE

.EXTERNAL F_BSR_SetSensitivity
//....This function is used to set the level of rejection for all words.
//When recognizer is activated, this value will be added to every rejection thresholds defined 
//in the model, value of zero indicates that no additional level is added. 
//Parameters: R1 = CommandID, R2 = Sensitivity

.EXTERNAL F_BSR_SetPreferenceLevel
//....This function is used to set the distance weight of currently selected model group.
//Parameters: R1 = CommandID, R2 = DistWeight

.EXTERNAL F_BSR_InitRecognizer
//....This function is used to initialize the recognizer engine.
//Parameters: NONE

.EXTERNAL F_BSR_GetResult
//....This function is used to perform recognition. Return value = 0 if no recognition result
//is available, otherwise it returns the word index.
//Parameters: NONE

.EXTERNAL F_BSR_StopRecognizer

.EXTERNAL F_BSR_SelectGroup
//....This function is used to select the model group. GroupNo begins from 0 to NumGroup-1.
//Parameters: R1 = GroupNo.

.EXTERNAL F_BSR_GetRecognizerScore
//....This function return the score of current recognizer result. The value is in the range of 
// -0x1000 to 0x1000. Negative value means that the result is rejected.

.EXTERNAL F_BSR_GetRejectedResult

.EXTERNAL F_BSR_EnableCPUIndicator

.EXTERNAL F_BSR_DisableCPUIndicator

.EXTERNAL F_BSR_SetRejectionLevel

.EXTERNAL F_BSR_DisableRejection