Download presentation
Presentation is loading. Please wait.
Published byDaisy Smith Modified over 8 years ago
1
Creating User Interfaces VoiceXML. Examples. Classwork/Homework: Make proposal and start work on your VoiceXML project.
2
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.
3
My program http://faculty.purchase.edu/jeanine.meyer/int erfaces/rps.xml Could be better, specifically – Insert pauses in speech. – Could also use recorded audio. – Note: your program should use recorded audio when possible.
4
rps program structure Variables Script Menu, with prompts, nomatch, noinput, and 5 choice(s) Form for each option – Form has block has audio
5
Examine code http://faculty.purchase.edu/jeanine.meyer/int erfaces/rps.xml http://faculty.purchase.edu/jeanine.meyer/int erfaces/rps.xml Note overall logic and then fine points – Break – Values – Text used for TTS
6
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
7
Examine code http://faculty.purchase.edu/jeanine.meyer/tel lme/whoisthisfamily3.xml http://faculty.purchase.edu/jeanine.meyer/tel lme/whoisthisfamily3.xml Note overall logic At one point, I didn't repeat the number of cranes. Places for improvement include – Timing – Confirming responses
8
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)
9
Debugging Assumes proper format! Account – Application Debugger
10
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 ???
11
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!
12
Classwork / homework Make proposal Do project! – Repeat: work incrementally
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.