各位大哥大姐,小弟我现在想用altera DE2板实现语音处理,可以是现场拾音或MP3播放,新手的我不知如何下手,请不吝赐教!谢谢
你先要了解fpga
然后了解nios
做一些实验,看一些资料,有了基础就要好些了。
DE2中有个这方面的例子,就是手册中的5.5例,卡拉OK机,你可以看看。
5.5 A Karaoke Machine
This demonstration uses the microphone-in, line-in, and line-out ports on the DE2 board to create a
Karaoke Machine application. The Wolfson WM8731 audio CODEC is configured in the master
mode, where the audio CODEC generates AD/DA serial bit clock (BCK) and the left/right channel
clock (LRCK) automatically. As indicated in Figure 5.7, the I2C interface is used to configure the
Audio CODEC. The sample rate and gain of the CODEC are set in this manner, and the data input
from the line-in port is then mixed with the microphone-in port and the result is sent to the line-out
port.
For this demonstration the sample rate is set to 48 kHz. Pressing the pushbutton KEY0 reconfigures
the gain of the audio CODEC via the I2C bus, cycling through one of the ten predefined gains
(volume levels) provided by the device.
[此贴子已经被作者于2007-7-14 13:03:17编辑过]
我想在NIOSII实现啊.但是,那里例子,好像只有Q2上程序,
并没有Wolfson WM8731 audio CODEC这个解码器啊
请问可以在那里找到啊????
是通过一个i2c接口配置的,楼主仔细看看,只是例子使用的逻辑代码配的,如果用nios的i2c接口一样可以配置。
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |