Created
March 29, 2017 20:40
-
-
Save MaxPleaner/56429e966913364f1d347c267e1634cf to your computer and use it in GitHub Desktop.
record system output directly (without microphone)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# note this is a fish function | |
# if you're using fish shell, create a new file called ~/.config/fish/functions/record-out.fish | |
# and copy this in there | |
# | |
# otherwise, just use line 2 and replace $argv with a filename such as out.mp3 | |
function record-out | |
parec -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor | lame -r -V0 - $argv | |
end | |
# credit for this: | |
# http://askubuntu.com/questions/229352/how-to-record-output-to-speakers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment