voice

The tstrip program is found in the app.src directory. Bfv API debug mode is turned on.

Command Syntax

tstrip [-h] [-o <output_base>] [-r] <tiff_filename>

Arguments

 

-h

Adds a 128-byte Brooktrout header to the

 

beginning of each file. This header includes the

 

resolution, width, and number of scan lines.

-o <outbase>

Uses supplied output filename base to form

 

filenames instead of “g3data”.

-r

Instructs tstrip to leave the data format as is.

 

Normally tstrip forces the output into MSB format,

 

the standard assumed by all other programs

 

provided by Dialogic.

<tiff_filename>

Specifies the name of the TIFF-F file to convert to

 

G3 format.

TIFF-F pages are internally constructed so that the image data is partitioned into strips. If a page that uses MMR data format is constructed in this way, there are multiple MMR end of data markers (known as EOFBs), one after each strip of data.

In such cases, the data read for different strips cannot simply be concatenated together, since an EOFB indicates an end of page. Because of this, tstrip treats each such strip as a separate page.

voice

The voice program uses the speech-infopkt-file recording and playing routines to record and play speech. Recording begins when you start speaking. Recording continues for a maximum of ten seconds or the time specified in the -noption.

Pressing # on the telephone keypad immediately terminates playback or recording.

November 2009

167

Page 167
Image 167
Dialogic 6.2 manual Voice, Tstrip -h -o outputbase -r tifffilename, November 167