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

Audio play-back in Ubuntu #8

Open
m8pple opened this issue Nov 2, 2015 · 0 comments
Open

Audio play-back in Ubuntu #8

m8pple opened this issue Nov 2, 2015 · 0 comments

Comments

@m8pple
Copy link
Contributor

m8pple commented Nov 2, 2015

I finally might have found a command in Ubuntu that will play raw audio...

The aplay utility seems to be installed by default (need to check college install). The
command:

aplay --channels=2 --rate=44100 --format=S16_LE

should play whatever raw data it is passed on stdin. So you can create an
audio_sink.sh as:

#!/bin/bash
aplay --channels=2 --rate=44100 --format=S16_LE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant