C# 클래스 SPIDVerificationAPI_WPF_Sample.EnrollPage

Interaction logic for EnrollPage.xaml
상속: System.Windows.Controls.Page
파일 보기 프로젝트 열기: Microsoft/ProjectOxford-ClientSDK

공개 메소드들

메소드 설명
EnrollPage ( ) : Microsoft.ProjectOxford.SpeakerRecognition

Creates a new EnrollPage

비공개 메소드들

메소드 설명
createProfile ( ) : Task

Creates a speaker profile

enrollSpeaker ( Stream audioStream ) : void

Enrolls the audio of the speaker

initializeRecorder ( ) : void

Initialize NAudio recorder instance

initializeSpeaker ( ) : void

Initialize the speaker information

record_Click ( object sender, RoutedEventArgs e ) : void

Click handler for the record button

refreshPhrases ( ) : void

Refresh the list of phrases

resetBtn_Click ( object sender, RoutedEventArgs e ) : void

Remove current speaker Id

setStatus ( string status ) : void

Helper method to set the status bar message

setUserPhrase ( string phrase ) : void

Persists the verification phrase of the speaker

stopRecord_Click ( object sender, RoutedEventArgs e ) : void

Click handler for the record button

waveIn_DataAvailable ( object sender, NAudio.Wave.WaveInEventArgs e ) : void
waveSource_RecordingStopped ( object sender, NAudio.Wave.StoppedEventArgs e ) : void

A listener called when the recording stops

메소드 상세

EnrollPage() 공개 메소드

Creates a new EnrollPage
public EnrollPage ( ) : Microsoft.ProjectOxford.SpeakerRecognition
리턴 Microsoft.ProjectOxford.SpeakerRecognition