Location:
Search - fopen wav
Search list
Description: 这个是我调通的在2410下运行文件系统的程序. 用2410驱动sd卡来实现fat文件系统. 欢迎大家来测试.
用法很简单, 如下
FILE *fp // 文件指针
unsigned char temp[24]="3.wav" // 文件明需要放在数组里
while(!initialize_media()) // 初始化sd卡
{
Uart_Printf("sd initializing....\n")
}
Uart_Printf("sd ready\n")
fp=fopen(temp, READ) // 打开文件就可以用了, 函数和标准c中的一样,所以不能加载stdio.h
if(!fp)
{
Uart_Printf("open file wrong\n")
while(1)
}
Uart_Printf("open file successed\n") -This code for fat system under 2410, use a sd card
Platform: |
Size: 28672 |
Author: 罗德强 |
Hits:
Description: 用matlab对wav文件采用不同的方式读取(wavread和fopen),并对其进行低通滤波处理。滤波用的fir直接型低通滤波器-to read the wav file in different ways with Matlab (wavread, and fopen), and then low-pass filtering. the low-pass filter is direct_type FIR filter
Platform: |
Size: 1024 |
Author: Yicheng Yu |
Hits: