Skip to content

Instantly share code, notes, and snippets.

@antonfisher
Last active December 9, 2015 07:28
Show Gist options
  • Save antonfisher/db8c4b65a3bd11448cbf to your computer and use it in GitHub Desktop.
Save antonfisher/db8c4b65a3bd11448cbf to your computer and use it in GitHub Desktop.
BASH mic output piped to ssh
#!/usr/bin/env bash
while true; do
arecord -r 44100 -c 1 2>/dev/null | ssh [email protected] "cat > /tmp/record.fifo";
sleep 1;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment