Appendix F: Creating A New Audio Clip File - Motorola EWB100 Deployment Manual

Compact voice over wireless communication device
Hide thumbs Also See for EWB100:
Table of Contents

Advertisement

EWB100 Usage and Deployment Guide

Appendix F: Creating a New Audio Clip File

This section describes how to create a new audio clip file. A description of the
purpose of the clip files is described in section 20, this section is on the
mechanics of creating the file. Only the creation of g729 encoded files are
covered here since they are the most useful and space efficient.
To create the clip file, one starts with some number of "WAV" encoded audio
files. The general name format of these files is: name.wav, where "name" will be
text string used on the device to identify the audio clip.
The encoding for these files must be:
 8KHz sampling rate
 16 bit words
 Mono
Use of any other encoding will yield unpredictable results. One must place all of
these files into a single directory.
Use "notepad" or another ""TXT" file editing program to create a file which
contains the names of all the files that are to be placed into the audio clip. The
names will placed one per line. Blank lines are permitted. The first line of the file
must be the string "--729". This file must be in the same directory as the audio
files.
All the files in this file must be in the directory. If any file in the list of files is not in
the directory, the process will generate unpredictable results.
There are three programs that are used to create the audio clip file:
 audiomsgcreate
 crccalc
 cat
The first program (audiomsgcreate) builds the clip file. The second program
(crccalc) generates the header required for flash programming. The third (cat)
combines the header and clip file into a file suitable for downloading onto the
device. All execute in a DOS command line window.
The command sequence is as follows and assumes the audio list file is named:
g729files.txt.
 audiomsgcreate –l g729files.txt –binary
 crccalc g729AudioTable.bin 1.1.1030 06630080 111 Parrot "07/04/10"
"23:44:00"
 cat header.dat g729AudioTable.bin > audioclipimage.bin
Rev 1.13
Page 144

Advertisement

Table of Contents
loading

Table of Contents