comparison man/man1/cosine.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 COSINE 1 "1 September 1993"
2
3 .SH NAME
4 cosine \- generate a cosine window.
5
6 .SH SYNTAX
7 cosine [options]
8
9 .SH DESCRIPTION
10 Generate a cosine window on the stdout in binary shorts or floats for
11 a given size.
12
13 .SH OPTIONS
14
15 1. size
16
17 The size of the window can be given with time units (ms or s) or samples (no
18 units). Time units are converted to samples using the given
19 `samplerate' option.
20
21 2. Hamming
22
23 The default ("Hamming=off") is a Hann or raised cosine window:
24
25 .nf
26 w[n] = 0.5 [ 1 - cos( TWOPI . n/(N-1) ) ]
27 .fi
28
29 The "Hamming=on" window is:
30
31 .nf
32 w[n] = 0.54 - 0.46 cos( TWOPI . n/(N-1) )
33 .fi
34
35 Both windows are defined for 0 <= n <= N-1 and are assumed to be zero otherwise.
36
37 3. scale
38
39 A scale factor for the output.
40
41 4. type
42
43 Output datatype ("type=short" or "type=float").
44
45 .SH "SEE ALSO"
46 options gauss
47
48 .SH COPYRIGHT
49 .LP
50 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
51 .LP
52 Permission to use, copy, modify, and distribute this software without fee
53 is hereby granted for research purposes, provided that this copyright
54 notice appears in all copies and in all supporting documentation, and that
55 the software is not redistributed for any fee (except for a nominal
56 shipping charge). Anyone wanting to incorporate all or part of this
57 software in a commercial product must obtain a license from the Medical
58 Research Council.
59 .LP
60 The MRC makes no representations about the suitability of this
61 software for any purpose. It is provided "as is" without express or
62 implied warranty.
63 .LP
64 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
65 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
66 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
67 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
68 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
69 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
70 SOFTWARE.
71