Abstract
There are a number of different open-source tools that allow developers to add speech input and output to their apps. In this chapter, we describe two different technologies that can be used for conversational systems, one for systems running on the Web and the other for systems running on mobile devices. For the Web, we will focus on the HTML5 Web Speech API (Web SAPI), while for mobile devices we will describe the Android Speech APIs .
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
https://developers.google.com/web/updates/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API?hl=en. Accessed February 21, 2016.
- 2.
https://developers.google.com/web/updates/2014/01/Web-apps-that-talk-Introduction-to-the-Speech-Synthesis-API?hl=en. Accessed February 21, 2016.
- 3.
https://en.wikipedia.org/wiki/Android_(operating_system). Accessed February 21, 2016.
- 4.
http://zoraidacallejas.github.io/ConversationalInterface/. Accessed March 2, 2016.
- 5.
https://dvcs.w3.org/hg/speech-api/raw-file/9a0075d25326/speechapi.html. Accessed February 21, 2016.
- 6.
http://www.w3.org/community/speech-api/. Accessed February 21, 2016.
- 7.
https://lsi.ugr.es/zoraida/conversandroid/. Accessed March 2, 2016.
- 8.
https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section. Accessed February 21, 2016.
- 9.
https://www.google.com/intl/en/chrome/demos/speech.html. Accessed February 21, 2016.
- 10.
https://dvcs.w3.org/hg/speech-api/raw-file/9a0075d25326/speechapi.html#speechreco-section. Accessed February 21, 2016.
- 11.
https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-error. Accessed February 21, 2016.
- 12.
https://www.google.com/intl/en/chrome/demos/speech.html. Accessed February 21, 2016.
- 13.
Remember that we have uploaded to http://lsi.ugr.es/zoraida/conversandroid for you, so that you do not have to set a server to try the examples provided in the book.
- 14.
http://developer.android.com/reference/android/speech/tts/package-summary.html. Accessed February 22, 2106.
- 15.
If you are not familiar with the term, you can learn more here: http://developer.android.com/guide/components/intents-filters.html. Accessed February 22, 2016.
- 16.
A Toast is a small text pop up shown on the device to provide simple feedbacks and notifications. Learn more in: http://developer.android.com/guide/topics/ui/notifiers/toasts.html. Accessed February 22, 2016.
- 17.
The input_text and speak_button elements are defined in the simpletts.xml layout file.
- 18.
http://developer.android.com/reference/android/speech/tts/UtteranceProgressListener.html. Accessed February 22, 2016.
- 19.
In order to show toasts from a listener, make sure that you run them on the UI thread.
- 20.
- 21.
- 22.
https://play.google.com/store/apps/details?id=com.techcasita.android.reco. Accessed February 22, 2016.
- 23.
http://updates.html5rocks.com/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API. Accessed February 22, 2016.
- 24.
http://stiltsoft.com/blog/2013/05/google-chrome-how-to-use-the-web-speech-api/. Accessed February 22, 2016.
- 25.
http://html5hub.com/using-the-web-speech-api/#i.1vh8jnvry3ex4w. Accessed February 22, 2016.
- 26.
http://grahamhinchly.wordpress.com/2013/11/14/working-with-the-web-speech-api/. Accessed February 22, 2016.
- 27.
http://www.moreawesomeweb.com/demos/speech_translate.html. Accessed February 22, 2016.
- 28.
http://www.adobe.com/devnet/html5/articles/voice-to-drive-the-web-introduction-to-speech-api.html. Accessed February 22, 2016.
- 29.
http://www.broken-links.com/tests/webspeech/synthesis.php. Accessed February 22, 2016.
- 30.
http://html5-examples.craic.com/google_chrome_text_to_speech.html. Accessed February 22, 2016.
- 31.
http://blog.teamtreehouse.com/getting-started-speech-synthesis-api. Accessed February 22, 2016.
- 32.
https://developers.google.com/web/updates/2014/01/Web-apps-that-talk-Introduction-to-the-Speech-Synthesis-API. Accessed February 22, 2016.
- 33.
http://developer.android.com/reference/android/speech/tts/TextToSpeech.html#getEngines(). Accessed February 22, 2016.
- 34.
- 35.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this chapter
Cite this chapter
McTear, M., Callejas, Z., Griol, D. (2016). Implementing Speech Input and Output. In: The Conversational Interface. Springer, Cham. https://doi.org/10.1007/978-3-319-32967-3_6
Download citation
DOI: https://doi.org/10.1007/978-3-319-32967-3_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-32965-9
Online ISBN: 978-3-319-32967-3
eBook Packages: EngineeringEngineering (R0)