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

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

?? sphere.doc

?? speech signal process tools
?? DOC
?? 第 1 頁 / 共 3 頁
字號:
	  SPeech HEader REsources (SPHERE) Version 2.0 Beta2			   August 27, 1993                   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.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.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()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.   AcknowlegementsI.  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 four 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 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.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.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 functions	II.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.    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 field_type values:       T_STRING    (string field type [char*])       T_INTEGER   (integer field type [long*])       T_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.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 field_type values:       T_STRING    (string field type [char*])       T_INTEGER   (integer field type [long*])       T_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,the fields, 'sample_coding', 'sample_byte_format', 'sample_count','sample_n_bytes', 'sample_checksum', are set automatically bythe function, 'sp_set_data_mode', and should not be set manuallyif 'sp_set_data_mode' has been called.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:    Deletes the specified header field from an opened SPHERE fileheader.Syntax:    int sp_h_delete_field(SP_FILE *sp_file, char *field_name)	Arguments:    sp_h_delete_field deletes the header field named by,'field_name', in the opened SPHERE file pointed to by 'sp_file'.Remarks:    If the specified header field to be deleted, 'field_name', doesnot exist in the opened SPHERE file header, sp_h_delete_field() willnot complain, but will return a special value (see below).  ReturnValue:Return Value:    sp_h_delete_field() returns a 0 on sucess, a 1 if the headerfield does not exist, and a 100 or greater on error.See Also:    sp_open(), sp_h_set_field(), sp_h_get_field()II.C   Waveform I/O FunctionsII.C.1 sp_read_data()Description:       Reads blocks of waveform data from an opened SPHERE file.Syntax:    int sp_read_data(void *ptr, size_t size, size_t n, SP_FILE *sp_file)Arguments:    Reads 'n' elements of size 'size' (in bytes) from the waveformdata section of the opened SPHERE file pointed to by 'sp_file'.Performs the read (including any conversions as necessary) to formatthe data according to the primary (base) encoding specified in theheader field, 'sample_coding'. Remarks:    If there is no 'sample_coding' field in the header, the defaultoperation is to read the data as PCM data.  The default behavior of'sp_read_data()' can be modified by the function 'sp_set_data_mode()'before 'sp_read_data()' is called.  If a checksum is present inthe header, the checksum is verified after reading the last block of data.Return Value:    The value returned by 'sp_read_data' indicates the number ofelements read in from the file.  If no elements are read, a zero isreturned.  Likewise, if an error or checksum verification erroroccurs, a zero is returned.  The functions 'sp_eof()' and 'sp_error()'may be used to determine if an error or an immediate end-of-filecaused the zero to be returned.See Also:    sp_eof(), sp_error(), sp_set_data_mode()II.C.2 sp_write_data()Description:       Writes blocks of waveform data to an opened SPHERE file.Syntax:    int sp_write_data(void *ptr, size_t size, size_t n, SP_FILE *sp_file)Arguments:    Appends 'n' elements of size 'size' (in bytes) to the end of thewaveform data section of the opened SPHERE file pointed to by'sp_file'.Remarks:    sp_write_data() uses the 'sample_coding', 'channel_count''sample_byte_format' and 'sample_n_bytes' fields of the header in the'sp_file' structure to identify the format of the data in memory tobe written.  The default behavior is for the data to be written asit is represented in memory (as specified by the above header fields).    The default behavior of 'sp_write_data()' can be modified by thefunction 'sp_set_data_mode()' before 'sp_write_data()' is called.'sp_set_data_mode()' allows the programmer to specify waveform datatransformations as the data is written.Return Value:    The value returned by 'sp_write_data' indicates the number of

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产传媒一区在线| 色综合天天综合| 色综合一区二区| 日韩欧美国产三级| 亚洲免费av高清| 国产一区视频网站| 88在线观看91蜜桃国自产| 亚洲男人都懂的| 国产成人一级电影| 欧美成人一区二区三区在线观看| 亚洲男人的天堂网| 国产大陆亚洲精品国产| 日韩欧美国产三级| 日韩有码一区二区三区| 色综合久久中文字幕| 亚洲国产精品成人综合色在线婷婷| 亚洲国产wwwccc36天堂| 99久久99久久精品国产片果冻| 久久婷婷国产综合国色天香| 天涯成人国产亚洲精品一区av| 91传媒视频在线播放| 亚洲人精品一区| www.性欧美| 国产欧美精品日韩区二区麻豆天美| 久久精品国产久精国产| 91麻豆精品国产91久久久更新时间| 一区二区三区四区不卡在线| 色先锋aa成人| 亚洲三级免费电影| 91网址在线看| 一区二区三区精品| 色老汉av一区二区三区| 亚洲综合色网站| 欧美日韩一级二级| 日韩激情在线观看| 欧美一区二区三区影视| 亚洲一区二区在线免费观看视频| 色综合久久久久网| 亚洲一区二区视频在线观看| 欧美日韩在线播放一区| 午夜久久久久久电影| 欧美一区二区私人影院日本| 日本怡春院一区二区| 精品av久久707| 国产呦萝稀缺另类资源| 国产精品国产a级| 色婷婷综合视频在线观看| 午夜亚洲国产au精品一区二区| 欧美一卡2卡3卡4卡| 久久成人免费电影| 久久亚洲精华国产精华液| 成人少妇影院yyyy| 亚洲欧美国产77777| 6080亚洲精品一区二区| 久久精品国产精品青草| 国产精品私人自拍| 在线精品亚洲一区二区不卡| 麻豆精品一区二区av白丝在线| 久久久电影一区二区三区| 91在线你懂得| 天天影视涩香欲综合网| 日本一区二区三区在线不卡| 色吊一区二区三区| 久久精品国产亚洲高清剧情介绍 | 亚洲综合色丁香婷婷六月图片| 色8久久精品久久久久久蜜| 一区二区三区四区激情| 欧美午夜片在线看| 久久精品视频在线看| 欧美综合一区二区三区| 日日噜噜夜夜狠狠视频欧美人 | 日韩精品欧美精品| 日韩欧美的一区| 国产成人av电影在线观看| 国产精品成人午夜| 欧美在线综合视频| 亚洲sss视频在线视频| 欧美一区二区三区色| 国产美女精品人人做人人爽| 国产精品伦一区二区三级视频| 色综合久久综合中文综合网| 亚洲成av人影院| 久久精品一区二区| 岛国精品在线播放| 午夜精品一区二区三区电影天堂| 日韩美女在线视频| eeuss影院一区二区三区| 亚洲精品国产成人久久av盗摄| 欧美电影免费观看高清完整版在线| 色综合久久久久| 亚洲777理论| 国产精品日产欧美久久久久| 欧美精品在线观看一区二区| 国产成人小视频| 视频一区在线播放| 欧美极品少妇xxxxⅹ高跟鞋| 欧美理论片在线| 黑人精品欧美一区二区蜜桃 | 精品国产免费视频| 色婷婷精品大在线视频 | 欧美人与禽zozo性伦| 国产精品一区二区久久不卡| 亚洲高清中文字幕| 国产精品天美传媒| www激情久久| 欧美久久一二三四区| 成人精品一区二区三区四区| 亚洲国产毛片aaaaa无费看 | 97se亚洲国产综合自在线不卡| 人妖欧美一区二区| 一区二区三区 在线观看视频| 久久综合丝袜日本网| 4438x亚洲最大成人网| 一本大道久久精品懂色aⅴ| 蜜臀91精品一区二区三区| 国产精品电影一区二区| 国产视频一区二区在线观看| 欧美一区二区三区免费视频| 欧洲在线/亚洲| 色婷婷av一区二区三区软件| 成人夜色视频网站在线观看| 亚洲在线一区二区三区| 2021久久国产精品不只是精品| 欧美高清激情brazzers| 一本大道综合伊人精品热热| 99久久精品免费看国产| 国产福利一区在线| 国产成人在线免费| 国产乱码精品一品二品| 国产精品888| 韩国成人精品a∨在线观看| 日韩高清电影一区| 日本成人在线不卡视频| 视频一区欧美精品| 免费高清在线一区| 麻豆成人在线观看| 精品综合免费视频观看| 美女精品自拍一二三四| 久久99精品久久久久久动态图| 免费在线观看成人| 亚洲男女毛片无遮挡| 亚洲国产视频在线| 蜜桃久久久久久| 久久99热国产| 成人国产电影网| 色婷婷av一区二区三区大白胸| 成人av在线播放网址| 欧美午夜精品一区二区蜜桃| 欧美午夜电影一区| 欧美一区二区三区免费观看视频| 欧美变态tickling挠脚心| 26uuu另类欧美| 中文字幕一区av| 亚洲精品免费视频| 精品一区二区三区视频| 国产成人日日夜夜| 色综合久久久久综合体桃花网| 欧美色手机在线观看| 日韩色视频在线观看| 久久久久88色偷偷免费 | 欧美日本国产视频| 亚洲精品一区二区三区蜜桃下载 | 色美美综合视频| 91麻豆精品国产91久久久使用方法| 亚洲精品在线免费观看视频| 国产精品久久久久久久久免费相片 | 久久精品国产免费看久久精品| 久久精品免费观看| 91国产精品成人| 日韩精品一区二区三区在线播放 | 亚洲免费视频中文字幕| 日韩 欧美一区二区三区| 精品一区二区三区在线观看| 欧美性猛片xxxx免费看久爱| 精品国产三级电影在线观看| 最新日韩av在线| 蜜臀av性久久久久蜜臀aⅴ| 成人av中文字幕| 日韩欧美在线综合网| 综合av第一页| 狠狠色综合色综合网络| 一本久久精品一区二区| 2017欧美狠狠色| 五月婷婷另类国产| 国产 欧美在线| 欧美一级二级在线观看| 亚洲日本va在线观看| 国产999精品久久| 91精品国产乱| 一区二区在线观看视频| 国产精华液一区二区三区| 在线成人免费观看| 欧美变态凌虐bdsm| 久久电影国产免费久久电影| 欧美日韩国产首页| 亚洲日本青草视频在线怡红院| 国产成人在线免费观看| 日韩欧美一二三| 午夜视黄欧洲亚洲| 在线不卡a资源高清|