Difference between revisions of "Sound"
Jump to navigation
Jump to search
imported>Busk (Created page with "# Audio Mixer ardour apt install ardour") |
|||
Line 1: | Line 1: | ||
+ | # Test Video | ||
+ | |||
+ | vlc v4l2:///dev/video0 | ||
+ | |||
+ | # Test Audio | ||
+ | |||
+ | ``` | ||
+ | arecord -d 10 /tmp/test-mic.wav | ||
+ | ``` | ||
+ | this will record 10 seconds. | ||
+ | |||
+ | Play test-mic.wav | ||
+ | Now it is easy to play your wav file with another simple alsa utility a play: | ||
+ | |||
+ | ``` | ||
+ | aplay /tmp/test-mic.wav | ||
+ | ``` | ||
+ | NOTE: | ||
+ | If you have a more sound devices on your system and you need to use the non default sound card you can specify it to arecord with -D option. For example: | ||
+ | |||
+ | $ arecord hw:1,0 -d 10 /tmp/test-mic.wav | ||
+ | |||
+ | |||
+ | |||
# Audio Mixer | # Audio Mixer | ||
Latest revision as of 15:32, 11 July 2019
Test Video
vlc v4l2:///dev/video0
Test Audio
arecord -d 10 /tmp/test-mic.wav
this will record 10 seconds.
Play test-mic.wav Now it is easy to play your wav file with another simple alsa utility a play:
aplay /tmp/test-mic.wav
NOTE: If you have a more sound devices on your system and you need to use the non default sound card you can specify it to arecord with -D option. For example:
$ arecord hw:1,0 -d 10 /tmp/test-mic.wav
Audio Mixer
ardour
apt install ardour