C# 클래스 KinectMenu.SpeechEngine

The class that handles audio from the kinect.
파일 보기 프로젝트 열기: NUIC/2-Kinects-1-Machine 1 사용 예제들

공개 메소드들

메소드 설명
getInstance ( ) : SpeechEngine
registerSpeechRecognized ( EventHandler handler ) : void

Registers a speech recognized event with the speech engine.

registerSpeechRejected ( EventHandler handler ) : void

Registers a speech rejected event with the speech engine.

removeSpeechRecognized ( EventHandler handler ) : void

Removes the speech recognized event handler from the speech engine.

removeSpeechRejected ( EventHandler handler ) : void

Removes the speech rejected event handler from the speech engine.

비공개 메소드들

메소드 설명
GetKinectRecognizer ( ) : RecognizerInfo
InitializeKinectAudio ( ) : RecognizerInfo

Finds and sets up the Kinect audio source.

InitializeSpeech ( ) : void

Called by the constructor. Sets up the kinect audio source, the grammar and the speech engine.

SpeechEngine ( ) : System

메소드 상세

getInstance() 공개 정적인 메소드

public static getInstance ( ) : SpeechEngine
리턴 SpeechEngine

registerSpeechRecognized() 공개 메소드

Registers a speech recognized event with the speech engine.
public registerSpeechRecognized ( EventHandler handler ) : void
handler EventHandler The speech recognized handler to register
리턴 void

registerSpeechRejected() 공개 메소드

Registers a speech rejected event with the speech engine.
public registerSpeechRejected ( EventHandler handler ) : void
handler EventHandler The speech rejected handler to register
리턴 void

removeSpeechRecognized() 공개 메소드

Removes the speech recognized event handler from the speech engine.
public removeSpeechRecognized ( EventHandler handler ) : void
handler EventHandler
리턴 void

removeSpeechRejected() 공개 메소드

Removes the speech rejected event handler from the speech engine.
public removeSpeechRejected ( EventHandler handler ) : void
handler EventHandler
리턴 void