microsoft virtual academy north shore.net user group our sponsors

12
Microsoft Virtual Academy North Shore .NET User Group Our Sponsors

Upload: marshall-townsend

Post on 02-Jan-2016

215 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

Microsoft Virtual Academy

North Shore .NET User Group

Our Sponsors

Page 2: 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

Page 3: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

• 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

Page 4: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

• 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

Page 5: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

Demo

Page 6: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

• 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

Page 7: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

• 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

Page 8: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

• 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

Page 9: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

Demo

Page 10: Microsoft Virtual Academy North Shore.NET User Group Our Sponsors

• 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