View Full Version : [ubuntu] Audio loopback not present!
.Michael
September 4th, 2010, 04:03 PM
I have the same problem in Windows 7 and Ubuntu 10.04 where I can't record "what I hear" or "Stereo Mix" or "loopback", etc...
I did not have this problem in previous versions of Windows (XP) and Ubuntu (9.04)...
I hope this isn't because of MPAA/RIAA/DMCA/ACTA crap!
Audio Card as reported by alsamixer: SigmaTel STAC9200
cchhrriiss121212
September 4th, 2010, 04:28 PM
What is it you are recording from and what program are you using to do it?
amauk
September 4th, 2010, 04:34 PM
Bash script
will record all sound produced by your system, and save it as a wav file
#!/bin/bash
# Copyright 2008-2009, Kees Cook <kees@outflux.net>
#
# Records the PulseAudio monitor channel.
# http://www.outflux.net/blog/archives/2009/04/19/recording-from-pulseaudio/
#
#This script require sox
#sudo apt-get install sox
if [ -n "$1" ]; then
OUTFILE="$1"
else
TIME=$(date +%d-%b-%y_%H%M-%Z)
OUTFILE="recording_$TIME.wav"
fi
# Get sink monitor:
MONITOR=$(pactl list | grep -A2 '^Source #' | \
grep 'Name: .*\.monitor$' | awk '{print $NF}' | tail -n1)
# Record it raw, and convert to a wav
echo "Recording. Ctrl-C or close window to stop"
parec -d "$MONITOR" | sox -t raw -r 44100 -sLb 16 -c 2 - "$OUTFILE"
.Michael
September 4th, 2010, 04:48 PM
Pretty handy shell script.
Thanks.
nikkool
September 20th, 2010, 06:52 PM
awesome script, did the job perfectly.
Thanks
benow
December 11th, 2010, 01:10 AM
Thx for the juicy script, sox rox.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.