Welcome!

Microsoft Cloud Authors: Liz McMillan, David H Deans, Pat Romanski, Janakiram MSV, Jnan Dash

Related Topics: Microsoft Cloud

Microsoft Cloud: Article

An Introduction to Speech Server

For voice-only and multimodal applications

The Web model has made people accustomed to being able to access information from just about anywhere at anytime. The problem is that we don't always have a Web browser available. The solution is to provide a voice interface to the application because most people have access to a telephone all the time. Microsoft provides a Speech platform for developing and running speech-enabled applications. Microsoft Speech Server (MSS) is the part of the platform that's used to deploy and run distributed speech applications. This article will offer an overview of Speech Server and associated technologies.

Speech Server is a Speech Applica-tion Language Tag (SALT)-compatible server that's capable of doing Speech Recognition (SR) and Text-To-Speech (TTS). SALT is a specification for extending existing Web specifications to support speech. More information can be found at www.saltforum.org. Speech Server is used when a device isn't powerful enough to do SR or TTS on its own. The two most prominent scenarios are:

  1. voice-only telephone apps
  2. multimodal Pocket PC apps
You're probably already familiar with voice-only telephone apps, such as when you call up your automated bank teller to check your account balance. User input can be done through your voice, or by using the key-pad (DTMF) on the phone. Output is either a pre-recorded voice, or a computer synthesized voice.

Multimodal apps are new. Currently they're web apps that are speech-enabled. Imagine the bank scenario again, but this time you're paying bills online. You have your bills in a stack in front of you, and the Web page is listing your payees. The non-speech-enabled scenario involves you using your mouse to click the payee, picking up the bill to see the amount, using the keyboard to enter the amount to be paid...then repeating the process. A multimodal app would involve you speaking the name of the payee, and then speaking the amount to be paid...you never having to touch the mouse or keyboard, or put the bills down. You can see the obvious benefit. But it becomes more beneficial when introducing mobile devices that don't have optimum user input capabilities, such as a Pocket PC or a slate Tablet PC. The next sections will further explain both voice-only and multimodal applications.

Voice-Only

To support voice-only telephony apps, the Speech Server requires a hardware board (<$1,000) installed in your ser-ver. It's a low-cost Dialogic board by Intel that can be plugged into the Public Switched Telephone Network (PSTN). It handles the processing of incoming and outgoing calls. If you're just experimenting with voice-only apps, then the Speech Application SDK (described below) provides a Telephone Application Simulator that you can test without the Dialogic board. Another accessible alternative is to use a hosted provider. In that case, somebody else would provide the Speech Ser-ver setup, and all you have to do is create (and possibly host) the speech-enabled Web application. Then you can call into their Speech Server and access your voice application. I must say it's a lot of fun to call up and have a conversation with an application you've written. It's fun to say hello back to your own Hello World app. But one wonders whether it's impolite to hang up on your app instead of saying goodbye.

Multimodal

A multimodal application is different from the voice-only scenario. It doesn't require a hardware board to connect to the PSTN because all data is passed over TCP. From the graphic above, the Pocket PC user browses to the Web page first. The Web server returns a Web page with SALT. At this point, the Speech Add-in for Pocket Internet Explorer kicks in (it has to be installed on the Pocket PC), and initiates a session with the Speech Server by using SOAP commands. The Web page could require voice input from the user, or need to do TTS output. For input, the user would hit a hardware button to start recording his answer through the PPC microphone. The PIE Speech add-in does some processing of the voice input, including compression, and then transmits that to the Speech Server over TCP. The Speech Ser-ver then processes the voice according to a grammar and returns the result as XML. The Speech add-in displays the result in the Web page, and possibly posts back to the Web server. If the Web page needed to do TTS output, then the Speech add-in would send the text to the Speech Server. Speech Server would connect to TTS and return the synthesized voice over TCP to be played back on the PPC's speaker. The user thinks he's connected to the Web server, but behind the scenes the Speech add-in is connecting to the Speech Server for additional processing. The Speech add-in connects to the Speech Server through SOAP commands, as well as directly on a TCP port.

A Speech Server isn't necessary in all multimodal scenarios. Tablet and desktop PCs are powerful enough to do SR and TTS locally. They don't need to offload the processing power to a server. In that case, they only need to access the Web server that's hosting the speech application. But they do need an add-in to make their browsers speech-capable. The add-in for IE is called the Speech Add-in for Microsoft Internet Explorer. Sadly, the IE Speech add-in is only available through the 200-megabyte Speech Application SDK download. My hope is that the recently announced IE7 will be deployed with the Speech Add-in.

