Building a New Generation of Mobile Games with Speech

36
Nick Landry Senior Technical Evangelist – Microsoft [email protected] Blog: AgeofMobility.com @ActiveNick | github.com/ActiveNick Building a New Generation of Mobile Games with Speech

Transcript of Building a New Generation of Mobile Games with Speech

Page 1: Building a New Generation of Mobile Games with Speech

Nick LandrySenior Technical Evangelist – Microsoft

[email protected]

Blog: AgeofMobility.com

@ActiveNick | github.com/ActiveNick

Building a New Generation

of Mobile Games

with Speech

Page 2: Building a New Generation of Mobile Games with Speech
Page 3: Building a New Generation of Mobile Games with Speech
Page 4: Building a New Generation of Mobile Games with Speech

Computer Speech is the Dream

Page 5: Building a New Generation of Mobile Games with Speech

Developer Opportunity

Differentiate your app with voice commands

Delight your users with natural interactions

Increase user engagement

Increase productivity

Increase discovery

Games can benefit too!

Page 6: Building a New Generation of Mobile Games with Speech

Mobile Speech is a Responsibility

Page 7: Building a New Generation of Mobile Games with Speech

AccessibilityMedical

Conditions

Hands-free

Apps &

Games

Learning &

Therapy

Travel Apps

with

Translation

Page 8: Building a New Generation of Mobile Games with Speech

Wing Commander

Early use of speech

Halo

Iconic voiced character

Battlefield 4

Voiced squad commands

SWTOR

Largest voice acting game

Page 9: Building a New Generation of Mobile Games with Speech

In-Game Voices

Voiced narrator

Talking computers

Robots & droids

Augmented Gameplay

In-game commands

Squad tactics

Speech-based Games

Text adventures

Hands-free games

Serious Games

Disabled gamers

Learning & therapy

Page 10: Building a New Generation of Mobile Games with Speech

Speech SDK

Features for DevsWindows 10

Windows/WP

8.1

iOS

(iPhone/iPad)

Android

(Phone/Tablet)

Built-in Personal

Assistant with

Speech

Cortana Cortana

(WP8.1 only)

Siri Google Now

Launcher

Personal Assistant

Extensions in third-

party apps using

Voice Commands

Yes Yes

(WP8.0+ only)

No

(first-party apps

only)

No

(invite-only

third-party apps)

Speech Synthesis

SDK for Devs

(Text-to-Speech)

Yes Yes Yes Yes

In-app Speech

Recognition SDK

for Devs

Yes Yes

(WP8.0+ only)

No

(entry field

dictation only)

Yes

Page 11: Building a New Generation of Mobile Games with Speech
Page 12: Building a New Generation of Mobile Games with Speech

http://www.w3.org/TR/speech-synthesis/

Page 13: Building a New Generation of Mobile Games with Speech

<speak

version='1.0'

xmlns='http://www.w3.org/2001/10/synthesis'

xml:lang='en-us'>

<voice name='Microsoft Zira Mobile'>

<prosody pitch='low' rate='0.9'>

This is the text that will be read by the speech synthesizer.

</prosody>

</voice>

</speak>

Page 14: Building a New Generation of Mobile Games with Speech

Windows 10/8.1

Store Apps

Windows Phone

8.1 Apps

Android 5.0

Apps

iOS 8.1

Apps

Basic Speech Synthesis (TTS) Yes Yes Yes Yes

Male & Female Voices Yes Yes Partial* Partial*

No of Languages/Variants

Supported

16 15 16 37

Use Speech Synthesis Offline Yes Yes Yes Yes

Control TTS Voice Rate / Speed Yes Yes Yes Yes

Control TTS Voice Pitch Yes Yes Yes Yes

Control TTS Voice Volume Yes Yes Yes Yes

SSML Support Yes* Yes* Yes* No

Stop, Pause, Resume Speech Audio Yes Yes Yes* Yes

Save Synthesized Speech to Audio

File

Yes Yes Yes No

Play TTS Audio in Background Yes Yes Yes* Yes

Support for Custom TTS Engines No No Yes No

Sources: [Windows] http://msdn.microsoft.com - [Android] http://developer.android.com/reference/android/speech/tts/package-summary.html

[iOS] https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechSynthesizer_Ref/index.html

Page 15: Building a New Generation of Mobile Games with Speech
Page 16: Building a New Generation of Mobile Games with Speech
Page 17: Building a New Generation of Mobile Games with Speech
Page 18: Building a New Generation of Mobile Games with Speech
Page 19: Building a New Generation of Mobile Games with Speech

