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

📄 guide.vme

📁 speech signal process tools
💻 VME
📖 第 1 页 / 共 3 页
字号:
.lo.de SM          \"macro to shrink left margin.br.nr $i \\n($i+\\$1i...de RM          \"macro to restore original left margin.br.nr $i 0...AU "Joe Buck, Alan Parker, and John Shore".RB "John Shore (with help from Rod Johnson)".SJ "Entropic Signal Processing System (ESPS) Programming Guidelines".TM ETM-S-86-14 1.5 6/18/87.*RETM-S-86-13:rap/jtb, Data Files in the Entropic Signal Processing System (ESPS).*RETM-S-86-12:jtb, Parameter and Common Files in the Entropic Signal Processing System (ESPS).*RETM-S-86-25:rap, Guidelines for Programming with FEA Files .*RESPS Users Manual .*RJ. Shore and R. Parker, Introduction to the Entropic Signal Processing System (ESPS).sh 1 Introduction.lpThis document describes various programming conventions and guidelinesfor the Entropic Signal Processing System (ESPS).  .(f\(co copyright 1987 Entropic Speech, Inc.; All rights reserved.  .)fReaders of this document should also read [1-3.  A generalfamiliarity with the reference manual [4] is also assumed.  For ageneral introduction to ESPS, see [5]..lpThis document describes the command line format of ESPS programs,internal program structure, programming conventions, and theorganization of the ESPS directory tree.  .sh 1 "Directory Structure".lpThe ESPS distribution comprises a a directory tree with the suggesteddefault root /usr/esps.  Many of the installed locations for the toplevel of this tree can be specified independently by the local systemmanager using facilities provided by the ESPS installation program.For purposes of this memorandum, however, we assume that the defaultlocations are used with a root of /usr/esps.  Here is a sketch of theESPS directory tree:.(b.ft CW.nf                |-bin                |-bin.local                |-doc                |                |               |-bin                |               |-doc                |               |-h                |               |                |               |-lib-----------|-filt                |               |               |-testdata                |               |                |               |               |-man1                |-general-------|-man-----------|-man3                |               |               |-man5                |               |                |               |               |-lib                |               |               |-misc                |               |-src-----------|-prog1                |                               |-prog2                |                               |-prog...                |                               |-progN                |                |-include-------|-esps                |                |-include.local-|-esps                ||-esps----------|-lib-----------|-maclib                |                |               |-bin                |               |-doc                |               |-h                |               |-lib                |               |                |               |               |-man1                |               |-man-----------|-man3                |-local---------|               |-man5                |               |                |               |               |-lib                |               |               |-misc                |               |-src-----------|-prog1                |                               |-prog2                |                               |-prog...                |                               |-progN                |                |               |-cat1                |               |-cat3                |-man-----------|-cat5                                |-man1                                |-man3                                |-man5.fi.)b.ft LR.lpThe following are brief descriptions of the main ESPS directories(the root path /usr/esps/ is not included):.ip bin: Executable programs in the general release.  This directory should beadded to ESPS users' paths..ip bin.local:Executable programs local to a particular system; these would beprograms that are not part of the general ESPS release but arecreated locally.  .ip doc:ESPS documents..ip include:Include files for general ESPS source programs.  .ip include.local:Include files for local ESPS source programs.  .ip lib:The location of public ESPS files.  The install script moves thingsto this directory.  This is the default location for the ESPSlibraries.  The maclib subdirectory contains mock-lisp files foremacs support of ESPS programming.  .ip man:The root of a tree containing the on-line ESPS manual pages (i.e., this iswhere \fIeman\fP(1\-\s-1ESPS\s+1) looks).  Subdirectories include: .ip man/man1:Manual pages for user-level programs.  .ip man/man3:Manual pages for library routines..ip man/man5:Manual pages for file formats..lpThere are also associated man/cat? directories for the formatted manual pages (created by \fIeman\fP)..ip general:The root of a tree containing the distributed binaries and sources.  .ip local:The root of a tree containing local sources.  .lpThe general and local subtrees have the same structure.  Here, wejust describe general..ip general/src:Source directory.  This directory will have subdirectories for allmajor programs.  The source code stored here will be \fISCCS get\fRversions.  The \fISCCS\fR directories will be maintained elsewhere.Files in this directory should be read-only.  Source for simple (onemodule) ESPS programs will be kept in general/src/misc.  Source for library routines will be in general/src/lib.  .ip general/h:Include files.  The install script moves these toinclude.  .ip general/src/test:Programs written to test ESPS features (e.g., to test the headerprograms) will be stored here..ip general/bin:Location of distributed binaries.  The install script will move theseto bin.  .ip general/doc:Documents, such as this one, describing features of the ESPS as awhole.  Both source files (for nroff/troff) and ASCII document filesare be stored in this directory..ip general/lib:The root of a tree containing public ESPS files.  Subdirectories include:.ip general/lib/filt:Filter files (FILT files) of general utility..ip general/lib/testdata:Fixed reference data for program testing.  .ip general/man:The root of a tree containing the distributed ESPS manual pages. The install script will move these to man.  .sh 1 "ESPS Compilation Environment".lpThe ESPS install scripts (default locations /usr/esps/general/install and/usr/esps/local/install) define a set of environment variables thatspecify the location of key esps directories and compilationoptions.  These may be changed by the person who runs the installscripts.  To aid programmers who are working on general ESPS programs, the install script creates .i ecc(1\-\s-1ESPS\s+1).i elint(1\-\s-1ESPS\s+1)and .i emake(1\-\s-1ESPS\s+1) as well as versions of these for programmersworking on local ESPS programs.  The first two of these call.i cc(1) and.i lint(1) with appropriate flags identifying the location of ESPS includefiles and libraries.  The .i emakescript calls .i make(1) with flags that pass the appropriate environment variables.  .lpUsers of .i emake(1\-\s-1ESPS\s+1)should start with an ESPS makefile that looks like this:.SM .2i.lp.nf.ft CW#  This material contains proprietary software of Entropic Speech, Inc.   #  Any reproduction, distribution, or publication without the the prior	   #  written permission of Entropic Speech, Inc. is strictly prohibited.#  Any public distribution of copies of this work authorized in writing by#  Entropic Speech, Inc. must bear the notice			# 								#      "Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved"# 				#  makefile for atofilt @(#)guide.vme	1.5 6/18/87 ESICFLAGS =  $(PROGCFLAGS)OBJS =	    foo.o beta.o gamma.o alpha.oSRCS =	    foo.c beta.c gamma.c alpha.cfoo:	$(OBJS) $(SPSLIB)	cc  $(CFLAGS) $(OBJS) $(SPSLIB) -lm -o foofoo.o:	$(SINC)/esps.h $(SINC)/filt.hbeta.o:   $(SINC)/esps.h $(SINC)/anafea.h $(SINC)/fea.h $(SINC)/sd.hgamma.o:  $(SINC)/esps.h $(SINC)/anafea.halpha.o:  $(SINC)/esps.hinstall: foo	-strip foo	-mv $(BINDIR)/foo $(OLDBIN)/foo	mv -f foo $(BINDIR)/foo	chmod $(PROGMOD) $(BINDIR)/foo	-diffmk $(MANDIR)/man1/foo.1 foo.1 man.diff	@echo diffmked man page left in man.diff	cp foo.1 $(MANDIR)/man1/foo.1	chmod 0640 $(MANDIR)/man1/foo.1clean:		-rm -f $(OBJS) foo 	lint:	foo.c	$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIB) -lm > lint.fi.RM.ft LR.lpAll of the macros used are passed in as environment variables by theinstall script or by.i emake(1\-\s-1ESPS\s+1), except for CFLAGS, which is passed in asPROGCFLAGS.  This is done, so that the programmer can add additionaloptions, such as -g or -O..lpHere is a full list of the esps compilation environment (most of theseare not usually dealt with explicitly by users):.SM .25i.lp.nf.ta 1.5iBINDIR		The directory for esps user level executablesLIBCFLAGS 	The CFLAGS for use with the library C files.LIBDIR		The directory for the esps object library and lint libraryLIBMOD		The file access mode of the items that go into the libraryLINT		The lint command to use (eg. "att lint")LINTFLAGS	The flags to use with lintLINTLIB		The name of the lint libraryLLIBNAME	The name of the lint library sourceMANDIR		The parent of the man page directory (eg /usr/esps/man)MANMOD		The access mode of the man pagesOLDBIN		The place for old versions of esps binariesPLOTDIR		The directory for plotting programs that are called by		cover programsPROGCFLAGS	The CFLAGS for use with the library C files.  Contains a		-I option with the correct path to the esps include		files.PROGMOD		The access mode of esps user programsSINC		The directory of esps include files (general)SINCL		The directory of esps include files (local)SPSLIB		The full path of all esps libraries  SPSDIR		The parent esps install directory.RM.fi.lpSPSLIB might contain one or two library names.  For use under thegeneral environment (\fIecc\fR or \fIemake\fR) it will contain onlyone; the general ESPS library name (eg.  /usr/esps/lib/libespsg.a).For use under the local ESPS environment it will contain both thegeneral and the local library names (eg.  "/usr/esps/lib/libespsl.a/usr/esps/lib/libespsg.a").  The scripts .i ecc,.i elint,and.i emakeand emake use the general environment.  Thescripts .i lecc,.i lelint,and.i lemakeuse both the general and localenvironment..sh 1 "Manual Pages".lpAll ESPS programs must have a \s-1UNIX\s+1-style manual page.  In most cases, this should be written and reviewed before the program itself iswritten.  ESPS manual pages have several sections in addition to those that are conventional for \s-1UNIX\s+1, namely the following:.nf.ta .75i	ESPS PARAMETERS

⌨️ 快捷键说明

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