skip to primary navigationskip to content
 

edwave


Manual Reference Pages  - EDWAVE (1)

NAME

edwave - Edit a given range of a wave.

CONTENTS

Syntax
Description
Options
Copyright

SYNTAX

edwave [options] [filename]

DESCRIPTION

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

OPTIONS

1. range.

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

            range=a[-b]

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:

            operation=extract
or
            operation=delete

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.

SEE ALSO

options bufwave

COPYRIGHT

Copyright (c) Applied Psychology Unit, Medical Research Council, 1995

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.

The MRC makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

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.


SunOS 5.6 EDWAVE (1) 1 September 1993
Generated by manServer 1.07 from /cbu/cnbh/aim/release/man/man1/edwave.1 using man macros.