play-audio
play-audio copied to clipboard
allow piped input from stdin
Hello, It would be very nice to be able to pipe in pcm streams via standart in.
In Bash you could just use process substitution:
play-audio <(wget "http://localhost/myaudio.wav" -O -)
However, unless you have a really fast internet connection, you'll get Underflow when prefetching data
because wget will not finish first. @fornwall Do you think you can do anything about this?
Adding this would be nice, also making it wait until it has more data to play. It'd make for some cool scripts.