没有合适的资源?快使用搜索试试~ 我知道了~
《基于STM32的WAV数字音频播放器》-何珏-131113891
需积分: 0 1 下载量 63 浏览量
2022-08-08
19:50:09
上传
评论
收藏 4.2MB DOCX 举报
温馨提示
试读
49页
摘要随着数字技术的出现与应用,如今的人们生活在一个几乎已经完全数字化的世界中,而数字音频技术则称得上是应用最为广泛的数字技术之一。本文以一款基于STM32的数字
资源详情
资源评论
资源推荐
摘要
摘要
随着数字技术的出现与应用,如今的人们生活在一个几乎已经完全数字化的世
界中,而数字音频技术则称得上是应用最为广泛的数字技术之一。本文以一款基
于 STM32 的数字音频播放器为例,研究了数字音频技术的基本原理。遵循嵌入式
系统开发的基本过程,对播放器的功能进行需求分析,设计并实现了一款完整的
WAV 数字音频播放器。通过对 FATfs 文件系统的移植,实现对带有 FAT 文件系
统的大容量 SD 卡中音频数据的解码播放,同时采用了双缓存的工作模式来解决从
SD 卡中读取并播放音频数据的连贯性问题。最后对已完成的数字音频播放器进行
系统测试,结果表明已基本实现预期目标。
关键词: 数字音频 STM32 WAV FATfs 双缓存
ABSTRACT
ABSTRACT
With the appearance and application of digital technology, people now live in an
almost complete digital world, and the digital audio technology is one of the most widely
used digital technology. The basic principle of digital audio technology has been studied
in this paper, through an example digital audio player based on STM32. Follow the basic
process of the embedded system development, analyze the function of the player, design
and implement a complete WAV digital audio player. Through the transplantation of
FATfs file system, to achieve audio data in high-capacity SD card with the FAT file
system to play. The detail of the WAV audio file format and the realization of the
decoding algorithm has been analyze in the middle of the article, while using the work
mode of double-buffer to solve this problem which read and play the audio data from the
SD card continuously. Finally, the system has been tested and the results show that the
target has been realized.
Keywords: Digital audio STM32 WAV FATfs Double-buffer
目录 i
目录
第一章 绪论.........................................................................................................................1
1.1 引言................................................................................................................................................1
1.2 本文内容及章节安排..............................................................................................................2
第二章 数字音频 ................................................................................................................3
2.1 音频播放的基本原理..............................................................................................................3
2.1.1 数字音频的原理 ...............................................................................................................3
2.1.2 音频系统 ..............................................................................................................................4
2.2 WAV 音频文件 .........................................................................................................................6
2.2.1 WAV 简介...........................................................................................................................6
2.2.2 WAV 文件结构 .................................................................................................................6
第三章 硬件选型..............................................................................................................11
3.1 总体框架 ...................................................................................................................................11
3.2 STM32 微控制器 ...................................................................................................................12
3.3 SD 卡模块.................................................................................................................................13
3.3.1 SD 卡介绍.........................................................................................................................13
3.3.2 SD 卡内部结构及引脚功能.......................................................................................14
3.4 外部按键模块 ........................................................................................................................15
3.4.1 按键控制介绍..................................................................................................................15
3.4.2 电路原理图.......................................................................................................................15
第四章 软件设计..............................................................................................................17
4.1 系统概述 ...................................................................................................................................17
4.1.1 方案选择 ...........................................................................................................................17
4.1.2 框架设计 ...........................................................................................................................18
4.2 相关技术 ...................................................................................................................................19
4.2.1 SDIO 驱动.........................................................................................................................19
4.2.2 FATfs 文件系统 .............................................................................................................21
4.3 WAV 音频解码算法.............................................................................................................23
剩余48页未读,继续阅读
巧笑倩兮Evelina
- 粉丝: 25
- 资源: 336
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0