Tropo Jambox Megaphone
December 19th, 2011 by cmatthieuAfter 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!
Related posts:
