Add 2001/coupard/try.sh
This commit is contained in:
1 parent
73df990d9f
commit
c6f12a2a23
3 files changed
+46
-16
No files matched your search
+1
-12
@@ -14,19 +14,8 @@ make
|
||||
|
||||
## Try:
|
||||
|
||||
If you have access to `/dev/audio` or `/dev/sound/dsp`:
|
||||
|
||||
```sh
|
||||
./coupard > /dev/audio
|
||||
./coupard > /dev/sound/dsp
|
||||
```
|
||||
|
||||
If you do not, first install [sox](https://en.wikipedia.org/wiki/SoX). If you
|
||||
use macOS you might install it from [MacPorts](https://www.macports.org) or
|
||||
[Homebrew](https://brew.sh). Then you can try:
|
||||
|
||||
```sh
|
||||
./coupard | sox -q -traw -r8000 -b8 -e unsigned-integer - -tcoreaudio
|
||||
./try.sh
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user