I.MX 53 SABRE ARD board audio routing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I.MX 53 SABRE ARD board audio routing

1,015件の閲覧回数
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

タグ(1)
0 件の賞賛
5 返答(返信)

753件の閲覧回数
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 件の賞賛

753件の閲覧回数
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 件の賞賛

753件の閲覧回数
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 件の賞賛

753件の閲覧回数
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 件の賞賛

753件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

Try playing a wav file using aplay:

 

aplay file.wav

 

Regards,

 

Fabio Estevam

0 件の賞賛