view man/man1/edwave.1 @ 0:5242703e91d3 tip

Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author tomwalters
date Fri, 20 May 2011 15:19:45 +0100
parents
children
line wrap: on
line source
.TH EDWAVE 1 "1 September 1993"

.SH NAME
edwave \-  Edit a given range of a wave.

.SH SYNTAX 
edwave [options] [filename]

.SH DESCRIPTION
Editing operations extract or delete a given time range of a given wave,
and the results are written on the stdout.

.SH OPTIONS

1. range.

The range option specifies the stretch of the wave for the editing operation
by:

.nf
	    range=a[-b]
.fi

The upper limit `b' is optional, and when it is missing then the range
is a single sample of the given type, otherwise `a' and `b' are inclusive range limits.
The strings "min" and "max" are recognised as extreme limits
("min" = start of file, "max" = end of file),
otherwise the values of `a' and `b' are sample numbers: 0,1,2,...
Values given with time units (ms or s) are converted to samples using
the given samplerate option.

2. operation.

The `operation' option sets the edit operation to either:

.nf
	    operation=extract
or
	    operation=delete
.fi

The extract operation outputs the part of the input which is inclusively
within the given range.
The delete operation outputs the part of the input which is NOT inclusively
within the given range.

3. type.

The datatype of input and output. Known types are in the list:
char, short, int, float, double, ascii. The ascii type is interpreted as one
sample per line.

4. size.

Print the size of the wave on the stdout in given units.
Units are seconds ("size=s"), milliseconds ("size=ms"), or samples ("size=on").
Sizes in time units are calculated using the given `samplerate' option.

.SH "SEE ALSO"
options bufwave

.SH COPYRIGHT
.LP
Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
.LP
Permission to use, copy, modify, and distribute this software without fee 
is hereby granted for research purposes, provided that this copyright 
notice appears in all copies and in all supporting documentation, and that 
the software is not redistributed for any fee (except for a nominal 
shipping charge). Anyone wanting to incorporate all or part of this 
software in a commercial product must obtain a license from the Medical 
Research Council.
.LP
The MRC makes no representations about the suitability of this 
software for any purpose.  It is provided "as is" without express or 
implied warranty.
.LP
THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 
THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES 
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 
SOFTWARE.