microsoft virtual academy north shore.net user group our sponsors
TRANSCRIPT
Microsoft Virtual Academy
North Shore .NET User Group
Our Sponsors
• Introduction to Cortana
• Demo Cortana on Windows Phone.
• Introduction to Voice Commands and Text to Speech
• How to add Cortana to your application
Overview
• 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
Cortana
• 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
How to start
Demo
• 3 steps to set up Voice Commands
1. Create a Voice Command Definition file (VCD).
2. Register the VCD file.
3. Handle voice command activation
Cortana Voice commands
• 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();
Text to speech
• After your application has been activated to continue the conversation with the user
• http://www.bing.com/dev/en-us/speech
In app speech reconigtion
Demo
• 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.
Windows 10
• 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/
Reference
North Shore .NET User Group
Check out our web site
http://northshore.netusergroup.org.nz/
Follow us on Twitter
https://twitter.com/NSDNUG
Next Meetinghttp://northshore.netusergroup.org.nz/Meeting/Meetup/?
id=M20150528