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