⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install.tme

📁 speech signal process tools
💻 TME
📖 第 1 页 / 共 2 页
字号:
.ppWhere XXXX is the name of your tape device..ppAfter doing this you should have a directory named \fIesps\fR under your homedirectory.   This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR.   Check this \fIREADME\fRfile for any information that did not get put into this note..sh 2 "DS3100".ppThe following instructions assume that you want to read the distributioninto a new directory named \fIesps\fR in your home directory.   If you desire to read it into another directory, them modify these instructionsaccordingly..sh 3 "Reading a TK50 Tape Cartridge".ppThe tape (in tar format) is read in. Be sure you are in your home directory, create a directory named\fIesps\fR and then change to it.  The tape will be read into thisdirectory.  Assuming that \fItar\fR uses the default tape drive,(you might have to use the \fI-f\fR option on \fItar\fR)the following commands do the trick:  .br.ta 4i.ft CW.nf% cd% mkdir esps% cd esps% tar xv.ft LR.fi.ppAfter doing this you should have a directory named \fIesps\fR under your homedirectory.   This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR.   Check this \fIREADME\fRfile for any information that did not get put into this note..sh 2 "Convex".ppThe following instructions assume that you want to read the distributioninto a new directory named \fIesps\fR in your home directory.   If you desire to read it into another directory, them modify these instructionsaccordingly..sh 3 "Reading a 9 Track Tape".ppThe tape (in tar format) is read in. Be sure you are in your home directory, create a directory named\fIesps\fR and then change to it.  The tape will be read into thisdirectory.  Assuming that \fItar\fR uses the default tape drive,(you might have to use the \fI-f\fR option on \fItar\fR)the following commands do the trick:  .br.ta 4i.ft CW.nf% cd% mkdir esps% cd esps% tar xv.ft LR.fi.ppAfter doing this you should have a directory named \fIesps\fR under your homedirectory.   This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR.   Check this \fIREADME\fRfile for any information that did not get put into this note..sh 1 "Editing the Install Script".ppThere are several variable assignments that must be checked by the installer.They are the system type, the location of the \fItarget\fR directory, andthe data acquisition device names..ppThe variable \fBMACH\fR should be set to indicate the machine type.  Itis either M5500 for a 68010 Masscomp, M5600 for a 68020 Masscomp,SUN3 for a Sun\-3, SUN4 for a Sun\-4, SUN386i for a Sun\-386i, HP for an HP 300 or HP 800 series,CONVEX for a Convex C-1 or C-2, or DS3100 for a DecStation 3100.  No other machine types are supported by this release.The default value should be the same as the tape is labeled for, but ifyou ordered for several machine types, it won't be right for all ofthem.In any event, check the \fBMACH\fR variable in theinstall script..ppThe variable \fBSPSDIR\fRis the location of the \fItarget\fR directory.   It is set to the full pathof the desired \fItarget\fR directory.   The default value (as shipped) is\fI/usr/esps\fR.  The install script will try to create this directory if itdoes not exist.  Be sure that the user-id running the install scriptcan write into the directory in which the \fItarget\fR directory will becreated.  If not (for example if it is /usr) have the super-user createit first and then \fIchown\fR of it to the ESPS installer's user-id..pp The other installation variables that might need adjustment are the file access modes.   These default to access by everyone on the system.  If you desire to limit access to to a particular group you can set the access mode as desired.   The group used will be that of the installer.  (For full access, the last digit of the mode should be the same as the next to last digit (eg. 0755 or 0644).  To limit access to the group,the last digit should be zero (eg. 0750 or 0640)..ppThe install script contains a listing at the beginning of allvariables that can be defined and their default values.Note that the install script is a \fIsh\fR(1) script, and there can beno spaces around the equal sign (=) in variable assignment statements..sh 2 "Data Acquisition Devices on Masscomp (Concurrent)".ppThe variables \fBDADEV\fR, \fBADDEV\fR, and \fBCLKDEV\fR are set to thename of the digital-to-analog converter, the analog-to-digital converter,and the clock device.   The d/a and a/d device are the full pathnames of the device.  For example \fI/dev/dacp0/daf0\fR.The clock device is the full path of the clock, excluding the trailingdevice number.  For example \fI/dev/dacp0/clk\fR.The default values are \fI/dev/dacp0/daf0\fR for \fBDADEV\fR, \fI/dev/dacp0/adf0\fR for \fBADDEV\fR, and \fI/dev/dacp0/clk\fR for \fBCLKDEV\fR.   .pp\fBMAXDA\fR and \fBMAXAD\fR are set to the maximum (absolute) valueobtained from your analog-to-digital equipment, or that can be sent toyour digital-to-analog equipment.  The default value is for a 12 bittwos-compliment device (2047).   This value affects scaling that is donewithin the \fIplay\fR program.   It is not used by any of the signalprocessing programs..sh 2 "Specifying Window Systems".ppIf you are on a Masscomp system, you have three options: SP-40 Graphics,X Windows, or both.  All Masscomp systems with graphics terminals haveat least one of these window systems.  Determine which you have and setthe variables \fBXWIN\fR and \fBSP40\fR to yes or no depending onwhether you have these.  If you do not have Masscomp graphics terminals,we suggest that you set \fBSP40\fR to \fIYES\fR and \fBXWIN\fR to\fINO\fR..ppFor HP and DS3100 systems, we assume that X windows is present.   .ppFor Sun systems, this version of the kit only supports building ESPS forthe Sunview window system.  A patch kit is available to convert theinstalled ESPS (or a binary distribution) to X windows.   If it was noton your distribution media and you need it, contact Entropic..sh 1 "ATT vs UCB Universe for Masscomp (Concurrent)".ppESPS is to be compiled under the \fIucb\fR universe.  Since the librarywill be built under \fIucb\fR in most cases, user programs will alsohave to be compiled under \fIucb\fR.  Please be sure that your user'sunderstand this.   Before running the install script, be sure you are inthe \fIucb\fR universe by giving the command:.br.ta 4i.ft CW.nf% universe ucb.ft LR.fi.sh 1 "Run the Install Script".ppAfter you have checked and reset any installation variables you simplyrun the script.   It is a good idea to capture the standard error andstandard output from the install script into a log file.The following example assumes that you are using the cshell( \fIcsh\fR)..br.ft CW.nf% cd% cd esps/general% install  >& log &.fi.ft LR.ppTo watch the log file during while the install script runs do:.br.nf.ft CW% tail -f log.fi.ft LR.ppThis will run the install script and save all output in the file named\fIlog\fR.   You can monitor the progress of the install by using\fItail -f\fR.  (\fITail\fR shows the last few lines of a file.  The -foption causes it to print additional lines as they are added to thefile.  Note that \fItail\fR with the -f option does not ever exit.  Ithas no way of knowing that the file being watched will not have anyadditional text added to it.   If you are watching the install with\fItail\fR, you must kill it with control-C, or whatever your\s-1UNIX\s+1 interrupt character is, when you see the message indicatingthe end of the ESPS install script.)   When the install script completesit will print the message:.ft CWESPS general part of installation done (followed by the data/time)..ft LR.ppIf something goes wrong and you need to stop the installation process,just use the \s-1UNIX\s+1 \fIkill\fR command to kill the process.  Youcan supply the process number(s) printed after the install command, orthe \fIcsh\fR job number supplied by the \fIjob\fR command..br.nf.ft CW% jobs [1]  +Running   install  >& log% kill %1.fi.ft LR.sh 1 "Checking the Results".ppThe install script produces a large amount of output (the log file willbe about 100K bytes).   Many of the messages from \fImake\fR might looklike errors, but they are normal.   Each error message from \fImake\fR in theinstall log, should be followed by a message from \fImake\fR saying thatit is ignoring the error.   All of these are expected.   Any unexpectederrors will not be ignored and will cause the \fImake\fR to stop.A few C programs produce warnings aboutunreachable statements, depending on some installation variables.  Thesecan be ignored..ppThere might be a few messages at the end from \fIawk\fR that look likeerrors, but they aren't.   They are from a script that builds thedatabase for \fIeman -k\fR.  If some optional components are not there,then some messages like the following will be produced: \fIcan't open mana/*.*\fR.Ignore these.  .ppTo quickly check the log file do:.br.nf.ft CW% egrep rror log | egrep -v ignored.ft LR.fi.ppThere should be no errors that are not \fIignored\fR..br.nf.ft CW% grep rror log.ft LR.fi.ppThere will be several screens of error messages, but all should befollowed by the phrase .ft CW(ignored)..ft LR.ppDue to a some very long lines in the \fImake\fR output, the log file might not be acceptable input to a text editor such as \fIvi\fR..ppThe \fItarget\fR directory (/usr/esps by default) should look likethis: (this example assumes the default name).ft CW.br.nf% cd /usr/esps% ls -F.TStab(;);l l l l.bin/;demo/;doc/;general@lib/;man/;include/.TE.ppThe bin directory should contain about 110 programs.   The doc directorywill contain about 5 documents (all of which you have inhardcopy form).  The lib directory will contain about 30 files,including the ESPS library, \fIlibespsg.a\fR, the ESPS lint library,some plot programs (that are called by other programs), defaultparameter files, and an examplemakefile, \fImakefile.ex\fR.  The symbolic link, \fIgeneral\fR, is alink back to the \fIgeneral\fR directory in the \fIsource\fR directory..ppThere is also a demo directory.  This directory contains severaldemo scripts.  There is a README file in that directory.  We stronglysuggest that you take the time to try these examples.  Not only do theyprovide an introduction to some ESPS commands, but they serve as a checkon the installation..ppWe also suggest that you use \fIeman -k\fR (followed by a keyword tosearch for) to familiarize yourself with the system.  See the \fIeman\fRmanual page for details.  .sh 1 "Setting Up the ESPS User Environment".ppIf you did not install ESPS into /usr/esps, it is a good idea to havethe super user install a link from its actual location to /usr/esps.For example, if you installed ESPS inyour directory \fIespsB\fR, you could have a super-user do thefollowing:  (lets assume your home directory is \fI/u/smith\fR).br.ft CW.nf# cd /usr# ln -s /u/smith/espsB esps.fi.ft LR.ppAfter this is done, all users on the system can find ESPS files under/usr/esps.  This has the advantage, that a new version of ESPS can beinstalled and tested without disturbing other users on the system.  Whenthe ESPS maintainer is ready to switch his users over to the newversion, he simply redefines the /usr/esps symbolic link.   See the\fIln\fR(1) man page for more information on symbolic links..sh 2 "Search Paths".ppIn order to execute ESPS programs users must place the ESPS binarydirectory on their default search path.   If ESPS is installed asdescribed above, that path would be /usr/esps/bin.  Make sure that allof your potential users have this on their path..sh 2 "ESPS Compilation Environment".ppThe ESPS install script creates several programs to aid users who writetheir own programs using the ESPS library.   \fIecc\fR invokes the Ccompiler with the correct options to cause the ESPS include files andlibrary to be searched.  It can be used in cases where you wouldnormally use the \fIcc\fR command.  Additional \fIcc\fR options can bespecified with \fIecc\fR.   The program \fIemake\fR calls the Unix \fImake\fR command with thecorrect environment defined.  For more information on this, seereference [1] and the \fIemake\fR manual page.  A prototype makefilesuitable for use with \fIemake\fR is in the ESPS \fIlib\fR directory.For Masscomp systems, be sure you are in the UCB universe when compilingESPS programs..sh 1 "Installing Individual Programs".ppThe install script, by default, changes to each ESPS source directoryand runs \fIemake\fR.  If a list of sourcedirectories are given on the \fIinstall\fR command line, then only thesewill be made.   The names given, must be exactly the directory nameunder esps/general/src.  Note that this is not always exactly thesame as the installed name of the program.   .ppYou can also compile (or recompile if you've made some change) aparticular ESPS program by changing to its source directory and running\fIemake install\fR.  For example to recompile and install \fIfft\fR youwould do:.nf.ft CW% cd /usr/esps/general/src/fft% emake install.ft R.fi.ppThis will result in the makefile in that directory being run using theenvironment saved in the \fIemake\fR script by the main installationscript.   For more about using \fIemake\fR and compiling ESPS programssee reference [1]..sh 1 "Machine Dependent Programs".ppAlmost all of the programs in this distribution work on all supported machines.  There are, however, a few cases where completely differentversions of programs are required on different machine types.  The correctprogram will be compiled and installed depending on the value of the machine type variable \fBMACH\fR.   An example of such a program is\fIrange\fR..sh 1 "A Word about the Speech I/O Programs".ppThe speech input and output programs, \fImcplay\fR and \fImcrecord\fRuse the C defines \fBADDEV\fR, \fBDADEV\fR, and \fBCLKDEV\fR to determinethe analog-to-digital device, the digital-to-analog device, and the dataacquisition clock.  These symbols are defined in the install script.These programs are linked to \fIplay\fR and \fIrecord\fR..ppIf you have trouble with \fIplay\fR or \fIrecord\fR call Entropic forhelp..sh 1 "In Case of Difficulty".ppIf you have questions about the installation process, or havedifficultly running the script please call Entropic for help..sp.TScenter, tab(;);L L.Entropic Speech, Inc.(202) 547-1420;esps@wrl.epi.com (uunet!epiwrl!esps)Washington, DC..TE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -