From f3491e803e5d0adcdf87539a68aac8f43aa742a8 Mon Sep 17 00:00:00 2001 From: Dan Frumin Date: Fri, 26 Jul 2019 15:03:46 +0200 Subject: [PATCH] record sound script --- record_sound.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 record_sound.sh diff --git a/record_sound.sh b/record_sound.sh new file mode 100755 index 0000000..8af418c --- /dev/null +++ b/record_sound.sh @@ -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