Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow piped input from stdin #1

Open
zuloo opened this issue May 2, 2017 · 3 comments
Open

allow piped input from stdin #1

zuloo opened this issue May 2, 2017 · 3 comments

Comments

@zuloo
Copy link

zuloo commented May 2, 2017

Hello,
It would be very nice to be able to pipe in pcm streams via standart in.

@nonnymoose
Copy link

In Bash you could just use process substitution:

play-audio <(wget "http://localhost/myaudio.wav" -O -)

@nonnymoose
Copy link

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?

@includereserved
Copy link

Adding this would be nice, also making it wait until it has more data to play. It'd make for some cool scripts.

@ghost ghost added the enhancement label Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants