VAR-SOM-MX6 Audio record play: Difference between revisions
From Variscite Wiki
(Created page with "{{PageHeader|VAR-SOM-MX6 - Audio Record/Play}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__") |
No edit summary |
||
Line 1: | Line 1: | ||
{{PageHeader|VAR-SOM-MX6 - Audio Record/Play}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ | {{PageHeader|VAR-SOM-MX6 - Audio Record/Play}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ | ||
<pre>$ amixer set PCM 125 | |||
$ aplay /usr/share/sounds/alsa/Front_Center.wav | |||
$ arecord -f cd -d 10 -D hw:0,0 test.wav | |||
$ aplay test.wav | |||
</pre> |
Revision as of 16:42, 13 December 2015
VAR-SOM-MX6 - Audio Record/Play
$ amixer set PCM 125 $ aplay /usr/share/sounds/alsa/Front_Center.wav $ arecord -f cd -d 10 -D hw:0,0 test.wav $ aplay test.wav