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