ALSA client doc
parent
6da5965076
commit
aa10b60f17
35
README.md
35
README.md
|
@ -244,6 +244,41 @@ $ ./sndid-client
|
|||
Sending samples/mono.wav to 127.0.0.1:9988
|
||||
```
|
||||
|
||||
## ALSA Client
|
||||
Use this script to stream from the microphone to the server,
|
||||
using ALSA.
|
||||
|
||||
```
|
||||
./sndid-alsa
|
||||
```
|
||||
|
||||
|
||||
Help:
|
||||
|
||||
```
|
||||
$ ./sndid-alsa -h
|
||||
usage: sndid-alsa [-h] [-i IP] [-p PORT] [-r RATE] [-t TIME]
|
||||
|
||||
Run sndid-alsa
|
||||
|
||||
options:
|
||||
-h, --help show this help message and exit
|
||||
-i IP, --ip IP Server IP address (default 127.0.0.1)
|
||||
-p PORT, --port PORT Server network port (default 9988)
|
||||
-r RATE, --rate RATE Rate in Hertz (default 48000)
|
||||
-t TIME, --time TIME Length of segments in seconds (default 10)
|
||||
```
|
||||
|
||||
Sample output:
|
||||
|
||||
```
|
||||
$ ./sndid-alsa
|
||||
Streaming ALSA in to 127.0.0.1:9988
|
||||
Recording WAVE 'stdin' : Float 32 bit Little Endian, Rate 48000 Hz, Mono
|
||||
```
|
||||
|
||||
Exit with `CTRL-C`.
|
||||
|
||||
|
||||
# Development
|
||||
To "develop", install the requirements:
|
||||
|
|
Loading…
Reference in New Issue