Settings

Speech Server is something of a black box when it comesto how it does SR and TTS. It offers options to configure the voice used for speech synthesis and what port Pocket IE uses as well as logging. The pic below shows the two voices that come with Speech Server Standard Edition. There's also an XML file that can be modified to tweak the voice synthesis. The next sections will explore other technologies related to Speech Server.

Speech Application SDK

The Speech Application SDK is closely related to Speech Server. The Speech SDK is used to develop speech applications that use SALT. The Speech SDK installs into Visual Studio .NET adding project types, controls, Web scripts, designers, samples, debugging tools, and documentation. The developer skill set for voice applications is rather broad. You need to be familiar with ASP.NET, XML, SALT, XPATH, client-side scripting, grammars, prompt databases, and VUI (voice UI) design. The Speech SDK supports developing and debugging both voice-only and multimodal applications. More information about the Speech SDK can be found at the Microsoft Speech home page (see www.microsoft.com/speech/).

Speech Add-In for Pocket Internet Explorer

The Speech Add-in for PIE lets the user browse speech-enabled Web applications on a Pocket PC. It's included as an installer with Speech Server. Under the covers it interprets the SALT in the Web pages, communicates with the Speech Server through SOAP and TCP, displays an audio meter when recording input, does some processing and compression of voice input, and plays back synthesized output from the Speech Server. It gracefully handles any lost connections to the Speech Server, when you still have access to the Web server so the Web application still works (just without voice).

It will only work on Pocket PC 2003 devices, and only over a Wi-Fi or Ethernet connection. The PIE Speech add-in won't work on SmartPhones. Finally, the PIE Speech add-in is intended for controlled wireless networks. Meaning it can be used in office situations and warehouses. It's not intended for you to be able to do voice browsing when you happen to be at a public Wi-Fi hot spot (e.g., Starbucks). The pic below shows the Speech Add-in for PIE collecting audio for speech recognition.

Speech Add-In for Internet Explorer

The Speech Add-in for IE is like the Speech Add-in for PIE. The difference is that the Speech Add-in for IE doesn't require Speech Server. It does all the SR and TTS processing on the client machine. And it doesn't have the same connection restrictions. All it needs is a connection to the Web server that's rendering SALT-enabled Web pages. The desktop Speech Add-In for Internet Explorer comes with the Speech Application SDK.

Language Pack 1.1 Betas

The Speech Platform currently has three products in beta. One beta is version 1.1 of the Speech Application SDK. The other two betas are language packs for North American Spanish and Canadian French. The current RTM version of Speech Server only supports English. But with the language packs Speech Ser-ver can be extended to support more languages. A standard call center scenario can let a user choose which language he wants to use as in press 1 for English or 2 for Spanish. Having grown up in Texas, I know this required at many companies.

Conclusion

This has been a high-level overview of Speech Server and how it fits in the Microsoft Speech Platform. I hope that it has made it clear how flexible Speech Server is to handle the different application requirements that you might have, including voice-only call center or multimodal Pocket PC scenarios. If you want to con-tinue investigating Speech Server, I have published a continuation of this article showing the step-by-step process to install Speech Server and develop a multimodal Pocket PC application using the Speech Application SDK. It can be found at www.brains-N-brawn.com/speechMulti/.

More Stories By Casey Chesnut

