Q: How do I test my custom words on my Windows PC?

When building a custom audio library from individual words or phrases, it's useful to be able to quickly play those words from the raw files stored on your Windows PC instead of going through the entire process of building and downloading a custom audio library to the 7330 only to find it doesn't work.  The way most of us play a custom word on Windows is to run Audacity, import the file, then play it. (See page 23-13.)

It can be even simpler to play a word with SoX.  (See page 23-11.)  Normally, SoX is invoked at the Windows command line with the program name


SoX can also be invoked with the name


This command assumes that the output file is the audio output device of your PC, e.g. speakers.

Here's a version of the play command that understands the raw file format used by the S-COM tools that plays words from your PC's speakers:

  play -D -G -S -c 1 -r 8k -t ul filename

You can try it right now if you have SoX installed.  Open a Windows command shell and paste this command there changing "filename" to a file you want to play.

We can also make this work from Windows Explorer.  First, create a new text file called playraw.bat. Paste the following command into the text file:

  play  -D -G -S -c 1 -r 8k -t ul %1

Save the file somewhere you can find it in Windows Explorer and close the file.  In Windows Explorer, navigate to the playraw.bat file then move it to the C:\Program Files (x86) directory.

To play a word, in Windows Explorer navigate to a word file, maybe the sample file that comes on the S-COM CD called 4000.raw.  Move the mouse pointer over the word and click the right mouse button.  From the menu, click Open With...  From the next menu click Choose Default Program... Click Browse and navigate to the playraw.bat file you saved earlier.  Select it and click Open.  To test that all is configured properly, double-click the word you want to play.  It should play through your PC's speakers.

Note: SoX must be installed on your PC to use this solution.  See the SoX section of Chapter 23.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer