Audio example program for MPC5125

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Audio example program for MPC5125

1,079 次查看
Champaka
Contributor III

Hi all,

 

              I would like to test the on board microphone and audio stereo jack on the mpc5125 evaluation board.

Could anyone send me the example program to check the audio output and input.. thank you.

标签 (1)
0 项奖励
回复
2 回复数

833 次查看
fernandocuellas
Contributor I

Hi,

I'll give some information about this.

We are using Linux BSP and we could test the audio I/O's by compiling ALSA utils from MPC5121 BSP in order to have acces to alsamixer, arecord, aplay... commands.
Once you do that you can modify the alsamixer controls and activate the microphone and headphones and to record/play simply do something like this:
# arecord -d 10 -f S24_LE -r 48000 -t wav soundfile-48k.wav && aplay -f S24_LE -r 48000 -t wav soundfile-48k.wav

Hope this can help.

0 项奖励
回复

833 次查看
fernandocuellas
Contributor I

Has anyone news on this issue?
I'm using Linux BSP and I've been trying to make some tests similar as in MPC5121, but they uses "alsamixer", and I can't find a way to try it on MPC5125
Thanks

0 项奖励
回复