Compare commits
2 Commits
de0bc18bec
...
bfe3f959cc
Author | SHA1 | Date |
---|---|---|
Jeff Moe | bfe3f959cc | |
Jeff Moe | 429b501381 |
18
README.md
18
README.md
|
@ -215,6 +215,24 @@ Is such:
|
|||
```
|
||||
|
||||
Client sends file and has no output.
|
||||
Just test bash script.
|
||||
|
||||
|
||||
Below is for the Python version that doesn't work yet.
|
||||
|
||||
Help:
|
||||
```
|
||||
$ ./sndid-client.py -h
|
||||
usage: sndid-client.py [-h] [-i IP] [-p PORT] [-f FILE]
|
||||
|
||||
Run sndid-client
|
||||
|
||||
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)
|
||||
-f FILE, --file FILE Input filename to process (default samples/mono.wav)
|
||||
```
|
||||
|
||||
|
||||
# Development
|
||||
|
|
|
@ -37,8 +37,17 @@ parser.add_argument(
|
|||
required=False,
|
||||
default="9988",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-f",
|
||||
"--file",
|
||||
help="Input filename to process (default samples/mono.wav)",
|
||||
type=str,
|
||||
required=False,
|
||||
default="samples/mono.wav",
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
IP = args.ip
|
||||
PORT = args.port
|
||||
FILE = args.file
|
||||
|
||||
|
|
Loading…
Reference in New Issue