VAR-SOM-AM43 Audio record play: Difference between revisions

From Variscite Wiki
No edit summary
 
Line 1: Line 1:
{{PageHeader|VAR-SOM-AM43 - Audio record/play }} {{DocImage|category1=VAR-SOM-AM33|category2=Yocto}} __toc__
{{PageHeader|VAR-SOM-AM43 - Audio record/play }} {{DocImage|category1=VAR-SOM-AM43|category2=Yocto}} __toc__
For playing a sample .wav type:</br>
For playing a sample .wav type:</br>



Latest revision as of 13:17, 24 December 2015

VAR-SOM-AM43 - Audio record/play

For playing a sample .wav type:

$ aplay /usr/share/sounds/alsa/Front_Center.wav

For recording and then playing a sample .wav type:

$ amixer sset 'Left Line1L Mux' differential
$ amixer sset 'Right Line1R Mux' differential
$ arecord -f dat -d 10 -D hw:0,0 -N  test.wav
$ aplay test.wav