Voice Enabled Applications

1,539 views
1,429 views

Published on

Slides from my presentation at the Ruby User's of Minnesota meeting. Screencast and further details can be found on using the Adhearsion sandbox can be found on the Localtone Blog at: http://localtone.blogspot.com/2009/05/adhearsion-sandbox-rocks.html

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,539
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
28
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Voice Enabled Applications

  1. 1. Voice Enabled Applications Touring the Adhearsion Sandbox and Tropo.com
  2. 2. What are Voice Enabled Applications? Image from: Emerging Voice Technology, Inc
  3. 3. Adhearsion Sandbox
  4. 4. Adhearsion Sandbox - Live coding Signup For An Account http://adhearsion.com/signup Get your PIN http://adhearsion.com/account Install Adhearsion & Enable Sandbox Component sudo gem install adhearsion ahn create rum_adhearsion cd run_adhearsion ahn enable component sandbox vi components/sandbox/sandbox.yml - add credentials vi dialplan.rb - change block name to sandbox ahn start . dial 1(213)325-2621 and enter your pin - play simon says
  5. 5. Adhearsion Sandbox Samples Record sound: sandbox { record quot;/var/www/recordings/test.wavquot; play quot;/var/www/recordings/testquot; } Playback at: http://recordings.sandbox.adhearsion.com/test. wav Text to Speech - Version 2: sandbox { filename = COMPONENTS.surveys[:sound_dir] + new_guid + quot;.ulawquot; system(quot;echo #{text} | text2wave -o #{filename} -otype ulawquot;) }
  6. 6. Adhearsion Sandbox Samples Rails Integration vi config/startup.rb - comment out config.enable_rails line rails gui cd gui ruby script/generate scaffold user name:string state:string rake db:migrate ruby script/server & cd .. ahn start .
  7. 7. Tropo.com
  8. 8. Tropo.com Examples http://tropo.com Login Goto Account -> Your Applications Show Ruby Tutorial - http://docs.tropo.com/tutorial:ruby Show Yahoo Weather Show script in Textmate Test calling number Show Basic Attendant Show script in Textmate Test calling number
  9. 9. Links Adhearsion http://adhearsion.com Tropo http://tropo.com

×