tomwalters@0
|
1 .TH AUDIM 1 "1 September 1993"
|
tomwalters@0
|
2
|
tomwalters@0
|
3 .SH NAME
|
tomwalters@0
|
4 audim \- Auditory images.
|
tomwalters@0
|
5
|
tomwalters@0
|
6 .SH SYNTAX
|
tomwalters@0
|
7 audim [options] [file]
|
tomwalters@0
|
8
|
tomwalters@0
|
9 .SH DESCRIPTION
|
tomwalters@0
|
10
|
tomwalters@0
|
11 This program provides
|
tomwalters@0
|
12 methods of constructing time-varying auditory images from the output of the
|
tomwalters@0
|
13 cochlear model which are alternatives to the gensai (stabilized auditory
|
tomwalters@0
|
14 image) program. Correlograms (ie. row-wise autocorrelation) and row-wise
|
tomwalters@0
|
15 Fourier transform are provided.
|
tomwalters@0
|
16
|
tomwalters@0
|
17 The program reads an AIM
|
tomwalters@0
|
18 header and the output from the genbmm (basilar membrane motion) or gennap
|
tomwalters@0
|
19 (neural activity pattern) programs. This is divided into contiguous
|
tomwalters@0
|
20 time frames and written on the stdout with an appropriate header as if output
|
tomwalters@0
|
21 from the gensai program. This enables genbmm or gennap output to be divided into time
|
tomwalters@0
|
22 frames and replayed as a time-varying cartoon by gensai using the "useprevious" option.
|
tomwalters@0
|
23
|
tomwalters@0
|
24 Additional processing to each frame is optionally available to compute
|
tomwalters@0
|
25 alternative forms of auditory image according to the "image" option.
|
tomwalters@0
|
26
|
tomwalters@0
|
27 .SH OPTIONS
|
tomwalters@0
|
28
|
tomwalters@0
|
29 The options "start" and "length" specify the size of the input.
|
tomwalters@0
|
30 The options "width" and "frstep" specify the frames which are output.
|
tomwalters@0
|
31 The input is divided into frames according to the width option and the
|
tomwalters@0
|
32 frstep option.
|
tomwalters@0
|
33
|
tomwalters@0
|
34 Special option values are:
|
tomwalters@0
|
35
|
tomwalters@0
|
36 .nf
|
tomwalters@0
|
37 length=max Read all the input from the given start to its end.
|
tomwalters@0
|
38 width=max Output framewidth is set equal to the given input
|
tomwalters@0
|
39 length, and if this is also "max", then the
|
tomwalters@0
|
40 framewidth is the remainder of the input.
|
tomwalters@0
|
41 frames=1-max Select the 1st to the last frame inclusively.
|
tomwalters@0
|
42 frame=4 Select the 4th frame only.
|
tomwalters@0
|
43
|
tomwalters@0
|
44 image=off Divide the input into frames for replay as a cartoon.
|
tomwalters@0
|
45 image=acgram Compute correlogram of each frame.
|
tomwalters@0
|
46 image=ftgram Compute power spectrum of each channel of each frame.
|
tomwalters@0
|
47 image=phgram Compute phase spectrum of each channel of each frame.
|
tomwalters@0
|
48 .fi
|
tomwalters@0
|
49
|
tomwalters@0
|
50 Most options in the input header are copied to the output header.
|
tomwalters@0
|
51 This enables options which are needed for the eventual display
|
tomwalters@0
|
52 to pass straight through. Some options are set so that they can override
|
tomwalters@0
|
53 the input header. For example, the display option is set on to enable
|
tomwalters@0
|
54 display even when input has display=off. The animate option can be set on
|
tomwalters@0
|
55 even when the input has animate=off.
|
tomwalters@0
|
56 Parts of the header are changed for the new sai format:
|
tomwalters@0
|
57 (frames, frameshift, framewidth, frameheight, framebytes).
|
tomwalters@0
|
58
|
tomwalters@0
|
59 Certain display parameters have different default values for different
|
tomwalters@0
|
60 applications. The gensai display parameters should be set to the appropriate
|
tomwalters@0
|
61 values, in order to plot the cartoon on the same scale. For example:
|
tomwalters@0
|
62 when the source application is gennap, set gensai top=1000,
|
tomwalters@0
|
63 when the source application is genbmm, set gensai bottom=-100.
|
tomwalters@0
|
64
|
tomwalters@0
|
65
|
tomwalters@0
|
66 .SH EXAMPLES
|
tomwalters@0
|
67
|
tomwalters@0
|
68 .nf
|
tomwalters@0
|
69
|
tomwalters@0
|
70 1. To convert gennap output to multiple animated frames:
|
tomwalters@0
|
71
|
tomwalters@0
|
72 gennap len=16ms display=off output=stdout file | \
|
tomwalters@0
|
73 audim image=off width=8ms frstep=0.2ms anim=on > file.sai
|
tomwalters@0
|
74 gensai useprev=on file -(for landscape plot)
|
tomwalters@0
|
75 genspl useprev=on pensize=2 file -(for spiral plot)
|
tomwalters@0
|
76
|
tomwalters@0
|
77 (Note: spirals look better in a square box, so you might use options:
|
tomwalters@0
|
78 dencf=1 width=500 height=500 )
|
tomwalters@0
|
79
|
tomwalters@0
|
80 2. An animated normalized correlogram from gennap output:
|
tomwalters@0
|
81
|
tomwalters@0
|
82 gennap len=64ms output=stdout display=off file | \
|
tomwalters@0
|
83 audim norm=on anim=on > file.sai
|
tomwalters@0
|
84 gensai useprev=on top=1000 file -(for landscape plot)
|
tomwalters@0
|
85 genspl useprev=on top=1000 pensize=2 file -(for spiral plot)
|
tomwalters@0
|
86
|
tomwalters@0
|
87 .fi
|
tomwalters@0
|
88
|
tomwalters@0
|
89 .SH "SEE ALSO"
|
tomwalters@0
|
90
|
tomwalters@0
|
91 acgram ftgram edframe naptosai
|
tomwalters@0
|
92
|
tomwalters@0
|
93 .SH COPYRIGHT
|
tomwalters@0
|
94 .LP
|
tomwalters@0
|
95 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
|
tomwalters@0
|
96 .LP
|
tomwalters@0
|
97 Permission to use, copy, modify, and distribute this software without fee
|
tomwalters@0
|
98 is hereby granted for research purposes, provided that this copyright
|
tomwalters@0
|
99 notice appears in all copies and in all supporting documentation, and that
|
tomwalters@0
|
100 the software is not redistributed for any fee (except for a nominal
|
tomwalters@0
|
101 shipping charge). Anyone wanting to incorporate all or part of this
|
tomwalters@0
|
102 software in a commercial product must obtain a license from the Medical
|
tomwalters@0
|
103 Research Council.
|
tomwalters@0
|
104 .LP
|
tomwalters@0
|
105 The MRC makes no representations about the suitability of this
|
tomwalters@0
|
106 software for any purpose. It is provided "as is" without express or
|
tomwalters@0
|
107 implied warranty.
|
tomwalters@0
|
108 .LP
|
tomwalters@0
|
109 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
tomwalters@0
|
110 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
tomwalters@0
|
111 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
|
tomwalters@0
|
112 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
tomwalters@0
|
113 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
tomwalters@0
|
114 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
tomwalters@0
|
115 SOFTWARE.
|
tomwalters@0
|
116
|