常用语音编码的wave文件头格式剖析(Analysis of wave file header format used in speech coding).docVIP

  • 6
  • 0
  • 约6.64千字
  • 约 10页
  • 2017-10-06 发布于河南
  • 举报

常用语音编码的wave文件头格式剖析(Analysis of wave file header format used in speech coding).doc

常用语音编码的wave文件头格式剖析(Analysis of wave file header format used in speech coding)

常用语音编码的wave文件头格式剖析(Analysis of wave file header format used in speech coding) 2007-08-11 format of commonly used voice coding WAVE file analysis - all kinds of coding, 10:21 The WAVE file header is one of the sonic file formats used in multimedia, which is standard in RIFF format. RIFF is the abbreviation of English Resource, Interchange, File, Format, and the first four bytes of each WAVE file are RIFF. The WAVE file header can be used more effectively for speech decoding. Speech encoding generally refers to the linear PCM speech signal 8KHz sampling, 16 bit quantization compressed speech signal into other formats, when decoding speech signal will transform other formats into linear PCM speech signal 8KHz sampling, 16 bit quantization. Generally speaking, the conversion process is complicated and time-consuming and laborious. If you add the corresponding WAVE file directly to the speech signals in other formats, the conversion process is not necessary. You can decode the voice with Microsofts tape recorder. The following analysis of various phonetic coding WAVE file header format, with each of the following table (Table 1 to table 7) can be compared. Table 1 WAVE file header format (44 bytes) for 8KHz sampled and 16 bit quantized linear PCM speech signals The offset address, byte number, data type, content file header are defined as 00H 4, char, RIFF, char riff_id[4]=, RIFF 04H 4, long, int, file length -8, long, int, size0=, total length -8 08H 8, char, WAVEfmt, char, wave_fmt[8] 10H 4, long, int,, 00H (PCM), long, int, size1=0x10 14H 2, int 01, 00H, int, fmttag=0x01 16H 2, int, int, channel=1, or 2 18H 4 long int sampling rate long int samplespersec 1CH 4, long, int, bytes per second, long int bytepersec 20H 2 int sampling once, accounting for bytes, int, blockalign=, channel number * quantization number /8 22H 2 int quantization number int, bitpersamples=8 or 16 24H 4, char, data, char data_id=, data 28H 4, long, int, sampling data bytes, long, int, size2=, leng

文档评论(0)

1亿VIP精品文档

相关文档