madplay just opens /dev/audio. so just: % madplay blah.mp3 or: % hget http://foo.com/bla.mp3 | madplay - cinap