{"id":1364,"date":"2011-08-15T13:32:33","date_gmt":"2011-08-15T18:32:33","guid":{"rendered":"http:\/\/adterrasperaspera.com\/blog\/?p=1364"},"modified":"2015-01-01T21:53:22","modified_gmt":"2015-01-02T02:53:22","slug":"how-to-send-audio-between-two-linux-computers-using-netcat","status":"publish","type":"post","link":"https:\/\/adterrasperaspera.com\/blog\/2011\/08\/15\/how-to-send-audio-between-two-linux-computers-using-netcat\/","title":{"rendered":"How to send audio between two Linux computers using netcat"},"content":{"rendered":"<p>Apparently there is no dead simple way to send audio from one computer to another in a low(er) latency way.<\/p>\n<p>Can&#8217;t beat this, works for any ALSA app that you can change the output for (or just change your default in .asoundrc).<\/p>\n<p>On source computer:<br \/>\n<code>modprobe snd-aloop<br \/>\narecord -f cd -D hw:Loopback,1,0 | netcat dest 1234<br \/>\nmplayer -ao alsa:device=hw=Loopback.0.0 something.mp3<\/code><\/p>\n<p>On destination computer:<br \/>\n<code>netcat -k -l -p 1234  | aplay<\/code><\/p>\n<p><b>Update:<\/b> Oh, and apparently you can <a href=\"http:\/\/t.motd.kr\/en\/archives\/2228\">do this in Windows, too<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apparently there is no dead simple way to send audio from one computer to another in a low(er) latency way. Can&#8217;t beat this, works for any ALSA app that you can change the output for (or just change your default in .asoundrc). On source computer: modprobe snd-aloop arecord -f cd -D hw:Loopback,1,0 | netcat dest [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[404],"tags":[],"_links":{"self":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts\/1364"}],"collection":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/comments?post=1364"}],"version-history":[{"count":10,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts\/1364\/revisions"}],"predecessor-version":[{"id":2287,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts\/1364\/revisions\/2287"}],"wp:attachment":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/media?parent=1364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/categories?post=1364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/tags?post=1364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}