http://projectoxford.ai

Page 20: Building a New Generation of Mobile Games with Speech

Microphone Array

http://kinectforwindows.com

Page 21: Building a New Generation of Mobile Games with Speech
Page 22: Building a New Generation of Mobile Games with Speech

HoloLens “X-Ray” Tech Demo / Game

Page 23: Building a New Generation of Mobile Games with Speech

Call

Text

Remind

Email

Voice Command

XAdventure Works

Voice Command

Definition (VCD)

Microsoft Speech

Platform Service (cloud)

Adventure Works, show my trip to London

Application Code

Page 24: Building a New Generation of Mobile Games with Speech
Page 25: Building a New Generation of Mobile Games with Speech

Call to Action: Speech-enable your games!

• Speech is a convenience, it’s fun, and it’s also a responsibility!

• Speech synthesis is the low-hanging fruit

• Give users quick and easy access to frequently

accessed game launching scenarios

via Voice Commands

• Can you think of games that can be

played completely hands-free?

• Think outside the box!

Page 26: Building a New Generation of Mobile Games with Speech

https://github.com/activenick

http://aka.ms/cortanasample

http://aka.ms/grouppost

http://aka.ms/trailfinder81

http://aka.ms/cortanadocs

http://aka.ms/speechdocs

https://msdn.microsoft.com/en-us/library/windows/apps/dn974233.aspx

http://dev.bing.com

https://github.com/Microsoft/unityplugins

Page 27: Building a New Generation of Mobile Games with Speech

BUILD 2015 Sessions On-Demand

Cortana and Speech Platform In-depth Adina Trufinescu

Khuram Shahid

Session Title Speakers Session Code

3-716

Build with Bing: Use Bing APIs and

Tools to Enrich Your Apps and Make

Them More Discoverable

Andre Furtado

Vincent Wehren

2-727

Hosted Web Apps and Web

Platform Innovations

Jeff Burtoft

Kiril Seksenov

2-665

Using Azure Search to Build Great

Search Experiences in Mobile and

Web Apps

Pablo Castro 2-745

Cortana Extensibility in Universal

Windows Apps

Ed Doran

Ali Emami

2-691

http://channel9.msdn.com/events/build/2015

Page 28: Building a New Generation of Mobile Games with Speech

https://github.com/Microsoft/Windows-universal-samples

http://channel9.msdn.com/events/build/2015

http://aka.ms/win10devmva

http://aka.ms/devassistant

http://blogs.windows.com/buildingapps/2015/08/25/using-cortana-to-interact-with-your-customers-10-by-10

Page 29: Building a New Generation of Mobile Games with Speech

Online Microsoft training delivered by experts to help technologists continually learn

Hundreds of courses for developers, IT Pros, students, entrepreneurs and enthusiasts

11 different languages

3M+ students registered

Build your own Learning Plan

All free!

http://www.microsoftvirtualacademy.com

Page 30: Building a New Generation of Mobile Games with Speech

• Universal Windows App Developmentwith Cortana and the Speech SDK

• Available for on-demand viewing now:http://aka.ms/CortanaMVA

Page 31: Building a New Generation of Mobile Games with Speech

• Channel 9 Show

• Visual Studio Toolboxwith Robert Green

https://channel9.msdn.com/Shows/Visual-Studio-Toolbox/App-Development-with-Cortana

Page 32: Building a New Generation of Mobile Games with Speech

Visual Studio

Community Edition

Modern Web

Development

Mobile App

Development

Cloud

Development

Game

Development

Page 33: Building a New Generation of Mobile Games with Speech

• Apply at aka.ms/bizsparkapply

Page 34: Building a New Generation of Mobile Games with Speech

• Visual Studio Enterprise Edition

• Office 365 Subscription

• Windows licenses

• Server software licenses

• All licenses are yours to keep

• No commitment to buy

aka.ms/bizsparkapply

Page 35: Building a New Generation of Mobile Games with Speech

Slides are in SlideShare. Demos are on GitHub.

Slideshare: www.slideshare.net/ActiveNick

Blog: www.AgeofMobility.com

Twitter: @ActiveNick

Mobile Apps: www.bigbaldapps.com

LinkedIn: www.linkedin.com/in/activenick

GitHub: github.com/ActiveNick

Email: [email protected]

Page 36: Building a New Generation of Mobile Games with Speech