Skip to content

Instantly share code, notes, and snippets.

@coreymwamba
Last active July 14, 2017 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreymwamba/1d922fd8c49b2e25038e2b4c58294f21 to your computer and use it in GitHub Desktop.
Save coreymwamba/1d922fd8c49b2e25038e2b4c58294f21 to your computer and use it in GitHub Desktop.
A quick script to record audio notes. I have this little thing bound to a keypress in JWM (opens in a terminal). Needs ffmpeg.
#!/bin/bash
today=$(date +%s)
echo "press q to stop..."
ffmpeg -f alsa -i hw:0 -v 1 ~/audio-notes/$today.flac $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment