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

From Variscite Wiki
(Created page with "= Audio record/play = For playing a sample .wav type: <pre> $ aplay /usr/share/sounds/alsa/Front_Center.wav </pre> <pre> For recording and playing a sample .wav type: amixe...")
 
Line 1: Line 1:
= Audio record/play  =
= Audio record/play  =
For playing a sample .wav type:
For playing a sample .wav type:</br>


<pre>
<pre>
Line 6: Line 6:
</pre>
</pre>


For recording and playing a sample .wav type:</br>
<pre>
<pre>
For recording and playing a sample .wav type:
$ amixer sset 'Left Line1L Mux' differential
amixer sset 'Left Line1L Mux' differential
$ amixer sset 'Right Line1R Mux' differential
amixer sset 'Right Line1R Mux' differential
$ arecord -f dat -d 10 -D hw:0,0 -N  test.wav
arecord -f dat -d 10 -D hw:0,0 -N  test.wav
$ aplay test.wav
aplay test.wav
</pre>
</pre>

Revision as of 16:50, 23 December 2015

Audio record/play

For playing a sample .wav type:

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

For recording and 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