亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sphere.doc

?? speech signal process tools
?? DOC
?? 第 1 頁 / 共 5 頁
字號:
	     SPeech HEader REsources (SPHERE) Version 2.6			     June 6, 1996                   John Garofolo and Jonathan Fiscus                                 NISTTable of Contents:I.      Introduction to SPHEREII.     C-language Programmer Interface Library	II.A   File Access Functions		II.A.1	sp_open()		II.A.1	sp_close()	II.B   Header Manipulation Functions		II.B.1	sp_h_get_field()		II.B.2	sp_h_set_field()		II.B.3	sp_h_delete_field()		II.B.4  sp_copy_header()		II.C   Waveform I/O and Conversion Functions		II.C.1	sp_read_data()		II.C.2	sp_write_data()                II.C.3  sp_set_data_mode()		II.C.4  sp_rewind()		II.C.5  sp_seek()		II.C.6  sp_tell()		II.C.7  sp_compute_checksum();	II.D   Status Functions                II.D.1  sp_eof()                II.D.2  sp_error()                II.D.3  sp_print_return_status()                II.D.4  sp_get_return_status()		II.D.5  sp_get_version()	II.E   Data (Waveform) Buffer Allocation/Deallocation Functions		II.E.1  sp_data_alloc()		II.E.2  sp_data_free()III.    File Format DefinitionIV.     File Pointer StructureVI.     Linking to the SPHERE libraryVII.    Example Interface Library UsageVIII.   System-Level UtilitiesIX.     Revision HistoryX.      Bug ReportsXI.	Supported HardwareXII.    DisclaimerXIII.   AcknowledgementsI.  Introduction to SPHERESPeech HEader REsources (SPHERE) is a software package developed bythe National Institute of Standards and Technology (NIST) AutomatedSpeech Recognition Group to provide an interface to NISTSPHERE-formatted speech waveform files.  (The acronym, SPHERE, has nowcome to represent the format of the files as well as the softwarepackage.)  The SPHERE package contains two primary user-oriented softwarecomponents:	1.  C-language programmer interface library	2.  C-language system-level file manipulation utilitiesThe C-language programmer interface library has been developed toprovide a simple, intuitive interface to access and manipulate SPHEREfiles.  The library has been specifically designed to mimic the syntaxand functionality of standard C-language file I/O functions.Functions are provided to open, close, read, and write SPHERE files.C-like header field manipulation functions have been included as well.The system-level file manipulation utilities have been written usingthe SPHERE library and provide command-line-level manipulation ofSPHERE files as well as functional examples of the usage of the SPHERElibraries.Where former versions of SPHERE provided only speech file headeraccess, Version 2.0 provides waveform access as well in both theC-language programmer interface and system-level utilities.  Embeddedu-law, shorten, and wavpack compression/decompression is alsosupported.II.  C-language Programmer Interface Library.    The SPHERE interface library functions provide a high-levelC-program interface to access and manipulate SPHERE-formatted files.Many of the interface functions have been designed specifically to mimic standard C-language I/O functions.  Functions are included to provide SPHERE file access and separate manipulationof file headers and bodies (waveforms). The functions have beenlogically divided into five broad types:	1.  File access functions (open and close SPHERE FILES)	2.  Header manipulation functions	3.  Waveform I/O and conversion functions	4.  File I/O error status functions	5.  Data (waveform) buffer allocation/deallocation functions1.  File access functions:   SPHERE file access is achieved via the 'sp_open' function.  The'sp_open' function is analogous to the C-language 'fopen' function andcontrols the opening of files.  Upon opening for read operations, aSPHERE file structure is formed and the header is loaded.  Forwrite operations, a SPHERE file structure is formed and an emptyheader is created.   The 'sp_close' function is analogous to the C-language 'fclose' functionand closes the specified SPHERE file and frees up associated allocatedmemory.2.  Header manipulation functions:   Opened SPHERE header structures are manipulated via a set of headerfield functions to retrieve, write, and delete fields.  The function,'sp_h_get_field', is used to retrieve the contents of the three typesof SPHERE fields.  Likewise, the function, 'sp_h_set_field', is usedto establish the contents of the three types of SPHERE fields.  Thesefunctions are somewhat analogous to the C-language 'gets' and 'puts'functions.  The function, 'sp_h_delete_field', is used to remove afield from a header.    The function, 'sp_copy_header', is used to copy the header of anopened SPHERE header to another opened SPHERE header.3.  Waveform I/O and conversion functions   A set of three functions has been established to handle waveformI/O.  The first, 'sp_read_data', is used to load a block of waveformdata from a SPHERE file into memory.  This function is analogous tothe C-language 'fread' function.  Likewise, the function,'sp_write_data', is used to flush a block of waveform data in memoryto SPHERE file and is analogous to the C-language 'fwrite' function.The function, 'sp_set_data_mode', is used to change the defaultbehavior of 'sp_read_data' and 'sp_write_data' and controls suchvariables as the conversion of waveform encodings and the byte orderduring I/O.Currently, only block-style sequential file access is supported.4.  File I/O error status functions   The functions, 'sp_eof' and 'sp_error', have been added toprovide file I/O status information analogous to the C-language'feof' and 'ferror' functions.5.  Data (waveform) buffer allocation/deallocation functions    The functions, 'sp_data_alloc' and 'sp_data_free' have been addedto allocate and de-allocate memory and create data structures to holdwaveform data.  The functions use the header information to computethe size required for the buffers.	The following sub-sections contain a detailed description template foreach function.  The templates are comprised of the following fields:	Description - Brief general description of the purpose of the function	Syntax - Function type and syntax including argument list	Arguments - Description of arguments passed to the function	Remarks - General comments and advisories regarding the function	Return Value - Interpretation of the return values of the function	See Also - List of related functionsII.A   File Access FunctionsII.A.1 sp_open()Description:    Opens a SPHERE-formatted file and returns a SPHERE file pointer to    the opened file.Syntax:    struct SP_FILE *sp_open(char *filename, char *mode)	Arguments:    sp_open opens the file named by the string, 'filename', as    instructed by the string, 'mode'.      The 'mode' string has the following values:	"r[v]" -> Open a SPHERE file specified by the string, 'filename',                  for reading.	"w[v]" -> Open a SPHERE file specified by the string, 'filename',                  for writing.Remarks:    Although a checksum is always generated upon completion of    reading or writing any SPHERE file, an extra checksum verification    may be performed using the optional 'v' modifier to    'r' and 'w'.    'rv' Checksum Verification:    If a file is opened for read operations with the checksum    verification flag, the checksum is verified before the    file is made available for read operations.  Normally, the    checksum is verified upon completion of reading a file.    'wv' Checksum Verification:       If a file is opened for write operations with the checksum    verification flag, after a file is written, it is re-read and    the checksum is verified.  Normally, if a checksum is present in the     file header before initiating write operations, then the existing    checksum is verified against a checksum generated upon closing    the file (with sp_close).  If a checksum is not present in the    file header before initiating write operations, then a initial    checksum is computed and no checksum verification takes placed.        The 'filename' option may be '-' to signify stdin or stdout for    files opened for read or write operations respectively.  As a special case,    files opened in this manner do need to have a 'sample_count' field present    in the header.  If the file is opened for read operations, the    'sp_read_data()' function will read data until End-of-File is detected.    If the file is opened for write operations, a flag value is placed    in the output header so as to allow pipe-lined SPHERE operations to     work together.Return Value:    Returns a pointer to an opened SP_FILE structure.  If an error    occurs during the open, returns a null pointer to a SP_FILE    structure, "(SP_FILE *)0".See Also:    sp_read_data(), sp_write_data(), sp_set_data_mode(), sp_close()II.A.2 sp_close()Description:    Closes an opened SPHERE-formatted file.Syntax:    int sp_close(SP_FILE *sp)	Arguments:    sp_close closes the file pointed to by 'sp'.  Remarks:    Upon closing the file, '*sp' sp_close frees the memory allocatedfor the file buffer.Return Value:    Returns 100 or greater on failure, otherwise returns a zero.See Also:    sp_read_data(), sp_write_data(), sp_set_data_mode(), sp_open()II.B   Header Manipulation FunctionsII.B.1 sp_h_get_field()Description:    Gets the specified header field value from an opened SPHERE fileheader.Syntax:    int sp_h_get_field(SP_FILE *sp_file, char *field_name,                       int field_type, void **field_value)Arguments:    sp_h_get_field copies the header field named by, 'field_name', oftype, 'field_type', from the opened SPHERE file pointed to by'sp_file', to address pointed to by 'field_value'.Remarks:        Permitted        Library Defined            Field    field_type values:        C-Types:           Definitions    ------------------   ---------------         -----------	       T_STRING           SP_STRING        string field type [char *]       T_INTEGER   	  SP_INTEGER       integer field type [long]       T_REAL             SP_REAL          real field type [double]Note: in the case of a string field type (T_STRING), sp_h_get_field()allocates sufficient dynamic memory for the string to be copied.  Thecopied string is a NULL terminated sequence of characters.  It is theprogrammer's responsibility to deallocate this memory using theC-Language 'free()' function when the string is no longer needed.In order to avoid mis-typing of header values, the SPHERE library has a'typedef' for each of the header field types.Return Value:    sp_h_get_field() returns a 0 upon success, 1 to 99 for a warning,and 100 or greater for an error.See Also:    sp_open()II.B.2 sp_h_set_field()Description:    Sets the specified header field value in an opened SPHERE fileheader.Syntax:    int sp_h_set_field(SP_FILE *sp_file, char *field_name,                        char* field_type, void *field_value)	Arguments:    sp_h_set_field sets the header field value named by, 'field_name',of type, 'field_type', in the opened SPHERE file pointed to by'sp_file' with the value, 'field_value'.Remarks:        Permitted        Library Defined            Field    field_type values:        C-Types:           Definitions    ------------------   ---------------         -----------	       T_STRING           SP_STRING        string field type [char *]       T_INTEGER   	  SP_INTEGER       integer field type [long]       T_REAL             SP_REAL          real field type [double]    If the specified header field, 'field_name', does not exist in theopened SPHERE file header, then the field is created.Note: If a file is opened for write (using 'sp_open'), then thisfunction may only be called before using 'sp_write_data'.  Also, thefields, 'sample_coding', 'sample_byte_format', 'sample_count','sample_n_bytes', 'sample_checksum', are set automatically by thefunction, 'sp_set_data_mode', and should not be set manually if'sp_set_data_mode' has been called.In order to avoid mis-typing of header values, the SPHERE library has a'typedef' for each of the header field types.Return Value:    sp_h_get_field() returns a 0 upon success, 1 to 99 for a warning,and 100 or greater for an error.See Also:    sp_open()II.B.3 sp_h_delete_field()Description:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产不卡一区视频| 日韩美女视频在线| 精品三级在线看| 国产精品对白交换视频| 久久精品国产99国产| 成人av网站在线观看免费| 4438成人网| 亚洲天堂2014| 丁香婷婷综合网| 欧美一区二区黄色| 亚洲国产一区二区三区| 成人黄色国产精品网站大全在线免费观看 | 成人免费视频一区二区| 日韩一本二本av| 亚洲高清在线精品| 色综合久久99| 国产精品人妖ts系列视频| 国产一区二区成人久久免费影院 | 99久久久无码国产精品| 精品区一区二区| 午夜精品福利久久久| 欧美日韩色一区| 一区二区三区欧美在线观看| www.久久精品| 亚洲国产成人午夜在线一区 | 成人av网址在线| 欧美激情在线免费观看| 国产成人精品免费看| 国产日本一区二区| 激情图区综合网| 日韩写真欧美这视频| 视频一区视频二区中文| 欧美疯狂做受xxxx富婆| 亚洲chinese男男1069| 欧美午夜在线一二页| 亚洲国产欧美在线| 欧美视频精品在线| 日韩av在线免费观看不卡| 91精品国产一区二区三区| 丝袜美腿高跟呻吟高潮一区| 欧美日韩成人高清| 麻豆精品久久精品色综合| 日韩一区和二区| 国产一区二区三区在线观看精品 | 精品亚洲porn| 久久视频一区二区| 粉嫩嫩av羞羞动漫久久久| 国产精品久久一级| 色噜噜狠狠成人中文综合| 亚洲一区二区在线免费观看视频| 在线观看日韩一区| 男男gaygay亚洲| 久久综合国产精品| av一本久道久久综合久久鬼色| 亚洲欧美欧美一区二区三区| 欧美精品一卡二卡| 国产一区二区三区久久久| 国产精品美女一区二区三区 | 91精品国产色综合久久不卡蜜臀| 免费一级片91| 中文字幕一区二区5566日韩| 欧美网站一区二区| 狠狠色丁香婷综合久久| 亚洲欧洲无码一区二区三区| 欧美色男人天堂| 精品一区二区在线视频| 国产精品久久久久久久午夜片| 日本福利一区二区| 久久99精品国产.久久久久久| 国产精品视频你懂的| 欧美性受xxxx| 国产乱码精品一区二区三区忘忧草| 国产精品卡一卡二卡三| 日韩午夜激情av| 99精品欧美一区| 精品一区二区免费视频| 亚洲精品国产视频| 久久久亚洲精华液精华液精华液| 色婷婷精品大在线视频| 国产在线国偷精品免费看| 夜夜嗨av一区二区三区| 国产日韩v精品一区二区| 欧美日韩高清不卡| 91片黄在线观看| 国产精品一区二区免费不卡| 亚洲一区二区三区自拍| 国产欧美视频一区二区三区| 欧美一区二区免费观在线| 色老汉av一区二区三区| 免费欧美高清视频| 亚洲制服欧美中文字幕中文字幕| 国产日韩欧美综合一区| 精品久久久久久最新网址| 在线看一区二区| 成人黄色777网| 国产超碰在线一区| 韩国av一区二区三区四区| 天天操天天色综合| 一区二区三区美女| 国产精品国模大尺度视频| 久久久久久久精| 日韩欧美成人午夜| 欧美精品 国产精品| 欧美体内she精高潮| 91麻豆.com| 色哟哟一区二区| 91亚洲精品久久久蜜桃网站| 成人avav影音| 成人激情开心网| 成人午夜私人影院| 成人午夜电影小说| 成熟亚洲日本毛茸茸凸凹| 国产成人在线视频免费播放| 极品少妇xxxx精品少妇| 精一区二区三区| 激情六月婷婷久久| 精品在线播放免费| 国产另类ts人妖一区二区| 国产成人精品综合在线观看| 国产乱妇无码大片在线观看| 豆国产96在线|亚洲| hitomi一区二区三区精品| 国产成a人亚洲精| av一区二区不卡| 欧洲另类一二三四区| 欧美亚洲丝袜传媒另类| 欧美日韩亚洲综合在线| 制服丝袜国产精品| 欧美mv日韩mv亚洲| 国产欧美日产一区| 亚洲欧美自拍偷拍| 性做久久久久久免费观看| 日日欢夜夜爽一区| 久久丁香综合五月国产三级网站| 国产在线视视频有精品| av电影天堂一区二区在线| 色婷婷国产精品综合在线观看| 欧洲一区在线观看| 日韩三级视频中文字幕| 国产欧美日韩视频一区二区| 最新日韩在线视频| 日韩精品一级中文字幕精品视频免费观看 | 国产亚洲福利社区一区| 国产亚洲短视频| 亚洲精品国产无套在线观| 视频一区二区三区入口| 国产乱子轮精品视频| 91色乱码一区二区三区| 91精品国产福利在线观看| 国产日产欧美一区| 亚洲国产综合人成综合网站| 久久国产精品99精品国产| 成人av电影免费在线播放| 91精品国产91久久久久久一区二区| 精品久久久久久最新网址| 亚洲视频 欧洲视频| 另类综合日韩欧美亚洲| 95精品视频在线| 欧美一级免费大片| 中文字幕一区二区在线观看| 天天免费综合色| av在线免费不卡| 久久综合色婷婷| 亚洲国产综合在线| 99视频热这里只有精品免费| 3d成人h动漫网站入口| 国产精品视频yy9299一区| 午夜欧美在线一二页| 不卡av电影在线播放| 精品噜噜噜噜久久久久久久久试看 | 成人自拍视频在线| 欧美肥妇free| 亚洲欧美激情插| 国产一区二区三区视频在线播放| 欧美日韩免费视频| 亚洲欧美国产毛片在线| 国产不卡在线视频| 精品国产免费一区二区三区四区 | 欧美男女性生活在线直播观看| 中文字幕在线观看一区二区| 久久99国产精品久久99| 欧美日韩国产一二三| 一区二区三区免费| 色婷婷久久久久swag精品 | xfplay精品久久| 日韩vs国产vs欧美| 欧美日韩久久久久久| 亚洲主播在线播放| 在线免费亚洲电影| 亚洲美女偷拍久久| 91免费国产在线| 亚洲日韩欧美一区二区在线| 国产成人精品三级| 国产视频视频一区| 国产91精品入口| 国产日韩欧美a| 成人高清免费在线播放| 国产亚洲美州欧州综合国| 国产在线观看一区二区| 久久精品无码一区二区三区|