Last active
August 11, 2016 16:37
-
-
Save thewhodidthis/7aac75e220bd7198e5d0 to your computer and use it in GitHub Desktop.
Pipe audio through local network using soundflower, esound, netcat, pacat
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
# Target | |
while true; do nc -l <PORT> | pacat --latency-msec=1; done | |
# Source | |
esd -tcp -bind ::1 & sleep 2 && esdrec -s ::1 | nc <CLIENT> <PORT> | |
# OR | |
# Source | |
esd -tcp -bind ::1 & sleep 2 && (esdrec -s ::1 | esdcat -s <CLIENT>) | |
# References | |
# https://labitat.dk/wiki/Apple/Mac_OS_X#Using_the_PulseAudio_sink | |
# https://tdotc.wordpress.com/2012/05/28/sound-matters/ | |
# Get Soundflower allowing installation under Security Preferences | |
# https://github.com/mattingalls/Soundflower/releases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment