scripts/record_sound.sh

5 lines
186 B
Bash
Executable File

#!/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