Fix errors in README

This commit is contained in:
rany2 2023-01-06 01:10:14 +02:00
parent f598deebe0
commit 62bc6a95c0

View File

@ -63,16 +63,14 @@ You must first check the available voices with the `--list-voices` option:
Support for custom SSML has been removed since 5.0.0 because Microsoft has taken the initiative to prevent it from working. You cannot use custom SSML anymore.
### Changing rate, volume, etc.
### Changing rate and volume
It is possible to make minor changes to the generated speech.
$ edge-tts --rate=-50% --text "Hello, world!" --write-media hello_with_rate_halved.mp3
$ edge-tts --volume=-50% --text "Hello, world!" --write-media hello_with_volume_halved.mp3
Keep in mind that the `--rate`, `--volume`, etc. options are applied to the entire SSML document.
In addition, it is required to use `--rate=-50%` instead of `--pitch -50%` otherwise the `-50%` would be interpreted as just another argument.
In addition, it is required to use `--rate=-50%` instead of `--rate -50%` (note the lack of an equal sign) otherwise the `-50%` would be interpreted as just another argument.
**NOTE**: `--pitch` was removed in 6.0.3 as it no longer appears to have any effect.