I.MX 53 SABRE ARD board audio routing

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

I.MX 53 SABRE ARD board audio routing

948 Views
RakeshReddy_S
Contributor I

Hi,

      I am working on SABRE ARD board, on which I  have to play an audio file which is basically a PCM file. I need suggestions on this. I have tried playing an mp3 file using gplay as initial testing but i failed in geeting audio out. As Gplay is a command line player it was showing on hyper terminal as if it is playing audio i could see the progress.Please Help me out in this.

 

 

Thanks in advance,

Rakesh

Tags (1)
0 Kudos
5 Replies

686 Views
KarlLu
Contributor I

Please ignore it since Fabio has replied and gplay worked.

-----------

You can try to play a WAV file with aplay first to exclude the hardware issue.

0 Kudos

686 Views
RakeshReddy_S
Contributor I

Fabio,

      I am not able to record the audio. I think my mic is not getting detected. Should I change any configurations in kernel or should I install any packages.I have alsa packages installed in the LTIB. Into which port should I insert my mic. I think we have only one mic in slot on SABRE ARD REV B board.

 

Regards,

Rakesh

0 Kudos

686 Views
fabio_estevam
NXP Employee
NXP Employee

You can use arecord utility to record audio. I haven´t tested this on MX53ARD, but on other i.MX boards the following command allows you to capture audio:

 

arecord -r 8000 -c 1 -f S16_LE -N -M -d 4 file.wav

 

Regards,

 

Fabio Estevam

0 Kudos

686 Views
RakeshReddy_S
Contributor I

Fabio,

 

    Thanks for the reply.I was successful in playing audio using gpaly.

 

    I also played some random chunk of PCM data. Now I want to capture PCM data from a mic.Is there any provision for recording through mic on ARD rev B board.

 

Regards,

Rakesh

0 Kudos

686 Views
fabio_estevam
NXP Employee
NXP Employee

Try playing a wav file using aplay:

 

aplay file.wav

 

Regards,

 

Fabio Estevam

0 Kudos