Skip to content

Instantly share code, notes, and snippets.

Avatar

Justin Parker justinatcamfil

View GitHub Profile
@justinatcamfil
justinatcamfil / play_stream
Last active Jun 26, 2019
stream linux audio from sound card through netcat
View play_stream
#!/bin/bash
# run on mac in terminal
while TRUE; do
nc <server_address> 15000 | play -q -t mp3 - || echo Attempting to connect...
sleep 1;
done
You can’t perform that action at this time.