In this video, write helper code that access an audio file, submits for enrollment to a speaker identification profile, checks in status, and supports partial enrollment.
- [Narrator] Now with the identification profile…methods out of the way at this point you should have…an identification profile ID.…So next we need to write a method to perform enrollment.…So the way enrollment works, just a little recap,…is that we submit audio for a particular person…and it has to be at least 30 seconds of audio…for the enrollment to complete.…So I'm going to create a function called create enrollment.…It accepts a file name which is supposed to contain…the spoken text from a person.…
We're associating it with a certain profile ID…and because this is an async call we resolve it…with promise request status.…We go ahead and create the promise…and we return the promise and in here now…I'm going to resolve or reject the promise based…on some logic.…So what is that logic like?…So first as usual I'm going to get request options…from that helper method that we had…and the default content type of application…slash octet stream is okay because we are going to submit…a WAV file this time.…
But I do need to specify the WAV file contents…
- Using the Translate Text API
- Getting supported languages
- Writing code to translate between languages
- Performing text to speech
- Setting up speech to text
- Writing code for speaker identification
Skill Level Intermediate
Microsoft Cognitive Services for Developers: 1 Visionwith Sahil Malik2h 35m Intermediate
Learning Microsoft Cognitive Services for Developerswith Sahil Malik1h 42m Intermediate
Creating Bots with the Microsoft Bot Framework, Part 1with Scott Peterson45m 41s Intermediate
1. The Basics
2. Translation Text API
3. Bing Speech API
4. Speaker Recognition API
Next steps1m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.