readme.doc

来自「speech signal process tools」· DOC 代码 · 共 141 行

DOC
141
字号
                                   SPHERE                        NIST SPeech HEader REsources                             Release 1.5 (beta)                                 April 19900. Introduction:SPHERE is a software package containing:    1. a set of C functions that can be used to:        a) create and modify NIST speech file headers (in memory)        b) read (write) NIST speech file headers from (to) disk    2. a set of basic utility programs that use the functionsThis software has been developed for use within the DARPA speech researchcommunity.  Although care has been taken to ensure that all software iscomplete and bug-free, it is made available to the speech researchcommunity without endorsement or express or implied warranties.  1. Usage:User programs are linked with the library libsp.a, which containsthe C functions mentioned above and some other functions that areused to support them. Functions that begin with "sp_" are intendedto be callable by user programs. The semantics of the functionsin this library are described in comments in the source code andare also collected at the end of this document.All functions in the library that return pointers will return NULLpointers on failure/error. All numeric functions will return negativevalues on failure/error.User programs that call the functions should "#include" the filesheader.h and sp.h. The former contains, among other things, sometype definitions used by the library functions. The latter containsdeclarations for all user functions in the library.2. Installation:To install SPHERE on a Unix system, use the Unix utility "make".While in the directory where the package source code has beeninstalled, type:	make -f makefile.The speech header library will be created, as well as the sampleprograms. Installation on non-Unix systems without "make" willprobably require manual compilation.3. Sample Programs:Several sample programs have been included in this release todemonstrate the functionality of the SPHERE header library:	h_read [options] [file ...]		reads headers from the files listed on the		command line; by default, output is lines of		tuples consisting of all fieldnames and values;		many options modify the program's behavior; see		the manual page "h_read.1"	h_add inputfile outputfile		adds a header to the data in inputfile, stores		the result in outputfile	h_strip inputfile outputfile		strips the header from inputfile, stores the		remaining data in outputfile; if outputfile		is "-", writes the sample data to stdout	h_test		tests the header routines through an endless		loop that stores and retrieves values from a header;		Bugs in the library would hopefully either result		in an insertion/retrieval error or a memory allocation		error/failure	Newer tools:		h_edit			edit header fields		h_nlrm			remove newline characters from fields		h_delete			delete header fieldsThe abstract data type that programs use is a pointer to a "header_t"structure. This pointer is a handle used by the functions that operateon the header, much like a FILE pointer is used as a handle by functionsin the C "stdio" library that operate on files.One difference is that there are two different ways to return aheader pointer to a user program. The first method is to call thefunction that returns a pointer to an empty header. The secondreads the fields from a speech file into a header.Another difference is that there is no set limit on the number ofheaders a program can have existing in memory at a given time.The C "stdio" library typically limits the number of open filesto 20 or so, because the actual array of FILE structures is declaredstatically. Header structures are allocated dynamically, so userprograms should deallocate headers that are no longer in use toavoid running out of memory.4. Documentation:The following documentation files are also located in this directory: changes.doc - Modifications to SPHERE for this releasedisclaim.doc - NIST software disclaimer    h_read.1 -  a manual page for the command "h_read"  h_read.doc - simple text version of "h_read.1"  header.doc - description of NIST header structure  readme.doc - this file    sphere.3 - a manual page for the SPHERE function library  sphere.doc - simple text version of "sphere.3"5. Bug Reports:Please report any bugs to John Garofolo by sending email tojohn@jaguar.ncsl.nist.gov.Please include a description of the bug/problem and the hardwareand software under which the problem occurred, as well as any dataneeded to reproduce the problem.The most recent version of the SPHERE package is availablevia anonymous ftp from jaguar.ncsl.nist.gov [129.6.48.157] incompressed tar form as "sphere-v.tar.Z" (where "v" is the versioncode).

⌨️ 快捷键说明

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