1 / 16

Creating User Interfaces

This proposal outlines a VoiceXML project focused on creating user interfaces and providing examples for learning VoiceXML. The project will involve developing voice interfaces, working with hardware and software, and implementing procedures. The goal is to provide hands-on experience and improve skills in VoiceXML programming.

srazo
Télécharger la présentation

Creating User Interfaces

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Creating User Interfaces VoiceXML. Examples. Classwork/Homework: Make proposal and start work on your VoiceXML project.

  2. Computing in the news • https://www.washingtonpost.com/news/the-fix/wp/2016/03/22/utah-republicans-are-holding-a-first-ever-online-primary-and-its-not-going-so-well/ • Note: regular voting had problems, also, due to larger than expected turnout.

  3. Embedded computer in the news • http://www.nytimes.com/2016/03/23/business/chip-card-payment-system-delays-frustrate-retailers.html

  4. Reminder • Computer information systems depend on • Hardware, • Software, and networks, • People, • Procedures

  5. My formula for learning VoiceXML • Copy the example exactly. Follow procedure for Adding an Application. Try 800 phone number (or Skype). Be patient. • Make changes: first small and then larger. • Repeat with next example. • Combine examples. • Don’t try rps until you have done first 3-4 tutorials

  6. Rock paper scissors • Person against "computer". The computer makes moves at random. • NOTE: there are rps contests involving paper and involving computer programs! • Perhaps programs find patterns in pseudo-random processing? • Extra credit posting opportunity.

  7. My program • http://faculty.purchase.edu/jeanine.meyer/interfaces/rps.xml • Could be better, specifically • Insert pauses in speech. • Could also use recorded audio. • Note: your program should use recorded audio when possible.

  8. rps program structure • Variables • Script • Menu, with prompts, nomatch, noinput, and 5 choice(s) • Form for each option • Form has block has audio

  9. Examine code • http://faculty.purchase.edu/jeanine.meyer/interfaces/rps.xml • Note overall logic and then fine points • Break • Values • Text used for TTS

  10. Example: family greeting • Includes • Using my own wav files • Recorded using Quick Time then convert to wav using media.io • [Alternate item. Could use more testing.] • Asking for a number (built-in grammar) • Doing calculation (subtraction) • Uses a break statement

  11. Examine code • http://faculty.purchase.edu/jeanine.meyer/tellme/whoisthisfamily3.xml • Note overall logic • At one point, I didn't repeat the number of cranes. • Places for improvement include • Timing • Confirming responses

  12. Procedure After planning strategy… • Write or update file • Check out in browser to catch xml errors • Use Filezilla (or other FTP) to get on the web • Voxeo Account Account Manager • Make new application or update application in Voxeo • Use View file • Contact Methods • Make call (use PIN)

  13. Debugging • Assumes proper format! • Account • Application Debugger

  14. Refinement • Recruit others to test and listen to feedback. • Put in (more) breaks. • Think about re-prompt messages. • Record your own audio files. • Keep the backup TTS content • ???

  15. Advice • Always do the View File • To make sure that your latest is what is being tested • May indicate VoiceXML errors • Make haste slowly… • Always save last working copy • Git helps!

  16. Classwork / homework • Make proposal • Do project! • Repeat: work incrementally

More Related