文件名称:获取wav文件头信息
文件大小:56KB
文件格式:RAR
更新时间:2022-04-07 05:45:20
audio
获取wav文件头,44字节。。_header.RIFF_ID = System.BitConverter.ToInt32(header_data, 0); _header.File_Size = System.BitConverter.ToInt32(header_data, 4); _header.RIFF_Type = System.BitConverter.ToInt32(header_data, 8); _header.FMT_ID = System.BitConverter.ToInt32(header_data, 12); _header.FMT_Size = System.BitConverter.ToInt32(header_data, 16); _header.FMT_Tag = System.BitConverter.ToInt16(header_data, 20); _header.FMT_Channel = System.BitConverter.ToUInt16(header_data, 22); _header.FMT_SamplesPerSec = System.BitConverter.ToInt32(header_data, 24); _header.AvgBytesPerSec = System.BitConverter.ToInt32(header_data, 28); _header.BlockAlign = System.BitConverter.ToUInt16(header_data, 32); _header.BitsPerSample = System.BitConverter.ToUInt16(header_data, 34); _header.DATA_ID = System.BitConverter.ToInt32(header_data, 36); _header.DATA_Size = System.BitConverter.ToInt32(header_data, 40);
【文件预览】:
wav_head_info
----.vs()
--------Supercharger()
--------wav_head_info()
----fill_data()
--------Form1.cs(7KB)
--------bin()
--------obj()
--------Properties()
--------Program.cs(407B)
--------Form1.Designer.cs(4KB)
--------fill_data.csproj(3KB)
--------Form1.resx(6KB)
----wav_head_info.sln(1006B)
----wav_head_info()
--------wav_head_info.csproj(2KB)
--------bin()
--------obj()
--------Properties()
--------Program.cs(4KB)