TTS(1)单片机播放WAV语音,有原理,有代码

2019-04-15 18:21发布

声音:是由物体振动所发出来的。
    那么,一个物体的振动有振动频率与振动幅度与振动强度等有关。
    振动频率就是每秒振动多少次
    振动幅度就是振动一次所产生的距离
    振动强度就是振动一次的力量有多强 振动材料的不同,发出的基准音也不同,比如用力敲打桌子,随着力度的变动,声音的大小会随之变动,但音 {MOD}没有变,你经经的敲打一下,和重重的敲打一下,声音的大小不同,但还是能听出来是敲打桌子的声音,理论上,经经的敲,振动频率低,振动幅度也小,振动强度经,重重的敲则这3条线随之变大,而音 {MOD}没有变,所以我猜想,振动频率与振动幅度之比决定音 {MOD},这两个值越大,也就是振动强度越强,声音也越大,当然,用什么东西敲打桌子,声音是不同的,因为除了桌子在发声外,所敲打的物体也在发声,那么我们听到的声音则是这两种物体的混合声音。 但如果有一种材料,可以改变振动频率而不改变振动幅度,或者改变振动幅度而不改变振动频率,那是不是就可以发现各种不同的声音了呢?我想答案是肯定的,比如现代的耳机,里面就一块很薄的膜,中间有两根铜丝穿过去,还有磁铁什么的,可以看到有电流,有磁场,就可以利用电流的强弱与磁场的强弱来控制这块膜做不同频率与幅度的振动来发出各种声音了。
    查资料解释:所谓音 {MOD},也就是振动频率中混有的其他更高频率的小振幅比例、频率不同,扬声器只要把所有频率(基频和泛音频率)都播放出来,就有了各种声音 男生女生区分,那么在同等音量大小的情况下,男生语音,与女生语音,发音的结构完全一样,音 {MOD}完全不同,是怎么回事呢?
    我猜想,就是因为材料不一样,首先,由于每个人声带的长短,厚度,粗细,平滑度有关,所以每个人讲的话都不相同,但男女声音最主要的区别,可能是振动的频率不一样,在相同振幅的情况下,振动频率的不同决定音 {MOD}的大方向的不同,声带的不同决定的小范围音 {MOD}不同,以上是我的推理罢了。 振动频率范围
    https://blog.csdn.net/brandon2015/article/details/50426137 人耳正常听觉范围:20~20khz,超过20khz称为超声波,人耳分辩不出来了 录音设备,采样率,也就是每秒采集多少个声音样本,1个样本为1或2字节,采样率越高就越接近真实的声音,但采样率达到人耳能听到的20khz的两倍以上就可以了,所以CD音质是44.1khz也是有原因的,最大也就48khz的音频数据完全够了,超出就是一种倒退。
    一般的录音软件要支持11khz,22khz,44khz等
    8khz,不知道效果如何
    11.025khz的采样率获得的声音称为电话音质,能分辩出通话人是谁
    22.05khz为广播音质
    44.1khz及以上为CD音质 样品数据:那么在采集某时间点的样品时,是采集的频率数据呢,还是采集到的振幅数据呢?我想,频率数据在任何一个时间点,是采集不到的,所以唯一能采集到的就是振幅数据了,也就是采集点的振动幅度的强弱,而振动的强弱又是电压的大小来决定的,所以最终采集到的数据是某时刻的电压值,把这一连串的电压值按顺序保存起来,就成为原始声音文件了,比如WAV。 单片机播放声音:我们知道,单片机的端口只有两种状态,以5V为例,要么是5V,要么是0V,那如何把单片机的端口电压变成0~5V之间的电压值呢?比如采样率为44.1khz,说明1秒内要播放44100个样品,比如采用8位来保存1个样品,那么某样品数为0xa0,我们可以做个计数器,计数256次,如果计数器小于0xa0则为低电平,否则为高电平通过端口快速的变动从而产生出某个采样点的电压值与采样数据相批配,喇叭的两根线,一根接此端口上,另一根接VCC或GND都可以,这样就能还原出这个样品的电压值,比如单片机晶振为30兆,需要播放44.1Khz的声音,那么30000000/44100=680,那么做个定时器,每680时钟周期中断1次,输入采样率,利用单片机的PCA模块,实现端口PWM波形输出,这样就可以播放wav格式的声音。 参考资料:http://www.znmcu.cn/znx_51_iap_exps_pca_pwm_test.html 代码:STC15W4K32S4单片机,播放声音端口为P3.5,另一端口为VCC或GND都可以 #include #include #define CCP_S0 0x10 //P_SW1.4 #define CCP_S1 0x20 //P_SW1.5 typedef char I8; typedef int I16; typedef long I32; typedef unsigned char U8; typedef unsigned int U16; typedef unsigned long int U32; typedef volatile char V8; typedef volatile int V16; typedef volatile long V32; typedef volatile unsigned char VU8; typedef volatile unsigned int VU16; typedef volatile unsigned long VU32; //8K采样率,声音内容为“你好” unsigned char code wavdat[3696] = { 0x0E, 0x00, 0x00, 0x5E, 0x41, 0x45, 0x47, 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 0x59, 0x5B, 0x45, 0x5A, 0x5A, 0x5B, 0x47, 0x5E, 0x5C, 0x53, 0xD5, 0x55, 0xD6, 0x55, 0x5C, 0x47, 0x47, 0x5B, 0x56, 0xD2, 0xDE, 0xD8, 0xD3, 0x57, 0x52, 0x51, 0xD4, 0xD0, 0xD3, 0xD1, 0xD3, 0xDD, 0xD9, 0xDE, 0xDF, 0xD9, 0xDD, 0xD9, 0xD8, 0xC2, 0xC2, 0xCD, 0xC6, 0xD9, 0xDF, 0xD0, 0xD1, 0x54, 0x54, 0x50, 0x57, 0x50, 0x5E, 0x47, 0x43, 0x43, 0x41, 0x59, 0x5B, 0x59, 0x45, 0x40, 0x42, 0x43, 0x47, 0x5B, 0x5D, 0x56, 0xD5, 0x54, 0x54, 0x50, 0x5D, 0x58, 0x5A, 0x59, 0x5C, 0xD5, 0xD2, 0xDF, 0xD3, }; #define maxSize sizeof(wavdat) U16 wavIndex=0; void Pca_Init() { // ACC = P_SW1; // ACC &= ~(CCP_S0 | CCP_S1); //CCP_S0=0 CCP_S1=0 // P_SW1 = ACC; //(P1.2/ECI, P1.1/CCP0, P1.0/CCP1, P3.7/CCP2) ACC = P_SW1; ACC &= ~(CCP_S0 | CCP_S1); //CCP_S0=1 CCP_S1=0 ACC |= CCP_S0; //(P3.4/ECI_2, P3.5/CCP0_2, P3.6/CCP1_2, P3.7/CCP2_2) P_SW1 = ACC; // ACC = P_SW1; // ACC &= ~(CCP_S0 | CCP_S1); //CCP_S0=0 CCP_S1=1 // ACC |= CCP_S1; //(P2.4/ECI_3, P2.5/CCP0_3, P2.6/CCP1_3, P2.7/CCP2_3) // P_SW1 = ACC; CCON=0x00;//PCA控制寄存器 CMOD=0x08;//采用系统时钟计数0x00:FOSC/12 0x02:FOSC/2 0x08:FOSC/1 0x0A:FOSC/4 0x0E:FOSC/8 CCAPM0=0x42;//PCA比较寄存器,8位无中断 CL=0x00; CH=0x00; PCA_PWM0=0x00; CCAP0L=0x7F; CCAP0H=0x7F; } void SoundInit() { AUXR |= 0x80; //定时器时钟1T模式 TMOD &= 0xF0; //设置定时器模式 TL0 = 0x5A; //30兆晶振,8K的采样率定时 TH0 = 0xF1; //设置定时初值 TF0 = 0; //清除TF0标志 TR0 = 1; //定时器1开始计时 ET0=1; CR=1; EA=1; } void main() { Pca_Init(); SoundInit(); while(1) { } } //控制采样率 void timer0() interrupt 1 { CCAP0H=wavdat[wavIndex]; if(++wavIndex>=maxSize)wavIndex=0; } 示例代码使用的声音数据采样率为8K,所以听上除了播放你好外,还有噪音,这也许是因为没有加滤波的原因,但播放22k及以上的声音,没有噪音,8K的语音,如果采用16K或32K采样率播放,则噪音就小了很多!