Board logo

标题: 语音处理问题 [打印本页]

作者: stanley16888    时间: 2007-7-13 15:54     标题: 语音处理问题

各位大哥大姐,小弟我现在想用altera DE2板实现语音处理,可以是现场拾音或MP3播放,新手的我不知如何下手,请不吝赐教!谢谢


作者: caopengly    时间: 2007-7-14 13:02

你先要了解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.

DaW7ZqlS.jpg

[此贴子已经被作者于2007-7-14 13:03:17编辑过]



图片附件: DaW7ZqlS.jpg (2007-7-14 13:03, 22.84 KB) / 下载次数 275
http://bbs.eccn.com/attachment.php?aid=2147&k=f78d6d7217115f5234cb1166d6b82d8d&t=1719998147&sid=sF2A9J


作者: kzw    时间: 2007-7-16 09:59

de2的资料中有关于音频处理的例子,你看看资料吧。
作者: tianykun    时间: 2007-12-31 10:45

我想在NIOSII实现啊.但是,那里例子,好像只有Q2上程序,

并没有Wolfson WM8731 audio CODEC这个解码器啊

请问可以在那里找到啊????


作者: kzw    时间: 2008-1-2 15:40

是通过一个i2c接口配置的,楼主仔细看看,只是例子使用的逻辑代码配的,如果用nios的i2c接口一样可以配置。






欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0