1 / 12

Introduction to Cortana: Your Personal Digital Assistant

Learn about Cortana, the data and location aware personal assistant, with demos on Windows Phone. Discover how to add Cortana to your application and explore voice commands and text to speech.

iflora
Download Presentation

Introduction to Cortana: Your Personal Digital Assistant

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. North Shore .NET User Group Our Sponsors

  2. Overview • Introduction to Cortana • Demo Cortana on Windows Phone. • Introduction to Voice Commands and Text to Speech • How to add Cortana to your application

  3. Cortana • Your personal digit assistant that is data aware and location aware • Character from Halo • Currently available on WP8.1 • Will be available on iPhone and Android • One of the new features of Windows 10 includes desktop, tablet, phone and xbox

  4. How to start • Set your region to United States (required reboot). • Start Cortana, "What can I say" • http://www.windowsphone.com/en-nz/how-to/wp8/cortana/what-can-i-say-to-cortana

  5. Demo

  6. Cortana Voice commands • 3 steps to set up Voice Commands • Create a Voice Command Definition file (VCD). • Register the VCD file. • Handle voice command activation

  7. Text to speech • Declare Media element in XAML <MediaElement x:Name="feedbackMediaElement"/> • C# var speechSynthesizer = new Windows.Media.SpeechSynthesis.SpeechSynthesizer(); var stream = await speechSynthesizer.SynthesizeTextToStreamAsync(feedback); feedbackMediaElement.SetSource(stream, stream.ContentType); feedbackMediaElement.Play();

  8. In app speech reconigtion • After your application has been activated to continue the conversation with the user • http://www.bing.com/dev/en-us/speech

  9. Demo

  10. Windows 10 • Built in to the OS, should cover all devices. E.g. A voice pizza ordering app across all of the devices • Not sure how deep the integration goes but assume the searching, reminder, calendar should be there.

  11. Reference • http://www.microsoftvirtualacademy.com/training-courses/universal-windows-app-development-with-cortana-and-the-speech-sdk • https://code.msdn.microsoft.com/windowsapps/MSDN-Voice-Search-for-95c16d92 • http://www.bing.com/dev/en-us/speech • http://www.buildwindows.com/

  12. North Shore .NET User Group Check out our web site http://northshore.netusergroup.org.nz/ Follow us on Twitter https://twitter.com/NSDNUG Next Meeting http://northshore.netusergroup.org.nz/Meeting/Meetup/?id=M20150528

More Related