Last active
December 9, 2015 07:28
-
-
Save antonfisher/db8c4b65a3bd11448cbf to your computer and use it in GitHub Desktop.
BASH mic output piped to ssh
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
#!/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