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

Drop unused arguments from README #103

Merged
merged 2 commits into from
Jan 22, 2021
Merged

Drop unused arguments from README #103

merged 2 commits into from
Jan 22, 2021

Conversation

dvisockas
Copy link
Contributor

When trying to run the example, the script spits out
usage: rnnoise_demo <noisy speech> <output denoised>

I think this should be in the readme as the rnnoise_demo does not seem to accept neither number of channels nor maximum attenuation arguments.

README Outdated
@@ -12,6 +12,6 @@ While it is meant to be used as a library, a simple command-line tool is
provided as an example. It operates on RAW 16-bit (machine endian) mono
PCM files sampled at 48 kHz. It can be used as:

./examples/rnnoise_demo <number of channels> <maximum attenuation> < input.raw > output.raw
./examples/rnnoise_demo <input.raw> output.raw
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also just use the same form as the usage message which I think is a bit clearer:

<noisy speech> <output denoised>

See:

fprintf(stderr, "usage: %s <noisy speech> <output denoised>\n", argv[0]);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to using the same form as the usage message :)

@tmatth tmatth merged commit 40a3816 into xiph:master Jan 22, 2021
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

Successfully merging this pull request may close these issues.

2 participants