⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fileio.h

📁 CHAPTER 1- real-Time Digital Signal Processing: Implementations and Applications, Second Edition by
💻 H
字号:
// 
//  Project: Experiment 1.6.4 File IO - Chapter 1 
//  File name: fileIO.h   
//
//  Description: This is the header file for experiment 1.6.4 fileIO
//
//  For the book "Real Time Digital Signal Processing: 
//                Implementation and Application, 2nd Ed"
//                By Sen M. Kuo, Bob H. Lee, and Wenshun Tian
//                Publisher: John Wiley and Sons, Ltd
//
//  Tools used: CCS v.2.12.07
//              TMS320VC5510 DSK Rev-C
//

// This wav file header is pre-calculated. 
// It can only be used for this experiment.
short wavHeader[44]={
0x52, 0x49, 0x46, 0x46,  // RIFF
0x2E, 0x8D, 0x01, 0x00,  // 101678 (36 bytes + 101642 bytes data)
0x57, 0x41, 0x56, 0x45,  // WAVE
0x66, 0x6D, 0x74, 0x20,  // FORMATTED 
0x10, 0x00, 0x00, 0x00,  // PCM audio
0x01, 0x00, 0x01, 0x00,  // Linear PCM, 1-channel
0x40, 0x1F, 0x00, 0x00,  // 8kHz sampling
0x80, 0x3E, 0x00, 0x00,  // Byte rate = 16000
0x02, 0x00, 0x10, 0x00,  // Block align = 2, 16-bit/sample
0x64, 0x61, 0x74, 0x61,  // Bata
0x0A, 0x8D, 0x01, 0x00}; // 101642 data bytes



⌨️ 快捷键说明

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