SSFF Utilities

Converting to and from SSFF

The esps2ssff program allows files to be converted to and from the ESPS format. The usage for this command is:

esps2ssff [-e] [-dRC] files

The default is to convert from ESPS to SSFF. The -e flag reverses this and converts from SSFF to ESPS. The -d flag turns on the debug mode, which prints out debugging information.

The -R flag deletes the original signal files as they are converted. This is useful if only one copy of the data is required. The -C flag performs the conversion, but deletes the converted file when finished! This is to allow checking of ESPS files for SSFF suitability. Under NO circumstances is it wise to enable both the -R and the -C flag. This will result in the data being converted, but both files will be deleted once this has happened!

The extension of SSFF files is generally of the form .SSFF_xxx where xxx identifies the signal type. For example:

speech.SSFF_sd, speech.SSFF_f0, speech.SSFF_fb

Compare this to the equivalent names for the ESPS files:

  speech.sd, speech.f0, speech.fb

When converting from an SSFF file to an ESPS one, the SSFF_ is removed from the extension. When converting the other way, SSFF_ is added to the extension. Be careful that the files are named correctly before converting or some strange extensions may be generated. For example, converting the file Speech.SSFF_Sd into SSFF format results in the resultant file being called speech.SSFF_SSFF_sd!

Examples:

Convert the list of SSFF files in the directory into ESPS format, removing the old files as it is done.

 
esps2ssff -eR *.SSFF_*

Convert the .sd ESPS files into SSFF format, leaving the old versions behind.

esps2ssff *.sd

Listing SSFF data

This list program is used to list SSFF or ESPS files in ASCII format. The header and the data can be listed either separately or together. Usage:

list [-hdb] files...

The -h flag lists just the header of the file (variable information/ no data). The -d option just lists the data. The -b option prints out only the bare data, without header or field information.

Miscellaneous Example Programs

There are many other utilities in the SSFF examples directory. There are programs to play waveform files through the speech output hardware of the SUN workstations, programs to add an offset to the values in particular fields etc. These programs are not documented here.