Audio example program for MPC5125

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Audio example program for MPC5125

1,074 Views
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.

Labels (1)
0 Kudos
Reply
2 Replies

828 Views
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 Kudos
Reply

828 Views
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 Kudos
Reply