Converting Headerless (VOX) audio files to WAV format
Some IVR systems (usually older ones) require audio files in VOX format. VOX audio files, unlike their WAV counterparts, are somewhat unique in that they are headerless. WAV files have a well defined structure which includes information stored in headers that describe the makeup of the file.
A common challenge faced when upgrading to a newer voice platform for IVR systems is converting older VOX files to WAV format. This tutorial will demonstrate how to batch convert VOX files to WAV format using the open source Sound eXchange toolkit. Sound eXchange (SoX) is a sound processing program that lets you convert audio files into different formats, add sound effects to audio files, mix multiple audio files together, and a bunch of other cool stuff.
SoX is a command line tool that will run on both Windows and Linux systems – after downloading it, navigate to the directory that holds your VOX audio files.
Convert an audio file from VOX to WAV using the following command:
>sox -t raw -r 8000 -c 1 -U -b myfile.vox myfile.wav
- The -t option tells SoX that the input file is raw (headerless) audio
- The -r option tells SoX the sample rate of the input file
- The -c option with a 1 tells SoX that the input file has one channel (mono)
- The -U option tells SoX that the data encoding is u-law
- The -b option tells SoX that the data size is in bytes
Once you understand how this command works, it’s easy to write scripts that can convert entire directories of audio files quickly and easily.
Governments Need an IVR Strategy
With the growth of social networks and advanced mobile devices, you might expect to see changes in the way that people communicate with their governments.
Consider for a moment the staggering growth of social networking sites like Twitter. Twitter has over 100 million current users and gets an average of 300,000 new users every day! Similar trends can be seen in the other big social networking service of the moment: Facebook. In addition, powerful new mobile devices are putting e-mail and text messaging capabilities in the hands of a growing number of people. So you might expect that the role of the ordinary telephone, a technology first invented over 130 years ago, in citizen interactions with government to be pretty minor. As it turns out, you’d be wrong.
Social media enthusiasts let out a big huzzah recently at the results of a study conducted by the Pew Internet and American Life Project entitled Government Online. The report, like a similar one several years ago, looks at how citizens communicate and interact with their government. This study focused specifically on online contact with government, the use of social media to interact with government and citizen use of open government data.
For social media and open government proponents, the findings are exciting:
“Efforts by government agencies to post their data online are resonating with citizens. Fully 40% of online adults went online in the preceding year to access data and information about government (for instance, by looking up stimulus spending, political campaign contributions or the text of legislation).
Citizen interactions with government are moving beyond the website. Nearly one third (31%) of online adults use online platforms such as blogs, social networking sites, email, online video or text messaging to get government information.”
This is great stuff. It means that efforts to open up government data sets and provide them to citizens in easily consumable formats is starting to pay off. It also means that government takeup of social media tools is providing people with more options and more opportunities to connect with their government.
But perhaps the most important piece of information in this report is less obvious. Tucked into the introductory section, which many people probably jump right past to get to the findings, is this little nugget of information.
“As we found in our last survey of e-government in August 2003, telephone contact is the overall most preferred contact method when people have a problem, question or task involving the government. Currently, 35% of Americans say they prefer using the telephone in these circumstances, a figure that is relatively unchanged from the 38% who said so in 2003.”
That’s right. Most people prefer to contact their government using the plain old telephone – more than using a website, or sending an e-mail or even going to a government office in person. The granddaddy of communication technologies still outpaces all others when it comes to citizen interaction with government. And that preference hasn’t changed since the first tweet or since Facebook left the dorm room and went mainstream.
It proves what we at Tele-Works have known for a long time – phones matter.
This means that the centerpiece of any successful citizen-to-government (and government-to-citizen) communication strategy needs to have telephones at its core.
Governments need an IVR strategy.
Contact the government IVR experts at Tele-Works, and we’ll help you develop and deploy one.
How SIP Won the VoIP Protocol Wars
Ars Technia has started a very interesting series on the SIP VoIP Protocol that provides a nice follow up to our last protocol post on the Tele-Works blog.
Now that you understand the wild and wonderful world of VoIP protocols, head on over to Ars Technia and find out how SIP became king of the VoIP jungle.
One of the more interesting points made in this initial article on SIP is how its flexibility and extensibility have helped it elbow the old king of the VoIP jungle (looking in your direction H.323) out of the way:
SIP was not built solely as a replacement for the telephone system. It allows extensions, and it relies on them to provide additional services beyond just simple calls. For example, you can use SIP to maintain user status information in an IM client as well as to set up IM sessions. Another extension enables transferring a call to a third party, something that was simply not defined by the basic SIP specification. This is possible thanks to the fact that SIP provides the necessary basic constructs while limiting those constructs only when necessary. SIP defines the concept of “dialog,” which is a 2-way communication, but does not limit dialogs to calls. Two-way communication also includes setting your IM status and receiving your IM friends’ updates. Extensions can also easily define new request or response types and new headers when needed.
As personal communications continue to converge and the lines between different communication modalities get more and more blurry, SIP’s extensibility will continue to make it king of the VoIP protocol jungle. This is what makes SIP so important as a standard on which to build an IVR solution – IVR systems that use SIP can leverage all of its interoperability and flexibility benefits and have the additional benefit of being “future proof.” As SIP continues to advance, it will provide a host of new benefits for communications platforms and IVR systems built on it.
Additionally, if you want to dive into the technical details of SIP, Ars technia has already published a follow up (with more articles to come) on the SIP standard and how it works.
Summary and Recap of eComm 2010
A couple of weeks ago, myself and John Schott, Tele-Works President & CEO, went out to San Francisco for the Emerging Communications Conference & Awards (eComm). It was there that I had the opportunity to present to a very Read more…
Tele-Works Presenting at eComm in San Francisco
Tele-Works Senior Application Developer Mark Headd will be presenting at next week’s Emerging Communications Conference (eComm) in San Francisco. Each year eComm brings together top communication executives, innovators, professors, and developers to discuss “what’s next” in telecom, mobile, and Internet communications. Read more…
Case Study: In the cloud or on-premise…how hybrid IVR helps Harris Computer Systems serve utilities large and small
This post originally appeared on the Voxeo Talks blog. (03/08/10)
March 8th, 2010 by Kim Martin
A hybrid IVR platform is one that is available as a hosted/cloud-based solution and as an on-premise deployment. Just to be clear, we are not simply talking about two distinct offerings delivered by a single vendor. We mean one platform – offered two ways. Benefits include the ability to migrate between deployment models at any time or to take advantage of both deployment models at the same time — with no changes whatsoever to your applications. That’s exactly what our partner Tele-Works did to enable Harris Computer Systems to serve a diverse base of utility customers.
Become a Protocol Pro
When most people think about VoIP protocols, they typically only think of the Session Initiation Protocol (SIP). SIP is one of the preeminent standards in the world of VoIP, but it is by no means the whole story. This post will cover the wide (and interesting) world of VoIP protocols. Read more…
Decoding VoIP Codecs
Anyone new to VoIP has probably heard the term “codecs” bandied about and wondered what all the fuss was over.
Codecs (so named because of their coding/decoding function) are used to convert an analog telephony signal into an encoded digital version that can be compressed into packets and sent over an IP network (like the Internet). Codecs lie at the very heart of how VoIP works, so having a general understanding of what they are and which ones to use is important when deploying a VoIP system. Read more…
Why Phones Matter
Telephones are the most ubiquitous communications device on the planet, and they do not suffer from the uneven distribution rates of other consumer communications products.
Simply stated, phones matter in providing government services because almost all citizens have them (landline telephone penetration rates are somewhere close to 95 percent nationally, and cell phone penetration rates are at about 85 percent). Moreover, almost all citizens that have them understand how to use them, and have some experience navigating IVR or touch tone menu systems. There is no learning curve for a citizen to ascend before using a telephone to interact with their government. Read more…
Recording WAV Files for IVR Applications
If you are building (or managing) an IVR system, you often have a need to record audio files to be used in place of Text-to-Speech (TTS) content. One of the easiest ways of recording audio file for IVR systems (and for lots of other uses) is to use the powerful open source Audacity toolkit. This short tutorial will demonstrate how to record a WAV file for use by alertworks outbound campaign manager and the Voxeo Prophecy platform.
Open Audacity, and access the default sample rate in the lower left corner. Change the rate from the default (44 kHZ) to a rate more appropriate for analog telephony — 8 kHZ. Read more…
