After rocking out to a little White Stripes’ Icky Thump, Chris Matthieu shows you how to build a megaphone using a Jawbone Jambox, an iPhone, and the Tropo Scripting API!

Here’s the Ruby script used in the video:

say "Welcome to the Tropo megaphone app! Please turn on and pair your Jam box now."

while $currentCall.isActive do

record "Record your message at the beep and then switch audio to jam box.", {
        :beep => true,
        :timeout => 10,
        :silenceTimeout => 7,
        :maxTime => 60,
        :onRecord => lambda { |event|
            log "Recording result = "   event.recordURI
            say event.recordURI}
        }

end

Rock on!

©2011 The Tropo Blog. All Rights Reserved.

.

Related posts:

  1. Tropo Adds Transcription for Recordings
  2. Transcriptions: how to do it and use it!
  3. Processing recordings with PHP

Originally from All Voxeo Blogs Feed