mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-18 00:45:59 +08:00
ggwave-to-file : minor fixes
This commit is contained in:
@@ -6,7 +6,7 @@ Output a generated waveform to an uncompressed WAV file.
|
||||
Usage: ./bin/ggwave-to-file [-vN] [-sN] [-pN]
|
||||
-vN - output volume, N in (0, 100], (default: 50)
|
||||
-sN - output sample rate, N in [6000, 96000], (default: 48000)
|
||||
-pN - select the transmission protocol (default: 1)
|
||||
-pN - select the transmission protocol id (default: 1)
|
||||
|
||||
Available protocols:
|
||||
0 - Normal
|
||||
@@ -15,6 +15,9 @@ Usage: ./bin/ggwave-to-file [-vN] [-sN] [-pN]
|
||||
3 - [U] Normal
|
||||
4 - [U] Fast
|
||||
5 - [U] Fastest
|
||||
6 - [DT] Normal
|
||||
7 - [DT] Fast
|
||||
8 - [DT] Fastest
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
int main(int argc, char** argv) {
|
||||
fprintf(stderr, "Usage: %s [-vN] [-sN] [-pN]\n", argv[0]);
|
||||
fprintf(stderr, " -vN - output volume, N in (0, 100], (default: 50)\n");
|
||||
fprintf(stderr, " -sN - output sample rate, N in [1024, %d], (default: %d)\n", (int) GGWave::kBaseSampleRate, (int) GGWave::kBaseSampleRate);
|
||||
fprintf(stderr, " -sN - output sample rate, N in [%d, %d], (default: %d)\n", (int) GGWave::kSampleRateMin, (int) GGWave::kSampleRateMax, (int) GGWave::kBaseSampleRate);
|
||||
fprintf(stderr, " -pN - select the transmission protocol id (default: 1)\n");
|
||||
fprintf(stderr, "\n");
|
||||
fprintf(stderr, " Available protocols:\n");
|
||||
|
||||
Reference in New Issue
Block a user