Casey Chesnut is an independent consultant specializing in Seamless Computing (Mobility, Web Services, Speech, Location). This includes the Compact Framework, WS-*, Tablet PC, Speech SDK, MapPoint, and Artificial Intelligence. His blog and other articles can be found at www.brains-N-brawn.com.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
Apache Hadoop is emerging as a distributed platform for handling large and fast incoming streams of data. Predictive maintenance, supply chain optimization, and Internet-of-Things analysis are examples where Hadoop provides the scalable storage, processing, and analytics platform to gain meaningful insights from granular data that is typically only valuable from a large-scale, aggregate view. One architecture useful for capturing and analyzing streaming data is the Lambda Architecture, represent...
My team embarked on building a data lake for our sales and marketing data to better understand customer journeys. This required building a hybrid data pipeline to connect our cloud CRM with the new Hadoop Data Lake. One challenge is that IT was not in a position to provide support until we proved value and marketing did not have the experience, so we embarked on the journey ourselves within the product marketing team for our line of business within Progress. In his session at @BigDataExpo, Sum...
Things are changing so quickly in IoT that it would take a wizard to predict which ecosystem will gain the most traction. In order for IoT to reach its potential, smart devices must be able to work together. Today, there are a slew of interoperability standards being promoted by big names to make this happen: HomeKit, Brillo and Alljoyn. In his session at @ThingsExpo, Adam Justice, vice president and general manager of Grid Connect, will review what happens when smart devices don’t work togethe...
SYS-CON Events announced today that Ocean9will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Ocean9 provides cloud services for Backup, Disaster Recovery (DRaaS) and instant Innovation, and redefines enterprise infrastructure with its cloud native subscription offerings for mission critical SAP workloads.
In his session at @ThingsExpo, Eric Lachapelle, CEO of the Professional Evaluation and Certification Board (PECB), will provide an overview of various initiatives to certifiy the security of connected devices and future trends in ensuring public trust of IoT. Eric Lachapelle is the Chief Executive Officer of the Professional Evaluation and Certification Board (PECB), an international certification body. His role is to help companies and individuals to achieve professional, accredited and worldw...
SYS-CON Events announced today that Technologic Systems Inc., an embedded systems solutions company, will exhibit at SYS-CON's @ThingsExpo, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Technologic Systems is an embedded systems company with headquarters in Fountain Hills, Arizona. They have been in business for 32 years, helping more than 8,000 OEM customers and building over a hundred COTS products that have never been discontinued. Technologic Systems’ pr...
SYS-CON Events announced today that CA Technologies has been named “Platinum Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY, and the 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business – from apparel to energy – is being rewritten by software. From ...
The taxi industry never saw Uber coming. Startups are a threat to incumbents like never before, and a major enabler for startups is that they are instantly “cloud ready.” If innovation moves at the pace of IT, then your company is in trouble. Why? Because your data center will not keep up with frenetic pace AWS, Microsoft and Google are rolling out new capabilities In his session at 20th Cloud Expo, Don Browning, VP of Cloud Architecture at Turner, will posit that disruption is inevitable for c...
SYS-CON Events announced today that Cloudistics, an on-premises cloud computing company, has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Cloudistics delivers a complete public cloud experience with composable on-premises infrastructures to medium and large enterprises. Its software-defined technology natively converges network, storage, compute, virtualization, and management into a ...
Keeping pace with advancements in software delivery processes and tooling is taxing even for the most proficient organizations. Point tools, platforms, open source and the increasing adoption of private and public cloud services requires strong engineering rigor - all in the face of developer demands to use the tools of choice. As Agile has settled in as a mainstream practice, now DevOps has emerged as the next wave to improve software delivery speed and output. To make DevOps work, organization...
SYS-CON Events announced today that Loom Systems will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Founded in 2015, Loom Systems delivers an advanced AI solution to predict and prevent problems in the digital business. Loom stands alone in the industry as an AI analysis platform requiring no prior math knowledge from operators, leveraging the existing staff to succeed in the digital era. With offices in S...
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
SYS-CON Events announced today that Interoute, owner-operator of one of Europe's largest networks and a global cloud services platform, has been named “Bronze Sponsor” of SYS-CON's 20th Cloud Expo, which will take place on June 6-8, 2017 at the Javits Center in New York, New York. Interoute is the owner-operator of one of Europe's largest networks and a global cloud services platform which encompasses 12 data centers, 14 virtual data centers and 31 colocation centers, with connections to 195 add...
SYS-CON Events announced today that SoftLayer, an IBM Company, has been named “Gold Sponsor” of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. SoftLayer, an IBM Company, provides cloud infrastructure as a service from a growing number of data centers and network points of presence around the world. SoftLayer’s customers range from Web startups to global enterprises.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 20th International Cloud Expo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buyers...
SYS-CON Events announced today that T-Mobile will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on ...
SYS-CON Events announced today that Infranics will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Since 2000, Infranics has developed SysMaster Suite, which is required for the stable and efficient management of ICT infrastructure. The ICT management solution developed and provided by Infranics continues to add intelligence to the ICT infrastructure through the IMC (Infra Management Cycle) based on mathemat...
SYS-CON Events announced today that SD Times | BZ Media has been named “Media Sponsor” of SYS-CON's 20th International Cloud Expo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. BZ Media LLC is a high-tech media company that produces technical conferences and expositions, and publishes a magazine, newsletters and websites in the software development, SharePoint, mobile development and commercial UAV markets.
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 20th International Cloud Expo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
"I think that everyone recognizes that for IoT to really realize its full potential and value that it is about creating ecosystems and marketplaces and that no single vendor is able to support what is required," explained Esmeralda Swartz, VP, Marketing Enterprise and Cloud at Ericsson, in this SYS-CON.tv interview at @ThingsExpo, held June 7-9, 2016, at the Javits Center in New York City, NY.