.TH IMPULSE 1carl CARL
.SH NAME
impulse \- generates an impulse signal
.SH SYNOPSIS
.B impulse
[length] [delay] > output
.br
Default length == 4096.
Default delay == 0.
.SH DESCRIPTION
.B impulse 
is a simple command for generating a digital impulse signal:
.RS .5i
.sp
impulse 100
.sp
.RE
will generate a floating 1.0 followed by 99 0.0's at its standard output.
.RS .5i
.sp
impulse 100 10
.sp
.RE
will generate 10 floating 0.0's followed by a 1.0
followed by 89 0.0's at its standard output.
.I output
normally consists of binary, floating-point sample numbers.
If the output is connected to a terminal, ASCII data is produced.
.PP
The following example would generate the impulse response of a filter
called test.flt, and store
it on file imp.resp:
.RS .5i
.sp
impulse 1000 | filter test.flt > imp.resp
.RE
.SH AUTHOR
F. R. Moore
.SH SEE ALSO
wire(1carl), getfloat(3carl)
