Mercurial > hg > aim92
comparison docs/ReadMe.First @ 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 AIM R7 | |
2 | |
3 The current release of AIM is R6.22. The appropriate files are README | |
4 and aim.tar.Z. | |
5 | |
6 Sometime over the next few months a Letter to the Editor will appear | |
7 in JASA announcing a software package for Time-Domain Modelling of | |
8 Peripheral Auditory Processing. It is based on AIM Release 7 which | |
9 will be released at the time the Letter to the Editor appears. There | |
10 are no changes to the first two stages of AIM (the bmm and nap | |
11 stages); improvements have been made to the third stage (sai) but they | |
12 only affect exotic stimuli like damped and ramped sounds. Most users | |
13 would not notice the differences. | |
14 | |
15 In preparation for the new release, we have set up a WWW page that | |
16 directs readers to this file (ReadMe.First) and AIM R7. The release | |
17 contains an alot of new documentation on all stages of AIM. We are | |
18 setting the new system up now and so pieces of it may appear in this | |
19 directory. | |
20 | |
21 The new release of AIM is R7.0. The appropriate files are ReadMe.First | |
22 (this file) and aimR7.tar.Z. You are welcome to take them, but the | |
23 ReadMeFirst file may not describe AIM R7 correctly in all details at | |
24 this point in time. | |
25 | |
26 ============================================================================ | |
27 | |
28 AUDITORY IMAGE MODEL (AIM) SOFTWARE PACKAGE | |
29 | |
30 Medical Research Council, | |
31 Applied Psychology Unit | |
32 Cambridge, CB2 2EF, UK | |
33 | |
34 | |
35 | |
36 ============================================================================ | |
37 | |
38 This file contains: | |
39 | |
40 1. General information: | |
41 A. Disclaimer and copyright. | |
42 B. Acknowledgements. | |
43 C. Contact addresses. | |
44 D. Ftp instructions for obtaining the software. | |
45 | |
46 2. Getting started: | |
47 A. Installing the software [compilation]. | |
48 B. Running the model. | |
49 C. Setting the environment variables PATH and the MANPATH. | |
50 | |
51 3. Compiling the model - further details. | |
52 A. X11 libraries. | |
53 B. Alternative compilers. | |
54 C. A note on color workstations. | |
55 | |
56 4. Next step after installing AIM. | |
57 | |
58 | |
59 | |
60 ============================================================================ | |
61 1. GENERAL INFORMATION: | |
62 ============================================================================ | |
63 | |
64 A. Disclaimer and Copyright | |
65 | |
66 Permission to use, copy, modify, and distribute the software described in | |
67 this document without fee is hereby granted for research purposes, provided | |
68 that this copyright notice appears in all copies and in all supporting | |
69 documentation, and that the software is not redistributed for any fee | |
70 (except for a nominal shipping charge). Anyone wanting to incorporate all or | |
71 part of this software in a commercial product must obtain a license from the | |
72 Medical Research Council. | |
73 | |
74 The MRC makes no representations about the suitability of the software | |
75 described in this document for any purpose. It is provided `as is' without | |
76 express or implied warranty. | |
77 | |
78 The MRC disclaims all warranties with regard to this software, including all | |
79 implied warranties of merchantability and fitness. In no event shall the | |
80 MRC be liable for any special, indirect or consequential damages or any | |
81 damages whatsoever resulting from loss of use, data or profits, whether in | |
82 an action of contract, negligence or other tortious action, arising out of | |
83 or in connection with the use or performance of this software. | |
84 | |
85 | |
86 ============================================================================ | |
87 | |
88 B. Acknowledgements | |
89 | |
90 The AIM software was developed for Unix workstations by John | |
91 Holdsworth and Mike Allerhand of the MRC APU, under the direction of | |
92 Roy Patterson. The physiological version of AIM was developed by | |
93 Christian Giguere. The options handler is by Paul Manson. The revised | |
94 SAI module is by Jay Datta. Michael Akeroyd extended the postscript | |
95 facilites and developed the xreview routine for auditory image | |
96 cartoons. | |
97 | |
98 The project was supported by the MRC and grants from the U.K. Defense | |
99 Research Agency, Farnborough (Research Contract 2239); the EEC Esprit | |
100 BR Porgramme, Project ACTS (3207); and the U.K. Hearing Research Trust. | |
101 | |
102 | |
103 ============================================================================ | |
104 | |
105 C. Contact Addresses. | |
106 | |
107 Roy D Patterson, Mike Allerhand, Michael Akeroyd, Jay Datta | |
108 MRC APU, 15 Chaucer Road, Cambridge CB2 2EF, England. | |
109 Phone +44 1223 355294 | |
110 Fax +44 1223 359062 | |
111 | |
112 Christian Giguere | |
113 email: c.giguere@med.ruu.nl | |
114 | |
115 ASSISTANCE: | |
116 | |
117 email: Mike.Allerhand@mrc-apu.cam.ac.uk (Software support) | |
118 Roy.Patterson@mrc-apu.cam.ac.uk (Auditory modelling) | |
119 Michael.Akeroyd@mrc-apu.cam.ac.uk (Modelling and graphics) | |
120 Jay.Datta@mrc-apu.cam.ac.uk (Software and documentation) | |
121 c.giguere@med.ruu.nl (tlf, meddis, aimlinux) | |
122 | |
123 ============================================================================ | |
124 | |
125 D. ftp Instructionsu for Obtaining the Software | |
126 | |
127 Access to the APU site via ftp is by the address: | |
128 ftp.mrc-apu.cam.ac.uk Use <Name>="anonymous" and <Password>=your email | |
129 address. Once inside the APU ftp system, cd to the AIM directory, | |
130 pub/aim/. The AIM software is in the compressed archive `aim.tar.Z'. | |
131 The ReadMe.First file contains the text of this document. Copy both. | |
132 | |
133 For example: | |
134 | |
135 ftp ftp.mrc-apu.cam.ac.uk | |
136 | |
137 Name (mrc-apu.cam.ac.uk:you): anonymous | |
138 Password: your email address | |
139 | |
140 cd pub/aim | |
141 | |
142 get aim.tar.Z | |
143 get ReadMe.First | |
144 | |
145 | |
146 Details of machine and address | |
147 | |
148 Name: sirius.mrc-apu.cam.ac.uk | |
149 Address: 192.18.195.1 | |
150 Aliases: dns0.mrc-apu.cam.ac.uk | |
151 | |
152 | |
153 | |
154 ============================================================================ | |
155 2. GETTING STARTED: | |
156 ============================================================================ | |
157 | |
158 A. Installing the Software | |
159 | |
160 It is best to make a new directory (e.g. aim) for the software. Put | |
161 aim.tar.Z and ReadMe.First in the directory and unpack the source code | |
162 using the command: | |
163 | |
164 zcat aim.tar.Z | tar xvf - | |
165 | |
166 The current directory should then contain a makefile and a set of | |
167 subdirectories. Five of these contain the C source code for AIM | |
168 (filter, glib, model, stitch, and wdf). The tools directory contains C | |
169 code for ancillary routines to construct stimuli and process the | |
170 multi-channel output that AIM produces. The man directory contains | |
171 online manual pages available through MANPATH and the instruction | |
172 'manaim'. The scripts directory contains guided tours of AIM in the | |
173 form of scripts that also serve to test the installation and | |
174 illustrate a typical mode of operation. The waves directory contains | |
175 test waves demonstration waves including 'hat'. These sounds were all | |
176 sampled at 20 kHz and each sample is a 2-byte word in little-endian | |
177 order (i.e. Dec and PC order). The bytes need to be reversed for | |
178 Sun, HP and SGI machines. The bin directory contains executable routines | |
179 and links to executable routines produced by the compilation. | |
180 | |
181 | |
182 Compile the source code using | |
183 | |
184 make <machine> | |
185 | |
186 where: <machine> = decstation | vax | sun | sungcc | hp | linux | |
187 (For other options see: "Compiling the model - further details") | |
188 The file `gen' is the AIM program itself. | |
189 | |
190 | |
191 ============================================================================ | |
192 | |
193 B. Running the model. | |
194 | |
195 | |
196 To verify that AIM is operational, move to the bin directory and type: | |
197 | |
198 gen -help | |
199 | |
200 This should print general usage information on the standard output. | |
201 | |
202 | |
203 ============================================================================ | |
204 | |
205 C. Setting Up the Environment Variables PATH and MANPATH. | |
206 | |
207 | |
208 The software is now ready. Before setting off, however, we recommend | |
209 that you | |
210 | |
211 a) Set your PATH to include [aim_directory]/bin | |
212 (instructions in docs/aimPaths) | |
213 b) Set your MANPATH to include [aim_directory]/man | |
214 (instructions in docs/aimPaths) | |
215 | |
216 | |
217 | |
218 ============================================================================ | |
219 3. COMPILING THE MODEL - FURTHER DETAILS. | |
220 ============================================================================ | |
221 | |
222 In the root directory, the command "make help" prints a list of the | |
223 targets and parameters for compilation. The machine-specific details | |
224 refer only to the location of the X11 libraries and header files on | |
225 the target machine. | |
226 | |
227 | |
228 ============================================================================ | |
229 | |
230 A. X11 Libraries | |
231 | |
232 The AIM graphics library is based upon X11, and the library (libX11.a) and | |
233 included header files (X11/X.h and X11/Xlib.h) are expected to be in | |
234 standard places. The command "make <machine>" assigns the paths usually used | |
235 on the particular machine. | |
236 | |
237 For example, the command | |
238 | |
239 make decstation | |
240 | |
241 assigns paths so that the following files are expected: | |
242 | |
243 /usr/lib/libX11.a | |
244 /usr/include/X11/X.h | |
245 /usr/include/X11/Xlib.h | |
246 | |
247 If the X11 library and header files are in non-standard directories, | |
248 then the path for the directories can be given to the root makefile | |
249 using the parameters X11DIR (for the directory containing the files | |
250 files X11/X.h and X11/Xlib.h) and X11LIB (for the directory containing the | |
251 library libX11.a). These parameters override the default parameters assigned | |
252 for a particular machine. | |
253 For example decstation paths could also be assigned using:- | |
254 | |
255 make X11DIR=/usr/include X11LIB=/usr/lib [<machine>] | |
256 | |
257 sun paths could also be assigned using:- | |
258 | |
259 make X11DIR=/usr/openwin/include X11LIB=/usr/lib [<machine>] | |
260 | |
261 To see what the internal defaults are for a particular machine, type: | |
262 | |
263 make TARGET=help <machine> | |
264 | |
265 This prints a complete list of the makefile targets, arguments, and defaults | |
266 on the standard output. The values of the arguments X11DIR and X11LIB are | |
267 the default paths associated with the specified machine. | |
268 | |
269 | |
270 ============================================================================ | |
271 | |
272 B. Alternative compilers | |
273 | |
274 The default compiler is the traditional C compiler cc. | |
275 Alternative compilers can be specified by giving the name of the compiler to | |
276 the root makefile, (assuming it exists in the current path). | |
277 For example, the GNU Project C compiler, gcc, is specified as follows, | |
278 (including it's -ansi flag, for compatability with ansi cc): | |
279 | |
280 make CC=gcc CFLAGS="-O -ansi" <machine> | |
281 | |
282 We find following produces code which runs significantly faster that the | |
283 traditional cc compiler: | |
284 | |
285 make CC=gcc CFLAGS=-O2 <machine> | |
286 | |
287 | |
288 ============================================================================ | |
289 | |
290 C. A Note on Color Workstations | |
291 | |
292 The AIM software X11 interface is designed for monochrome screens, and | |
293 not for multiplane color screens. The software will run on a color | |
294 screen, except that when bitmaps are created they are the same depth | |
295 as the screen, since they are exact copies of the screen memory. | |
296 This also happens, for example, when the "animate" option is on, or | |
297 when the "xreview" program is used. The symptoms are a very slow | |
298 response time, and huge bitmap files. | |
299 | |
300 There is a hidden option "mono=on" (short for "monochrome") which | |
301 forces the bitmap to be a single plane of the screen memory. By | |
302 default, it copies plane 1; if this does not work, the plane can be | |
303 varied with the hidden option "planemask=<integer>". | |
304 | |
305 Any queries to: <Mike.Allerhand@mrc-apu.cam.ac.uk> | |
306 | |
307 | |
308 | |
309 ============================================================================ | |
310 4. Next step after installing AIM. | |
311 ============================================================================ | |
312 | |
313 | |
314 When the installation is complete go to the 'bin' directory. It | |
315 contains the compiled programs and the user ReadMe file which is the | |
316 start point for the user documentation. bin/ReadMe provides an | |
317 overview of AIM, a set of demonstrations, an overview of the AIM | |
318 documentation, and PATH information. | |
319 | |
320 | |
321 | |
322 | |
323 | |
324 | |
325 |