Mercurial > hg > aim92
comparison man/man1/convert.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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5242703e91d3 |
---|---|
1 .TH CONVERT 1 "15 September 1993" | |
2 | |
3 .SH NAME | |
4 convert \- Convert units: frequency, time, and sample numbers. | |
5 | |
6 .SH SYNTAX | |
7 convert [options] arguments | |
8 | |
9 | |
10 .SH DESCRIPTION | |
11 Convert time to samples and vice verca. Options of the general form: | |
12 | |
13 -to<units> | to=<units> | |
14 | |
15 may be intersperced with arguments, which are treated as values to convert | |
16 into the units given by the previous option on the command line. | |
17 Time in seconds or milliseconds is converted to and from sample points using | |
18 the given samplerate. Time (in seconds, miliseconds or samples) is converted | |
19 to and from frequency by reciprocal. | |
20 | |
21 .SH EXAMPLES | |
22 | |
23 .nf | |
24 1. Convert 100 samples to time in ms, and the 10ms to a number of | |
25 samples, both at the default sample-rate of 20kHz. Then at a | |
26 sample-rate of 10kHz print the number of samples in 32ms. | |
27 | |
28 | |
29 convert to=ms 100p to=p 10ms samplerate=10kHz to=p 32ms | |
30 .fi | |
31 | |
32 .nf | |
33 2. Convert 0.1 seconds to sample points. | |
34 | |
35 convert -topoints 0.1sec | |
36 .fi | |
37 | |
38 .SH COPYRIGHT | |
39 .LP | |
40 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995 | |
41 .LP | |
42 Permission to use, copy, modify, and distribute this software without fee | |
43 is hereby granted for research purposes, provided that this copyright | |
44 notice appears in all copies and in all supporting documentation, and that | |
45 the software is not redistributed for any fee (except for a nominal | |
46 shipping charge). Anyone wanting to incorporate all or part of this | |
47 software in a commercial product must obtain a license from the Medical | |
48 Research Council. | |
49 .LP | |
50 The MRC makes no representations about the suitability of this | |
51 software for any purpose. It is provided "as is" without express or | |
52 implied warranty. | |
53 .LP | |
54 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING | |
55 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL | |
56 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES | |
57 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | |
58 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | |
59 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS | |
60 SOFTWARE. | |
61 |