#!/bin/sh PORT="8080" RATE="2" BUFFER="10" FORMAT="cd" while [ true ] do netcat -l -p ${PORT} | aplay -B ${BUFFER} -r ${RATE} -f ${FORMAT} done