COMBINE

NAME

combine - add two speech signals

SYNOPSIS

combine (-i item1) (-i item2) (-2) file
combine (-i item1) (-N item2) (-2) -n file2 file1

DESCRIPTION

combine is a program to add together two waveforms. It is useful for adding noise to a speech signal. A signal in file 1 is added to a signal in file 2 and the result put back into file 1. Signals must match exactly in sample rate. The second signal is padded with zeros if it is too short. Two items from one file can also be added, by using one filename only.

OPTIONS

-I Identify program name and version number.

-i item Select input item number.

-n noise_file Specify name of file containing second signal. Default is to use same file.

-N noise_item Specify item number of signal in second file.

-2 Halve the size of each waveform first to prevent overflow.

INPUT ITEMS

SP Signal in file 1.

SP Signal in file 2.

OUTPUT ITEMS

SP Sum of two signals.

VERSION/AUTHOR

1.0 Andrew Simpson

1.1 Mark Huckvale

SEE ALSO

level(SFS1)

BUGS

If the resulting signal overloads, the program dies.
Fri Jul 09 14:54:41 2004