文件名称:Sound
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 20kb
- 下载次数:
- 0次
- 提 供 者:
- 啊***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C51语音播放源码
将语音按占空比放出。原语音为8位8KHz,则125us一个字节,现时钟主频近2MHz,周期为0.5us,这样一个字节占250个周期,而字节8位为256,可以近似为256个周期,实验应放在定时器中产生。
如果倍频,每个字节就可以产生两个波形,音质应更好
-C51 voice broadcast voice-source release by the duty cycle. The original voice for the 8-bit 8KHz, while 125us a byte, it is near the clock frequency 2MHz, cycle 0.5us, accounting for a 250-byte cycle, and 8 bytes for the 256, can be approximately 256 cycles, the experiment produced should be placed on timers. If the octave, each byte can have two waveforms, sound quality should be better
将语音按占空比放出。原语音为8位8KHz,则125us一个字节,现时钟主频近2MHz,周期为0.5us,这样一个字节占250个周期,而字节8位为256,可以近似为256个周期,实验应放在定时器中产生。
如果倍频,每个字节就可以产生两个波形,音质应更好
-C51 voice broadcast voice-source release by the duty cycle. The original voice for the 8-bit 8KHz, while 125us a byte, it is near the clock frequency 2MHz, cycle 0.5us, accounting for a 250-byte cycle, and 8 bytes for the 256, can be approximately 256 cycles, the experiment produced should be placed on timers. If the octave, each byte can have two waveforms, sound quality should be better
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SoundPlay
SoundPlay.bak
SoundPlay.c
SoundPlay.hex
SoundPlay.lnp
SoundPlay.ls1
SoundPlay.LST
SoundPlay.M51
SoundPlay.OBJ
SoundPlay.Opt
SoundPlay.plg
SoundPlay.SRC
SoundPlay.Uv2
SoundPlay_Opt.Bak
SoundPlay_Uv2.Bak
新建 文本文档.txt
SoundPlay.bak
SoundPlay.c
SoundPlay.hex
SoundPlay.lnp
SoundPlay.ls1
SoundPlay.LST
SoundPlay.M51
SoundPlay.OBJ
SoundPlay.Opt
SoundPlay.plg
SoundPlay.SRC
SoundPlay.Uv2
SoundPlay_Opt.Bak
SoundPlay_Uv2.Bak
新建 文本文档.txt