record sound script

This commit is contained in:
Dan Frumin 2019-07-26 15:03:46 +02:00
commit f3491e803e
1 changed files with 4 additions and 0 deletions

4
record_sound.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# record microphone output with gstreamer
echo Recording to: ~/tmp/rec.ogg
gst-launch-1.0 alsasrc ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=~/tmp/rec.ogg